CN102438074B - 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
CN102438074B
CN102438074B CN201110403373.XA CN201110403373A CN102438074B CN 102438074 B CN102438074 B CN 102438074B CN 201110403373 A CN201110403373 A CN 201110403373A CN 102438074 B CN102438074 B CN 102438074B
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.)
Active
Application number
CN201110403373.XA
Other languages
Chinese (zh)
Other versions
CN102438074A (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

Landscapes

  • Telephone Function (AREA)

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 unlocking screen method and mobile phone based on mobile phone
Technical field
The present invention relates to the release field of mobile terminal, in particular a kind of method and mobile phone that calculates mobile phone location 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 full touching-type handset is more and more universal, the smart mobile phone development such as special picture Android, IPhone are swift and violent, at present these its releases of full touching-type handset only rest on two-dimentional plane operations on the market, do that some slides to realize by finger on touch-screen.The mobile phone of prior art is not had Three-Dimensional Solution lock function, sometimes an inconvenient user.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned defect for prior art, a kind of unlocking screen method and mobile phone based on mobile phone is provided, it makes mobile phone increase Three-Dimensional Solution lock function: can realize after mobile phone screen locking, by calculating mobile phone location with acceleration transducer and according to the predefined mobile phone location release of user mobile phone screen, improved unlocking screen efficiency, provided users with the convenient.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A unlocking screen method based on mobile phone, wherein, comprising:
S1, by being arranged on the acceleration transducer on mobile phone, induction mobile phone acceleration information, according to this acceleration information, calculate mobile phone with respect to the residing current location of gravity direction;
S2, judge that the unlocked position whether described current location set in advance with user is consistent, if be unanimously, release success, if inconsistent, release failure.
The described unlocking screen method based on mobile phone, wherein, the unlocked position setting in advance in described step S2 comprises the first precalculated position and the second precalculated position.
The described unlocking screen method based on mobile phone wherein, also comprised before described step S1:
M1, according in six faces of mobile phone wherein one side along gravity direction down, pre-define mobile phone with respect to the accekeration of gravity direction present position, specifically comprise:
When being A bottom surface, position down 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 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 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 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 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| represents the absolute value of X, g=9.8m/s 2.
The described unlocking screen method based on mobile phone, wherein,
When mobile phone in A bottom surface, position down, acceleration transducer is at x, y, the output valve on z coordinate system is respectively: 0 ,-1g, 0;
When mobile phone in position B right flank down, acceleration transducer is at x, y, the output valve on z coordinate system is respectively: 1g, 0,0;
When mobile phone in position C end face down, acceleration transducer is at x, y, the output valve on z coordinate system is respectively: 0,1g, 0;
When mobile phone in position D left surface down, acceleration transducer is at x, y, the output valve on z coordinate system is respectively :-1g, 0,0;
When mobile phone in the E back side, position down, acceleration transducer is at x, y, the output valve on 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 z coordinate system is respectively: 0,0,1g.
The described unlocking screen method based on mobile phone wherein, also comprised before described step S1:
A, receive the first precalculated position and the second precalculated position described in user's operation setting, described the first precalculated position, the second precalculated position are respectively a kind of in the F of position of position A described above.
The described unlocking screen method based on mobile phone, wherein, described step S1 specifically comprises:
S11, on mobile phone, arrange one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone;
S12, when needing release, by described acceleration transducer, induction mobile phone primary acceleration information, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z;
S13, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time.
The described unlocking screen method based on mobile phone, wherein, described step S2 specifically comprises:
Described in S21, judgement, whether residing position is described the first precalculated position for the first time, when residing position is described the first precalculated position for the first time, within a predetermined time, detects for the second time;
S22, when for the second time described position being detected be described the second precalculated position within a scheduled time, control release success.
The described unlocking screen method based on mobile phone, wherein, detecting specifically and comprising for the second time within a predetermined time in described step S21:
S14, within a predetermined time, by described acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x by this acceleration information resolution of vectors of second, y, tri-coordinate directions of z;
S15, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time.
A mobile phone wherein, arranges one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone on mobile phone, and described mobile phone also comprises:
Position computation module, for by being arranged on the acceleration transducer on mobile phone, responds to the acceleration information of mobile phone, according to this acceleration information, calculates mobile phone with respect to the residing current location of gravity direction;
Release control module, consistent for judging the unlocked position whether described current location set in advance with user, if be unanimously, release success, if inconsistent, release failure.
Described mobile phone, wherein, it also comprises:
Module is set, and is the first precalculated position and the second precalculated position for receiving the unlocked position setting in advance described in user's operation setting.
Described mobile phone, wherein, it also comprises:
Definition module, for according to the wherein one side of six faces of mobile phone along gravity direction down, pre-defines mobile phone and comprises with respect to the accekeration of gravity direction present position:
When being A bottom surface, position down 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 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 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 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 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| represents the absolute value of X, g=9.8m/s 2;
Described the first precalculated position, the second precalculated position are respectively a kind of in the F of position of position A described above.
Described mobile phone, wherein, described position computation module comprises:
Computing unit, for when needing release, passes through acceleration transducer for the first time, the primary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time;
Computing unit for the second time, within a predetermined time, by described acceleration transducer, the secondary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this acceleration information resolution of vectors of second, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time.
Described mobile phone, wherein, described release control module comprises:
The first control unit, for described in judging for the first time residing position whether be described the first precalculated position, when residing position is described the first precalculated position for the first time, within a predetermined time, detect for the second time;
The second control unit, while being described the second precalculated position for the position when described in detecting for the second time within a scheduled time, controls release success.
A kind of unlocking screen method and mobile phone based on mobile phone provided by the present invention, owing to having adopted by being arranged on the acceleration transducer on 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 the unlocked position whether described current location set in advance with user is consistent, if be unanimously, release success, if inconsistent, release failure, it makes mobile phone increase Three-Dimensional Solution lock function: can realize after mobile phone screen locking, by calculating mobile phone location with acceleration transducer and according to the predefined mobile phone location release of user mobile phone screen, having improved unlocking screen efficiency, provide users with the convenient.
Accompanying drawing explanation
Fig. 1 is the unlocking screen method flow diagram based on mobile phone of the embodiment of the present invention.
Fig. 2 is the mobile phone hardware syndeton schematic diagram of the embodiment of the present invention.
Fig. 3 is the coordinate system structure chart that the present invention executes acceleration decomposition in example.
Fig. 4 a~Fig. 4 f is the operation interface structural representation that described the first precalculated position and the second precalculated position are set in the embodiment of the present invention.
Fig. 5 a~Fig. 5 f is that in the embodiment of the present invention, mobile phone is when the F of A~position, position, and acceleration transducer is at x, y, the output valve structural representation on z coordinate system.
Fig. 6 a~Fig. 6 g is the operation interface structural representation of a concrete Application Example of the present invention.
Fig. 7 is the flow chart of the Application Example of the method for the invention.
Fig. 8 is the cell-phone function theory diagram of the embodiment of the present invention.
Fig. 9 is the position computation module functional schematic block diagram of the mobile phone of the embodiment of the present invention.
Figure 10 is the release control module functional schematic block diagram of the mobile phone of the embodiment of the present invention.
Embodiment
A kind of unlocking screen method and mobile phone based on mobile phone provided by the present invention, for making object of the present invention, technical scheme and advantage clearer, clear and definite, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
A kind of unlocking screen method and mobile phone based on mobile phone provided by the present invention, can realize after mobile phone screen locking, according to the predefined mobile phone location of user, carries out release.
The unlocking screen method based on mobile phone of the embodiment of the present invention, as shown in Figure 1, mainly comprises step:
S100, by being arranged on the acceleration transducer on mobile phone, induction mobile phone acceleration information, according to this acceleration information, calculate mobile phone with respect to the residing current location of gravity direction;
S200, judge that the unlocked position whether described current location set in advance with user is consistent, if be unanimously, release success, if inconsistent, release failure.Wherein, the unlocked position setting in advance described in comprises the first precalculated position and the second precalculated position
In the embodiment of the present invention, need on mobile phone, arrange one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone, as shown in Figure 2, wherein connected mode is I2C bus.In the embodiment of the present invention, the coordinate system structure of acceleration decomposition as shown in Figure 3.
In the embodiment of the present invention,, pre-define mobile phone with respect to the accekeration of gravity direction present position according to which face in six faces of mobile phone along gravity direction down, specifically comprise:
When being A bottom surface, position down 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, corresponds to the position shown in Fig. 4 a.
When being position B right flank down 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, corresponds to the position shown in Fig. 4 b.
When being position C end face down 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, corresponds to the position shown in Fig. 4 c.
When being position D left surface down 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, corresponds to the position shown in Fig. 4 d.
When being the E back side, position down 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, corresponds to the position shown in Fig. 4 e.
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, corresponds to the position shown in Fig. 4 f.
Wherein, | X| represents 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 (x, y, the z) of the output of acceleration transducer meets a certain in above-mentioned condition, illustrate that mobile phone is in the corresponding position of condition.
In the embodiment of the present invention, utilize the acceleration transducer detection of handset position with respect to gravity of living in, the acceleration transducer using in mobile phone is static while lying against in horizontal table top, and as shown in Figure 4, the output of acceleration transducer is (0,0 ,-1g) in theory.And 6 acceleration transducer is at x in theory while facing down, y, is (0 by output respectively on z coordinate system,-1g, 0), (1g, 0,0), (0,1g, 0), (1g, 0,0), (0,0,-1g), (0,0,1g), as shown in Fig. 5 a~Fig. 5 f, utilize this feature to know mobile phone present position.
Fig. 5 a~Fig. 5 f be in the embodiment of the present invention mobile phone in A bottom surface, position down~during the F face down of position, acceleration transducer is at x, y, the output valve on z coordinate system.
In Fig. 5 a, in A bottom surface, position down, acceleration transducer is at x for mobile phone, y, and the output valve on z coordinate system is respectively: (0 ,-1g, 0).
In Fig. 5 b, in position B right flank down, acceleration transducer is at x for mobile phone, y, and the output valve on z coordinate system is respectively: (1g, 0,0).
In Fig. 5 c, in position C end face down, acceleration transducer is at x for mobile phone, y, and the output valve on z coordinate system is respectively: (0,1g, 0).
In Fig. 5 d, in position D left surface down, acceleration transducer is at x for mobile phone, y, and the output valve on z coordinate system is respectively: (1g, 0,0).
In Fig. 5 e, in the E back side, position down, acceleration transducer is at x for mobile phone, y, and the output valve on z coordinate system is respectively: (0,0 ,-1g).
In Fig. 5 f, mobile phone is in position F face down, and acceleration transducer is at x, y, and the output valve on z coordinate system is respectively: (0,0,1g).
In the embodiment of the present invention, before release, need, by mobile phone, receiving the unlocked position setting in advance described in user's operation setting is the first precalculated position and the second precalculated position, and described the first precalculated position, the second precalculated position are respectively position A described above to lower a kind of of position F.
Be user first need to enter arrange menu position A to position F(as shown in Fig. 4 a~Fig. 4 f) select corresponding position as described in the first precalculated position and second precalculated position of the unlocked position that sets in advance, and the first precalculated position and the second precalculated position selected are different.
For example, for more another bright specific embodiment of the invention figuratively, Fig. 6 a~Fig. 6 g has provided a concrete application.The first precalculated position and the second precalculated position that Fig. 6 a~Fig. 6 e user enters while arranging in menu release of the present invention arrange, wherein Fig. 6 a enters the interface that menu carries out release setting is set, Fig. 6 b is the interface while entering the option of selecting the position Yi He position two corresponding with described primary importance and second place difference, Operation interface diagram when Fig. 6 c is the present embodiment described primary importance is selected, the position one of selecting in figure be described primary importance be position C end face down.Operation interface diagram when Fig. 6 d is the present embodiment the described second place is selected, the position two of selecting in figure be the described second place be position D left surface down.Fig. 6 e for first select with described primary importance and the second place surface chart of corresponding Yi He position, position two respectively.
After user lights screen user need first make mobile phone in position C end face down state as shown in Figure 6 f, then user need first scheduled time as in 2s, make mobile phone in position D left surface down state as shown in Fig. 6 g, release success.Specific works process is as follows:
S12, when needing release, by described acceleration transducer, induction mobile phone primary acceleration information, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z.
S13, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time.
Described in S21, judgement, whether residing position is described the first precalculated position for the first time, when residing position is described the first precalculated position for the first time, within a predetermined time, detects for the second time.
S22, when for the second time described position being detected be described the second precalculated position within a scheduled time, control release success.
Wherein, detecting specifically and comprising for the second time within a predetermined time in described step S21:
S14, within a predetermined time, by described acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x by this acceleration information resolution of vectors of second, y, tri-coordinate directions of z;
S15, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time.
To the unlocking screen method based on mobile phone of the present invention be further described in detail by a concrete Application Example below.
User pushes button and lights mobile phone screen and trigger to separate lock module and open, and when user holds mobile phone and makes mobile phone meet described the first precalculated position, during the condition of (position one), opens first timer T1, and wherein the time-out time of T1 is 2s; If in 2s, user holds the release success of condition that mobile phone makes mobile phone meet the second precalculated position (position two), otherwise release is unsuccessful.
The flow chart of this Application Example as shown in Figure 7, specifically comprises:
Step 601, after mobile phone screen locking, 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 (the first precalculated position), CPU reads the acceleration (x of the communication terminal that acceleration transducer senses, y, z), and in conjunction with above-mentioned method, calculate whether one of them to position F in position A of current phone according to accekeration.
Step 604, judge whether mobile phone location meets the requirement in position one (the first precalculated position), if yes then enter step 605, if otherwise enter step 603.
Step 605, opening timing device T1, the time-out time of T1 is 2s.
Step 606, start mobile phone location two and detect, CPU reads the acceleration (x, y, z) of the mobile news terminal that acceleration transducer senses, and in conjunction with above-mentioned method, calculates whether one of them to position F in position A of current phone according to accekeration.
Step 607, judge whether mobile phone location meets the requirement of position two, if yes then enter step 608, if otherwise enter step 606.
Step 608, judge that whether timer T1 is overtime, if yes then enter step 603, if otherwise enter step 609.
Step 609, release success.
Therefore, a kind of unlocking screen method based on mobile phone that the embodiment of the present invention provides, it makes mobile phone increase Three-Dimensional Solution lock function: can realize after mobile phone screen locking, by calculating mobile phone location with acceleration transducer and according to the predefined mobile phone location release of user mobile phone screen, improved unlocking screen efficiency, provided users with the convenient
Based on above-described embodiment, the embodiment of the present invention also provides a kind of mobile phone, arranges one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone on mobile phone, and as shown in Figure 8, described mobile phone also comprises:
Position computation module 810, for by being arranged on the acceleration transducer on mobile phone, responds to the acceleration information of mobile phone, according to this acceleration information, calculates mobile phone with respect to the residing current location of gravity direction; As detailed above.
Release control module 820, consistent for judging the unlocked position whether described current location set in advance with user, if be unanimously, release success, if inconsistent, release failure; As detailed above.
Definition module 801, for according to which face of six faces of mobile phone along gravity direction down, pre-defines mobile phone with respect to the accekeration of gravity direction present position, specifically comprises:
When being A bottom surface, position down 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, corresponds to the position shown in Fig. 4.
When being position B right flank down time, the three-dimensional coordinate x of its acceleration information, y, the value of z is defined as: 0.7g<x<1.3g, | y|<0.3g, | z|<0.3g, corresponds to the position shown in Fig. 6;
When being position C end face down 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 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 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| represents the absolute value of X, g=9.8m/s 2; ; As detailed above.
Module 802 is set, and is the first precalculated position and the second precalculated position for receiving the unlocked position setting in advance described in user's operation setting, and described the first precalculated position, the second precalculated position are respectively a kind of in the F of position of position A described above; As detailed above.
Wherein, as shown in Figure 9, described position computation module 810 comprises:
Computing unit 811 for the first time, for when needing release, by described acceleration transducer, the primary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time; As detailed above.
Computing unit 812 for the second time, within a predetermined time, by described acceleration transducer, the secondary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this acceleration information resolution of vectors of second, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time; As detailed above.
As shown in figure 10, described release control module 820 comprises:
The first control unit 821, for described in judging for the first time residing position whether be described the first precalculated position, when residing position is described the first precalculated position for the first time, within a predetermined time, detect for the second time; As detailed above.
The second control unit 822, while being described the second precalculated position for the position when described in detecting for the second time within a scheduled time, controls release success; As detailed above.
In sum, a kind of unlocking screen method and mobile phone based on mobile phone provided by the present invention, owing to having adopted by being arranged on the acceleration transducer on 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 the unlocked position whether described current location set in advance with user is consistent, if be unanimously, release success, if inconsistent, release failure, it makes mobile phone increase Three-Dimensional Solution lock function: can realize after mobile phone screen locking, by calculating mobile phone location with acceleration transducer and according to the predefined mobile phone location release of user mobile phone screen, having improved unlocking screen efficiency, provide users with the convenient.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (6)

1. the unlocking screen method based on mobile phone, is characterized in that, comprising:
S1, by being arranged on the acceleration transducer on mobile phone, induction mobile phone acceleration information, according to this acceleration information, calculate mobile phone with respect to the residing current location of gravity direction;
S2, judge that the unlocked position whether described current location set in advance with user is consistent, if unanimously, release success, if inconsistent, release failure;
The unlocked position setting in advance in described step S2 comprises the first precalculated position and the second precalculated position;
Described step S2 specifically comprises:
Whether S21, judgement for the first time residing position are described the first precalculated position, when residing position is described the first precalculated position for the first time, within a predetermined time, detect for the second time;
S22, when detecting within a scheduled time that residing position is described the second precalculated position for the second time, control release success;
Before described step S1, also comprise:
M1, according in six faces of mobile phone wherein one side along gravity direction down, pre-define mobile phone with respect to the accekeration of gravity direction present position, specifically comprise:
When being position A: bottom surface is down 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 is down 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 is down 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 is down 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 position E: the back side is down 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: during 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| represents the absolute value of X, g=9.8m/s 2;
In step S1, described current location is: by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time.
2. the unlocking screen method based on mobile phone according to claim 1, is characterized in that,
When mobile phone is in position A: down, acceleration transducer is at x in bottom surface, y, the output valve on z coordinate system is respectively: 0 ,-1g, 0;
When mobile phone is in position B: down, acceleration transducer is at x for right flank, y, the output valve on z coordinate system is respectively: 1g, 0,0;
When mobile phone is in position C: down, acceleration transducer is at x for end face, y, the output valve on z coordinate system is respectively: 0,1g, 0;
When mobile phone is in position D: down, acceleration transducer is at x for left surface, y, the output valve on z coordinate system is respectively :-1g, 0,0;
When mobile phone is in position E: down, acceleration transducer is at x at the back side, y, the output valve on z coordinate system is respectively: 0,0 ,-1g;
When mobile phone is in position F: face down, acceleration transducer is at x, y, the output valve on z coordinate system is respectively: 0,0,1g.
3. the unlocking screen method based on mobile phone according to claim 1, is characterized in that, before described step S1, also comprises:
A, receive the first precalculated position and the second precalculated position described in user's operation setting, described the first precalculated position, the second precalculated position are respectively a kind of in the F of position of described position A.
4. the unlocking screen method based on mobile phone according to claim 1, is characterized in that, described step S1 specifically comprises:
S11, on mobile phone, arrange one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone;
S12, when needing release, by described acceleration transducer, induction mobile phone primary acceleration information, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z;
S13, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time.
5. the unlocking screen method based on mobile phone according to claim 4, is characterized in that detecting specifically and comprising for the second time within a predetermined time in described step S21:
S14, within a predetermined time, by described acceleration transducer, induction mobile phone secondary acceleration information, and be three-dimensional coordinate x by this secondary acceleration information resolution of vectors, y, tri-coordinate directions of z;
S15, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above be to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time.
6. a mobile phone, is characterized in that, arranges one for responding to the acceleration transducer of mobile phone direction, and this acceleration transducer is connected with the CPU of mobile phone on mobile phone, and described mobile phone also comprises:
Position computation module, for by being arranged on the acceleration transducer on mobile phone, responds to the acceleration information of mobile phone, according to this acceleration information, calculates mobile phone with respect to the residing current location of gravity direction;
Release control module, consistent for judging the unlocked position whether described current location set in advance with user, if unanimously, release success, if inconsistent, release failure;
Module is set, and is the first precalculated position and the second precalculated position for receiving the unlocked position setting in advance described in user's operation setting;
Definition module, for according to the wherein one side of six faces of mobile phone along gravity direction down, pre-defines mobile phone and comprises with respect to the accekeration of gravity direction present position:
When being position A: bottom surface is down 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 is down 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 is down 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 is down 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 position E: the back side is down 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: during 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| represents the absolute value of X, g=9.8m/s 2;
Described the first precalculated position, the second precalculated position are respectively a kind of in the F of position of described position A;
Described position computation module comprises:
Computing unit, for when needing release, passes through acceleration transducer for the first time, the primary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this primary acceleration information resolution of vectors, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this primary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the first time;
Computing unit for the second time, within a predetermined time, by described acceleration transducer, the secondary acceleration information of induction mobile phone, and be three-dimensional coordinate x by this secondary acceleration information resolution of vectors, y, tri-coordinate directions of z, by the three-dimensional coordinate x of this secondary acceleration information, y, z value and described position A defined above are to the three-dimensional coordinate x of position F, y, z value compares, and calculates mobile phone with respect to gravity direction residing position for the second time;
The computing unit for the first time of described position computation module is by the primary acceleration information of described acceleration transducer induction mobile phone, calculate residing position for the first time, within a predetermined time, the computing unit for the second time of position computation module is by described acceleration transducer, the secondary acceleration information of induction mobile phone, calculates residing position for the second time;
Described release control module comprises:
The first control unit, for described in judging for the first time residing position whether be described the first precalculated position, when residing position is described the first precalculated position for the first time, within a predetermined time, detect for the second time;
The second control unit, for when detecting within a scheduled time that residing position is described the second precalculated position for the second time, controls 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 CN102438074A (en) 2012-05-02
CN102438074B true 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)

