CN108762606B - Screen unlocking method and terminal equipment - Google Patents

Screen unlocking method and terminal equipment Download PDF

Info

Publication number
CN108762606B
CN108762606B CN201810385103.2A CN201810385103A CN108762606B CN 108762606 B CN108762606 B CN 108762606B CN 201810385103 A CN201810385103 A CN 201810385103A CN 108762606 B CN108762606 B CN 108762606B
Authority
CN
China
Prior art keywords
unlocking
screen locking
user
screen
pattern
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
CN201810385103.2A
Other languages
Chinese (zh)
Other versions
CN108762606A (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 CN201810385103.2A priority Critical patent/CN108762606B/en
Publication of CN108762606A publication Critical patent/CN108762606A/en
Application granted granted Critical
Publication of CN108762606B publication Critical patent/CN108762606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a screen unlocking method and terminal equipment, which are applied to the technical field of communication and are used for solving the problem of poor safety of the conventional screen locking mode. The method comprises the following steps: receiving a first operation of a user; responding to a first operation, and displaying a first pattern on a first position of the screen locking interface; receiving a second operation of the user on at least one target position of the screen locking interface; responding to the second operation, and unlocking the screen locking interface under the condition that at least one target position is matched with a preset unlocking position; the preset unlocking position is associated with a screen locking pattern or a first position displayed on a screen locking interface.

Description

Screen unlocking method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a screen unlocking method and terminal equipment.
Background
With the gradual increase of hardware configuration and expansion of functions of terminal devices (e.g., mobile phones), the terminal devices have become indispensable in daily life, and a large number of users are more accustomed to directly storing information on the terminal devices. At this time, security of information stored in the mobile terminal also becomes important. In order to ensure the security of information on the terminal device, a user usually sets a screen password on the terminal device, and when the user uses the terminal device, the user needs to input the password to unlock the terminal device.
In the prior art, screen unlocking modes are generally sliding unlocking, pattern unlocking or digital password unlocking and the like. However, because the screen unlocking modes are single, the unlocking area in the screen locking interface of the terminal device cannot be changed, when an illegal user of the terminal device obtains the terminal device, the unlocking area can be easily determined from the screen locking interface, the password can be cracked through multiple attempts, and the security is poor.
Disclosure of Invention
The embodiment of the invention provides a screen unlocking method and terminal equipment, which are used for solving the problem of poor safety of the conventional screen locking mode.
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 includes:
receiving a first operation of a user;
displaying a first pattern on a first position of a screen locking interface in response to the first operation;
receiving a second operation of the user on at least one target position of the screen locking interface;
responding to the second operation, and unlocking the screen locking interface under the condition that the at least one target position is matched with a preset unlocking position;
the preset unlocking position is associated with a screen locking pattern displayed on the screen locking interface or the first position.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
the receiving module is used for receiving a first operation of a user;
the display module is used for responding to the first operation received by the receiving module and displaying a first pattern on a first position of a screen locking interface;
the receiving module is used for receiving a second operation of the user on at least one target position of the screen locking interface;
the unlocking module is used for responding to the second operation received by the receiving module and unlocking the screen locking interface under the condition that the at least one target position is matched with a preset unlocking position;
the preset unlocking position is associated with a screen locking pattern displayed on the screen locking interface or the first position.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the computer program implements the steps of the screen unlocking method according to 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, which, when executed by a processor, implements the steps of the screen unlocking method according to the first aspect.
In the embodiment of the invention, after receiving a first operation, the terminal device displays a first pattern on a first position of a screen locking interface, then receives a second operation of a user on at least one target position of the screen locking interface, and unlocks the screen locking interface under the condition that the at least one target position is matched with a preset unlocking position. The preset unlocking position is related to the first position or the screen locking pattern displayed on the screen locking interface, so that when the terminal equipment changes the screen locking pattern displayed on the screen locking interface or changes the display position of the first pattern on the screen locking interface, the preset unlocking position can be changed accordingly, the difficulty of an illegal user in cracking the unlocking position from the screen locking interface is increased, and the safety of screen unlocking is improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method of a screen unlocking method according to an embodiment of the present invention;
fig. 3 is one of schematic diagrams of an interface applied by a screen unlocking method according to an embodiment of the present invention;
fig. 4 is a second flowchart of a method for unlocking a screen according to an embodiment of the present invention;
fig. 5 is a third schematic flow chart of a method for unlocking a screen according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of an interface applied by the screen unlocking method according to the embodiment of the present invention;
fig. 7 is a third schematic diagram of an interface applied by a screen unlocking method according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a second schematic structural diagram of a terminal device 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.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. 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.
The "position" mentioned in the embodiment of the present invention may be a point, or may be a region, and the size, area, shape, and the like of the region are not limited in this invention. For example, the first position of the lock screen interface may be a point on the lock screen interface or an area on the lock screen interface.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution main body of the screen unlocking method provided by the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the screen unlocking method in the terminal device, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. The following takes a terminal device as an example to exemplarily explain a screen unlocking method provided by the embodiment of the present invention.
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.
The following describes a software environment applied to the screen unlocking method provided by the embodiment of the invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible 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 an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, L inux 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 the android operating system and belongs to the lowest layer of a software layer of the android operating system, and the kernel layer provides core system services and hardware-related drivers for the android operating system based on L inux kernels.
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 device can implement the screen unlocking method provided by the embodiment of the invention by running the software program in the android operating system.
The screen unlocking method according to the embodiment of the present invention is described below with reference to a method flowchart of the screen unlocking method shown in fig. 2, where fig. 2 is a schematic flowchart of a screen unlocking method provided in the embodiment of the present invention, and the method flowchart includes steps S201 to S204:
s201, the terminal equipment receives a first operation of a user.
In the embodiment of the invention, the first operation is used for triggering the terminal device to display the first pattern at the first position of the screen locking interface.
In the embodiment of the present invention, the screen locking interface is an interface displayed on a screen of the terminal device when the terminal device is in the screen locking state.
Optionally, in the embodiment of the present invention, the first operation input by the user may specifically be: the method comprises the steps that clicking operation of a user on the screen locking interface, pressing operation of the user on the screen locking interface, specific gestures of the user on a first position of the screen locking interface, or operation of the user in drawing a pattern on the first position of the screen locking interface.
The clicking operation can be a single-click operation, a double-click operation or a continuous clicking operation for a preset number of times. The specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, a double-press gesture, and a double-click gesture.
S202, responding to the first operation, and displaying a first pattern on a first position of a screen locking interface by the terminal equipment.
In the embodiment of the present invention, the shape of the first pattern may be any possible shape such as a circle, a rectangle, a triangle, a diamond, a circle, or a polygon, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the terminal device can display a first pattern in a superposition mode at a first position of the screen locking interface.
Optionally, in the embodiment of the present invention, the first pattern may be displayed in the lock screen interface in a superimposed manner with a preset transparency, for example, if the preset transparency is T1, a value range of T1 may be 0% < T1< 100%. In addition, the first pattern can be displayed on the screen locking interface in high brightness or low brightness.
Further optionally, in the embodiment of the present invention, the first pattern may randomly appear at any position on the screen locking interface when the user has not unlocked the screen, and move around as a bubble.
S203, the terminal equipment receives a second operation of the user on at least one target position of the screen locking interface.
In an embodiment of the present invention, the first position is different from the target position.
Optionally, in the embodiment of the present invention, the second operation input by the user may specifically be: the method comprises the following steps that clicking operation of a user on a target position of a lock screen interface, pressing operation of the user on the target position of the lock screen interface, specific gestures of the user on the target position of the lock screen interface, or drawing of a pattern on the target position of the lock screen interface by the user. The above-mentioned clicking operation and the specific gesture may refer to the above description, and are not described herein again.
And S204, responding to the second operation, and unlocking the screen locking interface under the condition that the at least one target position is matched with the preset unlocking position by the terminal equipment.
In the embodiment of the present invention, the preset unlocking position may be associated with a lock screen pattern displayed on the lock screen interface, or may be associated with a display position (first position) of the first pattern.
In the embodiment of the present invention, the preset unlocking position is associated with the first position, that is, a corresponding relationship between the preset unlocking position and the first position is stored in the terminal device, or a preset policy for setting the preset unlocking position based on the first position is set.
In the embodiment of the present invention, the preset unlocking position is associated with a screen locking pattern displayed on a screen locking interface, that is, the preset unlocking position in the embodiment of the present invention may change with the difference of the screen locking pattern displayed on the screen locking interface. For example, the lock screen pattern in the lock screen interface may be customized in the background by the user, for example, any pattern that the user wants to unlock, such as a cartoon, a landscape, a self-portrait image, and the like, and the content of the pattern is not limited by the present invention.
Optionally, in the embodiment of the present invention, when the user sets the preset unlocking position, an impressive position of the user may be selected as the preset unlocking position according to image features in the specific lock screen pattern, so that the preset unlocking position selected by the user has personalized characteristics of the user, and an illegal user cannot easily acquire the preset unlocking position.
Optionally, in an embodiment of the present invention, the preset unlocking positions include N preset unlocking positions, and in a scenario where the N preset unlocking positions are associated with the screen locking pattern:
if the at least one target location comprises: the first target position and the second target position, and the second operation is a sliding operation in which the user slides from the first target position to the second target position, then the step S204 specifically includes the following steps:
step a1, the terminal device obtains the sliding track of the sliding operation.
And step A2, the terminal equipment unlocks the screen locking interface under the condition that the sliding track sequentially passes through the N preset unlocking positions.
Further optionally, in the embodiment of the present invention, when the user slides on the lock screen interface, the first pattern moves simultaneously with the sliding operation of the user, and when the sliding operation passes through the preset unlocking position, the first pattern or the pattern at the preset unlocking position is highlighted to prompt the user that the unlocking is correct.
Optionally, in an embodiment of the present invention, the preset unlocking positions include N preset unlocking positions, and in a scenario where the N preset unlocking positions are associated with the screen locking pattern:
when the at least one target position includes N target positions, and the second operation is a touch operation performed by the user at the N target positions (for example, the touch operation may be a touch operation performed by the user at the N target positions in sequence), the step S204 specifically includes the following steps:
and step B, the terminal equipment unlocks the screen locking interface under the condition that the N target positions are matched with the N preset unlocking positions.
In an embodiment of the present invention, the touch operation may specifically be: the method comprises the steps of clicking operation of a user on a lock screen interface, pressing operation of the user on the lock screen interface and the like. The clicking operation can be a single-click operation, a double-click operation or a continuous clicking operation for a preset number of times.
In an embodiment of the present invention, the matching of the N target positions and the N preset unlocking positions means that the N target positions are the same as the N preset unlocking positions, for example, assuming that the preset unlocking positions are a position a, a position B, and a position C on the lock screen interface, only the positions where the second operation is the three-time touch operation of the user on the lock screen interface are respectively: and the screen locking interface is unlocked only at the position A, the position B and the position C.
In the embodiment of the present invention, the matching between the N target positions and the N preset unlocking positions means that the arrangement sequence of the N target positions is the same as the arrangement sequence of the N preset unlocking positions, for example, it is assumed that the preset unlocking positions are position a, position B, and position C on the lock screen interface, and the arrangement sequence of the positions is position a, position B, and position C, so that only when the first operation is three times of continuous clicking operations of the user on the lock screen interface, the positions respectively corresponding to the first operation are: and the terminal equipment can unlock the screen only at the position A, the position B and the position C.
Further optionally, in the embodiment of the present invention, when the user touches the lock screen interface, the first pattern moves along with the touch operation of the user, and when the touch operation is the same as the preset unlock position, the first pattern or the pattern at the preset unlock position is highlighted to prompt the user that the unlock operation is correct.
For example, assuming that a screen locking pattern displayed in a screen locking interface of a terminal device is a mickey mouse pattern, and a first control on the screen locking interface is exemplified by a circle, if an unlocking start position in preset unlocking positions is a left ear of the mickey mouse, as shown in (a) in fig. 3, when a user clicks the left ear of a person, the circle moving around in the screen locking interface is automatically positioned to the left ear of the mickey; if the user clicks on the left ear of a Mickey mouse, the circle will not respond and the user will not unlock the mouse. As shown in fig. 3 (b), it is assumed that the preset unlocking positions set by the user are respectively: when left ear, nose and right foot, if the position that the user clicked on the lock screen interface in proper order does respectively: when the left ear, the nose and the right foot are clicked by a user, the circle can move to the left ear, the nose and the right foot in sequence, and the screen can be unlocked only when the circle sequentially passes through the three positions.
Optionally, in the scenario that the N preset unlocking positions are associated with the screen locking pattern, a setting process of the preset unlocking positions is described below.
As shown in fig. 4, in the embodiment of the present invention, the method further includes the following steps S301 to S304:
and S301, the terminal equipment receives a third operation.
In an embodiment of the present invention, the third operation is used to trigger a setting interface for presetting an unlocking position.
Optionally, in the embodiment of the present invention, the third operation input by the user may specifically be: the method comprises the following steps that a user presses a function control on a main desktop of the terminal device, or clicks the main desktop of the terminal device, or a voice instruction input by the user, or a specific gesture input by the user. The above-mentioned clicking operation and the specific gesture may refer to the above description, and are not described herein again.
And S302, responding to the second operation, and displaying a setting interface by the terminal equipment.
In the embodiment of the present invention, the screen locking pattern displayed on the setting interface includes X number of to-be-selected unlocking positions.
And S303, the terminal equipment receives a fourth operation.
In an embodiment of the present invention, the fourth operation is a selection operation of a user at a Y first to-be-selected unlocking position, and X to-be-selected unlocking positions include: y first to-be-selected unlock positions, Y being less than or equal to X. For example, in the embodiment of the present invention, a user may select Y first to-be-selected unlocking positions as preset unlocking positions from X to-be-selected unlocking positions in a lock screen pattern displayed on a setting interface.
S304, responding to the fourth operation, and enabling the terminal equipment to take the Y first unlocking positions to be selected as preset unlocking positions.
In the embodiment of the invention, the terminal device can only store the position information of the Y first unlocking positions to be selected, so that when the target position is the same as the pre-stored Y first unlocking positions to be selected, the screen can be unlocked; the selection sequence of the Y first to-be-selected unlocking positions selected by the user can be stored while the position information of the Y first to-be-selected unlocking positions is stored, so that the screen can be unlocked when the point contact sequence or the sliding sequence of the target position is the same as the pre-stored selection sequence of the Y first to-be-selected unlocking positions.
According to the screen unlocking method provided by the embodiment of the invention, after receiving the first operation, the terminal equipment can display the first pattern on the first position of the screen locking interface, then receive the second operation of the user on at least one target position of the screen locking interface, and unlock the screen locking interface under the condition that at least one target position is matched with the preset unlocking position. The preset unlocking position is related to the first position or the screen locking pattern displayed on the screen locking interface, so that when the terminal equipment changes the screen locking pattern displayed on the screen locking interface or changes the display position of the first pattern on the screen locking interface, the preset unlocking position can be changed accordingly, the difficulty of an illegal user in cracking the unlocking position from the screen locking interface is increased, and the safety of screen unlocking is improved.
Optionally, in the embodiment of the present invention, when the second operation is a pressing operation, the terminal device may identify whether the user is the owner by determining whether the pressing force value corresponding to the pressing operation of the user meets a pressing force value customary for the user according to the usage habit of the user.
Illustratively, the foregoing S204 specifically includes the following steps:
and step C, responding to the second operation, the terminal equipment acquires a pressing force value corresponding to the pressing operation under the condition that at least one target position is matched with the preset unlocking position, and the screen locking interface is unlocked when the absolute difference value between the pressing force value and the preset pressing force value is smaller than or equal to a preset threshold value.
In the embodiment of the present invention, if the at least one target position includes N target positions, the second operation is a pressing operation of the user on the N target positions of the lock screen interface, and therefore, when the step C is executed, the user may perform a pressure determination on the pressing operation of the user on each target position, or may perform a pressure determination on one or more pressing operations selected from the N pressing operations corresponding to the N target positions, which is not limited in this embodiment of the present invention.
In the embodiment of the present invention, the preset pressing force value is obtained by the terminal device according to the pressing force value of the pressing operation of the user history, and the predetermined threshold may be flexibly set according to the actual application scenario. Specifically, the terminal device may average pressing force values of the pressing operations of the user within a predetermined time period to obtain an average pressing force value, or may count pressing force values corresponding to the pressing operations of the user within the predetermined time period, and use the pressing force value with the highest occurrence frequency as the preset pressing force value.
Therefore, according to the use habit of the user, whether the pressing force value of the pressing operation of the user unlocking the screen meets the usual pressing force value of the user or not is judged, whether the current user is the owner of the mobile phone is identified, and the safety of screen unlocking is improved.
The following describes a screen unlocking method according to an embodiment of the present invention with reference to a method flowchart of the screen unlocking method shown in fig. 5. As shown in fig. 5, the method includes S401 to S405:
s401, the terminal equipment receives a first operation of a user.
In an embodiment of the present invention, the first operation is an operation of a user at a second position of the screen locking interface.
S402, responding to the first operation, the terminal device displays a second pattern on a second position.
And S403, the terminal device displays the first pattern at the first position under the condition that the characteristic information of the second pattern is matched with the preset characteristic information.
In an embodiment of the present invention, the feature information of the pattern includes position information and shape information of the pattern.
In an embodiment of the present invention, the matching of the feature information of the second pattern and the preset feature information means that the shape of the bolus of the second pattern is the same as the shape of the preset pattern, and/or the second position is the same as the second preset unlocking position.
In the embodiment of the present invention, the first pattern and the second pattern may have the same pattern shape or different pattern shapes. For example, the shape of the first pattern and/or the second pattern may be any possible shape such as a circle, a rectangle, a triangle, a diamond, or a polygon, which may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, in an embodiment of the present invention, the first pattern and/or the second pattern may be displayed on the screen locking interface in a superimposed manner. Specifically, the first pattern and/or the second pattern may be displayed on the screen locking interface in a superimposed manner with a preset transparency. For example, if the preset transparency is denoted as T2, the value range of T2 may be 0% < T2< 100%.
In the embodiment of the present invention, the terminal device displays the first pattern at the first position, which is mainly used when the first position is prompted to the user on the screen locking interface, at this time, the terminal device may directly display a specific pattern at the first position of the screen locking interface, or highlight the pattern at the first position of the screen locking interface, or display a dynamic pattern at the first position of the screen locking interface, or dynamically display the pattern at the first position of the screen locking interface.
Optionally, in this embodiment of the present invention, before the terminal device displays the first pattern at the first position, the first position may be determined according to the second position.
In one example, when the terminal device determines the first location according to the second location, the terminal device may find the first location corresponding to the second location from the location correspondence table. For example, the location correspondence table includes location information of at least one first location and location information of at least one second location, and one first location corresponds to one second location. It should be noted that the terminal device may divide the entire screen locking interface into a plurality of partitions, each partition corresponds to a first location, and the division of the partitions may be flexibly set according to actual conditions, or the terminal device may also divide an area commonly used by a user in the screen locking interface into a plurality of partitions according to a history behavior record of the user, and each partition corresponds to a first location. The invention is not limited in this regard.
S404, the terminal equipment receives a second operation of the user on at least one target position of the screen locking interface.
S405, responding to the second operation, and unlocking the screen locking interface under the condition that the at least one target position is matched with the preset unlocking position by the terminal equipment.
In an embodiment of the present invention, the preset unlocking position is associated with a first position and a second position. The target position is different from the first position and the second position.
Optionally, in the embodiment of the present invention, the preset unlocking position may be on a connection line between the first position and the second position, in other words, a center point of the preset unlocking position is on a connection line between a center point of the first position and a center point of the second position, or on a central vertical line of a line segment using the center point of the first position and the center point of the second position as end points.
For example, the center point of the preset unlocking position is on the connection line between the center point of the first position and the center point of the second position. As shown in fig. 6 (a), when the user wants to unlock the screen, the user draws a triangle at position a, and if the position of the preset pattern preset by the user is also position a, the terminal device automatically displays a triangle at position B as shown in fig. 6 (B). After the user sees the triangle, as shown in (C) of fig. 6, the user presses the center point of the position a and the position B (i.e., the position C in (C) of fig. 6), and if the position C matches the preset unlocking position, the screen locking interface is unlocked.
Optionally, in an embodiment of the present invention, the step S405 specifically includes the following steps:
and E, responding to the second operation, and under the condition that at least one target position is matched with the preset unlocking position, the terminal equipment displays the first pattern displayed on the first position and the second pattern displayed on the second position in an exchange mode.
For example, taking the first operation as an operation of the user drawing the second pattern at the second position as an example, as shown in (a) of fig. 7, when the user wants to unlock the screen, the user draws a triangle at the position a (i.e., the second position), and if the position of the preset pattern preset by the user is also the position a, at this time, as shown in (B) of fig. 7, the terminal device automatically displays a circle at the position B (the first position). Next, as shown in fig. 7 (C), the user presses one half of the connecting line between the position a and the position B (i.e., the position C in fig. 7 (C)), and if the position C matches the preset unlock position, the triangle at the position a and the circle at the position B are displayed in an exchange manner, and the lock screen interface is unlocked after the display.
It should be noted that, in this embodiment, the above detailed description may be directly referred to for the above related description (for example, the detailed description in S401 and S403 to S405 may refer to the specific description in S201 to S204), and is not repeated here.
According to the screen unlocking method provided by the embodiment of the invention, after receiving the first operation of the user on the second position of the screen locking interface, the terminal equipment displays the first position on the screen locking interface, at the moment, if the terminal equipment is a local user, the preset unlocking position can be determined according to the first position and the second position after the first position is obtained, so that the screen locking interface is unlocked, and if the terminal equipment is an illegal user, the preset unlocking position can not be determined because the purposes of the first position and the second position can not be obtained, so that the screen unlocking can not be carried out.
Fig. 8 is a schematic diagram of a possible structure of a terminal device according to an embodiment of the present invention, as shown in fig. 8, a terminal device 500 includes a receiving module 501, a display module 502, and an unlocking module 503, where:
the receiving module 501 is configured to receive a first operation of a user.
The display module 502 is configured to display a first pattern at a first position of the lock screen interface in response to the first operation received by the receiving module 501.
The receiving module 501 is configured to receive a second operation of the user on at least one target position of the lock screen interface.
An unlocking module 503, configured to, in response to the second operation received by the receiving module 501, unlock the screen locking interface when the at least one target position matches a preset unlocking position.
The preset unlocking position is associated with a screen locking pattern or a first position displayed on a screen locking interface.
Optionally, the first operation is an operation of a user at a second position of the screen locking interface; the display module 502 is specifically configured to: in response to the first operation received by the receiving module 501, displaying a second pattern at the second position, and in case that the feature information of the second pattern matches the preset feature information, displaying the first pattern at the first position; the preset unlocking position is associated with a first position and a second position, and the characteristic information comprises position information and shape information.
Optionally, the display module 502 is further configured to: and under the condition that at least one target position is matched with the preset unlocking position, a first pattern displayed on the first position and a second pattern displayed on the second position are displayed in an exchange mode.
Optionally, the at least one target location includes: a first target position and a second target position; the preset unlocking positions comprise N preset unlocking positions, and the N preset unlocking positions are associated with the screen locking pattern; the second operation is a sliding operation of the user sliding from the first target position to the second target position; the unlocking module 503 is specifically configured to: acquiring a sliding track of sliding operation; and unlocking the screen locking interface under the condition that the sliding track sequentially passes through the N preset unlocking positions.
Optionally, the at least one target position includes N target positions; the preset unlocking positions comprise N preset unlocking positions, and the N preset unlocking positions are associated with the screen locking pattern; the second operation is a touch operation of the user on the N target positions.
Optionally, the second operation is a pressing operation; the unlocking module 503 is specifically configured to: acquiring a pressing force value corresponding to the pressing operation; and unlocking the screen locking interface under the condition that the absolute difference value between the pressing force value and the preset pressing force value is smaller than or equal to a preset threshold value.
According to the terminal device provided by the embodiment of the invention, after receiving the first operation, the terminal device displays the first pattern on the first position of the screen locking interface, then receives the second operation of the user on at least one target position of the screen locking interface, and unlocks the screen locking interface under the condition that the at least one target position is matched with the preset unlocking position. The preset unlocking position is related to the first position or the screen locking pattern displayed on the screen locking interface, so that when the terminal equipment changes the screen locking pattern displayed on the screen locking interface or changes the display position of the first pattern on the screen locking interface, the preset unlocking position can be changed accordingly, the difficulty of an illegal user in cracking the unlocking position from the screen locking interface is increased, and the safety of screen unlocking is improved.
The terminal device provided by the embodiment of the present invention can implement each process implemented by the terminal device in the above method, and is not described herein again to avoid repetition.
Fig. 9 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the configuration of the terminal device 100 shown in fig. 9 does not constitute a limitation of the terminal device, and that the terminal device 100 may include more or less components than those shown, or combine some components, or arrange different components. In the embodiment of the present invention, the terminal device 100 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.
The processor 110 is configured to display a first pattern on the first position of the lock screen interface in response to the first operation received by the user input unit 107; the user input unit 107 is used for receiving a second operation of the user on at least one target position of the screen locking interface; a processor 110, configured to unlock the screen locking interface in response to a second operation received by the user input unit 107, in a case where the at least one target position matches a preset unlocking position; the preset unlocking position is associated with a screen locking pattern or a first position displayed on a screen locking interface.
According to the terminal device provided by the embodiment of the invention, after receiving the first operation, the terminal device displays the first pattern on the first position of the screen locking interface, then receives the second operation of the user on at least one target position of the screen locking interface, and unlocks the screen locking interface under the condition that the at least one target position is matched with the preset unlocking position. The preset unlocking position is related to the first position or the screen locking pattern displayed on the screen locking interface, so that when the terminal equipment changes the screen locking pattern displayed on the screen locking interface or changes the display position of the first pattern on the screen locking interface, the preset unlocking position can be changed accordingly, the difficulty of an illegal user in cracking the unlocking position from the screen locking interface is increased, and the safety of screen unlocking is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device 100 provides the user with wireless broadband internet access via the network module 102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 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 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 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 105 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 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 107 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 device 100. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 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 described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 9, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device 100, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device 100, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. 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 108 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 apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 by 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 109 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 110 is a control center of the terminal device 100, connects various parts of the entire terminal device 100 by various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device 100. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 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 device 100 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor 110, where the computer program, when executed by the processor, implements each process of the screen unlocking method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the screen unlocking method, can achieve the same technical effect, and is not repeated here in order to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or 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 solutions 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 device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to 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 (10)

1. A method for unlocking a screen, the method comprising:
receiving a first operation of a user;
responding to the first operation, displaying a second pattern on a second position of a screen locking interface, and displaying a first pattern on a first position of the screen locking interface under the condition that the characteristic information of the second pattern is matched with preset characteristic information;
receiving a second operation of the user on at least one target position of the screen locking interface;
responding to the second operation, and unlocking the screen locking interface under the condition that the at least one target position is matched with a preset unlocking position;
wherein the preset unlocked position is associated with the first position and the second position; the feature information includes position information and shape information.
2. The method of claim 1,
the first operation is the operation of a user on the second position of the screen locking interface.
3. The method of claim 2, wherein prior to said unlocking said lock screen interface, said method comprises:
and under the condition that the at least one target position is matched with the preset unlocking position, a first pattern displayed on the first position and a second pattern displayed on the second position are displayed in an exchange mode.
4. The method of claim 1,
the second operation is a pressing operation;
the unlocking the lock screen interface includes:
acquiring a pressing force value corresponding to the pressing operation;
and unlocking the screen locking interface under the condition that the absolute difference value between the pressing force value and a preset pressing force value is smaller than or equal to a preset threshold value.
5. A terminal device, comprising:
the receiving module is used for receiving a first operation of a user;
the display module is used for responding to the first operation received by the receiving module, displaying a second pattern on a second position of the screen locking interface, and displaying a first pattern on a first position of the screen locking interface under the condition that the characteristic information of the second pattern is matched with preset characteristic information;
the receiving module is used for receiving a second operation of the user on at least one target position of the screen locking interface;
the unlocking module is used for responding to the second operation received by the receiving module and unlocking the screen locking interface under the condition that the at least one target position is matched with a preset unlocking position;
wherein the preset unlocked position is associated with the first position and the second position; the feature information includes position information and shape information.
6. The terminal device of claim 5,
the first operation is the operation of a user on the second position of the screen locking interface.
7. The terminal device of claim 6, wherein the display module is further configured to: and under the condition that the at least one target position is matched with the preset unlocking position, a first pattern displayed on the first position and a second pattern displayed on the second position are displayed in an exchange mode.
8. The terminal device of claim 5,
the second operation is a pressing operation;
the unlocking module is specifically configured to: acquiring a pressing force value corresponding to the pressing operation; and unlocking the screen locking interface under the condition that the absolute difference value between the pressing force value and a preset pressing force value is smaller than or equal to a preset threshold value.
9. Terminal device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the screen unlocking method according to any of claims 1 to 4.
10. 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 4.
CN201810385103.2A 2018-04-26 2018-04-26 Screen unlocking method and terminal equipment Active CN108762606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810385103.2A CN108762606B (en) 2018-04-26 2018-04-26 Screen unlocking method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810385103.2A CN108762606B (en) 2018-04-26 2018-04-26 Screen unlocking method and terminal equipment

Publications (2)

Publication Number Publication Date
CN108762606A CN108762606A (en) 2018-11-06
CN108762606B true CN108762606B (en) 2020-08-04

Family

ID=64011833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810385103.2A Active CN108762606B (en) 2018-04-26 2018-04-26 Screen unlocking method and terminal equipment

Country Status (1)

Country Link
CN (1) CN108762606B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176522B (en) * 2019-12-16 2021-07-13 维沃移动通信有限公司 Unlocking method and electronic equipment
CN111552939A (en) * 2020-04-30 2020-08-18 绿盟科技集团股份有限公司 Equipment unlocking method and device
CN111752455A (en) * 2020-06-24 2020-10-09 北京小米移动软件有限公司 Screen locking method, device, equipment and storage medium
CN113672895A (en) * 2021-08-16 2021-11-19 维沃移动通信(杭州)有限公司 Screen unlocking method, screen unlocking device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902479A (en) * 2012-09-11 2013-01-30 苏州佳世达电通有限公司 Electronic device and control method thereof
CN103699858A (en) * 2013-12-05 2014-04-02 百度在线网络技术(北京)有限公司 Method and device for unlocking screen of mobile equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100146437A1 (en) * 2008-12-04 2010-06-10 Microsoft Corporation Glanceable animated notifications on a locked device
CN103389868B (en) * 2012-05-08 2018-07-06 腾讯科技(深圳)有限公司 A kind of method, apparatus and touch screen terminal of touch-control unlock

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902479A (en) * 2012-09-11 2013-01-30 苏州佳世达电通有限公司 Electronic device and control method thereof
CN103699858A (en) * 2013-12-05 2014-04-02 百度在线网络技术(北京)有限公司 Method and device for unlocking screen of mobile equipment

Also Published As

Publication number Publication date
CN108762606A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN109542282B (en) Interface display method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN108762634B (en) Control method and terminal
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN108762606B (en) Screen unlocking method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN110109604B (en) Application interface display method and mobile terminal
CN108897473B (en) Interface display method and terminal
CN109976611B (en) Terminal device control method and terminal device
CN108681427B (en) Access right control method and terminal equipment
CN110007822B (en) Interface display method and terminal equipment
CN107992342B (en) Application configuration changing method and mobile terminal
CN110244884B (en) Desktop icon management method and terminal equipment
CN110231972B (en) Message display method and terminal equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN110597437A (en) Screen capturing method and terminal equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN111338525A (en) Control method of electronic equipment and electronic equipment
CN109189514B (en) Terminal device control method and terminal device
CN108196754B (en) Method, terminal and server for displaying object
CN109815678B (en) Permission configuration method and mobile terminal
CN109634508B (en) User information loading method and device
CN109343900B (en) Permission configuration method and terminal
CN111443819A (en) Control method and electronic device

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