CN109190356B - Screen unlocking method and terminal - Google Patents

Screen unlocking method and terminal Download PDF

Info

Publication number
CN109190356B
CN109190356B CN201810758502.9A CN201810758502A CN109190356B CN 109190356 B CN109190356 B CN 109190356B CN 201810758502 A CN201810758502 A CN 201810758502A CN 109190356 B CN109190356 B CN 109190356B
Authority
CN
China
Prior art keywords
screen
image
terminal
unlocking
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810758502.9A
Other languages
Chinese (zh)
Other versions
CN109190356A (en
Inventor
顾瀚之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810758502.9A priority Critical patent/CN109190356B/en
Publication of CN109190356A publication Critical patent/CN109190356A/en
Application granted granted Critical
Publication of CN109190356B publication Critical patent/CN109190356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Abstract

The embodiment of the invention discloses a screen unlocking method and a terminal, relates to the technical field of communication, and aims to solve the problem of low flexibility of unlocking a screen by the terminal. The method is applied to a terminal comprising a first screen and a second screen, and comprises the following steps: acquiring a first image acquired by a camera of a first screen; unlocking the target screen under the condition that the first image is matched with a second image displayed by a second screen; wherein the target screen includes at least one of the first screen and the second screen. The method can be applied to the scene of the terminal unlocking screen.

Description

Screen unlocking method and terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen unlocking method and a terminal.
Background
With the development of communication technology, the security of information in the terminal can be improved in a screen locking mode of the terminal.
At present, after a screen of a terminal is locked, the screen of the terminal can be unlocked by using unlocking modes such as password unlocking, fingerprint unlocking or pattern unlocking. Taking password unlocking as an example, a user can input a password in a password input area on a terminal screen, so that after the password input by the user is collected by the terminal, the password can be compared with the password stored in the terminal in advance, and if the two passwords are the same, the terminal can control the terminal to unlock the screen.
However, the screen unlocking manners all control the terminal to unlock the screen by acquiring information input by the user, and in some cases, the terminal may not acquire the information input by the user, for example, the user may not input a password, a fingerprint, a pattern, or the like, so that the terminal may not unlock the screen, and further, the flexibility of unlocking the screen by the terminal may be low.
Disclosure of Invention
The embodiment of the invention provides a screen unlocking method and a terminal, and aims to solve the problem of low flexibility of unlocking a screen by the terminal.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a screen unlocking method, where the method is applied to a terminal including a first screen and a second screen, and the method includes: acquiring a first image acquired by a camera of a first screen; unlocking the target screen under the condition that the first image is matched with a second image displayed by a second screen; wherein the target screen includes at least one of the first screen and the second screen.
In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a first screen and a second screen, and the terminal includes an obtaining module and an unlocking module. The acquisition module is used for acquiring a first image acquired by a camera of a first screen; the unlocking module is used for unlocking the target screen under the condition that the first image acquired by the acquisition module is matched with the second image displayed by the second screen; wherein the target screen includes at least one of the first screen and the second screen.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the screen unlocking method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the screen unlocking method provided in the first aspect.
In the embodiment of the invention, a first image acquired by a camera of a first screen of the terminal can be acquired; and unlocking a target screen (the target screen includes at least one of the first screen and the second screen) in case that the first image matches a second image displayed on a second screen of the terminal. According to the scheme, under the condition that the first image acquired by the camera of the first screen is matched with the second image displayed by the second screen, the terminal can unlock at least one of the first screen and the second screen, so that automatic unlocking of the terminal can be realized, information (such as passwords, fingerprints or patterns and the like) for controlling the terminal to unlock the screen does not need to be manually input by a user, and therefore flexibility of unlocking the screen by the terminal is improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a screen unlocking method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of two terminals according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a screen unlocking method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a terminal displaying a second image according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of a terminal displaying a second image according to an embodiment of the present invention;
fig. 7 is a third schematic diagram of a screen unlocking method according to an embodiment of the present invention;
fig. 8 is a fourth schematic diagram illustrating a screen unlocking method according to an embodiment of the present invention;
fig. 9 is a fifth schematic view illustrating a screen unlocking method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a third schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 13 is a fourth schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 14 is a hardware schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first image and the second image, etc. are for distinguishing different images, rather than for describing a particular order of the images.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements.
The embodiment of the invention provides a screen unlocking method and a terminal, which can acquire a first image acquired by a camera of a first screen of the terminal; and unlocking a target screen (the target screen includes at least one of the first screen and the second screen) in case that the first image matches a second image displayed on a second screen of the terminal. According to the scheme, under the condition that the first image acquired by the camera of the first screen is matched with the second image displayed by the second screen, the terminal can unlock at least one of the first screen and the second screen, so that automatic unlocking of the terminal can be realized, information (such as passwords, fingerprints or patterns and the like) for controlling the terminal to unlock the screen does not need to be manually input by a user, and therefore flexibility of unlocking the screen by the terminal is improved.
The terminal in the embodiment of the present invention may be a terminal having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
Taking an android operating system as an example, a software environment applied to the screen unlocking method provided by the embodiment of the invention is introduced.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the screen unlocking method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the screen unlocking method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal can implement the screen unlocking method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal in the embodiment of the invention can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
It should be noted that an execution main body of the screen unlocking method provided in the embodiment of the present invention may be a terminal, and may also be a functional module and/or a functional entity capable of implementing the screen unlocking method in the terminal, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The screen unlocking method provided by the embodiment of the invention will be exemplarily described below by taking the execution subject of the screen unlocking method as an example.
As shown in fig. 2, an embodiment of the present invention provides a screen unlocking method. The method may be applied to a terminal including a first screen and a second screen. The method may include steps 100-103 described below.
Step 100, the terminal acquires a first image acquired by a camera of a first screen.
Optionally, the terminal in the embodiment of the present invention may be a folding screen terminal. The folding screen terminal can comprise a first screen and a second screen, and a camera can be arranged on the first screen.
Illustratively, as shown in fig. 3 (a), the first screen 01 and the second screen 02 may be two separate screens, the first screen 01 and the second screen 02 are connected by a shaft 03 (or a hinge), and the first screen 01 is provided with a camera 04. As shown in (b) of fig. 3, the screen of the terminal may be a single screen (e.g., a flexible screen), and when a user performs a folding operation on the flexible screen, the flexible screen may be folded into two different screens (i.e., a first screen 01 and a second screen 02), and the first screen 01 is provided with a camera 04.
Further, in the embodiment of the present invention, in a case that the screen of the terminal is two independent screens, the first screen and the second screen may be any one of the following displays: liquid Crystal Display (LCD), Plasma Display (PDP), Thin Film Transistor (TFT) -LCD, Organic Light Emitting Diode (OLED) and active matrix (AM-OLED). The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Further, in the embodiment of the present invention, in a case that the screen of the terminal is a single screen (for example, a flexible screen), when the user performs a folding operation on the flexible screen, if a position or a direction at which the flexible screen is folded is different, the first screen and the second screen that are folded out of the flexible screen are different. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Further, in the embodiment of the present invention, a camera may be disposed on the second screen.
Optionally, in the embodiment of the present invention, when the camera of the first screen acquires the first image, the first screen may be in a screen locking state or an unlocking state. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Further, in the embodiment of the present invention, the screen locking state may be a screen locking and turning-on state or a screen turning-off state. The screen locking and lightening state means that after the screen of the terminal is locked, the backlight module of the terminal is in a lightening state, namely the terminal is in the screen locking and lightening state; the screen-off state refers to a state that the backlight module of the terminal is closed after the screen of the terminal is locked, that is, the terminal is in a state that the screen is locked and the backlight module is closed.
It should be noted that the screen in the embodiment of the present invention may include a display, a frame disposed around the display, and a camera disposed on the frame. For example, the first screen may include a display, a bezel, and a camera disposed on the bezel, and the second screen may include a display and a bezel. It is understood that the screen locking state and the screen unlocking state in the embodiment of the present invention both refer to the state of the display in the screen, and not the state of the border in the screen.
Step 101, the terminal judges whether the first image is matched with a second image displayed by a second screen.
For specific descriptions of the first screen and the second screen, reference may be made to the description of the first screen and the second screen in step 100 of the foregoing embodiment, and details are not repeated here.
In the embodiment of the invention, the terminal can judge whether the first image is matched with the second image displayed by the second screen. In the case that the first image matches the second image displayed on the second screen, the terminal may proceed to step 102 described below; in case the first image does not match the second image displayed by the second screen, the terminal may proceed to step 103 described below.
It should be noted that, in the embodiment of the present invention, the "matching" may be understood as that the similarity between two compared objects is greater than or equal to a numerical value. For example, when the similarity between the first image and the second image is greater than or equal to a preset value (for example, the preset value may be 90%), it may be determined that the first image matches the second image.
Optionally, in this embodiment of the present invention, the second image displayed on the second screen may be a preset image (for example, an image in a gallery of the terminal), or may be an image displayed on the second screen according to a track input by the user on the second screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
And 102, unlocking the target screen by the terminal.
Wherein the target screen may include at least one of a first screen and a second screen.
In the embodiment of the invention, the terminal can unlock the target screen under the condition that the first image is matched with the second image displayed by the second screen. For example, the terminal may unlock the first screen, or unlock the second screen, or unlock both the first screen and the second screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, before the terminal unlocks the target screen, the terminal may determine the target screen to be unlocked. Specifically, the terminal may determine the target screen in any one of the following manners:
in the first mode, the terminal can determine the target screen according to the screen state of the first screen and the screen state of the second screen. For example, in a case where the screen state of the first screen and the screen state of the second screen are both the screen-locked state, the terminal may determine that the target screen is the first screen and the second screen.
And in the second mode, the terminal can determine the target screen according to the included angle between the first screen and the second screen. For example, the terminal may determine a target screen (at least one of the first screen and the second screen) in a case where an angle between the first screen and the second screen belongs to a preset angle range.
And thirdly, the terminal can determine the target screen according to the preset of the user. For example, the user may designate the target screen as the first screen, or the second screen, or both the first screen and the second screen in advance.
It should be noted that, in the embodiment of the present invention, for a specific implementation manner of the first manner, step 106a and step 106b in the following embodiment are described, and details are not described here. For the specific implementation of the second mode, step 107a and step 107b in the following embodiments will be described, which are not repeated herein.
And 103, displaying prompt information by the terminal.
For example, in the case that the first image does not match the second image displayed on the second screen, the terminal may not unlock the first screen and/or the second screen in the screen-locked state, and display a prompt message "unlock failure, please unlock again".
It should be noted that, the step 103 is an optional implementation manner provided in the embodiment of the present invention, that is, in a case that the first image does not match the second image displayed on the second screen, the terminal may display a prompt message. It can be understood that, in the case that the first image does not match the second image displayed on the second screen, the terminal may not perform any operation, or the terminal may further retrieve the first image captured by the camera of the first screen and determine whether the first image matches the second image displayed on the second screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
The embodiment of the invention provides a screen unlocking method which can be applied to a terminal comprising a first screen and a second screen. Under the condition that a first image acquired by a camera of the first screen is matched with a second image displayed by the second screen, the terminal can unlock at least one of the first screen and the second screen, so that automatic unlocking of the terminal can be realized, and information (such as passwords, fingerprints or patterns and the like) for controlling the terminal to unlock the screen does not need to be manually input by a user, so that the flexibility of unlocking the screen by the terminal is improved.
Optionally, with reference to fig. 2, as shown in fig. 4, in the embodiment of the present invention, before step 100, the screen unlocking method provided in the embodiment of the present invention may further include step 104 described below.
And 104, the terminal acquires a second image and displays the second image on a second screen.
Optionally, in the embodiment of the present invention, when the terminal acquires the second image and displays the second image on the second screen, the second screen may be in a screen-locked and screen-lightened state, or in an unlocked state. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in an embodiment of the present invention, in a first possible implementation manner, when the second image is a preset image, the step 104 may be specifically implemented by the following step 104 a; in a second possible implementation manner, in the case that the second image is an image displayed on the second screen according to the track input of the user on the second screen, the step 104 can be implemented by the following steps 104b to 104 d.
For a first possible implementation:
and 104a, the terminal acquires a preset second image and displays the second image on a second screen.
It should be noted that, in the case that the second image is a preset image, the embodiment of the present invention does not specifically limit the pattern, the shape, the size, the color, the display area, and the like of the second image, and may specifically be determined according to the actual use requirement. For example, the second image may be a yellow five-pointed star, may be a black character "pi", may be a person image composed of a plurality of colors, or the like.
Optionally, in the embodiment of the present invention, when the second image is a preset image, the second image may be an image in a gallery of the terminal.
Exemplarily, fig. 5 is a schematic diagram of a terminal displaying a second image according to an embodiment of the present invention. Assuming that the first screen 01 and the second screen 02 of the terminal are two independent screens, and the camera 04 is disposed on the first screen 01, the terminal may obtain a second image 05 from a gallery of the terminal and display the second image 05 on the second screen 02, as shown in fig. 5. Then, the terminal may control the camera 04 to capture the second image 05 to obtain the first image, and unlock the target screen (i.e., at least one of the first screen 01 and the second screen 02) if the first image matches the second image 05.
It can be understood that, for the first possible implementation manner, since the second image may be a preset image, the terminal may directly display the second image on the second screen of the terminal without the need of the user to select an image or draw an image, thereby simplifying the operation steps of the user and improving the convenience of displaying the second image by the terminal. Furthermore, the terminal can directly display the second image on the second screen of the terminal, so that the terminal can obtain the first image according to the second image and match the second image with the first image to unlock the screen, and a user does not need to manually input information (such as a password, a fingerprint or a pattern and the like) for controlling the terminal to unlock the screen, thereby improving the flexibility of unlocking the screen by the terminal.
For a second possible implementation:
and 104b, receiving the track input of the user on the second screen by the terminal.
And 104c, responding to the track input by the terminal, and displaying a pattern generated by the track input on the second screen.
And 104d, generating a second image based on the pattern by the terminal and displaying the second image on the second screen.
Optionally, in the embodiment of the present invention, the terminal may display the second image on the second screen according to a preset color, or may display the second image on the second screen according to a color selected by the user. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, fig. 6 is a schematic diagram of another terminal displaying a second image according to an embodiment of the present invention. Assuming that the first screen 01 and the second screen 02 of the terminal are two separate screens and the camera 04 is disposed on the first screen 01, as shown in fig. 6, the user may perform a sliding operation on the second screen 02, and then the terminal may receive a trace input by the user on the second screen 02 (i.e., the user may draw a pattern on the second screen 02), and in response to the trace input, display a pattern generated by the trace input on the second screen 02, and based on the pattern, generate and display a second image 05 on the second screen 02. Then, the terminal may control the camera 04 to capture the second image 05 to obtain a first image, and unlock a target screen (i.e., at least one of the first screen 01 and the second screen 02) in a case where the first image matches the second image 05 displayed on the second screen 02.
It can be understood that, for the second possible implementation manner, the second image may be an image generated according to the trajectory input of the user, so that the user may trigger the terminal to generate different second images according to actual requirements, so that the diversity and flexibility of displaying the second image by the terminal may be improved, and the experience of the user may be improved. Furthermore, when the second image generated by the user triggering the terminal is different, the first image acquired by the terminal may be different, so that the diversity and flexibility of the terminal unlocking screen can be improved, and the security of the terminal unlocking screen can also be improved.
According to the screen unlocking method provided by the embodiment of the invention, the terminal can acquire the second image and display the second image on the second screen, so that the terminal can acquire the first image according to the second image and match the second image with the first image to unlock the screen, and the user does not need to manually input information (such as a password, a fingerprint or a pattern and the like) for controlling the terminal to unlock the screen, so that the flexibility of unlocking the screen by the terminal is improved.
Further, for the second possible implementation manner, before the step 104d, the screen unlocking method provided in the embodiment of the present invention may further include the following steps 104e and 104 f. In this case, the step 101 may be specifically a step 101a and a step 101b described below.
And step 104e, the terminal acquires the first biological characteristic information of the user.
And step 104f, under the condition that the first biological characteristic information is matched with the preset biological characteristic information, the terminal updates the pattern to be in a preset color.
Optionally, in this embodiment of the present invention, the first biometric information may be at least one of facial feature information, iris feature information, retina feature information, fingerprint feature information, hand shape feature information, and the like of the user. Correspondingly, in the embodiment of the invention, the terminal can acquire the target biological characteristic information of the user through a biological characteristic identification technology. The biometric technology in the embodiment of the present invention may be at least one of a facial recognition technology, an iris recognition technology, a retina recognition technology, a fingerprint recognition technology, a palm geometry recognition technology, and the like.
For example, the description will be given taking biometric information as facial feature information. The specific way for the terminal to obtain the biometric information of the user may be: the terminal can take a picture through the camera on the first screen. If the user is located within the shooting range of the camera, the terminal can shoot pictures through the camera, detects the portrait of the user from at least one shot picture, and separates the portrait of the user from the background. Then, the terminal may obtain facial feature information of the user from the separated portrait according to a preset facial recognition algorithm, determine whether the facial feature information matches with preset facial feature information, and update the pattern to a preset color by the terminal in a case that the facial feature information matches with the preset facial feature information.
Step 101a, the terminal judges whether the object characteristics of the first object and the object characteristics of the second object are matched.
And step 101b, under the condition that the object characteristics of the first object are matched with the object characteristics of the second object, the terminal judges whether the color of the first object and the color of the second object are both preset colors.
Wherein the object feature may include at least one of: shape, area, and feature points.
For specific descriptions of the shape, the area and the feature point, reference may be made to the description of the shape, the area and the feature point in step 101c of the following embodiments, which is not repeated herein. In this embodiment of the present invention, the terminal may determine whether the object feature of the first object and the object feature of the second object match (e.g., determine whether the shape of the first object and the shape of the second object match, or determine whether the feature point of the first object and the feature point of the second object match). In the case that the object feature of the first object and the object feature of the second object match, the terminal may determine whether the color of the first object and the color of the second object are both preset colors. Therefore, the terminal can unlock the target screen under the condition that the object characteristics of the first object are matched with the object characteristics of the second object, and the color of the first object and the color of the second object are both preset colors.
It should be noted that, in the embodiment of the present invention, the terminal performs step 101a first and then performs step 101b for exemplary illustration, which does not limit the embodiment of the present invention at all. It can be understood that, in actual implementation, the terminal may also perform step 101b first and then perform step 101a (i.e., the terminal determines whether the color of the first object and the color of the second object are both the preset colors, and then determines whether the object feature of the first object and the object feature of the second object are matched); alternatively, the terminal may also perform step 101a and step 101b at the same time (i.e., the terminal determines whether the color of the first object and the color of the second object are both the preset colors and whether the object feature of the first object and the object feature of the second object match at the same time).
According to the screen unlocking method provided by the embodiment of the invention, under the condition that the acquired first biological characteristic information is matched with the preset biological characteristic information, the terminal can update the pattern generated according to the track input into the preset color (namely, the terminal can display the second image according to the preset color), so that the terminal can unlock the target screen under the condition that the object characteristics of the first object are matched with the object characteristics of the second object and the color of the first object and the color of the second object are both the preset colors, and therefore, the safety of the terminal in unlocking the target screen is improved.
Optionally, with reference to fig. 2, as shown in fig. 7, in the embodiment of the present invention, before the step 100, the screen unlocking method provided in the embodiment of the present invention may further include the following step 105a and step 105 b.
And 105a, the terminal detects the size of an included angle between the first screen and the second screen.
And 105b, under the condition that the detected included angle is within the preset included angle range, the terminal controls the camera of the first screen to acquire a first image.
It should be noted that, in the embodiment of the present invention, when the terminal controls the camera of the first screen to acquire the first image, the camera of the first screen may be in an open state or in a closed state. For example, if the camera of the first screen is in an on state, the terminal may directly control the camera of the first screen to acquire the first image; if the camera of the first screen is in a closed state, the terminal can start the camera of the first screen and control the camera of the first screen to acquire a first image. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
For example, in the case that the screen of the terminal is two independent screens, or the screen of the terminal is one screen, the user may perform a folding operation on the screens to change an included angle between the first screen and the second screen. Under the condition that the included angle detected by the terminal is within a preset included angle range (for example, the preset included angle range can be 30-180 degrees, 100-130 degrees or 50-80 degrees), the terminal can control the camera of the first screen to acquire a first image; and under the condition that the included angle detected by the terminal is within the range of the preset included angle, the terminal can acquire images without controlling a camera of the first screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
According to the screen unlocking method provided by the embodiment of the invention, the size of the included angle between the first screen and the second screen can be obtained, and the terminal controls the camera of the first screen to acquire the first image under the condition that the included angle is within the range of the preset included angle, so that the time for opening the camera by the terminal can be controlled by setting the preset included angle, and the camera of the first screen is controlled to acquire the first image under the condition that the included angle between the first screen and the second screen is in any size, so that the power consumption of the terminal can be reduced, and the unlocking safety of the terminal can be improved.
Optionally, with reference to fig. 2, as shown in fig. 8, in the embodiment of the present invention, before the step 102, the screen unlocking method provided in the embodiment of the present invention may further include the following step 106a and step 106 b.
And 106a, the terminal acquires the screen state of the first screen and the screen state of the second screen.
And 106b, the terminal determines a target screen according to the screen state of the first screen and the screen state of the second screen.
The screen state may include a screen lock state and an unlock state.
For specific description of the target screen, reference may be made to the related description of the target screen in step 102 of the foregoing embodiment, and details are not described here again.
For example, in the case that the screen state of the first screen and the screen state of the second screen are both the screen-locking state, the terminal may determine that the target screen is the first screen and the second screen; under the condition that the screen state of the first screen is the screen locking state and the screen state of the second screen is the unlocking state, the terminal can determine that the target screen is the first screen; under the condition that the screen state of the second screen is the screen locking state and the screen state of the first screen is the unlocking state, the terminal can determine that the target screen is the second screen.
According to the screen unlocking method provided by the embodiment of the invention, the target screen can be determined according to the screen state of the first screen and the screen state of the second screen by acquiring the screen state of the first screen and the screen state of the second screen. Therefore, when the screen state of the first screen is different from the screen state of the second screen, the target screen determined by the terminal is different, and the mode of unlocking the screen by the terminal is different, so that the diversity of unlocking the screen by the terminal can be improved, and the safety of unlocking the screen by the terminal can also be improved.
Optionally, with reference to fig. 2, as shown in fig. 9, in the embodiment of the present invention, before the step 102, the screen unlocking method provided in the embodiment of the present invention may further include the following step 107a and step 107 b.
Step 107a, the terminal acquires a first included angle between the first screen and the second screen.
And step 107b, the terminal determines the target screen according to the included angle range to which the first included angle belongs.
Optionally, in the embodiment of the present invention, an included angle between the first screen and the second screen may be adjustable.
For example, in the case that the included angle range to which the first included angle belongs is a first target included angle range, the terminal may determine that the target screen is a first screen and a second screen; under the condition that the included angle range to which the first included angle belongs is a second target included angle range, the terminal can determine that the target screen is the first screen; and under the condition that the included angle range to which the first included angle belongs is a third target included angle range, the terminal can determine that the target screen is the second screen. The first target included angle range, the second target included angle range, and the third target included angle range may be different included angle ranges (for example, the first included angle range may be 120 ° to 180 °, the second included angle range may be 60 ° to 90 °, and the third included angle range may be 90 ° to 120 °).
According to the screen unlocking method provided by the embodiment of the invention, the target screen can be determined according to the included angle range of the included angle by acquiring the included angle between the first screen and the second screen. Therefore, when the included angle ranges of the included angles of the first screen and the second screen are different, the target screens determined by the terminal are different, and the screen unlocking mode of the terminal is different, so that the diversity of the screen unlocking of the terminal can be improved, and the experience of a user can be improved.
Optionally, in the embodiment of the present invention, before the step 101, the screen unlocking method provided in the embodiment of the present invention may further include the following step 108a and step 108 b. In this case, step 101 can be specifically realized by step 101c described below.
And 108a, the terminal acquires the object characteristics of the first object in the first image.
Wherein the object characteristics of the first object may comprise at least one of: shape, color, area, and feature points.
And 108b, the terminal acquires the object characteristics of the second object in the second image.
Wherein the object characteristics of the second object may comprise at least one of: shape, color, area, and feature points.
Step 101c, the terminal determines whether the object feature of the first object and the object feature of the second object match.
In the embodiment of the invention, the terminal can judge whether the object characteristics of the first object are matched with the object characteristics of the second object. In case the object feature of the first object and the object feature of the second object match, the terminal may perform step 102 described above (i.e., in case the object feature of the first object and the object feature of the second object match, the terminal may unlock the target screen); in case the object feature of the first image and the object feature of the second object do not match, the terminal may perform step 103 described above (i.e., in case the object feature of the first image and the object feature of the second object do not match, the terminal may display a prompt message).
For example, in the case where the object feature is a color, the terminal may acquire the color of the first object in the first image and acquire the color of the second object in the second image. If the color of the first object is yellow and the color of the second object is yellow, the terminal may determine that the color of the first object and the color of the second object match and unlock the target screen.
For example, in the case where the object features are an area and a color, the terminal may determine whether the color of the first image and the color of the second image match; in the case where it is determined that the color of the first image and the color of the second image match, the terminal may determine a first region having the first color in the first image and a second region having the first color in the second image; thereafter, the terminal may acquire the area of the first region and the area of the second region. If the area of the first region and the area of the second region are equal, the terminal may determine that the area of the first region and the area of the second region match and unlock the target screen.
For example, in the case that the object feature is a shape, the terminal may perform edge detection on a first object in the first image to determine an edge point of the first object, and perform edge detection on a second object in the second image to determine an edge point of the second object; then, the terminal may perform distance transformation on the edge point of the first object to obtain a distance mapping image of the first object, and perform distance transformation on the edge point of the second object to obtain a distance mapping image of the second object; if the target distance of the distance map image of the first object and the target distance of the distance map image of the second object are less than or equal to a preset threshold, the terminal may determine that the shape of the first object and the shape of the second object match and unlock the target screen.
For example, in the case where the object feature is a feature point, the terminal may acquire at least one feature point (referred to as a first feature point) of a first object in the first image and at least one feature point (referred to as a second feature point) of a second object in the second image. Then, the terminal may determine the position of the first object in the first image according to the first feature point and determine the position of the second object in the second image according to the second feature point. If the position of the first object in the first image corresponds to the position of the second object in the second image, the terminal may determine that the feature point of the first object matches the feature point of the second object and unlock the target screen.
The screen unlocking method provided by the embodiment of the invention can acquire the object characteristics of the first object in the first image and the object characteristics of the second object in the second image, and unlock the target screen under the condition that the object characteristics of the first object and the object characteristics of the second object are matched, so that the accuracy and flexibility of unlocking the screen by the terminal can be improved.
Optionally, in the embodiment of the present invention, before the step 100, the screen unlocking method provided in the embodiment of the present invention may further include the following step 109a and step 109 b.
And step 109a, under the condition that the second screen is in the screen-off state, the terminal receives a first input of a user.
Step 109b, the terminal responds to the first input and lights up the second screen.
The first input may be used to trigger the terminal to light a second screen of the terminal.
For specific description of the screen-off state, reference may be made to the description of the screen-off state in the foregoing embodiments, and details are not described here.
Optionally, in an embodiment of the present invention, the first input may be a key input. For example, the key input may be a single-click input, a double-click input, a long-press input, or a combined key input of a terminal key (e.g., a volume key, a power key, a host key, or the like) by a user, which may be determined according to actual usage requirements, and the embodiment of the present invention is not limited.
According to the screen unlocking method provided by the embodiment of the invention, the terminal can respond to the received first input of the user and light the second screen of the terminal, so that the terminal can display the second image on the second screen, or the terminal can respond to the track input of the user and display the second image on the second screen and further unlock the target screen (namely at least one of the first screen and the second screen), thereby improving the flexibility of the terminal in unlocking the screen.
As shown in fig. 10, an embodiment of the invention provides a terminal 1000. The terminal may include a first screen and a second screen. The terminal may include an acquisition module 1001 and an unlocking module 1002. The acquiring module 1001 is used for acquiring a first image acquired by a camera of a first screen; an unlocking module 1002, configured to unlock the target screen when the first image acquired by the acquiring module 1001 is matched with a second image displayed on the second screen; wherein the target screen may include at least one of the first screen and the second screen.
Optionally, with reference to fig. 10, as shown in fig. 11, the terminal provided in the embodiment of the present invention may further include a display module 1003. The obtaining module 1001 is further configured to obtain a second image before obtaining a first image collected by a camera of the first screen; a display module 1003, configured to display the second image acquired by the acquisition module 1001 on a second screen.
Optionally, in the embodiment of the present invention, the obtaining module 1001 is specifically configured to obtain a preset second image; the display module 1003 is specifically configured to display the preset second image acquired by the acquisition module 1001 on the second screen.
Optionally, in this embodiment of the present invention, the obtaining module 1001 is specifically configured to receive a track input of a user on the second screen. A display module 1003, specifically configured to display, in response to the track input acquired by the acquisition module 1001, a pattern generated by the track input on the second screen; and generating and displaying a second image on the second screen based on the pattern.
Optionally, in this embodiment of the present invention, the obtaining module 1001 is further configured to obtain first biometric information of the user before the displaying module 1003 generates a second image based on the pattern and displays the second image on the second screen; the display module 1003 is further configured to update the pattern to a preset color if the first biometric information acquired by the acquisition module 1001 matches preset biometric information; the unlocking module 1002 is specifically configured to unlock the target screen when the object feature of the first object matches the object feature of the second object, and the color of the first object and the color of the second object are both the preset colors. Wherein the object features may comprise at least one of: shape, area, and feature points.
Optionally, with reference to fig. 10, as shown in fig. 12, the terminal provided in the embodiment of the present invention may further include a detection module 1004 and a control module 1005. The detection module 1004 is configured to detect an included angle between the first screen and the second screen before the acquisition module 1001 acquires the first image acquired by the camera of the first screen; the control module 1005 is configured to control the camera of the first screen to acquire the first image when the included angle detected by the detection module 1004 is within the preset included angle range.
Optionally, with reference to fig. 10, as shown in fig. 13, the terminal provided in the embodiment of the present invention may further include a determining module 1006. The obtaining module 1001 is further configured to obtain a screen state of the first screen and a screen state of the second screen before the unlocking module 1002 unlocks the target screen; a determining module 1006, configured to determine the target screen according to the screen state of the first screen and the screen state of the second screen acquired by the acquiring module 1001. Wherein the screen state comprises a screen locking state and an unlocking state.
Optionally, the terminal provided in the embodiment of the present invention may further include a determining module 1006. The obtaining module 1001 is further configured to obtain a first included angle between the first screen and the second screen before the unlocking module 1002 unlocks the target screen; the determining module 1006 is configured to determine the target screen according to the included angle range to which the first included angle acquired by the acquiring module 1001 belongs.
Optionally, in the embodiment of the present invention, the obtaining module 1001 is further configured to obtain an object feature of the first object in the first image before the unlocking module 1002 unlocks the target screen; and acquiring an object feature of the second object in the second image. The unlocking module 1002 is specifically configured to unlock the target screen when the object feature of the first object and the object feature of the second object, which are acquired by the acquiring module 1001, match each other. Wherein the object characteristics include at least one of: shape, color, area, and feature points.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides a terminal, which can unlock at least one of a first screen and a second screen under the condition that a first image acquired by a camera of the first screen is matched with a second image displayed by the second screen, so that automatic unlocking of the terminal can be realized, and a user does not need to manually input information (such as passwords, fingerprints or patterns and the like) for controlling the terminal to unlock a screen, thereby improving the flexibility of unlocking the screen by the terminal.
Fig. 14 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention. As shown in fig. 14, the terminal 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. Those skilled in the art will appreciate that the terminal configuration shown in fig. 14 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Among them, the terminal 200 may include a first screen and a second screen. The input unit 204 is used for acquiring a first image acquired by a camera of a first screen; and a processor 210 for unlocking the target screen in case that the first image acquired by the input unit 204 matches with the second image displayed by the second screen. Wherein the target screen includes at least one of the first screen and the second screen.
The embodiment of the invention provides a terminal, which can unlock at least one of a first screen and a second screen under the condition that a first image acquired by a camera of the first screen is matched with a second image displayed by the second screen, so that automatic unlocking of the terminal can be realized, and a user does not need to manually input information (such as passwords, fingerprints or patterns and the like) for controlling the terminal to unlock a screen, thereby improving the flexibility of unlocking the screen by the terminal.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The terminal provides the user with wireless broadband internet access via the network module 202, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input Unit 204 may include a Graphics Processing Unit (GPU) 2041 and a microphone 2042, and the Graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode.
The terminal 200 also includes at least one sensor 205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 2061 and/or the backlight when the terminal 200 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The Display unit 206 may include a Display panel 2061, and the Display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 14, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the terminal, which is not limited herein.
The interface unit 208 is an interface for connecting an external device to the terminal 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 200 or may be used to transmit data between the terminal 200 and an external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the terminal. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The terminal 200 may further include a power source 211 (such as a battery) for supplying power to various components, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 200 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides a terminal, which includes a processor 210 as shown in fig. 14, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the computer program implements each process of the foregoing method embodiment, which can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A screen unlocking method is applied to a terminal comprising a first screen and a second screen, and is characterized by comprising the following steps:
acquiring a first image acquired by a camera of a first screen;
under the condition that the first image is matched with a second image displayed by a second screen, unlocking the target screen;
wherein the target screen comprises at least one of the first screen and the second screen;
before the acquiring the first image acquired by the camera of the first screen, the method further includes:
acquiring a second image, and displaying the second image on a second screen;
detecting the size of an included angle between the first screen and the second screen;
controlling a camera of the first screen to acquire a second image on the second screen under the condition that the detected included angle is within a preset included angle range;
the second image is a preset image, or the second image is an image generated according to the track input of the user.
2. The method of claim 1, wherein the acquiring a second image and displaying the second image on a second screen comprises:
and acquiring a preset second image, and displaying the second image on a second screen.
3. The method of claim 1, wherein the acquiring a second image and displaying the second image on a second screen comprises:
receiving track input of a user on a second screen;
displaying a pattern generated by the trace input on the second screen in response to the trace input;
based on the pattern, a second image is generated and displayed on the second screen.
4. The method of claim 3, wherein prior to generating and displaying a second image on the second screen based on the pattern, the method further comprises:
acquiring first biological characteristic information of the user;
under the condition that the first biological characteristic information is matched with preset biological characteristic information, updating the pattern to be a preset color;
the unlocking the target screen under the condition that the first image is matched with a second image displayed by a second screen, comprising the following steps:
unlocking a target screen under the condition that the object features of a first object in the first image are matched with the object features of a second object in the second image, and the color of the first object and the color of the second object are both the preset colors;
wherein the object features comprise at least one of: shape, area, and feature points.
5. The method of claim 1, wherein prior to unlocking the target screen, the method further comprises:
acquiring a screen state of a first screen and a screen state of a second screen;
determining a target screen according to the screen state of the first screen and the screen state of the second screen;
wherein the screen state comprises a screen locking state and an unlocking state.
6. The method of claim 1, wherein prior to unlocking the target screen, the method further comprises:
acquiring a first included angle between a first screen and a second screen;
and determining a target screen according to the included angle range to which the first included angle belongs.
7. The method of claim 1, wherein before unlocking the target screen if the first image matches a second image displayed on a second screen, the method further comprises:
acquiring object characteristics of a first object in the first image;
acquiring object characteristics of a second object in a second image;
the unlocking the target screen under the condition that the first image is matched with a second image displayed by a second screen, comprising the following steps:
unlocking a target screen if the object features of the first object and the second object match;
wherein the object features comprise at least one of: shape, color, area, and feature points.
8. A terminal is characterized by comprising a first screen and a second screen, wherein the terminal comprises an acquisition module, a display module, a detection module, a control module and an unlocking module;
the acquisition module is used for acquiring a first image acquired by a camera of a first screen;
the unlocking module is used for unlocking the target screen under the condition that the first image acquired by the acquisition module is matched with a second image displayed by a second screen;
wherein the target screen comprises at least one of the first screen and the second screen;
the acquisition module is further used for acquiring a second image before acquiring the first image acquired by the camera of the first screen;
the display module is used for displaying the second image acquired by the acquisition module on a second screen;
the detection module is used for detecting the size of an included angle between the first screen and the second screen before the acquisition module acquires the first image acquired by the camera of the first screen;
the control module is used for controlling the camera of the first screen to acquire the second image on the second screen under the condition that the included angle detected by the detection module is within a preset included angle range;
the second image is a preset image, or the second image is an image generated according to the track input of the user.
9. The terminal of claim 8,
the acquisition module is specifically used for acquiring a preset second image;
the display module is specifically configured to display the preset second image acquired by the acquisition module on a second screen.
10. The terminal of claim 8,
the acquisition module is specifically used for receiving the track input of a user on a second screen;
the display module is specifically configured to display, on the second screen, a pattern generated by the trajectory input in response to the trajectory input acquired by the acquisition module; and generating and displaying a second image on the second screen based on the pattern.
11. The terminal of claim 10,
the acquisition module is further used for acquiring first biological characteristic information of the user before the display module generates a second image based on the pattern and displays the second image on the second screen;
the display module is further configured to update the pattern to a preset color when the first biometric information acquired by the acquisition module matches preset biometric information;
the unlocking module is specifically configured to unlock the target screen when an object feature of a first object in the first image matches an object feature of a second object in the second image, and a color of the first object and a color of the second object are both the preset colors, where the object feature includes at least one of: shape, area, and feature points.
12. The terminal of claim 8, further comprising a determination module;
the obtaining module is further used for obtaining the screen state of the first screen and the screen state of the second screen before the target screen is unlocked by the unlocking module;
the determining module is used for determining a target screen according to the screen state of the first screen and the screen state of the second screen acquired by the acquiring module;
wherein the screen state comprises a screen locking state and an unlocking state.
13. The terminal of claim 8, further comprising a determination module;
the acquisition module is further used for acquiring a first included angle between the first screen and the second screen before the target screen is unlocked by the unlocking module;
the determining module is used for determining a target screen according to the included angle range to which the first included angle acquired by the acquiring module belongs.
14. The terminal of claim 8,
the obtaining module is further configured to obtain an object feature of a first object in the first image before the unlocking module unlocks the target screen; and acquiring an object feature of a second object in the second image;
the unlocking module is specifically used for unlocking the target screen under the condition that the object characteristics of the first object and the object characteristics of the second object which are acquired by the acquisition module are matched;
wherein the object features comprise at least one of: shape, color, area, and feature points.
15. A terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the screen unlocking method according to any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the screen unlocking method according to any one of claims 1 to 7.
CN201810758502.9A 2018-07-11 2018-07-11 Screen unlocking method and terminal Active CN109190356B (en)

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 CN109190356A (en) 2019-01-11
CN109190356B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
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
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
CN116346976A (en) * 2021-12-22 2023-06-27 华为技术有限公司 Multi-screen unlocking method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8594374B1 (en) * 2011-03-30 2013-11-26 Amazon Technologies, Inc. Secure device unlock with gaze calibration
CN106326713B (en) * 2016-08-31 2019-03-05 维沃移动通信有限公司 A kind of unlocking method and mobile terminal of mobile terminal screen
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

Also Published As

Publication number Publication date
CN109190356A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109190356B (en) Screen unlocking method and terminal
CN107742072B (en) Face recognition method and mobile terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN110769155B (en) Camera control method and electronic equipment
CN108595946B (en) Privacy protection method and terminal
CN111339515A (en) Application program starting method and electronic equipment
CN109257505B (en) Screen control method and mobile terminal
CN108848256B (en) Key control method of double-screen terminal and double-screen terminal
CN110730298A (en) Display control method and electronic equipment
CN107657163B (en) Application program starting method and mobile terminal
CN111031234B (en) Image processing method and electronic equipment
CN111163260A (en) Camera starting method and electronic equipment
CN111031221B (en) Shooting method and electronic equipment
CN110866465A (en) Control method of electronic equipment and electronic equipment
US20220345631A1 (en) Shooting method and electronic device
CN110232266B (en) Screen unlocking method and terminal equipment
CN109859718B (en) Screen brightness adjusting method and terminal equipment
EP3816768A1 (en) Object recognition method and mobile terminal
CN111078002A (en) Suspended gesture recognition method and terminal equipment
CN109359460B (en) Face recognition method and terminal equipment
CN111142772A (en) Content display method and wearable device
CN111273831A (en) Method for controlling electronic equipment and electronic equipment
CN109815667B (en) Display method and terminal equipment
CN109446765B (en) Screen unlocking method and terminal equipment
CN111176522B (en) Unlocking method and electronic equipment

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