CN109190356A - A kind of unlocking screen method and terminal - Google Patents
A kind of unlocking screen method and terminal Download PDFInfo
- Publication number
- CN109190356A CN109190356A CN201810758502.9A CN201810758502A CN109190356A CN 109190356 A CN109190356 A CN 109190356A CN 201810758502 A CN201810758502 A CN 201810758502A CN 109190356 A CN109190356 A CN 109190356A
- Authority
- CN
- China
- Prior art keywords
- screen
- image
- terminal
- objects
- target
- 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
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/36—User authentication by graphic or iconic representation
-
- 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/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Abstract
The embodiment of the invention discloses a kind of unlocking screen method and terminals, are related to field of communication technology, and the flexibility to solve the problems, such as terminal unlocking screen is lower.This method is applied to the terminal including the first screen and the second screen, this method comprises: obtaining the first image of the camera acquisition of the first screen;In the case where the second image that first image and the second screen are shown matches, target screen is unlocked;Wherein, which includes at least one of first screen and second screen.This method can be applied in the scene of terminal unlocking screen.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of unlocking screen methods and terminal.
Background technique
With the development of communication technology, the information in terminal can be improved by way of the screen lock to terminal
Safety.
Currently, after the screen lock to terminal, it can be using solutions such as password unlock, unlocked by fingerprint or pattern unlocks
Lock mode controlling terminal solution lock screen.By taking password unlocks as an example, user can on a terminal screen Password Input region input
Password after such terminal collects the password of user's input, password pre-stored in the password and terminal can be carried out
Compare, if two passwords are identical, terminal can control terminal unlocking screen.
But above-mentioned several unlocking screen modes are the information controlling terminal solution lock screens by acquisition user's input
, and terminal possibly can not collect the information of user's input in some cases, such as user possibly can not input password, fingerprint
Or pattern etc., so that terminal possibly can not solve lock screen, and then the flexibility that may result in terminal unlocking screen is lower.
Summary of the invention
The embodiment of the present invention provides a kind of unlocking screen method and terminal, lower with the flexibility for solving terminal unlocking screen
The problem of.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of unlocking screen method, this method be applied to include the first screen and
The terminal of second screen, this method comprises: obtaining the first image of the camera acquisition of the first screen;In first image and the second screen
In the case that second image of display matches, target screen is unlocked;Wherein, which includes in first screen and second screen
At least one.
Second aspect, the embodiment of the invention provides a kind of terminal, which includes the first screen and the second screen, the terminal packet
It includes and obtains module and unlocked state.Wherein, module is obtained, the first image that the camera for obtaining the first screen acquires;Unlock
Module, for unlocking in the case where obtaining first image that module obtains and the second image that the second screen is shown matches
Target screen;Wherein, which includes at least one of first screen and second screen.
The third aspect the embodiment of the invention provides a kind of terminal, including processor, memory and is stored in the memory
Computer program that is upper and can running on the processor realizes that first aspect mentions when the computer program is executed by the processor
The step of unlocking screen method of confession.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage mediums
Computer program is stored in matter, and the unlocking screen method that first aspect provides is realized when which is executed by processor
Step.
In embodiments of the present invention, the first image of the camera acquisition of the first screen of available terminal;And this
In the case that the second image that one image and the second screen of terminal are shown matches, unlock target screen (target screen include this
At least one of one screen and second screen).With this solution, due to the first image and the of the camera acquisition in the first screen
In the case that the second image that two screens are shown matches, terminal can unlock at least one of the first screen and the second screen
To realize the automatic unlocking of terminal, without the manual input control terminal solution lock screen of user information (such as password, fingerprint or
Person's pattern etc.), to improve the flexibility of terminal unlocking screen.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of one of schematic diagram of unlocking screen method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of two kinds of terminals provided in an embodiment of the present invention;
Fig. 4 is the two of a kind of schematic diagram of unlocking screen method provided in an embodiment of the present invention;
Fig. 5 is one of the schematic diagram that a kind of terminal provided in an embodiment of the present invention shows the second image;
Fig. 6 is the two of the schematic diagram that a kind of terminal provided in an embodiment of the present invention shows the second image;
Fig. 7 is the three of a kind of schematic diagram of unlocking screen method provided in an embodiment of the present invention;
Fig. 8 is the four of a kind of schematic diagram of unlocking screen method provided in an embodiment of the present invention;
Fig. 9 is the five of a kind of schematic diagram of unlocking screen method provided in an embodiment of the present invention;
Figure 10 is one of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 11 is the second structural representation of terminal provided in an embodiment of the present invention;
Figure 12 is the third structural representation of terminal provided in an embodiment of the present invention;
Figure 13 is the four of the structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 14 is the hardware schematic of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships,
For example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein
"/" indicates that affiliated partner is relationship such as A/B expression A or B perhaps.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs
As, rather than it is used for the particular order of description object.For example, the first image and the second image etc. are for distinguishing different figures
Picture, rather than the particular order for describing image.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more,
For example, multiple element refers to two or more element.
The embodiment of the present invention provides a kind of unlocking screen method and terminal, the camera of the first screen of available terminal are adopted
First image of collection;And in the case where the second image that second screen of first image and terminal is shown matches, mesh is unlocked
Mark screen (target screen includes at least one of first screen and second screen).With this solution, due to taking the photograph in the first screen
In the case that the first image and the second image for showing of the second screen acquired as head matches, terminal can unlock the first screen and the
At least one of two screens, it can the automatic unlocking for realizing terminal, without the manual input control terminal solution lock screen of user
Information (such as password, fingerprint or pattern etc.), to improve the flexibility of terminal unlocking screen.
Terminal in the embodiment of the present invention can be the terminal with operating system.The operating system can be Android
(Android) operating system can be ios operating system, can also be other possible operating systems, the embodiment of the present invention is not
Make specific limit.
By taking Android operation system as an example, software applied by unlocking screen method provided in an embodiment of the present invention is introduced
Environment.
As shown in Figure 1, being a kind of configuration diagram of Android operation system provided in an embodiment of the present invention.In Fig. 1, peace
The framework of tall and erect operating system includes 4 layers, is respectively as follows: application layer, application framework layer, system Runtime Library layer and inner nuclear layer
(being specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system
Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation for the frame for abiding by application program
In the case where principle, some application programs are developed based on application framework layer.
System Runtime Library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour
As system it is provided needed for all kinds of resources.Android operation system running environment is used to provide software loop for Android operation system
Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior
Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1
The software program of unlocking screen method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that
The unlocking screen method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal can by
The software program is run in Android operation system realizes unlocking screen method provided in an embodiment of the present invention.
Terminal in the embodiment of the present invention can be mobile terminal, or immobile terminal.Illustratively, mobile whole
End can be mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device, super mobile personal meter
Calculation machine (ultra-mobile personal computer, UMPC), net book or personal digital assistant (personal
Digital assistant, PDA) etc., immobile terminal can be personal computer (personal computer, PC), electricity
Depending on machine (television, TV), automatic teller machine or self-service machine etc., the embodiment of the present invention is not especially limited.
It should be noted that the executing subject of unlocking screen method provided in an embodiment of the present invention can be terminal, it can also
Think the functional module and/or functional entity that can be realized the unlocking screen method in the terminal, it specifically can be according to reality
Use demand determines that the embodiment of the present invention is not construed as limiting.Below by by the executing subject of the unlocking screen method be terminal for,
Unlocking screen method provided in an embodiment of the present invention is illustrated.
As shown in Fig. 2, the embodiment of the present invention provides a kind of unlocking screen method.This method can be applied to include the first screen
With the terminal of the second screen.This method may include following step 100- step 103.
Step 100, terminal obtain the first image of the camera acquisition of the first screen.
Optionally, the terminal in the embodiment of the present invention can be Folding screen terminal.The Folding screen terminal may include first
Screen and the second screen, and camera can be set on first screen.
Illustratively, as shown in (a) in Fig. 3, the first screen 01 and the second screen 02 can be two pieces of independent screens, this
One screen 01 and second screen 02 are connected by axis 03 (or hinge), and are provided with camera 04 on first screen 01.In Fig. 3
(b) shown in, the screen of terminal can be one piece of screen (such as flexible screen), when user carries out folding operation to the flexible screen,
The flexible screen can be folded into two different screens (i.e. the first screen 01 and the second screen 02), and be provided on first screen 01
Camera 04.
Further, in the embodiment of the present invention, the screen of terminal be two pieces of independent screens in the case where, the first screen and
Second screen can be any one in following displays: LCD screen LCD, plasma screen PDP, tft liquid crystal screen
Curtain TFT-LCD, Organic Light Emitting Diode screen OLED and active matrix organic light-emitting diode screen AM-OLED.It specifically can be with
Determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Further, in the embodiment of the present invention, in the case where the screen of terminal is one piece of screen (such as flexible screen),
When user carries out folding operation to flexible screen, if position difference or direction that the flexible screen is folded are different, this is soft
Property the first screen for being folded out of screen and the second screen it is different.Specifically it can determine that the embodiment of the present invention is not according to actual use demand
It limits.
Further, in the embodiment of the present invention, camera can be set on the second screen.
Optionally, in the embodiment of the present invention, when the camera of the first screen acquires the first image, which be may be at
Screen lock state also may be at unlocked state.It can specifically be determined according to actual use demand, the embodiment of the present invention does not limit
It is fixed.
Further, in the embodiment of the present invention, above-mentioned screen lock state is specifically as follows screen locking and bright screen state or puts out screen
State.Wherein, screen locking and bright screen state refers to after the screen lock to terminal, the backlight module of terminal are in the shape lighted
The state that state, i.e. terminal are in screen lock and backlight module is lighted;Screen state is put out to refer to after the screen lock to terminal,
The backlight module of terminal is in the state closed, i.e., the state that terminal is in screen lock and backlight module is closed.
It should be noted that the screen in the embodiment of the present invention may include display and around display setting side
Frame can also include the camera being set on the frame.For example, the first screen may include display, frame and be set to this
Camera on frame, the second screen may include display and frame.It is appreciated that the embodiment of the present invention in screen lock state and
Unlocked state each means the display state in which in screen, and the simultaneously frame state in which in non-screen.
Step 101, terminal judge whether first image matches with the second image that the second screen is shown.
For the specific descriptions of the first screen and the second screen, may refer in the step 100 of above-described embodiment to the first screen and
The associated description of second screen, details are not described herein again.
In the embodiment of the present invention, terminal may determine that whether the first image matches with the second image that the second screen is shown.?
In the case that the second image that first image and the second screen are shown matches, terminal can continue to execute following steps 102;?
In the unmatched situation of the second image that first image and the second screen are shown, terminal can continue to execute following steps 103.
It should be noted that above-mentioned " matching " can be understood as between compared two objects in the embodiment of the present invention
Similarity be more than or equal to a numerical value.For example, the similarity between the first image and the second image is greater than or waits
When a default value (such as the default value can be 90%), it can determine that the first image matches with the second image.
Optionally, in the embodiment of the present invention, the second image that the second screen is shown can be with preset image (such as the figure of terminal
Image in library), or it is inputted according to track of the user on the second screen, in the image of the second screen display.Specifically may be used
To determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Step 102, terminal unlocking target screen.
Wherein, above-mentioned target screen may include at least one of the first screen and the second screen.
In the embodiment of the present invention, in the case where the second image that the first image and the second screen are shown matches, terminal can
To unlock target screen.For example, terminal can unlock the first screen, the second screen or the first screen of unlock and the second screen are perhaps unlocked.Tool
Body can determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Optionally, in the embodiment of the present invention, before terminal unlocking target screen, terminal can determine target to be unlocked
Screen.Specifically, terminal can determine target screen by any one in following several ways:
Mode one, terminal can determine target screen according to the screen state of the first screen and the screen state of the second screen.Example
Such as, in the case where the screen state of the screen state of the first screen and the second screen is screen lock state, terminal can determine target
Screen is the first screen and the second screen.
Mode two, terminal can determine target screen according to the angle between the first screen and the second screen.For example, in the first screen
And in the case that the second angle between screen belongs to preset angular range, terminal can determine target screen (the first screen and second
At least one of screen).
Mode three, terminal can presetting according to user, determine target screen.For example, user can preassign mesh
Mark screen is the first screen perhaps the second screen or the first screen and the second screen.
It should be noted that in the embodiment of the present invention, it, will be in following implementations for the specific implementation of aforesaid way one
Step 106a and step 106b in example are described, and it will not go into details herein.It, will for the specific implementation of aforesaid way two
Step 107a and step 107b in the following embodiments is described, and it will not go into details herein.
Step 103, terminal display reminding information.
Illustratively, in the unmatched situation of the second image that the first image and the second screen are shown, terminal can be to place
It is not unlocked in the first screen of screen lock state and/or the second screen, and display reminding information " unlock failure, please unlock again ".
It should be noted that above-mentioned steps 103 are a kind of optional implementation provided in an embodiment of the present invention, i.e., at this
In the unmatched situation of the second image that first image and the second screen are shown, terminal can be with display reminding information.It is appreciated that
In the unmatched situation of the second image that first image and the second screen are shown, terminal can not also execute any operation, or
Terminal can also reacquire the first image of the camera acquisition of the first screen, and judge what first image and the second screen were shown
Whether the second image matches.It can specifically be determined according to actual use demand, the embodiment of the present invention is not construed as limiting.
The embodiment of the present invention provides a kind of unlocking screen method, can be applied to include the first screen and the second screen terminal.
In the case where being matched due to the second image shown in the first image of the camera of the first screen acquisition and the second screen, terminal can
To unlock at least one of the first screen and the second screen, it can the automatic unlocking for realizing terminal is manually entered without user
The information (such as password, fingerprint or pattern etc.) of controlling terminal solution lock screen, to improve the flexible of terminal unlocking screen
Property.
Optionally, in conjunction with Fig. 2, as shown in figure 4, before above-mentioned steps 100, the present invention is implemented in the embodiment of the present invention
The unlocking screen method that example provides can also include the steps that following 104.
Step 104, terminal obtain the second image, and show second image in the second screen.
Optionally, in the embodiment of the present invention, the second image is obtained in terminal, and when the second screen shows second image,
Second screen may be at screen locking and bright screen state, also may be at unlocked state.It specifically can be true according to actual use demand
Fixed, the embodiment of the present invention is not construed as limiting.
Optionally, in the embodiment of the present invention, the first is possible to be achieved in that, is preset image in the second image
In the case of, above-mentioned steps 104 can specifically be realized by following step 104a;Second possible to be achieved in that,
Two images are that the track according to user on the second screen inputs, in the case where the image of the second screen display, above-mentioned steps 104
It can specifically be realized by following step 104b- step 104d.
For the first possible implementation:
Step 104a, terminal obtains preset second image, and shows second image in the second screen.
It should be noted that the embodiment of the present invention is to second image in the case where the second image is preset image
Pattern, shape, size, color and display area etc. be not especially limited, can specifically be determined according to actual use demand.Example
Such as, the second image can be the five-pointed star of a yellow, or the character " π " of a black, it can also be for one by more
The character image etc. that kind color is constituted.
Optionally, in the embodiment of the present invention, in the case where the second image is preset image, the second image can be for eventually
Image in the picture library at end.
Illustratively, Fig. 5 is the schematic diagram that a kind of terminal provided in an embodiment of the present invention shows the second image.Assuming that terminal
The first screen 01 and the second screen 02 be two pieces of independent screens, and camera 04 is provided on first screen 01, then such as Fig. 5 institute
Show, terminal can obtain the second image 05 from the picture library of terminal, and show second image 05 in second screen 02.Then,
Terminal can control the camera 04 and shoot to second image 05, to obtain the first image, and first image with
In the case that second image 05 matches, unlock target screen (i.e. at least one of the first screen 01 and the second screen 02).
It is appreciated that for the first possible implementation, since the second image can be preset image, eventually
End directly can show second image in the second screen of terminal, select image or drawing image without user, so as to
To simplify the operating procedure of user, and improve the convenience that terminal shows the second image.Further, since terminal can be direct
Second image, therefore the first image that terminal can be obtained according to the second image are shown in the second screen of terminal, and to second
Image is matched the information (example to solve lock screen, without the manual input control terminal solution lock screen of user with the first image
Such as password, fingerprint or pattern), to improve the flexibility of terminal unlocking screen.
For second of possible implementation:
Step 104b, terminal receives track input of the user on the second screen.
Step 104c, terminal is inputted in response to the track, inputs pattern generated in the second screen display track.
Step 104d, terminal is based on the pattern, generates the second image and is shown on second screen.
Optionally, in the embodiment of the present invention, terminal can show the second image according to pre-set color on the second screen, can also
To show the second image according to the color that user selects on the second screen.It can specifically be determined according to actual use demand, this hair
Bright embodiment is not construed as limiting.
Illustratively, Fig. 6 is the schematic diagram that another terminal provided in an embodiment of the present invention shows the second image.Assuming that eventually
First screen 01 and the second screen 02 at end are two pieces of independent screens, and are provided with camera 04 on first screen 01, then such as Fig. 6
Shown, user can execute slide on second screen 02, and then terminal can receive user on second screen 02
Track inputs (i.e. user can draw a design on second screen 02), and inputs in response to the track, on second screen 02
It shows that the track inputs pattern generated, and is based on the pattern, generates the second image 05 and is shown on second screen 02.
Then, terminal can control the camera 04 and shoot to second image 05, to obtain the first image, and in first figure
In the case that second image 05 as shown in second screen 02 matches, target screen (i.e. the first screen 01 and the second screen are unlocked
At least one of 02).
It is appreciated that for second of possible implementation, due to the second image can according to the track of user it is defeated
Enter the image of generation, therefore user triggering terminal can generate the second different images according to actual needs, so as to improve
Terminal shows the diversity and flexibility of the second image, and can promote the experience sense of user.Further, due to being touched in user
When sending out the second image difference that terminal generates, the first image that terminal obtains may be different, therefore terminal unlocking screen can be improved
The diversity and flexibility of curtain, and the safety of terminal unlocking screen can also be improved.
Unlocking screen method provided in an embodiment of the present invention, due to available second image of terminal, and in the second screen display
Show the second image, therefore the first image that terminal can be obtained according to the second image, and the second image and the first image are carried out
Information (such as password, fingerprint or pattern of the matching to solve lock screen, without the manual input control terminal solution lock screen of user
Deng), to improve the flexibility of terminal unlocking screen.
Further, implementation possible for above-mentioned second, before above-mentioned steps 104d, the embodiment of the present invention
The unlocking screen method of offer can also include the steps that following 104e and step 104f.Also, in this case, above-mentioned step
Rapid 101 can specifically pass through following step 101a and step 101b.
Step 104e, terminal obtains the first biological information of user.
Step 104f, in the case where first biological information and preset biological information match, terminal
Update pattern is pre-set color.
Optionally, in the embodiment of the present invention, above-mentioned first biological information can be face feature information, the rainbow of user
At least one of film characteristic information, retinal feature information, fingerprint feature information, hand-shaped characteristic information etc..It is corresponding, this hair
In bright embodiment, terminal can obtain the target biometric information of user by biometrics identification technology.Wherein, of the invention
Biometrics identification technology in embodiment can be facial recognition techniques, iris recognition technology, retina identification technology, fingerprint
At least one of identification technology, palm geometry identification technology etc..
Illustratively, it is illustrated so that biological information is face feature information as an example.The biology of terminal acquisition user
The concrete mode of characteristic information can be with are as follows: terminal can pass through the camera on the first screen and shoot photo.It should if user is located at
Within the coverage of camera, then terminal can shoot photo by the camera, and from an at least photo for shooting
In detect the portrait of the user, then the portrait of the user is separated from background.Then, terminal can be according to preset
Face recognition algorithm gets the face feature information of the user from the portrait isolated, and judge the face feature information with
Whether preset face feature information matches, and match in the face feature information and the preset face feature information
In the case of, it is pre-set color that terminal, which updates pattern,.
Step 101a, terminal judges whether the characteristics of objects of the first object and the characteristics of objects of the second object match.
Step 101b, in the case where the characteristics of objects of the characteristics of objects of first object and second object matches,
Terminal judges whether the color of the first object and the color of the second object are pre-set color.
Wherein, above-mentioned characteristics of objects may include at least one of following: shape, area and characteristic point.
For the specific descriptions of shape, area and characteristic point, may refer in the step 101c of following embodiments to shape,
The associated description of area and characteristic point, it will not go into details herein.In the embodiment of the present invention, terminal may determine that the object of the first object
Feature and the characteristics of objects of the second object whether match (for example, judge the first object shape and the second object shape whether
Matching, or judge whether the characteristic point of the first object and the characteristic point of the second object match).It is special in the object of first object
Seek peace second object characteristics of objects match in the case where, terminal may determine that the color and second object of the first object
Whether color is pre-set color.In this way, match in the characteristics of objects of first object and the characteristics of objects of second object,
And in the case that the color of first object and the color of second object are pre-set color, terminal can unlock target screen.
It should be noted that the embodiment of the present invention be step 101a is first carried out with terminal, then execute for step 101b into
Row exemplary illustration, any restriction is not caused to the embodiment of the present invention.It is appreciated that in actual implementation, terminal can also
To first carry out step 101b, then executes step 101a (i.e. terminal first judges the color of the first object and the color of the second object is
No is pre-set color, then judges whether the characteristics of objects of the first object and the characteristics of objects of the second object match);Alternatively, eventually
End may also be performed simultaneously step 101a and step 101b and (terminal while judge the color of the first object and the face of the second object
Whether color is whether the characteristics of objects of pre-set color and the first object and the characteristics of objects of the second object match).
Unlocking screen method provided in an embodiment of the present invention, due in acquisition the first biological information and preset life
In the case that object characteristic information matches, terminal can will input pattern generated according to track and be updated to pre-set color (i.e.
Terminal can be made to show the second image according to pre-set color), such terminal can first object characteristics of objects and this
The case where characteristics of objects of two objects matches, and the color of first object and the color of second object are pre-set color
Under, target screen is unlocked, therefore improve the safety of terminal unlocking target screen.
Optionally, in conjunction with Fig. 2, as shown in fig. 7, before above-mentioned steps 100, the present invention is implemented in the embodiment of the present invention
The unlocking screen method that example provides can also include the steps that following 105a and step 105b.
Step 105a, terminal detects the corner dimension between the first screen and the second screen.
Step 105b, in the case where the angle detected is located in default angular range, the first screen of terminal control is taken the photograph
As head acquires the first image.
It should be noted that in the embodiment of the present invention, when the camera of the first screen of terminal control acquires the first image, the
The camera of one screen may be at open state, also may be at closed state.For example, being opened if the camera of the first screen is in
State is opened, then the camera that terminal can directly control the first screen acquires the first image;If the camera of the first screen is in
Closed state, then terminal can open the camera of the first screen, and the camera for controlling first screen acquires the first image.Tool
Body can determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Illustratively, the case where the screen that the screen of terminal is two pieces of independent screens or terminal is one piece of screen
Under, user can carry out folding operation to screen, to change the angle between the first screen and the second screen.In the folder that terminal detects
Angle be located in default angular range (for example, the default angular range can for 30 °~180 °, 100 °~130 ° or 50 °~
80 ° etc.) in the case where, the camera that terminal can control the first screen acquires the first image;And in the angle position that terminal detects
In the case where in default angular range, terminal may not need the camera collection image of the first screen of control.It specifically can basis
Actual use demand determines that the embodiment of the present invention is not construed as limiting.
Unlocking screen method provided in an embodiment of the present invention, since the angle between available first screen and the second screen is big
It is small, and in the case where angle is located in default angular range, the camera of the first screen of terminal control acquires the first image, therefore
It can control the opportunity that terminal opens camera by the way that default angle is arranged, without the angle between the first screen and the second screen
In the case of arbitrary size, the camera for controlling first screen acquires the first image, so as to reduce the power consumption of terminal, and
The safety of terminal unlocking can be improved.
Optionally, in conjunction with Fig. 2, as shown in figure 8, before above-mentioned steps 102, the present invention is implemented in the embodiment of the present invention
The unlocking screen method that example provides can also include the steps that following 106a and step 106b.
Step 106a, terminal obtains the screen state of the first screen and the screen state of the second screen.
Step 106b, terminal determines target screen according to the screen state of first screen and the screen state of second screen.
Wherein, above-mentioned screen state may include screen lock state and unlocked state.
For the specific descriptions of target screen, the associated description in the step 102 of above-described embodiment to target screen may refer to,
Details are not described herein again.
Illustratively, in the case where the screen state of the screen state of the first screen and the second screen is screen lock state, eventually
End can determine that target screen is the first screen and the second screen;In the screen that the screen state of the first screen is screen lock state and the second screen
In the case that state is unlocked state, terminal can determine that target screen is the first screen;It is screen locking shape in the screen state of the second screen
In the case that the screen state of state and the first screen is unlocked state, terminal can determine that target screen is the second screen.
Unlocking screen method provided in an embodiment of the present invention, by obtaining the screen state of the first screen and the screen of the second screen
State can determine target screen according to the screen state of first screen and the screen state of second screen.So in the first screen
When the screen state difference of screen state and the second screen, the target screen that terminal determines is different, and the mode of terminal unlocking screen is not yet
It is identical, so as to improve the diversity of terminal unlocking screen, and the safety of terminal unlocking screen can also be improved.
Optionally, in conjunction with Fig. 2, as shown in figure 9, before above-mentioned steps 102, the present invention is implemented in the embodiment of the present invention
The unlocking screen method that example provides can also include the steps that following 107a and step 107b.
Step 107a, terminal obtains the first angle between the first screen and the second screen.
Step 107b, terminal angular range according to belonging to first angle, determines target screen.
Optionally, in the embodiment of the present invention, the angle between the first screen and the second screen is adjustable.
Illustratively, in the case that the angular range belonging to the first angle is first object angular range, terminal can be with
Determine that target screen is the first screen and the second screen;The case where angular range belonging to the first angle is the second target angle range
Under, terminal can determine that target screen is the first screen;The angular range belonging to the first angle is the feelings of third target angle range
Under condition, terminal can determine that target screen is the second screen.Wherein, first object angular range, the second target angle range and third
Target angle may range from different angular ranges (for example, first angular range can be for 120 °~180 °, second folder
Angular region can be 60 °~90 °, which can be 90 °~120 °).
Unlocking screen method provided in an embodiment of the present invention can basis by obtaining the angle of the first screen and the second screen
Angular range belonging to the angle, determines target screen.So the angular range belonging to the angle of the first screen and the second screen is different
When, the target screen that terminal determines is different, and the mode of terminal unlocking screen is not also identical, so as to improve terminal unlocking screen
Diversity, and then the experience sense of user can be promoted.
Optionally, in the embodiment of the present invention, before above-mentioned steps 101, unlocking screen method provided in an embodiment of the present invention
It can also include the steps that following 108a and step 108b.Also, in this case, step 101 specifically can be by following
Step 101c realize.
Step 108a, terminal obtains the characteristics of objects of the first object in the first image.
Wherein, the characteristics of objects of the first object may include at least one of following: shape, color, area and characteristic point.
Step 108b, terminal obtains the characteristics of objects of the second object in the second image.
Wherein, the characteristics of objects of the second object may include at least one of following: shape, color, area and characteristic point.
Step 101c, terminal judges whether the characteristics of objects of first object and the characteristics of objects of second object match.
In the embodiment of the present invention, terminal may determine that the first object characteristics of objects and the second object characteristics of objects whether
Matching.In the case where the characteristics of objects of the characteristics of objects of the first object and the second object matches, terminal can execute above-mentioned
Step 102 (i.e. in the case where the characteristics of objects of the characteristics of objects of the first object and the second object matches, terminal can be solved
Lock target screen);In the unmatched situation of characteristics of objects of the characteristics of objects and the second object of the first image, terminal can be executed
(i.e. in the unmatched situation of characteristics of objects of the characteristics of objects and the second object of the first image, terminal can for above-mentioned step 103
With display reminding information).
Illustratively, in the case where characteristics of objects is color, the first object in available first image of terminal
Color, and obtain the color of the second object in the second image.If the color of first object is yellow, and second object
Color be yellow, then terminal can determine the color of first object and the color of second object matches, and unlock
Target screen.
Illustratively, characteristics of objects be area and color in the case where, terminal may determine that the first image color and
Whether the color of the second image matches;The case where the color of the color and second image that determine first image matches
Under, terminal, which can determine in the first area and the second image with the first color in first image, has the first color
Second area;Later, the area of the area He the second area of the available first area of terminal.If the first area
Area and the second area area equation, then terminal can determine the area of the first area and the face of the second area
Product matches, and unlocks target screen.
Illustratively, in the case where characteristics of objects is shape, terminal can be carried out the first object in the first image
Edge detection to determine the marginal point of first object, and carries out edge detection to the second object in the second image, with determination
The marginal point of second object;Then, terminal can carry out range conversion to the marginal point of first object, obtain this first pair
The distance mapped image of elephant, and range conversion is carried out to the marginal point of second object, obtain the distance mapping of second object
Image;If the target of the distance mapped image of the target range of the distance mapped image of first object and second object away from
From preset threshold is less than or equal to, then terminal can determine the shape of first object and the shape phase of second object
Match, and unlocks target screen.
Illustratively, the first object in the case where characteristics of objects is characterized point, in available first image of terminal
At least one characteristic point (referred to as fisrt feature point) and the second object in the second image at least one characteristic point (referred to as
Two characteristic points).Then, terminal can determine position of first object in first image according to the fisrt feature point, and
Position of second object in second image is determined according to the second feature point.If first object is in first image
In position it is corresponding with position of second object in second image, then terminal can determine the spy of first object
The characteristic point of sign point and second object matches, and unlocks target screen.
Unlocking screen method provided in an embodiment of the present invention, the characteristics of objects of the first object in available first image
It is and special in the object of the characteristics of objects of first object and second object with the characteristics of objects of the second object in the second image
In the case that sign matches, target screen is unlocked, the accuracy and flexibility of terminal unlocking screen so can be improved.
Optionally, in the embodiment of the present invention, before above-mentioned steps 100, unlocking screen side provided in an embodiment of the present invention
Method can also include the steps that following 109a and step 109b.
Step 109a, in the case where the second screen is in and puts out screen state, terminal receives the first input of user.
Step 109b, terminal lights second screen in response to first input.
Wherein, above-mentioned first input can be used for the second screen that triggering terminal lights terminal.
For putting out the specific descriptions of screen state, above-described embodiment may refer to the associated description for putting out screen state, herein not
It repeats again.
Optionally, in the embodiment of the present invention, above-mentioned first input can be key-press input.For example, the key-press input can be with
For user to terminal push (such as volume key, power key or host key etc.) click input, double-click input, long-pressing input or
The inputs such as person's combination button input can specifically determine that the embodiment of the present invention is not construed as limiting according to actual use demand.
Unlocking screen method provided in an embodiment of the present invention, terminal can be inputted in response to the first of the user received,
Light the second screen of terminal, such terminal can be in response to user in second the second image of screen display or terminal
Track input in second the second image of screen display, and further unlock target screen (i.e. in the first screen and the second screen at least
One), so as to improve the flexibility of terminal unlocking screen.
As shown in Figure 10, the embodiment of the present invention provides a kind of terminal 1000.The terminal may include the first screen and the second screen.
The terminal may include obtaining module 1001 and unlocked state 1002.Wherein, module 1001 is obtained, for obtaining taking the photograph for the first screen
The first image acquired as head;Unlocked state 1002, for obtaining first image and the second screen display that module 1001 obtains
In the case that the second image shown matches, target screen is unlocked;Wherein, which may include first screen and second screen
At least one of.
Optionally, in conjunction with Figure 10, as shown in figure 11, terminal provided in an embodiment of the present invention can also include display module
1003.Module 1001 is obtained, is also used to before obtaining the first image of camera acquisition of the first screen, obtains the second image;
Display module 1003, for showing second image for obtaining module 1001 and obtaining in the second screen.
Optionally, in the embodiment of the present invention, module 1001 is obtained, is specifically used for obtaining preset second image;Show mould
Block 1003, specifically for showing preset second image for obtaining module 1001 and obtaining in the second screen.
Optionally, in the embodiment of the present invention, module 1001 is obtained, it is defeated specifically for receiving track of the user on the second screen
Enter.Display module 1003 is somebody's turn to do specifically for inputting in response to obtaining the track that module 1001 obtains in second screen display
Track inputs pattern generated;And it is based on the pattern, generate the second image and is shown on second screen.
Optionally, in the embodiment of the present invention, module 1001 is obtained, is also used to be based on pattern in display module 1003, generate
Second image and before being shown on the second screen, obtains the first biological information of user;Display module 1003, is also used to
In the case that first biological information and preset biological information for obtaining the acquisition of module 1001 match, figure is updated
Case is pre-set color;Unlocked state 1002, specifically in the characteristics of objects of the first object and the characteristics of objects phase of the second object
Matching, and in the case that the color of the first object and the color of the second object are the pre-set color, unlock target screen.Wherein,
Characteristics of objects may include at least one of following: shape, area and characteristic point.
Optionally, in conjunction with Figure 10, as shown in figure 12, terminal provided in an embodiment of the present invention can also include detection module
1004 and control module 1005.Detection module 1004, in obtain that module 1001 obtains the camera acquisition of the first screen the
Before one image, the corner dimension between the first screen and the second screen is detected;Control module 1005, for being examined in detection module 1004
In the case that the angle measured is located in default angular range, the camera of the first screen of control acquires the first image.
Optionally, in conjunction with Figure 10, as shown in figure 13, terminal provided in an embodiment of the present invention can also include determining module
1006.Module 1001 is obtained, is also used to before unlocked state 1002 unlocks target screen, the screen state and the of the first screen is obtained
The screen state of two screens;Determining module 1006, for according to the screen state and second for obtaining the first screen that module 1001 obtains
The screen state of screen, determines target screen.Wherein, screen state includes screen lock state and unlocked state.
Optionally, terminal provided in an embodiment of the present invention can also include determining module 1006.Module 1001 is obtained, is also used
In before unlocked state 1002 unlocks target screen, the first angle between the first screen and the second screen is obtained;Determining module 1006,
For determining target screen according to angular range belonging to first angle that module 1001 obtains is obtained.
Optionally, in the embodiment of the present invention, obtain module 1001, be also used to unlocked state 1002 unlock target screen it
Before, obtain the characteristics of objects of the first object in the first image;And obtain the characteristics of objects of the second object in the second image.
Unlocked state 1002, specifically for pair in the characteristics of objects and second object for obtaining first object that module 1001 obtains
In the case where matching as feature, target screen is unlocked.Wherein, characteristics of objects includes at least one of the following: shape, color, area
And characteristic point.
Terminal provided in an embodiment of the present invention can be realized each process that terminal is realized in above method embodiment, to keep away
Exempt to repeat, which is not described herein again.
The embodiment of the present invention provides a kind of terminal, due to the first image and the second screen display of the camera acquisition in the first screen
In the case that the second image shown matches, terminal can unlock at least one of the first screen and the second screen, it can realize
The automatic unlocking of terminal, information (such as password, fingerprint or pattern without the manual input control terminal solution lock screen of user
Deng), to improve the flexibility of terminal unlocking screen.
A kind of hardware structural diagram of Figure 14 terminal of each embodiment to realize the present invention.As shown in figure 14, the end
End 200 includes but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor
205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210 and power supply 211 etc.
Component.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Figure 14, terminal can be with
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.In the embodiment of the present invention
In, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and
Pedometer etc..
Wherein, terminal 200 may include the first screen and the second screen.Input unit 204, for obtaining the camera of the first screen
First image of acquisition;Processor 210, first image and the second screen for being obtained in input unit 204 show second
In the case that image matches, target screen is unlocked.Wherein, which includes at least one in first screen and second screen
Person.
The embodiment of the present invention provides a kind of terminal, due to the first image and the second screen display of the camera acquisition in the first screen
In the case that the second image shown matches, terminal can unlock at least one of the first screen and the second screen, it can realize
The automatic unlocking of terminal, information (such as password, fingerprint or pattern without the manual input control terminal solution lock screen of user
Deng), to improve the flexibility of terminal unlocking screen.
It should be understood that the embodiment of the present invention in, radio frequency unit 201 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 210 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 201 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 201 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 202 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 203 can be received by radio frequency unit 201 or network module 202 or in memory 209
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 203 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 200 executes.Sound
Frequency output unit 203 includes loudspeaker, buzzer and receiver etc..
Input unit 204 is for receiving audio or video signal.Input unit 204 may include graphics processor
(Graphics Processing Unit, GPU) 2041 and microphone 2042, graphics processor 2041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 206.Through graphics processor 2041, treated that picture frame can be deposited
Storage is sent in memory 209 (or other storage mediums) or via radio frequency unit 201 or network module 202.Mike
Wind 2042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 201 is converted in the case where telephone calling model.
Terminal 200 further includes at least one sensor 205, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 2061, and proximity sensor can close display panel when terminal 200 is moved in one's ear
2061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 205 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 206 is for showing information input by user or being supplied to the information of user.Display unit 206 can wrap
Display panel 2061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 2061.
User input unit 207 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 207 include touch panel 2071 and other
Input equipment 2072.Touch panel 2071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 2071 or near touch panel 2071
Operation).Touch panel 2071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 210, receives processor 210
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 2071.In addition to touch panel 2071, user input unit 207 can also include other input equipments 2072.
Specifically, other input equipments 2072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 2071 can be covered on display panel 2061, when touch panel 2071 is detected at it
On or near touch operation after, send processor 210 to determine the type of touch event, be followed by subsequent processing device 210 according to touching
The type for touching event provides corresponding visual output on display panel 2061.Although in Figure 14, touch panel 2071 and aobvious
Show that panel 2061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments,
The function that outputs and inputs that touch panel 2071 and display panel 2061 can be integrated and be realized terminal, does not limit specifically herein
It is fixed.
Interface unit 208 is the interface that external device (ED) is connect with terminal 200.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 208 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 200 or can be used for terminal 200 and external device (ED) it
Between transmit data.
Memory 209 can be used for storing software program and various data.Memory 209 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 209 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 210 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 209, and call and be stored in memory 209
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 210 may include one
Or multiple processing units;Optionally, processor 210 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 210.
Terminal 200 can also include the power supply 211 (such as battery) powered to all parts, and optionally, power supply 211 can be with
It is logically contiguous by power-supply management system and processor 210, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 200 includes some unshowned functional modules, details are not described herein.
Optionally, the embodiment of the present invention also provides a kind of terminal, including processor 210 as shown in figure 14, memory
209, it is stored in the computer program that can be run on memory 209 and on processor 210, the computer program is by processor
210 realize each process of above method embodiment when executing, can reach identical technical effect, to avoid repeating, here not
It repeats again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical
Technical effect, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, such as read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute the method that each embodiment of the present invention describes.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (20)
1. a kind of unlocking screen method, applied to the terminal including the first screen and the second screen, which is characterized in that the method packet
It includes:
Obtain the first image of the camera acquisition of the first screen;
In the case where the second image that the first image and the second screen are shown matches, target screen is unlocked;
Wherein, the target screen includes at least one of first screen and second screen.
2. the method according to claim 1, wherein the first image of the camera acquisition for obtaining the first screen
Before, the method also includes:
The second image is obtained, and shows second image in the second screen.
3. according to the method described in claim 2, it is characterized in that, the second image of the acquisition, and described in showing in the second screen
Second image, comprising:
Preset second image is obtained, and shows second image in the second screen.
4. according to the method described in claim 2, it is characterized in that, the second image of the acquisition, and described in showing in the second screen
Second image, comprising:
Receive track input of the user on the second screen;
It is inputted in response to the track, the track described in second screen display inputs pattern generated;
Based on the pattern, generates the second image and be shown on second screen.
5. according to the method described in claim 4, the second image of generation is simultaneously shown it is characterized in that, described be based on the pattern
Before on second screen, the method also includes:
Obtain the first biological information of the user;
In the case where first biological information and preset biological information match, it is pre- for updating the pattern
If color;
In the case that second image shown in the first image and the second screen matches, target screen is unlocked, comprising:
Match in the characteristics of objects of first object and the characteristics of objects of second object, and the face of first object
In the case that the color of color and second object is the pre-set color, target screen is unlocked;
Wherein, the characteristics of objects includes at least one of the following: shape, area and characteristic point.
6. the method according to claim 1, wherein the first image of the camera acquisition for obtaining the first screen
Before, the method also includes:
Detect the corner dimension between the first screen and the second screen;
In the case where the angle detected is located in default angular range, the camera for controlling first screen acquires the first figure
Picture.
7. the method according to claim 1, wherein before the unlock target screen, the method also includes:
Obtain the screen state of the first screen and the screen state of the second screen;
According to the screen state of the screen state of first screen and second screen, target screen is determined;
Wherein, the screen state includes screen lock state and unlocked state.
8. the method according to claim 1, wherein before the unlock target screen, the method also includes:
Obtain the first angle between the first screen and the second screen;
According to angular range belonging to first angle, target screen is determined.
9. the method according to claim 1, wherein second shown in the first image and the second screen
In the case that image matches, before unlocking target screen, the method also includes:
Obtain the characteristics of objects of the first object in the first image;
Obtain the characteristics of objects of the second object in the second image;
In the case that second image shown in the first image and the second screen matches, target screen is unlocked, comprising:
In the case where the characteristics of objects of the characteristics of objects of first object and second object matches, target is unlocked
Screen;
Wherein, the characteristics of objects includes at least one of the following: shape, color, area and characteristic point.
10. a kind of terminal, which is characterized in that the terminal include the first screen and the second screen, the terminal include obtain module and
Unlocked state;
The acquisition module, the first image that the camera for obtaining the first screen acquires;
The unlocked state, the second image phase that the first image for obtaining in the acquisition module is shown with the second screen
In matched situation, target screen is unlocked;
Wherein, the target screen includes at least one of first screen and second screen.
11. terminal according to claim 10, which is characterized in that the terminal further includes display module;
The acquisition module is also used to before obtaining the first image of camera acquisition of the first screen, obtains the second figure
Picture;
The display module, for showing second image that the acquisition module obtains in the second screen.
12. terminal according to claim 11, which is characterized in that
The acquisition module is specifically used for obtaining preset second image;
The display module, specifically for showing preset second image that the acquisition module obtains in the second screen.
13. terminal according to claim 11, which is characterized in that
The acquisition module is inputted specifically for receiving track of the user on the second screen;
The display module is inputted specifically for the track obtained in response to the acquisition module, on second screen
Show that the track inputs pattern generated;And it is based on the pattern, generate the second image and is shown in second screen
On.
14. terminal according to claim 13, which is characterized in that
The acquisition module is also used to be based on the pattern in the display module, generates the second image and is shown in described the
Before on two screens, the first biological information of the user is obtained;
The display module is also used to special in first biological information of the acquisition module acquisition and preset biology
In the matched situation of reference manner of breathing, updating the pattern is pre-set color;
The unlocked state, specifically in the characteristics of objects of first object and the characteristics of objects phase of second object
Match, and in the case that the color of first object and the color of second object are the pre-set color, unlocks target
Screen, wherein the characteristics of objects includes at least one of the following: shape, area and characteristic point.
15. terminal according to claim 10, which is characterized in that the terminal further includes detection module and control module;
The detection module, for detecting before the acquisition module obtains the first image of camera acquisition of the first screen
Corner dimension between first screen and the second screen;
The control module, for controlling in the case where the angle that the detection module detects is located in default angular range
The camera for making first screen acquires the first image.
16. terminal according to claim 10, which is characterized in that the terminal further includes determining module;
The acquisition module is also used to before the unlocked state unlocks target screen, obtains the screen state and the of the first screen
The screen state of two screens;
The determining module, the screen state and second screen of first screen for being obtained according to the acquisition module
Screen state determines target screen;
Wherein, the screen state includes screen lock state and unlocked state.
17. terminal according to claim 10, which is characterized in that the terminal further includes determining module;
The acquisition module is also used to before the unlocked state unlocks target screen, is obtained between the first screen and the second screen
First angle;
The determining module determines mesh for the angular range according to belonging to first angle of the acquisition module acquisition
Mark screen.
18. terminal according to claim 10, which is characterized in that
The acquisition module is also used to before the unlocked state unlocks target screen, obtains first in the first image
The characteristics of objects of object;And obtain the characteristics of objects of the second object in the second image;
The unlocked state, specifically for the characteristics of objects and described second of first object obtained in the acquisition module
In the case that the characteristics of objects of object matches, target screen is unlocked;
Wherein, the characteristics of objects includes at least one of the following: shape, color, area and characteristic point.
19. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 9
The step of unlocking screen method described in one.
20. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, the computer program realize unlocking screen method as claimed in any one of claims 1-9 wherein when being executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810758502.9A CN109190356B (en) | 2018-07-11 | 2018-07-11 | Screen unlocking method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810758502.9A CN109190356B (en) | 2018-07-11 | 2018-07-11 | Screen unlocking method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109190356A true CN109190356A (en) | 2019-01-11 |
CN109190356B CN109190356B (en) | 2021-01-22 |
Family
ID=64936020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810758502.9A Active CN109190356B (en) | 2018-07-11 | 2018-07-11 | Screen unlocking method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109190356B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008684A (en) * | 2019-04-11 | 2019-07-12 | 维沃移动通信有限公司 | A kind of unlocking screen method and terminal |
CN111176522A (en) * | 2019-12-16 | 2020-05-19 | 维沃移动通信有限公司 | Unlocking method and electronic equipment |
CN111737676A (en) * | 2019-11-08 | 2020-10-02 | 北京沃东天骏信息技术有限公司 | Screen locking and unlocking method and device of touch screen equipment and storage medium thereof |
CN111966436A (en) * | 2020-08-06 | 2020-11-20 | Tcl通讯(宁波)有限公司 | Screen display control method and device, terminal equipment and storage medium |
WO2023116414A1 (en) * | 2021-12-22 | 2023-06-29 | 华为技术有限公司 | Multi-screen unlocking method and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9280652B1 (en) * | 2011-03-30 | 2016-03-08 | Amazon Technologies, Inc. | Secure device unlock with gaze calibration |
CN106326713A (en) * | 2016-08-31 | 2017-01-11 | 维沃移动通信有限公司 | Unlocking method for screen of mobile terminal and mobile terminal |
CN106447864A (en) * | 2016-10-14 | 2017-02-22 | 郑州云海信息技术有限公司 | Non-contact unlocking method and system |
CN106485110A (en) * | 2016-09-30 | 2017-03-08 | 宇龙计算机通信科技(深圳)有限公司 | A kind of unlocking screen method and terminal |
CN107609390A (en) * | 2017-08-25 | 2018-01-19 | 深圳天珑无线科技有限公司 | Terminal unlock method, terminal and computer-readable recording medium |
-
2018
- 2018-07-11 CN CN201810758502.9A patent/CN109190356B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9280652B1 (en) * | 2011-03-30 | 2016-03-08 | Amazon Technologies, Inc. | Secure device unlock with gaze calibration |
CN106326713A (en) * | 2016-08-31 | 2017-01-11 | 维沃移动通信有限公司 | Unlocking method for screen of mobile terminal and mobile terminal |
CN106485110A (en) * | 2016-09-30 | 2017-03-08 | 宇龙计算机通信科技(深圳)有限公司 | A kind of unlocking screen method and terminal |
CN106447864A (en) * | 2016-10-14 | 2017-02-22 | 郑州云海信息技术有限公司 | Non-contact unlocking method and system |
CN107609390A (en) * | 2017-08-25 | 2018-01-19 | 深圳天珑无线科技有限公司 | Terminal unlock method, terminal and computer-readable recording medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008684A (en) * | 2019-04-11 | 2019-07-12 | 维沃移动通信有限公司 | A kind of unlocking screen method and terminal |
CN111737676A (en) * | 2019-11-08 | 2020-10-02 | 北京沃东天骏信息技术有限公司 | Screen locking and unlocking method and device of touch screen equipment and storage medium thereof |
CN111176522A (en) * | 2019-12-16 | 2020-05-19 | 维沃移动通信有限公司 | Unlocking method and electronic equipment |
CN111176522B (en) * | 2019-12-16 | 2021-07-13 | 维沃移动通信有限公司 | Unlocking method and electronic equipment |
CN111966436A (en) * | 2020-08-06 | 2020-11-20 | Tcl通讯(宁波)有限公司 | Screen display control method and device, terminal equipment and storage medium |
WO2023116414A1 (en) * | 2021-12-22 | 2023-06-29 | 华为技术有限公司 | Multi-screen unlocking method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109190356B (en) | 2021-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109190356A (en) | A kind of unlocking screen method and terminal | |
CN109828732A (en) | A kind of display control method and terminal device | |
CN109542282A (en) | A kind of interface display method and terminal device | |
CN109032486A (en) | A kind of display control method and terminal device | |
CN108628565A (en) | A kind of mobile terminal operating method and mobile terminal | |
CN110174993A (en) | A kind of display control method, terminal device and computer readable storage medium | |
CN109032406A (en) | A kind of control method and mobile terminal | |
CN109240783A (en) | A kind of interface display method and terminal device | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN109257505A (en) | A kind of screen control method and mobile terminal | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109886686A (en) | A kind of safe payment method, equipment and computer readable storage medium | |
CN109814799A (en) | Screen response control mehtod and terminal device | |
CN110209369A (en) | A kind of interface display method and terminal device | |
CN110232266A (en) | A kind of unlocking screen method and terminal device | |
CN108898000A (en) | A kind of method and terminal solving lock screen | |
CN109859718A (en) | Screen brightness regulation method and terminal device | |
CN108833791A (en) | A kind of image pickup method and device | |
CN109190501A (en) | Operate recognition methods and terminal | |
CN109085962A (en) | A kind of display control method and terminal | |
CN110519443A (en) | A kind of bright screen method and mobile terminal | |
CN110113486A (en) | A kind of moving method and terminal of application icon | |
CN109359460A (en) | A kind of face recognition method and terminal device | |
CN109063620A (en) | A kind of personal identification method and terminal device | |
CN109408676A (en) | A kind of method and terminal device showing user information |
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 |