Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of Mobile phone screen unlocking method and mobile phone, mobile phone is made to add New function, there is a kind of new unlocking screen function, enter relevant operation interface fast after user is unlocked, provide users with the convenient.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of Mobile phone screen unlocking method, wherein, comprises step:
After S1, mobile phone enter unlocking screen interface, within first scheduled time, receive the operational order that user clicks the unlock icon that described unlocking screen interface is preset, activate unlocking program;
S2, by the gravity sensor be arranged in mobile phone control on described unlocking screen interface preset positive six cubes overturn on described unlocking screen interface movement;
S3, when described positive six cubical with described unlocking screen interface on preset unlocking function icons coincide time, control mobile phone removing screen locking, and enter into the operation interface corresponding with described unlocking function icon.
The method that described mobile phone screen unlocks, wherein, also comprised step before described step S1:
A1, the unlocking screen interface of mobile phone is set to rearranged by multiple equal-sized square grid unit in advance; And long positive six cubes equal with the described square unit length of side of rib are preset at described unlocking screen interface;
A2 and pre-set when one or more it overlaps with it for moving to when described positive six cubes and control to unlock the unlocking function icon at corresponding operating interface; And default described positive six cubes are distributed in described grid units different on described unlocking screen interface all in a random way from described unlocking function icon.
The method that described mobile phone screen unlocks, wherein, described step S1 also comprises step:
Mobile phone screen is lighted in S01, reception user operation instruction, and mobile phone enters unlocking screen interface;
S02, start the first timer, within first scheduled time, receive the operational order that user clicks the unlock icon that described unlocking screen interface is preset, activate unlocking program;
S03, when in described first scheduled time, unlocking program is not activated, mobile phone screen enters blank screen sleep state, closes described first timer;
Wherein, described first scheduled time is 30 seconds.
Described Mobile phone screen unlocking method, wherein, also comprise in described step S2: when monitoring described cube and stopping mobile, start the second timer and start timing, when described positive six cubes stop the time of movement to reach for second scheduled time, control mobile phone screen and enter blank screen sleep state;
Wherein, described second scheduled time is 30 seconds.
Described Mobile phone screen unlocking method, wherein, also comprises in described steps A 1: preset described unlocking screen interface: in units of described square grid, laterally presets 5 described grid units, longitudinally presets 7 described grid units;
The described unlocking function icon preset in described steps A 2 comprises: communication icon, described the unlock icon, phone icon, camera icon.
Described Mobile phone screen unlocking method, wherein, described step S3 comprises step further:
When described positive six cubical overlap with the described the unlock icon on described unlocking screen interface time, control mobile phone removing screen locking, enter the main interface of mobile phone.
Described Mobile phone screen unlocking method, wherein, described step S2 also comprises: the top left co-ordinate position defining the grid unit of the correspondence of described positive six cubes on described unlocking screen interface is A(Ax, Ay), the coordinate position in arbitrary unlocking function icon place grid unit upper left corner is B (Bx, By), then have
As Ax-Bx>0, then control described positive six cubes and be moved to the left;
As Ax-Bx<0, then control described positive six cubes and move right;
As Ay-By>0, then control described positive six cubes and move up;
As Ay-By<0, then control described positive six cubes and move down.
Described Mobile phone screen unlocking method, wherein, also comprise in described step S3: as Ax-Bx=0 and Ay-By=0 time, then judge described positive six cubical and described unlocking function icons coincide, and control mobile phone removing screen locking, and enter into the operation interface corresponding with described unlocking function icon.
Adopt a mobile phone for described screen unlock method, wherein, comprising:
Screen touch-control module, after entering unlocking screen interface, receives the operational order that user clicks the unlock icon, to activate unlocking program for mobile phone within first scheduled time;
Gravity sensor, for obtaining the three-dimensional gravity accekeration of mobile phone, positive six cubes controlling that screen unlock interface is preset overturn mobile on unlocking screen interface;
Unlock control module, for when described positive six cubical with on described unlocking screen interface during default unlocking function icons coincide, control mobile phone removing screen locking, and control mobile phone and enter into the operation interface corresponding with described unlocking function icon.
Described mobile phone, also comprises:
Unlock interface administration module, is rearranged by multiple equal-sized square grid unit for being set at the unlocking screen interface of mobile phone in advance; And long positive six cubes equal with the described square unit length of side of rib are preset at described unlocking screen interface; And when one or more it overlaps with it for moving to when described positive six cubes, control to unlock the unlocking function icon at corresponding operating interface for pre-setting; And default described positive six cubes are distributed in described grid units different on described unlocking screen interface from described unlocking function icon all in a random way;
Processor module, for when unlocking program is activated not yet in first scheduled time, or when the time monitoring described positive six cubes stopping movement reaching for second scheduled time, controls mobile phone screen and enters blank screen sleep state, stop unlocking screen program;
Wherein, described first scheduled time and second scheduled time are 30 seconds.
A kind of Mobile phone screen unlocking method provided by the present invention and mobile phone, be set to be made up of equal-sized square grid unit owing to adopting screen interface when being unlocked by mobile phone, and preset long positive six cubes equal with the described square unit length of side of rib, and one or more unlocking function icon for unlocking, and preset in described grid units different on screen when described positive six cubes and described unlocking function icon are distributed as unblock all in a random way.Make mobile phone add New function, during unblock, user controls described six cubes by upset mobile phone and overturn mobile in unlock interface, when described six cubical with described default unlocking function icons coincide time, control releasing mobile phone screen lock-out state.Mobile phone screen unlocking manner of the present invention is unique, novel, has more interest, is unlocked simultaneously by mobile phone screen of the present invention, directly can also control mobile phone and enter into the operation interface relevant to described unlocking function icon, provide users with the convenient.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, 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, be not intended to limit the present invention.
Mobile phone screen unlocking method described for a better understanding of the present invention, first does detailed explanation explanation to unlocking screen interface of the present invention below.
As shown in Figure 1, when mobile phone screen of the present invention unlocks, presetting unlocking screen interface is: rearranged by multiple equal-sized square grid unit; And long positive six cubes equal with the described square unit length of side of rib are preset at described unlocking screen interface; Preferably, presetting described unlocking screen interface in the present embodiment is: mobile phone screen laterally has 5 described grid units, longitudinally have 7 described grid units, and the length of side of described grid unit is a.
In addition, the unlocking function icon controlling to unlock corresponding operating interface when one or more it overlaps with it for moving to when described positive six cubes is also pre-set at described unlocking screen interface; And default described positive six cubes are distributed in described grid units different on described unlocking screen interface all in a random way from described unlocking function icon.
Preferably, in the specific embodiment of the invention, preset 4 described unlocking function icons, be respectively: communication icon, described the unlock icon, phone icon, camera icon, and described 4 unlocking function icons are random is respectively arranged in grid units different on described unlocking screen interface.Namely as shown in Figure 1, described 4 unlocking function icons lay respectively in B, C, D, E grid unit at described unlocking screen interface.
As shown in Figure 2, when unlocking mobile phone screen, first described positive six cubes of the random placement of qualifications and described 4 unlocking function figures are had, as as described in stochastic generation, the top left co-ordinate of positive six cube A corresponding grid unit on unlocking screen interface is A (Ax, Ay), determine the coordinate position of described 4 unlocking function figures on unlocking screen interface more at random, position as communication icon B corresponding grid unit upper left corner on unlocking screen interface is B (Bx, By), meets Bx ≠ Ax and By ≠ Ay; The position unlocking figure C corresponding grid unit upper left corner on unlocking screen interface is C (Cx, Cy), meet Cx ≠ Ax ≠ Bx and Cy ≠ Ay ≠ By, the position in phone icon D corresponding grid unit upper left corner on unlocking screen interface is D (Dx, Dy), meets Dx ≠ Ax ≠ Bx ≠ Cx and Dy ≠ Ay ≠ By ≠ Cy; And the position in camera icon E corresponding grid unit upper left corner on unlocking screen interface is E (Ex, Ey), meets Ex ≠ Ax ≠ Bx ≠ Cx ≠ Dx and Ey ≠ Ay ≠ By ≠ Cy ≠ Dy; Namely the condition that described 5 figures on unlocking screen interface all will meet is: if the x coordinate of any 2 its positions of figure is identical, then the absolute value of its y coordinate difference must be greater than the 1a(i.e. length of side of a described grid unit), if the y coordinate figure of its position is identical, then the absolute value of its x coordinate difference must be greater than 1a.
Based on the unlocking screen interface described in above-described embodiment, refer to Fig. 3, Fig. 3 is the flow chart of the preferred embodiment of a kind of Mobile phone screen unlocking method of the present invention.In the present embodiment, described screen unlock method, comprises the following steps:
100, lighting mobile phone screen makes mobile phone enter unlocking screen interface, and mobile phone receives the operational order that user clicks the unlock icon on described unlocking screen interface in the given time, activates unlocking program.
200, when described unlocking screen interface, described positive six cubes upset controlled in screen unlock interface by the gravity sensor be arranged in mobile phone is mobile.
300, when described positive six cubical with the unlocking function icons coincide be preset on described unlocking screen interface time, control mobile phone removing screen locking, and enter into the application corresponding with described unlocking function icon.
Preferably, described step 100 also specifically comprises: user lights mobile phone screen and enters unlocking screen interface, described unlocking screen interface is preset with a unlock icon, and in the present embodiment, described the unlock icon is a lock figure.After entering described unlocking screen interface, handset starting internal timer, user receives lock the unlock icon that user clicks on screen and just can activate unlocking program and enter unlocking screen interface within a scheduled time.If exceed described scheduled time user still do not click described the unlock icon, mobile phone will enter blank screen sleep state automatically, and described timer stops timing.Preferably, in the present embodiment, the described scheduled time is 30 seconds, namely after user lights the screen under mobile phone lock-out state, handset starting internal timer timing from T=0s, if do not detect yet as T=30s, user clicks the operation of the unlock icon on screen, and mobile phone will enter blank screen sleep state automatically, closes described timer simultaneously.
Preferably, in described step 200, described gravity sensor can the current three-dimensional gravity accekeration of Real-time Obtaining mobile phone, controls described positive six cubes in mobile phone screen unlock interface, carry out corresponding upset move according to the mobile phone three-dimensional gravity accekeration obtained.Whether the time simultaneously monitoring described positive six cubical stopping movements reaching for second scheduled time, and when being, then control mobile phone and enter blank screen sleep state, described unlocking program stops.In the present embodiment, described second scheduled time is 30 seconds, when described positive six cubes often move to a new position, namely when its position coordinates on unlocking screen interface often occurs once to change, second timer of interior of mobile phone restarts timing automatically, and initial timing is T=0s, change to not monitoring described positive six cubical coordinates during T=30s yet when described second timer, then judge that described positive six cubes stop moving to reach described second scheduled time, think that user no longer wishes removing screen locking, control mobile phone and enter blank screen sleep state.
Preferably, in described step 300, when described positive six cubical any one sides overlap with described the unlock icon, control mobile phone removing screen locking, enter the main interface of mobile phone.And when described positive six cubical with other 3 unlocking function icons coincide described time, control mobile phone removing screen locking, and enter into the operation interface corresponding to described unlocking function icon.Such as move described positive six cubes, when described positive six any one faces cubical overlap with the communication icon on screen, removing screen locking, directly enter into informational function operation interface, user can directly check short message or write fresh information simultaneously.
Based on the above embodiment of the present invention, when user unlocks mobile phone screen, movement is overturn on the screen by overturning mobile phone and then controlling described positive six cubes, if the coordinate position of current described positive six cubes on described unlocking screen interface is A(Ax, Ay), the coordinate position of described communication icon is B (Bx, By), and user wishes directly to enter informational function interface after mobile phone screen unlocks, then concrete moving method is:
Work as Ax-Bx>0, then control described cube and be moved to the left, be i.e. user's handheld mobile phone to tilt to the left mobile phone;
Work as Ax-Bx<0, then control described cube and move right, be i.e. user's handheld mobile phone to tilt to the right mobile phone;
Work as Ay-By>0, then control described cube and move up, be i.e. user's handheld mobile phone make the top of mobile phone downward-sloping;
Work as Ay-By<0, then control described cube and move down, be i.e. user's handheld mobile phone make the bottom of mobile phone downward-sloping;
As Ax-Bx=0 and Ay-By=0 time, then judge that described positive six cubical overlaps with described communication icon, mobile phone removing screen locking, and enter into informational function operation interface.
Particularly in embodiment, as shown in Figure 4, Fig. 4 is the specific implementation process of Mobile phone screen unlocking method of the present invention, comprises the steps:
40, user lights mobile phone screen and enters unlock interface, starts the first timer.
41, whether user clicked described the unlock icon and activates unlocking program in 30 seconds.If so, step 42 is entered, otherwise, enter step 46.
42, enter unlocking screen interface, mobile phone has unlocking function figure described in the stochastic generation of qualifications and the position coordinates of described positive six cubes in mobile phone screen unlock interface.
43, user overturns mobile phone described positive six cubes controlled on described unlocking screen interface that upset occurs is mobile.Concrete control mode is as described in above-described embodiment.
44, start the second timer, monitor described positive six cubes and stop the time of movement whether to reach for second scheduled time, if so, then enter step 46, otherwise enter step 45.
45, when described positive six cubical any one sides are with described arbitrary unlocking function icons coincide, control mobile phone screen latch-release, control mobile phone simultaneously and enter into the application interface corresponding with described unlocking function icon, unlocking screen completes.
46, mobile phone stops unlocking screen program, enters blank screen sleep state.
Therefore, through above-mentioned Mobile phone screen unlocking method, during unblock, corresponding upset is there is and moves in user by positive six cubes that upset mobile phone controls in mobile phone screen unlock interface, when described positive six cubical with the unlocking function icons coincide be preset on screen time, automatic control mobile phone removing screen locking, add the interest of user's unlock screen lock operation, also control mobile phone when screen locking is removed simultaneously and directly enter into the operation interface corresponding with described positive six cubical the unlocking function icon occurring to overlap, provide users with the convenient.
Based on above-described embodiment, present invention also offers a kind of mobile phone, the mobile phone of the present embodiment comprises:
Screen touch-control module, after entering unlocking screen interface, receives the operational order that user clicks the unlock icon, to activate unlocking program for mobile phone within first scheduled time; Specifically as described in above-described embodiment.
Gravity sensor, for the three-dimensional acceleration value of Real-time Obtaining mobile phone, positive six cubes controlled in screen unlock interface overturn movement on the screen; Specifically as described in above-described embodiment.
Unlock control module, for when described positive six cubical with described unlocking screen interface on preset unlocking function icons coincide time, control mobile phone removing screen locking, and control enters into the application corresponding with described unlocking function icon.Specifically as described in above-described embodiment.
Further, described mobile phone also comprises:
Unlock interface administration module, is rearranged by multiple equal-sized square grid unit for being set at the unlocking screen interface of mobile phone in advance; And long positive six cubes equal with the described square unit length of side of rib are preset at described unlocking screen interface; And when one or more it overlaps with it for moving to when described positive six cubes, control to unlock the unlocking function icon at corresponding operating interface for pre-setting; And default described positive six cubes are distributed in described grid units different on described unlocking screen interface all in a random way from described unlocking function icon.
Processor module, for when unlocking program is activated not yet in first scheduled time, or when the time monitoring described positive six cubes stopping movement reaching for second scheduled time, controls mobile phone screen and enters blank screen sleep state, stop unlocking screen program; Specifically as described in above-described embodiment.
Preferably, described first scheduled time and second scheduled time are 30 seconds.
In sum, a kind of Mobile phone screen unlocking method provided by the present invention and mobile phone, the interface that mobile phone unlocks is set to be rearranged by equal-sized square grid unit, and preset long positive six cubes equal with the described square grid unit length of side of rib on the screen, and one or more unlocking function icon for unlocking.Mobile phone is made to add new function by the present invention: when removing mobile phone screen locking, corresponding upset is there is and moves in user by described positive six cubes that upset mobile phone controls on mobile phone screen, when described positive six cubical with described unlocking function icons coincide time, automatic control mobile phone removing screen locking, simultaneously also control mobile phone when removing screen locking and automatically enter into the application relevant to described positive six cubical the unlocking function icon occurring to overlap, for providing convenience.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.