Families Citing this family (19)

* 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
CN102868814B (en) * 2012-09-06 2015-04-01 Tcl通讯科技(成都)有限公司 Mobile phone screen unlocking method and mobile phone
CN103677548A (en) * 2012-09-10 2014-03-26 中国电信股份有限公司 Method and system for removing screen-locked state of mobile terminal
CN103729130A (en) * 2012-10-12 2014-04-16 华为技术有限公司 Unlocking method of touch sensitive equipment and touch sensitive equipment
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
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
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
CN106778137B (en) * 2016-12-21 2020-06-09 惠州Tcl移动通信有限公司 Unlocking password 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

Also Published As

Publication number Publication date
CN102438074A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN102438074B (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
CN102238287B (en) Mobile terminal and method for displaying mobile terminal according to environment data
CN102778950B (en) A kind of screen unlock method, system and mobile terminal
EP3163852A1 (en) Close-distance automatic unlocking method and system for mobile terminal
EP3144786B1 (en) Method and mobile terminal for processing fingerprint input information
EP2950044B1 (en) Method and terminal for measuring angle
US10610152B2 (en) Sleep state detection method, apparatus and system
KR102326664B1 (en) Electronic device and method for operating notification bar thereof
CN103139390A (en) Method, system of unlocking screen of mobile phone and mobile phone
CN103095915B (en) A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone
JP6724463B2 (en) Electronic device, operation method of target system, and operation program
EP2869542A1 (en) Incoming call processing method based on mobile terminal and mobile terminal
CN103631494A (en) Information processing method and electronic equipment
CN102609209B (en) Touch screen unlocking method after awakening mobile phone sleep
CN103034414A (en) Electronic equipment and screen unlocking method thereof
CN103617000A (en) Method and system for switching screen of mobile terminal
CN106569762A (en) Dual-screen terminal light-up method and device as well as dual-screen terminal
CN103309479A (en) Touch screen operating system and method
CN105915707A (en) Method and device for illuminating screen
CN108319836A (en) The method and apparatus for executing processing based on fingerprint recognition
CN103677548A (en) Method and system for removing screen-locked state of mobile terminal
CN110287666A (en) The method and relevant apparatus of unlocked by fingerprint
EP3229130A1 (en) Smart terminal information display method and smart terminal
CN103605473A (en) Mobile terminal touch screen unlocking method and mobile terminal

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

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.

TR01 Transfer of patent right
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.

CP01 Change in the name or title of a patent holder