CN108920922A - unlocking method, device, mobile terminal and computer-readable medium - Google Patents
unlocking method, device, mobile terminal and computer-readable medium Download PDFInfo
- Publication number
- CN108920922A CN108920922A CN201810621798.XA CN201810621798A CN108920922A CN 108920922 A CN108920922 A CN 108920922A CN 201810621798 A CN201810621798 A CN 201810621798A CN 108920922 A CN108920922 A CN 108920922A
- Authority
- CN
- China
- Prior art keywords
- camera
- screen
- mobile terminal
- unlocking
- image
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000033001 locomotion Effects 0.000 claims description 46
- 230000001815 facial effect Effects 0.000 claims description 45
- 230000015654 memory Effects 0.000 claims description 22
- 238000001514 detection method Methods 0.000 claims description 19
- 230000006399 behavior Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 24
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000000007 visual effect Effects 0.000 description 9
- 238000009434 installation Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 241000208340 Araliaceae Species 0.000 description 1
- VAYOSLLFUXYJDT-RDTXWAMCSA-N Lysergic acid diethylamide Chemical class C1=CC(C=2[C@H](N(C)C[C@@H](C=2)C(=O)N(CC)CC)C2)=C3C2=CNC3=C1 VAYOSLLFUXYJDT-RDTXWAMCSA-N 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 238000005760 Tripper reaction Methods 0.000 description 1
- 230000004308 accommodation Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000001154 acute effect Effects 0.000 description 1
- XEGGRYVFLWGFHI-UHFFFAOYSA-N bendiocarb Chemical compound CNC(=O)OC1=CC=CC2=C1OC(C)(C)O2 XEGGRYVFLWGFHI-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000994 depressogenic effect Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 239000012636 effector Substances 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application provides a kind of unlocking method, device, mobile terminal and computer-readable medium, is related to technical field of mobile terminals.This method includes:When the mobile terminal is in screen lock state and screen is in ignition mode, the operating gesture for currently acting on the screen is obtained;Judge whether the operating gesture meets preset standard;If meeting preset standard, the camera is moved to pre-position, controls the camera collection image;Unlocking screen is carried out according to the image of camera acquisition;If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.In screen lock state and when screen is lit, it is mobile to control camera by operating gesture, can effectively reduce the frequent lifting of camera, and influences the normal use of user, to improve user experience.
Description
Technical field
This application involves technical field of mobile terminals, more particularly, to a kind of unlocking method, device, mobile terminal and
Computer-readable medium.
Background technique
Currently, some mobile terminals are provided with scalable or rotatable camera, when mobile phone is by screen locking, user is lighted
After screen, camera can be risen unlock after recognition of face, and still, after bright screen, camera frequently goes up and down and will cause
User experience is not high.
Summary of the invention
Present applicant proposes a kind of unlocking method, device, mobile terminal and computer-readable mediums, to improve above-mentioned lack
It falls into.
In a first aspect, the embodiment of the present application provides a kind of unlocking method, it is applied to mobile terminal, the mobile terminal packet
Terminal body and camera are included, the camera is placed in the terminal body, and can be moved relative to the terminal body
The terminal body is moved and removes, the method includes:Screen lock state is in the mobile terminal and screen is in and lights mould
When formula, the operating gesture for currently acting on the screen is obtained;Judge whether the operating gesture meets preset standard;If meeting
The camera is moved to pre-position, controls the camera collection image by preset standard;It is adopted according to the camera
The image of collection carries out unlocking screen;If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
Second aspect, the embodiment of the present application also provides a kind of trippers, are applied to mobile terminal, the mobile terminal
Including terminal body and camera, the camera is placed in the terminal body, and can be relative to the terminal body
It moves and removes the terminal body.Described device includes:Gesture acquiring unit, judging unit, control unit, unlocking unit and
Switch unit.Gesture acquiring unit, for obtaining when the mobile terminal is in screen lock state and screen is in ignition mode
Currently act on the operating gesture of the screen.Judging unit, for judging whether the operating gesture meets preset standard.Control
Unit processed controls the camera acquisition figure if the camera is moved to pre-position for meeting preset standard
Picture.Unlocking unit, the image for being acquired according to the camera carry out unlocking screen.Switch unit, if for unlocking successfully,
The mobile terminal is switched to unlocked state by the screen lock state.
The third aspect, it is described the embodiment of the present application also provides a kind of mobile terminal, including terminal body and camera
Camera is placed in the terminal body, and relative to the terminal body movement and can remove the terminal body;Also wrap
Memory and processor are included, the memory is coupled with the processor;The memory store instruction, when described instruction is by institute
It states when processor executes so that the processor executes following operation:Screen lock state is in the mobile terminal and screen is in
When ignition mode, the operating gesture for currently acting on the screen is obtained;Judge whether the operating gesture meets preset standard;
If meeting preset standard, the camera is moved to pre-position, controls the camera collection image;It is taken the photograph according to described
The image acquired as head carries out unlocking screen;If unlocking successfully, the mobile terminal is switched to unlock by the screen lock state
State.
Fourth aspect, the embodiment of the present application also provides a kind of mobile terminal, terminal body and camera, the camera shooting
Head is placed in the terminal body, and relative to the terminal body movement and can remove the terminal body;It further include inspection
Slowdown monitoring circuit, driving circuit and processor, the detection circuit and the driving circuit are connected to the processor.The detection
Circuit, for when the mobile terminal is in screen lock state and screen is in ignition mode, acquisition currently to act on the screen
The operating gesture of curtain.The processor, for judging whether the operating gesture meets preset standard;If meeting preset standard,
Driving signal is sent to the driving circuit.The camera is moved to pre- by the driving circuit according to the driving signal
Place is set in positioning, controls the camera collection image.The processor is also used to be carried out according to the image that the camera acquires
Unlocking screen;If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
5th aspect, the embodiment of the present application also provides a kind of computers of program code that can be performed with processor can
Medium is read, said program code makes the processor execute the above method.
Unlocking method, device, mobile terminal and computer-readable medium provided by the embodiments of the present application, described mobile whole
End is in screen lock state and in the case that screen is lit, and screen can collect the operating gesture of user's input at this time, then,
Mobile terminal judges whether the operating gesture meets preset standard, if it is, control camera is moved out to predetermined position, rather than
Camera is moved to pre-position automatically as long as mobile terminal is lit screen in the state of the lock screen.Then, camera
After reaching predetermined position, camera collection image is controlled, then acquired image is recycled to carry out unlocking screen, if solution
It locks successfully, mobile terminal is just switched to unlocked state by the screen lock state.Therefore in screen lock state and screen is lit
When, camera movement is controlled by operating gesture, can effectively reduce the frequent lifting of camera, and influence the normal of user
It uses, to improve user experience.
Other feature and advantage of the embodiment of the present application will illustrate in subsequent specification, also, partly from specification
In become apparent, or understood and implementing the embodiment of the present application.The purpose of the embodiment of the present application and other advantages can
It is achieved and obtained by structure specifically indicated in the written description, claims, and drawings.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the structural schematic diagram at the first visual angle of the mobile terminal of one embodiment of the application offer;
Fig. 2 shows the structural representations of the first state at the second visual angle of the mobile terminal of one embodiment of the application offer
Figure;
Fig. 3 shows the structural representation of second state at the second visual angle of the mobile terminal of one embodiment of the application offer
Figure;
Fig. 4 shows the structural schematic diagram at the third visual angle of the mobile terminal of one embodiment of the application offer;
Fig. 5 shows the structural schematic diagram of the first state for the mobile terminal that another embodiment of the application provides;
Fig. 6 shows the structural schematic diagram of the second state of the mobile terminal that another embodiment of the application provides;
Fig. 7 shows the structural schematic diagram of the first state for the mobile terminal that the another embodiment of the application provides;
Fig. 8 shows the structural schematic diagram of the second state of the mobile terminal that the another embodiment of the application provides;
Fig. 9 shows the structural schematic diagram at the first visual angle of the mobile terminal of the application another embodiment offer;
Figure 10 shows the structural schematic diagram at the second visual angle of the mobile terminal of the application another embodiment offer;
Figure 11 shows the method flow diagram of the unlocking method of one embodiment of the application offer;
Figure 12 shows the schematic diagram at the gesture input interface of one embodiment of the application offer;
Figure 13 shows the schematic diagram of the operating gesture of one embodiment of the application offer;
Figure 14 shows the surface chart of the mobile terminal of one embodiment of the application offer in the unlocked state;
Figure 15 shows the method flow diagram for the unlocking method that another embodiment of the application provides;
Figure 16 shows the schematic diagram for the operating gesture that another embodiment of the application provides;
Figure 17 shows the schematic diagrames for the operating gesture that the another embodiment of the application provides;
Figure 18 shows the schematic diagram of the unlock interface of one embodiment of the application offer;
Figure 19 shows the method flow diagram for the unlocking method that another embodiment of the application provides;
Figure 20 shows the schematic diagram of the location status variation of camera provided by the embodiments of the present application;
Figure 21 shows the schematic diagram of the location status variation of interface variation provided by the embodiments of the present application and camera;
Figure 22 shows the method flow diagram for the unlocking method that the another embodiment of the application provides;
Figure 23 shows the schematic diagram of the angle change of mobile terminal provided by the embodiments of the present application;
Figure 24 shows the module frame chart of the tripper of one embodiment of the application offer;
Figure 25 shows the module frame chart of the mobile terminal of one embodiment of the application offer;
Figure 26 shows provided by the embodiments of the present application for executing the electronic device of method provided by the embodiments of the present application
Module frame chart.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist
The component of the embodiment of the present application described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed the application's to the detailed description of the embodiments herein provided in the accompanying drawings below
Range, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not being done
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 shows the structural schematic diagram that can be used for the mobile terminal of the embodiment of the present application.Mobile terminal
100 include terminal body 130, camera 150 and movable component 140, and camera 150 is mounted on movable component 140, activity group
Part 140 is flexibly connected with terminal body 130, and specifically, which indicates that movable component 140 and terminal body 130 are direct
It can be rotation connection, be also possible to sliding link.In some implementations, the table of terminal body 130 is arranged in movable component 140
Face, in some conditions, when angle minimum between movable component 140 and terminal body 130, movable component 140 and terminal sheet
The surface of body 130 is bonded, also, movable component 140 can be to rotate close to or away from the direction on the surface of terminal body 130.
In further embodiments, movable component 140 can be contained in terminal body 130, for example, terminal body 130
Equipped with opening, movable component 140 is connected to opening, and can be moved to open interior, is contained in terminal body to realize
Effect in 130.As an implementation, which can be the groove opened up on the surface of terminal body 130, the groove
The position or the back side at the close middle part at the top of the position, the back side of first edge at the top of the back side of terminal body can be set
Top is close to the position etc. of second edge.The shape of the groove can be rectangle, square, circle, semicircle, regular polygon
Or irregular polygon etc..Schematically, referring to Fig. 1, the groove can be close at the top of the back side for being set to terminal body
The rectangular recess at middle part, the rectangular recess be formed by accommodation space for accommodate camera, close to optical sensor, earpiece, away from
From function elements such as sensor, ambient light sensor, temperature sensor, pressure sensors, wherein when the function element is arranged
When being placed in groove, then the function element is hidden in the behind of terminal body, when the function element is produced from groove
At 180 °, the function element is revealed at the top of terminal body and with the front of terminal body or the back side towards phase
Together.
Specifically, Fig. 1, Fig. 2 and Fig. 3 are please referred to, wherein Fig. 1 shows the mobile end that can be used for the embodiment of the present application
The structural schematic diagram at end, Fig. 2 shows the first state schematic diagram for the mobile terminal that can be used for the embodiment of the present application, Fig. 3 is shown
It can be used for second status diagram of the mobile terminal of the embodiment of the present application.In embodiments herein, the terminal body
130 include front 120 and the back side 132, wherein the front 120 of terminal body is the touch screen of mobile terminal, the back of terminal body
Face 132 is the shell of mobile terminal.Further, which is rotatably dispose in the back side 132 of terminal body 130, takes the photograph
It being set on movable component 140 as first 150, camera 150 is that shaft is rotated relative to terminal body 130 with movable component 140,
As a kind of mode, the back side 132 of terminal body 130 is provided with the groove for accommodating movable component 140, when movable component 140 holds
When being contained in the groove, the height of the movable component 140 can flush with the back side 132 of terminal body 130, can protrude from end
The back side 132 of ontology 130, back side 132 that terminal body 130 can also be depressed in etc. are held, in addition, the movable component 140 can be with
Camera 150 is driven to rotate in the range of 0 ° -180 ° relative to terminal body 130.Camera 150 passes through movable component 140
It is rotatablely connected with the terminal body 130 of mobile terminal, specifically, movable component 140 includes shaft and installation part, camera 150
On mountings, installation part is connect by shaft with groove inner wall, installation part is placed in recessed for equal function elements installation
It, can also be by being rotated out in groove in slot.When installation part is placed in groove, i.e., installation part fills up groove, then position at this time
It is set to the initial position of installation part, the i.e. initial position of camera 150.Then at this point, the light out of the direction of camera 150 and screen
Face is vertical, that is to say, that and the rear camera 150 that camera 150 can be used as mobile terminal at this time uses, as shown in Figure 1, and
When camera 150 in groove by rotating out and when turning to maximum position, as shown in Figures 3 and 4, at this point, camera 150 can be with
It is used as front camera 150.
Again illustratively, Fig. 5 and Fig. 6 are please referred to, the structure of another kind mobile terminal 200 provided by the embodiment of the present application
Figure.In mobile terminal 200 shown in Fig. 5, including terminal body 210, camera 221 and movable component 222, wherein camera shooting
First 221 are arranged on movable component 222, and movable component 222 is slidably connected with terminal body 210, can be hidden in terminal body
210 back side or inside, when being hidden in the back side or inside, user can not observe camera by the front of terminal body
221, as shown in Figure 6.
Specifically, movable component 222 is slidably disposed in shell, can be by shell is stretched out or slid into shell
It is interior, and some function elements of mobile terminal also can be set in movable component, the function element include but is not limited to by
Words device, structure optical assembly, camera and light filling device are also possible to the back in mobile terminal as another embodiment
Face opens up an accommodating chamber, for example, it may be a groove, then movable component 222 can be by skidding off in the accommodating chamber.
Again illustratively, as shown in FIG. 7 and 8, the structure chart of a kind of mobile terminal 200 provided herein.In Fig. 7 institute
In the mobile terminal 200 shown, including terminal body 210 and function element mould group 220, the function element mould group 220 are hidden
It is set in the terminal body, and is slideably revealed from the top of the terminal body 210, specifically, effector
Part mould group 220 includes sliding part 222 and function element, and function element is arranged on sliding part, and sliding part 222 is mounted slidably
In shell, can by shell stretch out or slide into shell in, wherein the function element include but is not limited to receiver,
Structure optical assembly, camera and light filling device, wherein as a kind of mode, as shown in figure 8, being set towards mobile terminal front
It is equipped with camera 221, the upper area of sliding part 222 is set.Then camera 221 can be driven by sliding part 222, thus hidden
It ensconces in shell, or by being stretched out in shell.
Please refer to Fig. 9 and 10, the structure chart of another mobile terminal provided herein.With provided by Fig. 7 and Fig. 8
The most important difference of mobile terminal is that function element mould group 220 is stretched out by the inside of shell.
Specifically, as an implementation, the top setting one at the back side of the terminal body of mobile terminal 210 is recessed
Slot, then function element mould group 220 is arranged in groove, and can stretch out or retract in groove.Function element mould group 220 is wrapped
Include sliding part 222 and function element, wherein function element include but is not limited to receiver, structure optical assembly, camera 221 with
And the devices such as light filling device.Sliding part includes the first face and the second face, and the first face and the second face are opposite face, and camera 221 is set
It sets on the first face of sliding part 222, when sliding part is located in groove, one of the back side as terminal body of the second face
Point, and the first face is blocked by the front of terminal body, i.e. camera 221 is blocked by the front of terminal body, and not by terminal sheet
The front exposed of body goes out.As shown in Figure 10, sliding part 222 can be stretched out by the back side of terminal body, then camera 221 is by terminal
The front exposed of ontology goes out, i.e., is not blocked by the front of terminal body, can be used as front camera.
Currently, the mobile terminal that above-mentioned camera can be rotated or scalable equal activity is arranged, when mobile terminal is in screen locking
When state, camera is in initial position, for example, being located in the inside of mobile terminal or the accommodating chamber at the back side, user is lighted
After screen, camera rises or rotates automatically, so that camera is gone out by the front exposed of mobile terminal, i.e. the bat of camera
It is vertical with the surface of screen to take the photograph direction, facilitates user's face camera to acquire facial image, to carry out the screen of recognition of face
Unlock.
But if user is to light screen to see the information such as lower time or some message informings, and do not really want to unlock
Mobile terminal and enter system, then the frequent lifting of camera not only wastes the electricity of mobile terminal, but also influences the behaviour of user
Make, causes user experience excessively poor.Therefore, in order to solve drawbacks described above, Figure 11 is please referred to, the embodiment of the present application provides a kind of solution
Locking method, this method states the user experience of mobile terminal for improving user in use, so that mobile terminal be avoided to lock
The problem for being lit the movement that screen causes camera to be done nothing under screen to acquire face, and then cause user experience too low, specifically
Ground, this method include:S1101 to S1105.
S1101:When the mobile terminal is in screen lock state and screen is in ignition mode, obtains and currently act on institute
State the operating gesture of screen.
Mobile terminal includes screen lock state and unlocked state, and the screen of mobile terminal then includes putting out screen state and bright screen shape
State.Specifically, it can be detected by the program module in the system of mobile terminal, for example, passing through PowerManager's
IsScreenOn function check screen puts out screen state and bright screen state, is received and is broadcasted by BroadcastReceiver
Intent.ACTION_SCREEN_ON and Intent.ACTION_SCREEN_OFF, so as to judge that mobile terminal is in lock
Screen state or unlocked state.
And after screen is lit, although mobile terminal is in screen lock state, mobile terminal can still be examined
The operating gesture inputted when surveying user's operation screen, that is, obtain the operating gesture for currently acting on the screen, specifically, can
The operating gesture for currently acting on the screen is detected with the program module in the system by mobile terminal, for example,
In the frame of Android, the operating gesture that user acts on screen is obtained by GestureDetector function.
Specifically, mobile terminal is under screen lock state and when being lit screen, can show gesture input on the screen
Interface, interface as shown in figure 12, in the gesture input interface, mobile terminal can acquire user at the gesture input interface
Which kind of mode the operating gesture of input, and the display reminding content in the interface, the suggestion content are used to indicate user using
Operating gesture is inputted, for example, content can be " activity is upwards to unlock ".In Figure 12, " information content " can be current movement
The terminal received prompting of institute or notification message or mobile terminal received and message that user does not read.
S1102:Judge whether the operating gesture meets preset standard.
Wherein, preset standard can be predetermined registration operation gesture, be stored in advance in mobile terminal, can be user according to reality
The gesture that border uses and sets can be the slip gesture with certain curve as an implementation, for example, circle, three
Angular or straight line etc. can be glide direction as another embodiment, for example, from the bottom of screen to top slide,
It is also possible to from top to basal sliding, specifically, different preset can be set in conjunction with the different hardware state of mobile terminal
Operating gesture.
Shown in Fig. 1 to Fig. 4 as above, camera goes to front by the back side of mobile terminal, then the camera and movement are whole
The ontology at end is rotatablely connected, and camera can be turned to the front of the mobile terminal, use as the former camera, can also be with
It is ported to the back side of mobile terminal, is used as rear camera.
Specifically, the rotation direction of camera includes first direction and second direction, wherein first direction refers to described take the photograph
The direction at the back side as head far from the mobile terminal, second direction refer to camera close to the direction at the back side of mobile terminal.
And rotational angle can be camera by initial position far from the back side of mobile terminal rotation when angle, i.e., along first direction
Angle when rotation, that is to say, that camera shooting head-turned angle is the angle between the movable component and the back side of mobile terminal, such as
Angle a shown in Fig. 2.Wherein, extreme position when which is rotated in a second direction, for camera, i.e., due to movement
The position-limiting action at the back side of terminal and can not be rotated in a second direction, again.Then for mobile terminal shown in Fig. 1 to Fig. 4, preset
Operating gesture can be along the top of screen to basal sliding.As shown in figure 13, shown hand on the screen of the mobile terminal
The slip gesture by bottom of screen to top-direction is inputted in gesture operation interface, the arrow direction in Figure 13 is the cunning of user gesture
Dynamic direction.
And for Fig. 5 to mobile terminal shown in Fig. 10, camera can be by stretching out inside the terminal body of mobile terminal
Or stretched out by the back side of terminal body, as another embodiment, camera is suppressible to be set to the mobile terminal
In ontology, it can be manually pulled and be revealed at the top of the terminal body, and be located at the front of the mobile terminal.Then needle
To Fig. 5 to mobile terminal shown in Fig. 10, predetermined registration operation gesture be can be along the bottom of screen to top slide.
S1103:The camera is moved to pre-position, controls the camera collection image.
If it is determined that operating gesture meets preset standard, then control camera and be moved to pre-position, specifically, is moving
After processor in dynamic terminal judges that operating gesture meets preset standard, driving instruction is sent to driving circuit, which refers to
Order is used to indicate driving circuit and camera is moved to predetermined position.After then driving circuit gets driving instruction, then drive
Circuit can control camera according to the driving signal and be moved to predetermined position, specifically, adjusted and driven according to the driving instruction
Parameter is driven for example, the size or phase etc. of drive level or driving current, are sent to driving assembly for the driving signal
Dynamic component exports the power such as corresponding pulling force or thrust according to the driving signal, so that camera be driven to be moved to pre-determined bit
It sets.
Wherein, the predetermined position of camera is the position convenient for oneself face of shooting that user sets according to oneself demand
It sets, specifically, different from the connection type of terminal body according to camera, predetermined position is also corresponding different.For example, above-mentioned Fig. 1
Extremely shown in Fig. 4, camera goes to front by the back side of mobile terminal, then the predetermined position is the shooting direction and screen of camera
The light-emitting surface of curtain is vertical, and the angle for being also possible to the shooting direction of camera and the light-emitting surface of screen is acute angle, for example, being 89 °
Angle between 60 ° specifically can be 60 °.For another example above-mentioned Fig. 5 is to mobile terminal shown in Fig. 9, camera can be with
By stretching out inside the terminal body of mobile terminal or being stretched out by the back side of terminal body, then it is rigid to can be camera for predetermined position
The position just come out by the front exposed of screen is also possible to along the maximum shift position in the stretching direction of camera.
In addition, mobile terminal is able to detect whether camera is moved to pre-position, specifically, by camera
Upper setting is able to detect the devices such as the angular transducer of camera shooting head-turned angle or the displacement sensor of moving distance, energy
The positional relationship between camera and terminal body, i.e. the location of camera are enough got, is thus just able to detect
Whether camera is moved to predetermined position.
Specifically, for the mobile terminal of above-mentioned different hardware form, mode detected is different.
In some embodiments, detecting the camera and whether being moved to the embodiment in predetermined position can be:It obtains
The rotation information of the camera is taken, the rotation information includes rotation direction and rotational angle.
Specifically, for mobile terminal shown in above-mentioned Fig. 1 to Fig. 4, the rotation direction and rotational angle of camera are detected
Embodiment can be, the sensor for detecting rotation direction and rotational angle is set on runner assembly, for example, turn
Angular transducer or Hall sensor are set in the shaft of dynamic component, for detecting the rotation direction and rotational angle of shaft.
After getting rotation information, the rotation information of the camera and default rotation information, according to comparing
As a result, confirming whether the camera is moved to predetermined position.
In further embodiments, for above-mentioned Fig. 5 to mobile terminal shown in Fig. 9, detect the camera whether by
The mode for being moved to predetermined position is to obtain the pull distance of camera, judges whether camera is moved according to the pull distance
It moves to pre-position.Specifically, a range sensor is set at camera, when camera is in terminal body
When, the range sensor at camera is blocked by terminal body, and distance value is maintained at a lower numerical value, and when camera shooting
Head is stretched when locating ontology, and the distance value collected of the range sensor at camera increases, therefore, it is possible to judge that Distance-sensing
When whether device distance value collected is greater than preset value, if it is greater, then determining that camera is moved to predetermined position, if small
In or equal to preset value, it is determined that camera is un-shifted to arrive predetermined position.Wherein, preset value is numerical value set by user, is used
It is not blocked by camera body when indicating the camera place of being stretched ontology.
As an implementation, camera can be moved along third direction and fourth direction, be with mobile terminal
For vertical screen state and vertical display, i.e., with visual angle shown in fig. 5, third direction refers to that camera moves in the upward direction,
It is moved down in third party, camera can be by stretching out in terminal body, and fourth direction is the opposite anti-of third direction
To with visual angle shown in fig. 5, fourth direction refers to that camera moves in a downward direction.It should be noted that the position of camera
It sets including initial position and maximum position, wherein initial position is critical localisation of the camera in terminal body, that is, is taken the photograph
Picture head can not be moved in initial position along fourth direction again, and can be moved along third direction, and maximum position refers to camera
It can not move, and can be moved along fourth direction again along third direction.
Obtaining the distance that the camera is pulled can be measured by range sensor, specifically, be can be and moved
The multiple range sensors of setting in sliding channel in dynamic terminal body, wherein sliding channel is camera in mobile terminal sheet
Internal sliding area, and camera be arranged on sliding part, then sliding part do not adjust the distance sensor block when, range sensor
The numerical value of acquisition is biggish value, e.g., the width of sliding channel, and work as sliding part and be moved at range sensor, and is right
When range sensor blocks, the distance value of range sensor acquisition is the distance between sliding part and range sensor value, thus
It just can determine which range sensor camera reaches at, and further according to the installation site for obtaining each range sensor in advance
The distance between, it will be able to determine the moving distance of camera.
After determining that camera is moved to predetermined position, camera is opened, and control camera and acquire its visual field
The image of interior object, to obtain the image of camera acquisition.
S1104:Unlocking screen is carried out according to the image of camera acquisition.
Judge whether the facial image matches with default facial image, if it does, then determining successfully to unlock, if not
Matching then determines failed unlock.
Wherein, default facial image can be the preset facial image of user, can be stored in mobile terminal,
Be also possible to be stored in some server perhaps in memory mobile terminal can by obtained in the server or memory to
Default facial image.Specifically, it can be the default characteristic information of default facial image, then if facial image is X-Y scheme
Picture, then default characteristic information is the five features point information of the facial image of the preparatory typing of user, if facial image is three-dimensional
Image, then default characteristic information is the face three-dimensional information of the facial image of the preparatory typing of user.Then judge the facial image
The mode for whether meeting preset condition is the characteristic point information for obtaining facial image, and the feature of facial image collected is believed
It ceases and is compared with the default characteristic information of the preparatory typing of user, if it does, then determining that facial image meets preset condition, it is determined that
Facial image has permission the unlocking screen of mobile terminal, if it does not match, determining that facial image is unsatisfactory for preset condition, does not have
It has permission unlocking screen.
S1105:If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
Determining that facial image meets preset condition, by unlocking screen, i.e. mobile terminal is switched to unlock from screen lock state
State can then enter the interface of system desktop, i.e., interface as shown in figure 14.It is of course also possible to be successfully unlock after,
The screen of mobile terminal shows the interface of user's application program operated before screen locking.
It, then can be with furthermore, it is contemplated that mobile terminal after unlocking successfully, will not reuse camera in the possible short time
Camera is resetted, i.e., camera is moved to initial position from predetermined position, specifically, the definition of the initial position can refer to
It is aforementioned.It is set in the terminal body for example, the camera is suppressible, it can be by exposing at the top of the terminal body, i.e.,
Mobile terminal is above-mentioned Fig. 5 to form shown in Fig. 10, then is unlocking successfully, the mobile terminal is cut by the screen lock state
It is changed to after unlocked state, controls the camera and be hidden in the terminal body.
Therefore, in the case where mobile terminal is in screen lock state, after user lights screen, camera will not immediately be moved to pre-
Positioning is set, but detect user meet the operating gesture of preset standard after, it is just that camera is mobile, avoid user only
In the case where in the case where being only to look at information shown on mobile terminal or lighting screen unintentionally, frequent dollying
Head and cause electricity unnecessary consumption and influence user's normal use camera cause the user experience of user excessively poor.
Furthermore, it is contemplated that user is in using the unsuccessful situation of recognition of face solution lock screen, in order to not influence user's
Normal use still causes to use reusing recognition of face also for avoiding when recognition of face solution lock screen is unsuccessful
It is poor that family was experienced, and can combine the demand that user uses unlocking pin solution lock screen, Ke Yi when recognition of face
Unlock interface is shown when appropriate, specifically, please refers to Figure 15, the embodiment of the present application provides a kind of unlocking method, the party
Method states the user experience of mobile terminal for improving user in use, so that mobile terminal be avoided to be lit screen under screen locking
The problem that curtain causes the movement of camera inaction to acquire face, and then cause user experience too low, specifically, this method packet
It includes:S1501 to S1509.
S1501:When the mobile terminal is in screen lock state and screen is in ignition mode, obtains and currently act on institute
State the operating gesture of screen.
S1502:Judge whether the operating gesture meets preset standard.
If meeting preset standard, the operation of S1503 is executed, if being unsatisfactory for preset standard, terminates this method.
Furthermore, it is contemplated that needing to shoot image using camera and be not when user may light screen in the state of the lock screen
Recognition of face is carried out to unlocking screen, then can be set and be different from the operating gesture of preset standard to start camera, without holding
The operation for the image solution lock screen that row is acquired according to camera.
Specifically, in the case where determining that the operating gesture is unsatisfactory for preset standard, judge the operating gesture whether with
The default gesture that shoots matches, and specifically, which can be the pre-set gesture of user, and be marked in advance with meeting
Quasi- operating gesture is different, for example, the operating gesture for meeting preset standard is along the bottom of screen to top slide, then presets and claps
Taking the photograph gesture is that Slideslip then detects the operating gesture that user is inputted based on screen as shown in figure 16 to the right along the left side of screen
When matching with default shooting gesture, then camera is moved to pre-position, and is camera applications by current changing interface
Image preview interface, have the preview interface of image captured by camera in the image preview interface display.Then user at this time
It can take a selfie or shoot other scenes using camera.
If camera can be switched between preposition image pickup mode and postposition image pickup mode by way of rotation, can
To define two different default shooting gestures, it is defined as the first shooting gesture and the second shooting gesture, then the first shooting gesture
Corresponding preposition image pickup mode, then when the operating gesture for determining user's input is matched with the first shooting gesture, control camera is moved
It moves to first position, so that camera is in preposition image pickup mode, and in the operating gesture and the second shooting for determining user's input
When gesture matches, control camera is moved to the second position, so that camera is in postposition image pickup mode.For example, the first shooting
Gesture is along the left side of screen Slideslip to the right, and the second shooting gesture is along the right side of screen Slideslip to the left, specific hand
The setting of gesture can be set with user according to the demand and use habit of itself.
Furthermore, it is contemplated that camera is being moved to predetermined position using operating gesture and is executing recognition of face unlock by user
When the operation of screen, after camera reaches predetermined position, camera take pictures parameter be not suitable for shooting, for example, focal length or
Aperture size is not suitable for, then adjust automatically is taken pictures ginseng while camera being moved to predetermined position by operating gesture
Number.Specifically, judge whether the operating gesture of user's input meets default adjustment gesture, if it is satisfied, then camera will be moved
It is taken pictures parameter while moving to predetermined position according to the gesture adjust automatically, that is to say, that with the matched behaviour of default adjustment gesture
It makes a sign with the hand and has been able to meet preset standard.Specifically, when meet preset standard operating gesture be from the bottom of screen to
Top slide, then the operating gesture for meeting default adjustment gesture is the curve along certain shapes from bottom to top slide, then
Mobile terminal determine the glide direction of operating gesture of user's input be bottom to top slide when, so that it may determine manipulator
Gesture meets preset standard, then, then determines the sliding trace of operating gesture sliding rail whether corresponding with default adjustment gesture
Mark matching, if it does, then determining that the operating gesture is matched with default adjustment gesture.
For example, the default adjustment gesture is from the bottom of screen to top slide, and sliding trace is that first camber line is straight again
Line, as shown in figure 17, then mobile terminal adjusts the parameter of taking pictures of camera according to the sliding trace, for example, increase aperture, when
So, the adjustment of the corresponding parameter of taking pictures of different sliding traces is different, opens radian direction into, camber line shown in Figure 17 towards a left side,
Then it is capable of increasing f-number, and if radian direction is towards the right side, it can reduce f-number.
S1503:The camera is moved to pre-position and shows unlock interface on the screen.
Specifically, the mobile mode of control camera can refer to previous embodiment, and determine that it is pre- that operating gesture meets
After bidding is quasi-, unlock interface can also be shown on the screen, interface as shown in figure 18, it is defeated in the interface to show password
Enter interface, specifically, which includes cipher inputting keyboard, and user can input by the interface for password input and solve
Lock cipher, wherein the unlocking pin may include numerical ciphers, text password or graphical passwords, also can also include biology
Characteristic information password, for example, fingerprint characteristic or iris feature etc..
And the display of unlock interface can be and show during camera is moved into predetermined position, be also possible to
It is shown after camera is moved into predetermined position, can also be that camera is moved into before predetermined position, and determined
After operating gesture meets preset standard, unlock interface is shown on the screen.
S1504:Control the camera collection image.
S1505:Unlocking screen is carried out according to the image of camera acquisition.
Specific unlocking process can refer to above-described embodiment, furthermore, it is contemplated that after camera is moved to predetermined position,
Camera is opened, but face will not be directed at camera at once by user, at this point, camera does not acquire facial image,
If the still image analysis to camera acquisition at this time, carries out the operation of unlocking screen, then only inaction wastes mobile terminal
System resource, and cause system resource nervous, then can first judge whether there is facial image in acquired image, if
Have, carries out unlocking screen operation further according to facial image.
Specifically, S1505 operation and specific embodiment can be:Judge in the image of camera acquisition whether
Including facial image;If carrying out unlocking screen according to the facial image including facial image.
As an implementation, camera acquisition image be two dimensional image, by searching in the image whether someone
Face five features point, is able to determine whether to collect facial image, if collected, facial image collected is sent to
The processor of mobile terminal, to enable a processor to analyze facial image and execute unlocking screen operation.As another
Kind embodiment, camera includes structure light, then according to structure light three-dimensional information collected, it is determined whether there are face three-dimensionals
Information, if it is present acquired image to be sent to the processor of mobile terminal.
In addition, return continues to execute described in judgement if not including facial image in the image of camera acquisition
Whether include the operation of facial image in the image of camera acquisition, it is also possible that issuing face acquires prompting message, to remind
User acquires facial image using the camera.Specifically, face acquisition prompting message can be the hand shown in Figure 12
Display in gesture input interface, for example, showing the prompt information of " facial image please be resurvey ", certainly, the people under the interface
Face acquisition prompting message is also possible to show in the unlock interface shown in Figure 18.
Display face acquisition prompting message and then secondary execution judge in image that the camera acquires whether include
The operation of facial image, it is of course also possible to be display face acquisition prompting message after, delay certain predetermined time span it
Afterwards, then execute in the image for judging camera acquisition whether include facial image operation, so as to for user it is reserved enough
Time facial image again, wherein predetermined time period can be set according to user demand, for example, can be 1 second to 3 seconds it
Between, such as 1.5 seconds.
S1506:Judge whether to unlock successfully.
If not unlocking success after being unlocked operation according to the image that camera acquires, then executing S1507, that is, use
Family can be unlocked by way of inputting unlocking pin, and if successfully unlocked, S1509 is executed, i.e. mobile terminal switches
For unlocked state, into system.
S1507:Obtain the unlocking pin that user is inputted based on the unlock interface.
When being unlocked not successfully by way of recognition of face, mobile terminal can issue prompting message and remind use
Family, failed to unlock, for example, it may be showing a prompting message in the unlock interface, such as " face is mismatched, and unlock is lost
Lose ", it is of course also possible to be the mode of the changes such as color or the text of voice prompting or top state column to remind user.
Then, user inputs unlocking pin in unlock interface, specifically, the unlocking pin may include numerical ciphers,
Text password or graphical passwords also can also include biological information password, for example, fingerprint characteristic or iris feature
Deng.And interface for password input is shown in unlock interface, number key as shown in figure 18, user can be used by the number key input
In the number of unlock, as unlocking pin, certainly, mobile terminal is provided with fingerprint mould group, which can be setting and exist
It at home key, also can be set below screen, then user can input fingerprint by the fingerprint mould group under the unlock interface
As unlocking pin.
S1508:Judge whether the unlocking pin matches with preset password.
Wherein, preset password is used for by the password of the unlocking screen of mobile terminal, specifically for what mobile terminal obtained in advance
Ground can be set according to demand by user, for example, a few bit digitals or the fingerprint of preparatory typing.
It should be noted that the display of above-mentioned unlock interface is not limited to collect in mobile terminal and meets preset standard
It is shown after gesture, is also possible to not show unlock interface before carrying out unlocking screen according to facial image, but
It determines and failure and then display unlock interface is unlocked according to facial image, and user is reminded to pass through unlock interface input unlock
Password, to pass through unlocking pin for unlocking screen.Then under this embodiment, after determining unlock failure, unlock interface is shown
And obtain the unlocking pin that user is inputted based on the unlock interface.
S1509:The mobile terminal is switched to unlocked state by the screen lock state.
In addition, similar with the above-mentioned mode that camera is reset to initial position, according to recognition of face successfully by screen
Camera is resetted that is, when the operation of execution S1506 successfully unlocks, i.e., moved camera from predetermined position by unlock
It moves to initial position, by taking above-mentioned Fig. 5 to mobile terminal shown in Fig. 10 as an example, is unlocking successfully, by the mobile terminal by institute
It states screen lock state to be switched to after unlocked state, controls the camera and be hidden in the terminal body.As another real
Mode is applied, can also be in the operation for executing S1506, after determining failed unlock, camera is just hidden in the terminal
It in ontology, can also be in the operation for executing S1506, after determining failed unlock, and in the unlock inputted according to user
Screen is successfully unlocked and then executed by password controls the operation that the camera is hidden in the terminal body.
It should be noted that being the part of detailed description in above-mentioned steps, previous embodiment can refer to, it is no longer superfluous herein
It states.
In addition, for mobile terminal shown in above-mentioned Fig. 5 to 10, in order to push away user by camera using operating gesture
The top of terminal body out, and when by being revealed at the top of terminal body, there is better user experience, please refers to figure
19, the embodiment of the present application provides a kind of unlocking method, and this method is for improving the user that user states mobile terminal in use
Experience Degree, so that mobile terminal be avoided to be lit the movement that screen causes camera to be done nothing under screen locking to acquire face, in turn
Lead to the problem that user experience is too low, specifically, this method includes:S1901 to S1909.
S1901:When the mobile terminal is in screen lock state and screen is in ignition mode, obtains and currently act on institute
State the operating gesture of screen.
S1902:Judge the operating gesture whether be along preset direction on the screen of the mobile terminal slip gesture.
Wherein, the preset direction is the direction by the bottom of the screen towards top.
Specifically, Figure 13 can be referred to, which is the sliding from bottom of screen to top, then due to camera energy
Enough by being revealed at the top of terminal body, therefore, using the gesture from bottom to top slide by camera by terminal body
Top release, a kind of user can be provided for user manually by the experience of camera release, to improve the Experience Degree of user.
S1903:Controlling the camera follows the operating gesture to be removed by top.
The movement of camera is to follow the movement of operating gesture and movement specifically can be according to operating gesture
Sliding distance and move, as shown in figure 20, shown in Figure 20 (a), user has just started operation display, i.e., just input operating gesture,
But mobile terminal is able to detect that the operating gesture is slip gesture and glide direction is sliding from the bottom of screen to top
It is dynamic, then start dollying head, as shown in Figure 20 (b), with the sliding of user gesture, the camera of mobile terminal is gradually by end
End ontology at the top of reveal, still, do not appear completely, i.e., camera still some hidden by the ontology of mobile terminal
Gear, and when the sliding distance long enough of the operating gesture of user, then camera is gradually appeared by the top of terminal body completely
Out, i.e., such as enter shown in Figure 20 (c).
Furthermore, it is contemplated that user may will fail when using the mode solution lock screen of recognition of face, then in order to mention
High user experience, when unlocking failure, user wishes that other modes can be used at once to be unlocked, for example, passing through input solution
The mode of lock cipher unlocks, then unlocking pin can be shown on the screen while stretching out camera, specifically, described in control
Camera follows the operating gesture to can be the control camera by the embodiment that top removes and follows the manipulator
Gesture is removed by top, and the current interface for controlling the screen simultaneously follows the operating gesture to be gradually changed to unlock interface.
As shown in figure 21, specific, shown in Figure 21 (a), user has just inputted operating gesture, but mobile terminal can
Detect that the operating gesture is slip gesture and glide direction is then to start dollying from the bottom of screen to top slide
Head and current interface is switched to unlock interface, as shown in Figure 21 (b), with the sliding of user gesture, the camera shooting of mobile terminal
Head gradually by being revealed at the top of terminal body, still, do not appear completely, i.e., camera still some by mobile terminal
Ontology is blocked, also, a part of unlock interface is shown on the screen, and the increase of the sliding distance with operating gesture
And unlock interface part shown on screen is gradually increased, specifically, the top that can be unlock interface is shown at first, and with
The increase of the sliding distance of operating gesture, the content under top also gradually show that and the unlock interface is gradually to moving up
It is dynamic, and the interface before unlock interface, i.e. gesture input interface are faded away, it is aobvious in the upper part of screen as shown in Figure 21 (b)
Show a part at gesture input interface, and the lower part of screen shows a part of unlock interface, continues to slide with gesture,
As shown in Figure 21 (c), gesture input interface all disappears, and the current interface of screen becomes unlock interface.
User can be directed at camera and input facial image, for carrying out screen solution under unlock interface as a result,
Lock, while being also possible to operate the emergency call function under the interface, to realize the operation of some urgent calls.
S1904:Control the camera collection image.
S1905:Unlocking screen is carried out according to the image of camera acquisition.
S1906:Judge whether to unlock successfully.
S1907:Obtain the unlocking pin that user is inputted based on the unlock interface.
S1908:Judge whether the unlocking pin matches with preset password.
S1909:The mobile terminal is switched to unlocked state by the screen lock state.
In addition, in user using recognition of face to solve lock screen when, if failed unlock, can directly solve
It locks and inputs unlocking pin in interface, and at this point, camera can not reset, and continuing waiting for user is selection recognition of face unlock
Or it is unlocked by unlocking pin, then if user continues to use recognition of face unlock, continues to make face alignment camera
Camera collects facial image, and is unlocked by mobile terminal according to facial image, if it succeeds, camera is resetted, such as
Fruit or failed then if detecting that user inputs unlocking pin, and unlock and successfully later again resets camera, more meets
The use habit of user also can be avoided the frequent lifting of camera.
It should be noted that being the part of detailed description in above-mentioned steps, previous embodiment can refer to, it is no longer superfluous herein
It states.
Furthermore, it is contemplated that user can be set in the state of the lock screen, by camera by way of the posture of mobile terminal
It is moved to predetermined position, then needs to judge the posture of mobile terminal in the state of the lock screen, to move in different ways
Dynamic camera specifically please refers to Figure 22, shows a kind of unlocking method provided by the embodiments of the present application, this method is for mentioning
High user states the user experience of mobile terminal in use, so that avoiding mobile terminal from being lit screen under screen locking causes to take the photograph
As head do nothing movement come the problem for acquiring face, and then causing user experience too low, specifically, this method includes:S2201 is extremely
S2208。
S2201:In the case where the mobile terminal is in screen lock state, the motion profile of the mobile terminal is obtained.
Specifically, may be provided with the posture detecting unit that can detecte mobile terminal posture, such as gyroscope in mobile terminal
Etc. the sensor that can carry out posture determination.The posture that mobile terminal can be determined according to the data that posture detecting unit acquires, from
And it can determine the motion profile of mobile terminal.For example, posture detecting unit includes gyroscope.According to the gyroscopic inertia of gyroscope with
And known preset posture of the mobile terminal relative to gyroscope rotor shaft direction, when between the posture and preset posture of mobile terminal
There is difference, when generating the movement of a direction of pitching, yaw or roll, because direction gyroscope shaft keeps direction not
Become, detect that mobile terminal changes relative to the angular relationship and preset posture of shaft relative to the angular relationship of shaft,
The attitudes vibration that then can determine mobile terminal determines the current pose and motion profile of mobile terminal.
In addition, it is necessary to which explanation, can be set starting to the detection of the motion profile of mobile terminal in the state of the lock screen
Or do not start, if not starting, the not detection to the motion profile of mobile terminal in the state of the lock screen.Specifically,
In the case where the mobile terminal is in screen lock state, the bright screen parameter of the mobile terminal is obtained;Whether determine the bright screen parameter
For parameter preset;If parameter preset, the motion profile of the mobile terminal is obtained.
Wherein, bright screen parameter is a pre-set state value, the different then corresponding unlatchings of the corresponding value of the bright screen parameter
Or it is not turned on the detection of motion profile.For example, the value of bright screen parameter is one in true or false, and parameter preset
The motion profile of the mobile terminal is obtained, if reading bright screen parameter when reading bright screen parameter is true for true
For false, then determine that bright screen parameter is not parameter preset, then do not detect motion profile but waits user in other way
Screen is lighted, for example, operation S2203, is also possible to terminate this operation.
Specifically, the value of bright screen parameter can be arranged in mobile terminal, specifically, can be the setting in mobile terminal
The button of a bright screen parameter of correspondence is set in interface, and provides two different logic states for button, so as to change
Bright screen parameter, for example, switching in true or false.
S2202:Judge whether motion profile meets desired guiding trajectory.
Wherein, desired guiding trajectory is that the motion profile of mobile terminal set by user can be shifting as an implementation
The rotational angle in the top of screen relative datum face of dynamic terminal, for example, the datum level is that horizontal plane specifically can be by setting
The reference point of gyroscope is determined to set a datum level, then, is acquired between the light-emitting surface and datum level of the screen of mobile terminal
Angle, if the angle be greater than default value, determine that motion profile meets desired guiding trajectory, wherein the default value is pre-
The angle corresponding with desired guiding trajectory first set, angle as shown in figure 23, in figure 2101 for the screen of mobile terminal top.
S2203:Detect whether that the screen for receiving user's input lights instruction.
If being unsatisfactory for desired guiding trajectory, the screen etc. user to be received input lights instruction, which lights instruction can
Be user click screen locking key and input, be also possible in other way, it is not limited here.The screen lights instruction
Mobile terminal is used to indicate to light screen.
S2204:The screen is lighted, and obtains the operating gesture for currently acting on the screen.
If having received screen lights instruction, screen is lighted, and executes acquisition and currently acts on the screen
The operation of operating gesture.
S2205:Judge whether the operating gesture meets preset standard.
S2206:The camera is moved to pre-position, controls the camera collection image.
If it is determined that motion profile meets desired guiding trajectory, then S2206 can be directly executed, i.e., is directly moved to camera
Pre-position, and start to acquire image.If preset standard is to be higher than the bottom of mobile terminal at the top of mobile terminal, from
And the movement of the top-lifting of simulating mobile terminal, then user is in the top of mobile terminal is too high under certain altitude, camera shooting
Head with regard to auto-extending or turns to predetermined position, can not only simulate the user experience for throwing away camera and can be fast
Speed starting camera, furthermore it is also possible to light screen while dollying head, to realize that screen lifts the effect of bright screen
Fruit.
And if it is determined that motion profile is unsatisfactory for the function quilt of the detection of the motion profile under desired guiding trajectory or screen lock state
In the case where closing, camera can be moved to predetermined position by the way of lighting screen and inputting operating gesture.
S2207:Unlocking screen is carried out according to the image of camera acquisition
S2208:If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
It should be noted that being the part of detailed description in above-mentioned steps, previous embodiment can refer to, it is no longer superfluous herein
It states, and the step of above-described embodiment can be applied equally in the present embodiment.
Figure 24 is please referred to, a kind of tripper 2400 provided by the embodiments of the present application is shown, which uses for improving
The user experience of mobile terminal is stated at family in use, so that avoiding mobile terminal from being lit screen under screen locking leads to camera
The movement of inaction is come the problem for acquiring face, and then causing user experience too low, and specifically, which includes:Gesture obtains single
Member 2401, judging unit 2402, control unit 2403, unlocking unit 2404 and switch unit 2405.
Gesture acquiring unit 2401 is used for when the mobile terminal is in screen lock state and screen is in ignition mode,
Obtain the operating gesture for currently acting on the screen.Judging unit 2402, for judging it is pre- whether the operating gesture meets
Bidding is quasi-.Control unit 2403, if the camera is moved to pre-position, described in control for meeting preset standard
Camera collection image.Unlocking unit 2404, the image for being acquired according to the camera carry out unlocking screen.Switch unit
2405, if the mobile terminal is switched to unlocked state by the screen lock state for unlocking successfully.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
It with the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Figure 25 is please referred to, the application example provides a kind of mobile terminal, and specifically, mobile terminal includes above-mentioned terminal
Ontology and camera, further include detection circuit 161, driving circuit 162 and processor 163, the detection circuit 161 and the drive
Dynamic circuit 162 is connect with the processor 163.
Detection circuit 161 is used for when the mobile terminal is in screen lock state and screen is in ignition mode, and acquisition is worked as
Before act on the operating gesture of the screen.Specifically, for detecting the touch control operation of screen, for example, the detection circuit can be with
Including multiple pressure sensors, which is arranged under the touch screen of screen, can when the user clicks or pressing
Detect the gesture of user.
Processor 163, for judging whether the operating gesture meets preset standard;If meeting preset standard, sends and drive
Dynamic signal is also used to carry out unlocking screen according to the image that the camera acquires to the driving circuit;It, will if unlocking successfully
The mobile terminal is switched to unlocked state by the screen lock state.
The camera is moved to pre-position according to the driving signal, controls the camera shooting by driving circuit 162
Head acquisition image.Specifically, driving circuit can be the processor of mobile terminal, be also possible to can generate in mobile terminal
The integrated circuit of driving voltage or electric current.Driving circuit exports the driving signal of low and high level to driving assembly, driving assembly root
It driving movable component mobile according to the driving signal, and then drives camera mobile, wherein driving assembly can be motor, and
The electrical parameter of the driving signal of driving circuit output is different, then will lead to the direction or big of the driving force of the output of driving assembly
The parameters such as small are different, and then can control the mobile position and direction of camera.
It is apparent to those skilled in the art that for convenience and simplicity of description, the movement of foregoing description
Detection circuit 161, the specific work process of driving circuit 162 and processor 163 of terminal can refer to preceding method embodiment
In corresponding process, details are not described herein.
Referring to Fig. 1 to Figure 10, based on above-mentioned method and apparatus, the embodiment of the present application also provides a kind of electronics dress
It sets, illustratively, electronic device can set for various types of computer systems that are mobile or portable and executing wireless communication
Any one of standby (Fig. 1 only illustratively shows variform into Figure 10).Specifically, electronic device can be movement
Phone or smart phone (for example, being based on iPhone TM, the phone based on Android TM), portable gaming device (such as
Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), electricity on knee
Brain, PDA, portable Internet appliance, music player and data storage device, other handheld devices and such as wrist-watch,
Earphone, pendant, earphone etc., electronic device can also for other wearable devices (for example, such as electronic glasses, electronics clothes,
Electronics bracelet, electronics necklace, electronics tatoo, the headset equipment (HMD) of electronic equipment or smartwatch).
Electronic device can also be that any one of multiple electronic equipments, multiple electronic equipments include but is not limited to honeycomb
Phone, smart phone, other wireless telecom equipments, personal digital assistant, audio player, other media players, music note
It records device, video recorder, camera, other medium recorders, radio, Medical Devices, vehicle transport instrument, calculator, may be programmed
Remote controler, pager, laptop computer, desktop computer, printer, netbook computer, personal digital assistant (PDA), just
Formula multimedia player (PMP), Motion Picture Experts Group (MPEG-1 or MPEG-2) audio layer 3 (MP3) player are taken, it is portable
Medical Devices and digital camera and combinations thereof.
In some cases, electronic device can execute multiple functions and (for example, playing music, show video, store picture
And send and receive call).If desired, electronic device can be such as cellular phone, media player, other hands
The portable device of holding equipment, watch equipment, pendant equipment, receiver device or other compact portable equipment.
Above-mentioned electronic device can be the above-mentioned movement terminal 100 or 200, specifically comprising electronic body portion 10, phase
When in terminal body, the electronic body portion 10 includes shell 12 and the main display 120 being arranged on the shell 12.It is described
Metal can be used in shell 12, such as steel, aluminium alloy are made.In the present embodiment, the main display 120 generally includes display panel
111, it may also comprise for responding the circuit etc. for carrying out touch control operation to the display panel 111.The display panel 111 can be with
For a liquid crystal display panel (Liquid Crystal Display, LCD), in some embodiments, the display panel 111
It is simultaneously a touch screen 109.
Please refer to Figure 25, in actual application scenarios, the mobile terminal can be used as intelligent mobile phone terminal progress
It uses, the electronic body portion 10 also typically includes one or more (one is only shown in figure) processors in this case
102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module
118, power module 122.It will appreciated by the skilled person that structure shown in Figure 25 is only to illustrate, not to institute
The structure for stating electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Figure 24 or
The less component of person, or with the configuration different from shown in Fig. 1 to 10.
It will appreciated by the skilled person that every other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation:Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or the main display 120.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile communication
Net and combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, earpiece 101, sound jack 103, microphone 105 provide user and the electronic body portion jointly
Audio interface between 10 or the main display 120.Specifically, the voicefrequency circuit 110 receives from the processor 102
Voice data is converted to electric signal by voice data, by electric signal transmission to the earpiece 101.The earpiece 101 is by electric signal
Be converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also from the microphone 105, by electric signal
Voice data is converted to, and gives the processor 102 to be further processed data transmission in network telephony.Audio data can be with
It is obtained from the memory 104 or through the RF module 106.In addition, audio data also can store to the storage
It is sent in device 104 or by the RF module 106.
The setting of sensor 114 is in the electronic body portion 10 or in the main display 120, the sensor
114 example includes but is not limited to:Optical sensor, pressure sensor, acceleration transducer 114F, proximity sensor 114J with
And other sensors.
Specifically, the optical sensor may include light sensor.Light sensor ring according to locating for mobile terminal
The light in border adjusts the brightness of screen.For example, bright and clear local screen can be very bright, on the contrary, if in the dark, screen
Darker (setting with screen intensity also has relationship), had not only protected eyes in this way but also had saved electricity.
Wherein, pressure sensor can detecte the sensor by pressing the pressure generated in mobile terminal 100.That is, pressure
Sensor is detected by the pressure of contact or pressing generation between user and mobile terminal, such as whole by the ear of user and movement
The pressure that contact or pressing between end generate.Therefore, pressure sensor may be used to determine user and mobile terminal 100 it
Between whether contacted or pressed and the size of pressure.
Referring to Fig. 1 to 10, specifically in the embodiment shown in Fig. 1 to 10, the light sensor and described
Pressure sensor is arranged adjacent to the display panel 111.The light sensor can have object close to the main display 120
When, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As a kind of motion sensor, acceleration transducer 114F can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of mobile terminal
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the touch screen being arranged on the main display 120
109, the touch screen 109 collects the touch operation of user on it or nearby, and (for example user is any using finger, stylus etc.
Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting
The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.
Wherein, the touch orientation of the touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to
The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information
It is converted into contact coordinate, then gives the processor 102, and order that the processor 102 is sent can be received and executed.
Furthermore, it is possible to realize the touching of the touch screen 109 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Touch detection function.
The information and the electronics that the main display 120 is used to show information input by user, is supplied to user
The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its
Any combination is constituted, in an example, the touch screen 109 may be disposed on the display panel 111 to it is described
Display panel 111 constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other and the electronic body portion 10 or the master
The generation, management of electric power and the relevant component of distribution in display screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is for determining 100 institute of mobile terminal
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal 100 using positioning service,
The positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
As shown in figure 25, mobile terminal further includes detection circuit 161 and driving circuit 162, then detection circuit 161 and driving
The function of circuit 162 and processor can refer to previous embodiment, and details are not described herein.
In conclusion unlocking method provided by the embodiments of the present application, device, mobile terminal and computer-readable medium,
In the case that the mobile terminal is in screen lock state and screen is lit, screen can collect the operation of user's input at this time
Gesture, then, mobile terminal judge whether the operating gesture meets preset standard, if it is, control camera be moved to it is pre-
Positioning is set, rather than camera is moved to pre-position automatically as long as mobile terminal is lit screen in the state of the lock screen.
Then, after camera reaches predetermined position, camera collection image is controlled, then acquired image is recycled to carry out screen
Unlock, if unlocked successfully, is just switched to unlocked state by the screen lock state for mobile terminal.Therefore in screen lock state and
When screen is lit, camera movement is controlled by operating gesture, can effectively reduce the frequent lifting of camera, and influence
The normal use of user, to improve user experience.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally it should be noted that:Above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding:It still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (14)
1. a kind of unlocking method, which is characterized in that be applied to mobile terminal, the mobile terminal includes terminal body and camera shooting
Head, the camera are placed in the terminal body, and relative to the terminal body movement and can remove the terminal sheet
Body, the method includes:
When the mobile terminal is in screen lock state and screen is in ignition mode, the behaviour for currently acting on the screen is obtained
It makes a sign with the hand;
Judge whether the operating gesture meets preset standard;
If meeting preset standard, the camera is moved to pre-position, controls the camera collection image;
Unlocking screen is carried out according to the image of camera acquisition;
If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
2. the method according to claim 1, wherein if described meet preset standard, by camera movement
To pre-position, the camera collection image is controlled, including:
If meeting preset standard, the camera is moved to pre-position and shows unlock interface on the screen;
Control the camera collection image.
3. the method according to claim 1, wherein the camera can be by removing at the top of the terminal body;
It is described to judge whether the operating gesture meets preset standard, if meeting preset standard, the camera is moved to pre-determined bit
Place is set, including:
Judge the operating gesture whether be along preset direction on the screen of the mobile terminal slip gesture, wherein it is described
Preset direction is the direction by the bottom of the screen towards top;
The operating gesture is followed to be removed by top if so, controlling the camera.
4. according to the method described in claim 3, it is characterized in that, the control camera follow the operating gesture by
Top removes, including:
Controlling the camera follows the operating gesture to be removed by top, and the current interface for controlling the screen simultaneously follows
The operating gesture is gradually changed to unlock interface.
5. method according to claim 2 or 4, which is characterized in that the method also includes:
If unlock is unsuccessful, the unlocking pin that user is inputted based on the unlock interface is obtained;
If the unlocking pin and preset password match, the mobile terminal is switched to unlock shape by the screen lock state
State.
If 6. according to the method described in claim 5, it is characterized in that, the unlocking pin and preset password match,
After the mobile terminal is switched to unlocked state by the screen lock state, further include:
The camera is controlled to move into the terminal body.
7. method according to claim 1 to 4, which is characterized in that if described unlock successfully, by the mobile terminal
After being switched to unlocked state by the screen lock state, further include:
The camera is controlled to move into the terminal body.
8. method according to claim 1 to 4, which is characterized in that it is described according to the camera acquisition image into
Row unlocking screen, including:
Judge in the image of the camera acquisition whether to include facial image;
If carrying out unlocking screen according to the facial image including facial image;
If not including facial image, face acquisition prompting message is issued, and execute the figure for judging the camera acquisition again
As it is interior whether include facial image operation, wherein the face acquisition prompting message is for reminding user to use the camera shooting
Head acquisition facial image.
9. method according to claim 1 to 4, which is characterized in that described to be in screen lock state in the mobile terminal
And screen obtains the operating gesture for currently acting on the screen when being in ignition mode, including:
In the case where the mobile terminal is in screen lock state, the motion profile of the mobile terminal is obtained;
If the motion profile is unsatisfactory for desired guiding trajectory, detect whether that the screen for receiving user's input lights instruction;
If receiving, the screen is lighted, and obtains the operating gesture for currently acting on the screen.
10. according to the method described in claim 9, it is characterized in that, further including:
If the motion profile meets desired guiding trajectory, the camera is moved to pre-position, controls the camera
Acquire image.
11. a kind of tripper, which is characterized in that be applied to mobile terminal, the mobile terminal includes terminal body and takes the photograph
As head, the camera is placed in the terminal body, and relative to the terminal body movement and can remove the terminal
Ontology, described device include:
Gesture acquiring unit, it is current for obtaining when the mobile terminal is in screen lock state and screen is in ignition mode
Act on the operating gesture of the screen;
Judging unit, for judging whether the operating gesture meets preset standard;
Control unit controls the camera and adopts if the camera is moved to pre-position for meeting preset standard
Collect image;
Unlocking unit, the image for being acquired according to the camera carry out unlocking screen;
Switch unit, if the mobile terminal is switched to unlocked state by the screen lock state for unlocking successfully.
12. a kind of mobile terminal, which is characterized in that including terminal body and camera, the camera is placed in the end
It holds in ontology, and relative to the terminal body movement and the terminal body can be removed;It further include memory and processor, institute
Memory is stated to couple with the processor;The memory store instruction, when executed by the processor so that
The processor executes following operation:
When the mobile terminal is in screen lock state and screen is in ignition mode, the behaviour for currently acting on the screen is obtained
It makes a sign with the hand;
Judge whether the operating gesture meets preset standard;
If meeting preset standard, the camera is moved to pre-position, controls the camera collection image;
Unlocking screen is carried out according to the image of camera acquisition;
If unlocking successfully, the mobile terminal is switched to unlocked state by the screen lock state.
13. a kind of mobile terminal, which is characterized in that including terminal body and camera, the camera is placed in the end
It holds in ontology, and relative to the terminal body movement and the terminal body can be removed;It further include detection circuit, driving circuit
And processor, the detection circuit and the driving circuit are connected to the processor;
The detection circuit, it is current for obtaining when the mobile terminal is in screen lock state and screen is in ignition mode
Act on the operating gesture of the screen;
The processor, for judging whether the operating gesture meets preset standard;If meeting preset standard, driving letter is sent
Number to the driving circuit;
The camera is moved to pre-position according to the driving signal, controls the camera by the driving circuit
Acquire image;
The processor is also used to carry out unlocking screen according to the image that the camera acquires;If unlocking successfully, by the shifting
Dynamic terminal is switched to unlocked state by the screen lock state.
14. a kind of computer-readable medium for the program code that can be performed with processor, which is characterized in that said program code
The processor is set to execute any one of claim 1-10 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621798.XA CN108920922B (en) | 2018-06-15 | 2018-06-15 | Unlocking method, device, mobile terminal and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621798.XA CN108920922B (en) | 2018-06-15 | 2018-06-15 | Unlocking method, device, mobile terminal and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108920922A true CN108920922A (en) | 2018-11-30 |
CN108920922B CN108920922B (en) | 2022-06-21 |
Family
ID=64419702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621798.XA Expired - Fee Related CN108920922B (en) | 2018-06-15 | 2018-06-15 | Unlocking method, device, mobile terminal and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108920922B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083251A (en) * | 2019-06-03 | 2019-08-02 | 北京七鑫易维科技有限公司 | Eyeball tracking device and eyeball tracking equipment |
CN110572568A (en) * | 2019-08-29 | 2019-12-13 | 维沃移动通信有限公司 | Camera control method and electronic equipment |
CN110864703A (en) * | 2019-11-25 | 2020-03-06 | 维沃移动通信有限公司 | Navigation method and electronic equipment |
CN112135035A (en) * | 2019-06-24 | 2020-12-25 | 北京小米移动软件有限公司 | Control method and device of image acquisition assembly and storage medium |
CN112954215A (en) * | 2021-02-10 | 2021-06-11 | 维沃移动通信有限公司 | Control method and device, electronic equipment and storage medium |
US20220253144A1 (en) * | 2019-03-13 | 2022-08-11 | Huawei Technologies Co., Ltd. | Shortcut Function Enabling Method and Electronic Device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130191910A1 (en) * | 2012-01-20 | 2013-07-25 | Apple Inc. | Device, Method, and Graphical User Interface for Accessing an Application in a Locked Device |
CN103716456A (en) * | 2013-12-10 | 2014-04-09 | 柳州译海网络科技有限公司 | Mobile phone unlocking method based on face feature information |
CN106648652A (en) * | 2016-12-15 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system of mobile terminal capable of setting automatically lock screen interface |
CN107566650A (en) * | 2017-09-12 | 2018-01-09 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
CN107563168A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Unlocking method, device and the mobile terminal of mobile terminal |
CN107590375A (en) * | 2017-09-12 | 2018-01-16 | 广东欧珀移动通信有限公司 | Unlocking method and related product |
CN107819907A (en) * | 2017-11-14 | 2018-03-20 | 维沃移动通信有限公司 | A kind of camera control method and mobile terminal |
-
2018
- 2018-06-15 CN CN201810621798.XA patent/CN108920922B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130191910A1 (en) * | 2012-01-20 | 2013-07-25 | Apple Inc. | Device, Method, and Graphical User Interface for Accessing an Application in a Locked Device |
CN103716456A (en) * | 2013-12-10 | 2014-04-09 | 柳州译海网络科技有限公司 | Mobile phone unlocking method based on face feature information |
CN106648652A (en) * | 2016-12-15 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system of mobile terminal capable of setting automatically lock screen interface |
CN107563168A (en) * | 2017-09-05 | 2018-01-09 | 广东欧珀移动通信有限公司 | Unlocking method, device and the mobile terminal of mobile terminal |
CN107566650A (en) * | 2017-09-12 | 2018-01-09 | 广东欧珀移动通信有限公司 | Solve lock control method and Related product |
CN107590375A (en) * | 2017-09-12 | 2018-01-16 | 广东欧珀移动通信有限公司 | Unlocking method and related product |
CN107819907A (en) * | 2017-11-14 | 2018-03-20 | 维沃移动通信有限公司 | A kind of camera control method and mobile terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220253144A1 (en) * | 2019-03-13 | 2022-08-11 | Huawei Technologies Co., Ltd. | Shortcut Function Enabling Method and Electronic Device |
CN110083251A (en) * | 2019-06-03 | 2019-08-02 | 北京七鑫易维科技有限公司 | Eyeball tracking device and eyeball tracking equipment |
CN112135035A (en) * | 2019-06-24 | 2020-12-25 | 北京小米移动软件有限公司 | Control method and device of image acquisition assembly and storage medium |
CN110572568A (en) * | 2019-08-29 | 2019-12-13 | 维沃移动通信有限公司 | Camera control method and electronic equipment |
CN110864703A (en) * | 2019-11-25 | 2020-03-06 | 维沃移动通信有限公司 | Navigation method and electronic equipment |
CN110864703B (en) * | 2019-11-25 | 2022-02-01 | 维沃移动通信有限公司 | Navigation method and electronic equipment |
CN112954215A (en) * | 2021-02-10 | 2021-06-11 | 维沃移动通信有限公司 | Control method and device, electronic equipment and storage medium |
WO2022171116A1 (en) * | 2021-02-10 | 2022-08-18 | 维沃移动通信有限公司 | Control method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108920922B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108920922A (en) | unlocking method, device, mobile terminal and computer-readable medium | |
EP3155725B1 (en) | Mobile terminal and method of controlling the same | |
EP3148166B1 (en) | Mobile terminal and control method for the mobile terminal | |
EP3627384A1 (en) | Anti-counterfeiting processing method and related product | |
CN107580114B (en) | Biometric identification method, mobile terminal, and computer-readable storage medium | |
CN103473494A (en) | Application running method, device and terminal device | |
US20120075212A1 (en) | Mobile terminal and method of controlling the same | |
CN105204726A (en) | Watch type terminal and control method thereof | |
CN104375886B (en) | Information processing method, device and electronic equipment | |
CN108197450B (en) | Face recognition method, face recognition device, storage medium and electronic equipment | |
EP3629198A1 (en) | Method and device for searching for audio | |
EP3340583A1 (en) | Charging device, method for controlling charging device, and mobile terminal connected to same | |
EP3542523B1 (en) | Mobile terminal and method for controlling the same | |
CN104950775A (en) | Circuit, method and device for waking up main MCU (micro control unit) | |
WO2019218843A1 (en) | Key configuration method and device, and mobile terminal and storage medium | |
CN108984214A (en) | terminal state control method, device, mobile terminal and storage medium | |
WO2019015573A1 (en) | Unlocking control method and related product | |
CN109116983B (en) | Mobile terminal control method and device, mobile terminal and computer readable medium | |
CN109446775A (en) | A kind of acoustic-controlled method and electronic equipment | |
CN104301610A (en) | Image shooting control method and device | |
KR102135378B1 (en) | Mobile terminal and method for controlling the same | |
EP2731369B1 (en) | Mobile terminal and control method thereof | |
CN108804894B (en) | Screen unlocking method and device, mobile terminal and computer readable medium | |
CN110213205B (en) | Verification method, device and equipment | |
CN111341317B (en) | Method, device, electronic equipment and medium for evaluating wake-up audio data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220621 |
|
CF01 | Termination of patent right due to non-payment of annual fee |