WO2016101813A1 - Method and device for unlocking user interface - Google Patents

Method and device for unlocking user interface Download PDF

Info

Publication number
WO2016101813A1
WO2016101813A1 PCT/CN2015/097482 CN2015097482W WO2016101813A1 WO 2016101813 A1 WO2016101813 A1 WO 2016101813A1 CN 2015097482 W CN2015097482 W CN 2015097482W WO 2016101813 A1 WO2016101813 A1 WO 2016101813A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
click operation
unlocking
preset
interface
Prior art date
Application number
PCT/CN2015/097482
Other languages
French (fr)
Chinese (zh)
Inventor
李涵
Original Assignee
阿里巴巴集团控股有限公司
李涵
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 阿里巴巴集团控股有限公司, 李涵 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016101813A1 publication Critical patent/WO2016101813A1/en

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/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

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for unlocking a user interface.
  • the present application provides a method and device for unlocking a user interface, which can be used as a feature parameter for unlocking an interface, which helps to improve the security of the interface unlocking.
  • a method for unlocking a user interface including:
  • the unlocking interface When the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
  • the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
  • an apparatus for unlocking a user interface including:
  • a generating unit configured to generate a real-time unlocking password according to the characteristic parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
  • An unlocking unit when the real-time unlocking password matches the preset password, releasing the interface lock Set the state.
  • the present application can effectively distinguish and identify the correctness of the real-time unlocking password by acquiring the number of consecutive hits of the touch-click operation corresponding to each password segment; meanwhile, due to each click operation in the continuous click operation The interval between the two is short and there is no need to change the click position. Even if it is peeped by others, it is difficult to distinguish, which helps to improve the security and privacy of the screen unlock.
  • FIG. 1 is a flowchart of a method for unlocking a user interface according to an exemplary embodiment of the present application
  • FIG. 2 is a flowchart of another method of unlocking a user interface according to an exemplary embodiment of the present application
  • FIG. 3-6 are schematic diagrams of interfaces according to an exemplary embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • FIG. 8 is a block diagram of an apparatus for unlocking a user interface, according to an exemplary embodiment of the present application.
  • FIG. 1 is a flowchart of a method for unlocking a user interface according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method is applied to a terminal, and may include the following steps:
  • Step 102 When the unlocking interface is triggered, obtain a preset password applied to the interface, where the preset password includes multiple password segments.
  • each unlocking interface has a corresponding application, which is used to restrict the user from accessing data or information in the application, such as a desktop loading program (corresponding to a mobile phone lock screen interface) or a terminal.
  • a desktop loading program corresponding to a mobile phone lock screen interface
  • a terminal corresponding to a mobile phone lock screen interface
  • Any APP Application
  • Any APP such as "Alipay” installed inside.
  • Step 104 Generate a real-time unlock password according to the feature parameter of the click operation detected by the touch screen, where the feature parameter includes: the number of consecutive hits corresponding to consecutive click operations of each password segment.
  • an effective real-time unlock password can be obtained by combining the number of consecutive hits corresponding to the plurality of password segments.
  • Step 106 When the real-time unlock password matches the preset password, the interface lock state is released.
  • the present application can prevent the user interface from being viewed at random by detecting and verifying the continuous click operation of the user, thereby ensuring the privacy of the user information.
  • the interval between each click operation in the continuous click operation is short and there is no need to change the click position, even if it is peeped by others, it is difficult to distinguish, which helps to improve the security and privacy of the screen unlocking.
  • FIG. 2 is a flowchart of another method for unlocking a user interface according to an exemplary embodiment of the present application. As shown in FIG. 2, the method is applied to a terminal, and may include the following steps:
  • Step 202 Set a lock screen password for any user interface in the terminal.
  • the user may first switch to the “password lock” interface shown in FIG. 3 to set the password related options.
  • a "simple password” and a “click-through password” may be set by default in the terminal, wherein the "simple password” may be a numeric or gesture password, and the "click-through password” is a password based on the technical solution of the present application;
  • the user can switch to the "Set Click-to-Password” interface shown in Figure 4 by sliding the "Slider” icon behind the click-through password.
  • the click-through password includes a plurality of password segments, and the user can set each password segment by a continuous click operation in a "ring" type area on the interface.
  • the password input box may be displayed on the responding password setting or unlocking interface, and the password input box includes a sub input box corresponding to the password segment, such as in FIG. 4 .
  • the lock screen password includes three password segments, and the corresponding three sub-input boxes are displayed at the bottom of the interface.
  • each password segment it is also displayed corresponding to the detected The identification information of each click operation as the display information corresponding to the current password input status.
  • the leftmost sub input box corresponds to the first group of passwords, wherein the three black dots displayed represent the number of combos is 3; the middle sub input box corresponds to the second.
  • the group password but because the number of combos is large, it cannot be displayed only by the number of black dots, so "x5" indicates that the number of combos is 5.
  • the technical solution of the present application generates and verifies a password based on the feature parameters of the click operation
  • the feature parameter may include the number of consecutive hits of the continuous click operation, and may also include more other parameters, such as at least one of the following: The pressing force of the click operation, the length of the pressing time, and the relative position in the preset area (such as the "ring" type area shown in FIG. 4).
  • the characteristic parameters of each click operation can be expressed by the improvement of the identification information shown in FIG. 4. As shown in Figure 5:
  • FIG. 5( a ) shows a detection method based on “pressing force”, when the pressing force does not reach the preset strength, corresponding to the black small dot on the left side, when the pressing force reaches the preset strength, corresponding to the right Black dots on the side.
  • FIG. 5(b) shows a detection method based on “pressing time”, when the pressing time does not reach the preset time length, corresponding to the black dot on the left side, when the pressing force reaches the preset strength, corresponding to the right side Black lines.
  • FIG. 5(c) shows a detection method based on “relative position in a preset area”, when the click position is the left side in the preset area, the identification information corresponding to the left side, wherein the black dot is located At the left border of the rectangular frame, when the click position is above the preset area, corresponding to the identification information on the right side, the black dot is located at the upper border of the rectangular frame.
  • step 204 the unlocking interface is triggered.
  • the terminal lock screen interface is taken as an example, and various physical buttons such as “power button”, “volume button”, and “home button” on the terminal may be triggered to be triggered, or may be detected.
  • the terminal screen is switched from the non-display state (ie, “black screen”) to the display state.
  • the APP in the terminal as an example, the corresponding unlocking interface can be triggered when it is detected that the corresponding program icon is pressed.
  • Step 206 If a click operation on the touch screen of the terminal is detected, then go to step 208, otherwise continue to wait.
  • the click operation may be located at any position on the touch screen of the terminal; or, by displaying a preset area dedicated to receiving the click operation on the unlock interface, such as the "ring" type area shown in FIG. Therefore, the process proceeds to step 208 only when a click operation is detected on the touch screen corresponding to the preset area on the terminal touch screen.
  • Step 208 Acquire feature parameters of the click operation.
  • the type of the feature parameter of the click operation acquired in step 208 is determined according to the type of the feature parameter collected by the terminal when the lock screen password is set in step 202.
  • the feature parameter only includes the number of consecutive hits of the continuous click operation, and the terminal needs to distinguish the consecutive click operations corresponding to each of the password segments, and obtain the corresponding number of combos.
  • a corresponding time threshold may be set, for example, in each successive click operation, the interval between adjacent click operations is less than or equal to the first preset duration.
  • the time interval between successive click operations corresponding to the adjacent cipher segments is greater than or equal to the second preset duration, where the second preset duration is greater than the first preset duration.
  • a password input box may be displayed on the unlock interface, and the password input box includes a sub-input box corresponding to the password segment one-to-one, such as shown in FIG. 6(a) corresponding to three Three sub-input boxes for the cipher segment.
  • the input prompt identifier may be displayed in the corresponding sub-input box according to the password segment corresponding to the currently detected click operation. For example, in FIG. 6( a ), the input prompt identifier “ ⁇ is displayed below the sub-input box. ", prompting the user to click the corresponding password segment, as shown in Figure 6 (a) indicates that the user is entering the first password segment.
  • the sub-input box and the input prompt identifier can be displayed.
  • FIG. 6(b) indicates that the user is inputting the third password segment.
  • the password segment and the password bit corresponding to the next click operation may be estimated according to the current password input status, and the password is corresponding to the password in the sub-entry box corresponding to the password segment.
  • the position of the bit, showing the input prompt ID For example, when the feature parameter is only the number of combos, as shown in FIG. 6(a), by displaying two black dots in the sub-input box on the left side, Indicates that the number of hits corresponding to the first cipher segment detected by the terminal is 2, and if the terminal detects the third click operation within the first preset duration after detecting the second click operation, it is on the left side.
  • the sub-input box is displayed as three black dots (not shown), and the number of combos corresponding to the first cipher segment is increased to 3; if the terminal is in the second pre-detection after detecting the second click operation If the third click operation is not detected within the time limit, the input of the first cipher segment is considered to be completed, and the input prompt flag “ ⁇ ” will move to the lower sub-input box (not shown) and will be detected later.
  • the click operation to is the input to the second password segment.
  • the feature parameter may further include feature information of each click operation in each successive click operation, and the feature information may specifically include at least one of: a pressing force of the click operation, a pressing time length, and The relative position in the preset area corresponds to the setting process of the lock screen password in step 202.
  • the password of each password bit in the generated real-time unlock password contains the feature information of the corresponding click operation, thereby improving the complexity and security of the password.
  • the identification information corresponding to each detected click operation displayed in the sub-input box may also be changed, for example, the display pattern of the identification information is compared with the characteristic parameter of the corresponding click operation. Matches so that users can see the results of each click. among them:
  • the number of consecutive hits of the continuous click operation is 3, and the first click operation is a click of “in the middle of the preset area, light press, short press”.
  • the corresponding identification information is “ ⁇ ”
  • the circle of the outer layer corresponds to the preset area
  • the black dot on the inner side indicates that the pressing time of the first click operation is short (ie “short press”)
  • the small dot indicates The pressing force of the first click operation is small (ie, "light pressure"), and the dot is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
  • the second click operation is a click in the middle of the preset area, heavy press, short press, in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the second click operation is short (ie, "short” Press "), the large dot indicates that the pressing force of the second click operation is large (ie "heavy pressure"), and the dot is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
  • the third click operation is a click in the middle of the preset area, light press, long press, in the corresponding identification information: the black line on the inner side indicates that the third click operation has a long pressing time (ie, "long press” ), the thin line segment indicates that the pressing force of the third click operation is small (ie, “light pressure”), and the line segment is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
  • the number of consecutive hits of the continuous click operation is 3, corresponding to the fourth, fifth, and sixth click operations.
  • the fourth click operation is a click on the upper side of the preset area, lightly pressing, short pressing, and in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the fourth click operation is short (ie, "Short press"), a small dot indicates that the pressing force of the fourth click operation is small (ie, "light pressure”), and the dot is located above the inner side of the outer circle to indicate that the pressing position is above the inner side of the preset area.
  • the fifth click operation is a click on the left side of the preset area, heavy pressure, short press, in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the fifth click operation is short (ie, " Short press "), the large dot indicates that the pressing force of the fifth click operation is large (ie "heavy pressure"), and the dot is located on the inner side of the outer circle, indicating that the pressing position is the inner left side of the preset area.
  • the sixth click operation is clicked “below the inside of the preset area, lightly press, long press”.
  • the black line on the inner side indicates that the pressing time of the sixth click operation is long (ie “long press” ”)
  • the thin line segment indicates that the pressing force of the sixth click operation is small (ie “light pressure”)
  • the line segment is located below the inner side of the outer circle to indicate that the pressing position is below the inner side of the preset area.
  • Step 210 Generate a real-time unlock password according to the feature parameter.
  • Step 212 If the real-time unlock password matches the set lock screen password, the unlocking succeeds, otherwise the unlocking fails.
  • FIG. 7 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
  • the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may of course include hardware required for other services.
  • the processor reads the corresponding computer program from the non-volatile memory into memory and then runs, on a logical level A device that forms a user interface unlock.
  • the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
  • the device for unlocking the user interface may include an acquiring unit, a generating unit, and an unlocking unit. among them:
  • a generating unit configured to generate a real-time unlocking password according to the characteristic parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
  • the unlocking unit cancels the interface locking state when the real-time unlocking password matches the preset password.
  • it also includes:
  • the time acquisition unit obtains the interval between adjacent click operations
  • the operation determining unit determines that the adjacent click operation belongs to the same continuous click operation when the interval duration is less than or equal to the first preset duration; and when the interval duration is greater than or equal to the second preset duration, determining the The adjacent click operation belongs to different continuous click operations; wherein the second preset duration is greater than the first preset duration.
  • the feature parameter further includes: feature information of each click operation in each of the consecutive click operations; wherein, the password of each password bit in the real-time unlock password includes a feature of a corresponding click operation Information; and, the device further includes:
  • a matching determining unit when the number of consecutive hits corresponding to each of the real-time unlocking password and each of the preset passwords is equal, and the feature information included in the password of the same password is the same, determining the real-time unlocking password Matches the preset password.
  • the feature information includes at least one of the following:
  • the pressing force of the click operation the length of the pressing time, and the relative position within the preset area.
  • it also includes:
  • An input box display unit wherein a password input box is displayed on the unlocking interface, and the password input box includes a sub-input box corresponding to the password segment one-to-one;
  • the prompt identifier display unit estimates the password segment and the password bit corresponding to the next click operation according to the current password input status, and displays the input prompt identifier in the sub-input box corresponding to the password segment corresponding to the position of the password bit.
  • it also includes:
  • a parameter identification display unit in the sub input box corresponding to each password segment, displaying identification information corresponding to each click operation detected as the display information corresponding to the current password input status;
  • the display pattern of the identification information matches the characteristic parameter of the corresponding click operation.
  • it also includes:
  • An area display unit displaying a preset area on the unlocking interface
  • the click operation is located in the preset area.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • the computer readable medium does not include a temporary storage computer. Transitory media, such as modulated data signals and carrier waves.

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)

Abstract

A method and device for unlocking a user interface. The method comprises: when an unlocking interface is triggered, acquiring a preset password applied to the interface, with the preset password comprising a plurality of password segments (102); according to a characteristic parameter of a clicking operation detected by a touch screen, generating a real time unlocking password, wherein the characteristic parameter comprises: the number of continuous clicks corresponding to continuous clicking operations of each of the password segments (104); and when the real time unlocking password matches the preset password, unlocking a locking state of the interface (106). By means of this method and device, a touch clicking operation can be used as a characteristic parameter for interface unlocking, thereby contributing to improving the security and privacy of the interface unlocking.

Description

用户界面解锁的方法及装置Method and device for unlocking user interface 技术领域Technical field
本申请涉及终端技术领域,尤其涉及用户界面解锁的方法及装置。The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for unlocking a user interface.
背景技术Background technique
目前,随着用户对终端的使用越来越频繁,终端内的数据和信息安全性也随之备受关注。因此,用户希望对终端内的应用程序添加锁定功能,以避免个人隐私信息外泄。At present, as users use the terminals more and more frequently, the data and information security within the terminals are also attracting attention. Therefore, users want to add a lock function to the application in the terminal to avoid leakage of personal privacy information.
发明内容Summary of the invention
本申请提供一种用户界面解锁的方法及装置,可以将触摸点击操作作为界面解锁的特征参数,有助于提升界面解锁的安全性。The present application provides a method and device for unlocking a user interface, which can be used as a feature parameter for unlocking an interface, which helps to improve the security of the interface unlocking.
为实现上述目的,本申请提供技术方案如下:To achieve the above objective, the present application provides the following technical solutions:
根据本申请的第一方面,提出了一种用户界面解锁的方法,包括:According to a first aspect of the present application, a method for unlocking a user interface is provided, including:
当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段;When the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数;Generating a real-time unlock password according to the feature parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
当所述实时解锁密码与所述预设密码相匹配时,解除界面锁定状态。When the real-time unlock password matches the preset password, the interface lock state is released.
根据本申请的第二方面,提出了一种用户界面解锁的装置,包括:According to a second aspect of the present application, an apparatus for unlocking a user interface is provided, including:
获取单元,当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段;Obtaining a unit, when the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
生成单元,根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数;a generating unit, configured to generate a real-time unlocking password according to the characteristic parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
解锁单元,当所述实时解锁密码与所述预设密码相匹配时,解除界面锁 定状态。An unlocking unit, when the real-time unlocking password matches the preset password, releasing the interface lock Set the state.
由以上技术方案可见,本申请通过获取每个密码段对应的触摸点击操作的连击次数,能够有效区分和识别出实时解锁密码的正确性;同时,由于连续点击操作中的每次点击操作之间的间隔时间短且无需改变点击位置等特点,即便被别人窥视,也难以辨别,有助于提升屏幕解锁的安全性和私密性。It can be seen from the above technical solution that the present application can effectively distinguish and identify the correctness of the real-time unlocking password by acquiring the number of consecutive hits of the touch-click operation corresponding to each password segment; meanwhile, due to each click operation in the continuous click operation The interval between the two is short and there is no need to change the click position. Even if it is peeped by others, it is difficult to distinguish, which helps to improve the security and privacy of the screen unlock.
附图说明DRAWINGS
图1是根据本申请一示例性实施例的一种用户界面解锁的方法的流程图;FIG. 1 is a flowchart of a method for unlocking a user interface according to an exemplary embodiment of the present application; FIG.
图2是根据本申请一示例性实施例的另一种用户界面解锁的方法的流程图;2 is a flowchart of another method of unlocking a user interface according to an exemplary embodiment of the present application;
图3-6是根据本申请一示例性实施例的界面示意图;3-6 are schematic diagrams of interfaces according to an exemplary embodiment of the present application;
图7是根据本申请一示例性实施例的一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application; FIG.
图8是根据本申请一示例性实施例的一种用户界面解锁的装置的框图。FIG. 8 is a block diagram of an apparatus for unlocking a user interface, according to an exemplary embodiment of the present application.
具体实施方式detailed description
为对本申请进行进一步说明,提供下列实施例:In order to further illustrate this application, the following examples are provided:
图1是根据本申请一示例性实施例的一种用户界面解锁的方法的流程图,如图1所示,该方法应用于终端,可以包括下述步骤:FIG. 1 is a flowchart of a method for unlocking a user interface according to an exemplary embodiment of the present application. As shown in FIG. 1 , the method is applied to a terminal, and may include the following steps:
步骤102,当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段。Step 102: When the unlocking interface is triggered, obtain a preset password applied to the interface, where the preset password includes multiple password segments.
在本实施例中,每个解锁界面都存在对应的应用程序,该解锁界面用于限制用户访问该应用程序内的数据或信息的权限,比如桌面加载程序(对应于手机锁屏界面)或终端内安装的如“支付宝”等任意APP(Application,应用)。In this embodiment, each unlocking interface has a corresponding application, which is used to restrict the user from accessing data or information in the application, such as a desktop loading program (corresponding to a mobile phone lock screen interface) or a terminal. Any APP (Application) such as "Alipay" installed inside.
步骤104,根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数。 Step 104: Generate a real-time unlock password according to the feature parameter of the click operation detected by the touch screen, where the feature parameter includes: the number of consecutive hits corresponding to consecutive click operations of each password segment.
在本实施例中,将连续点击操作作为密码输入手段时,通过对多个密码段对应的连击次数进行组合,即可得到有效的实时解锁密码。In this embodiment, when the continuous click operation is used as the password input means, an effective real-time unlock password can be obtained by combining the number of consecutive hits corresponding to the plurality of password segments.
在本实施例中,由于连续点击操作的特点,使得用户通过手指在终端屏幕上执行触摸点击操作时,即便被别人窥视也难以区分具体的连击次数,具有极高的安全性和私密性。In this embodiment, due to the feature of the continuous click operation, when the user performs a touch-click operation on the terminal screen through the finger, it is difficult to distinguish the specific number of combos even if it is peeped by others, and has high security and privacy.
步骤106,当所述实时解锁密码与所述预设密码相匹配时,解除界面锁定状态。Step 106: When the real-time unlock password matches the preset password, the interface lock state is released.
由上述实施例可知,本申请通过对用户的连续点击操作进行检测和验证,可以避免用户界面被随意查看,确保了用户信息的私密性。同时,由于连续点击操作中的每次点击操作之间的间隔时间短且无需改变点击位置等特点,即便被别人窥视,也难以辨别,有助于提升屏幕解锁的安全性和私密性。It can be seen from the above embodiments that the present application can prevent the user interface from being viewed at random by detecting and verifying the continuous click operation of the user, thereby ensuring the privacy of the user information. At the same time, because the interval between each click operation in the continuous click operation is short and there is no need to change the click position, even if it is peeped by others, it is difficult to distinguish, which helps to improve the security and privacy of the screen unlocking.
下面结合具体的应用场景,对本申请的技术方案进行详细说明。图2是根据本申请一示例性实施例的另一种用户界面解锁的方法的流程图,如图2所示,该方法应用于终端,可以包括下述步骤:The technical solutions of the present application are described in detail below in conjunction with specific application scenarios. FIG. 2 is a flowchart of another method for unlocking a user interface according to an exemplary embodiment of the present application. As shown in FIG. 2, the method is applied to a terminal, and may include the following steps:
步骤202,为终端内的任意用户界面设置锁屏密码。Step 202: Set a lock screen password for any user interface in the terminal.
在本实施例中,以为终端锁屏界面进行密码设置为例,用户可以首先切换至图3所示的“密码锁定”界面,对密码相关的选项进行设置。如图3所示,终端内默认可以设置“简单密码”和“点击式密码”,其中“简单密码”可以为数字或手势密码,“点击式密码”即基于本申请的技术方案的密码;当用户需要启用点击式密码时,则通过滑动点击式密码后方的“滑块”图标,即可切换至图4所示的“设置点击式密码”界面。In this embodiment, taking the password setting for the terminal lock screen interface as an example, the user may first switch to the “password lock” interface shown in FIG. 3 to set the password related options. As shown in FIG. 3, a "simple password" and a "click-through password" may be set by default in the terminal, wherein the "simple password" may be a numeric or gesture password, and the "click-through password" is a password based on the technical solution of the present application; When the user needs to enable the click-through password, the user can switch to the "Set Click-to-Password" interface shown in Figure 4 by sliding the "Slider" icon behind the click-through password.
如图4所示,点击式密码包括多个密码段,用户可以通过在界面上的“圆环”型区域内,通过连续点击操作来设置每个密码段。在设置锁屏密码或在锁屏界面上输入密码时,可以在响应的密码设置或解锁界面上显示密码输入框,该密码输入框包括与密码段一一对应的子输入框,比如在图4中,锁屏密码共包括三个密码段,则在界面下方显示出对应的三个子输入框。As shown in FIG. 4, the click-through password includes a plurality of password segments, and the user can set each password segment by a continuous click operation in a "ring" type area on the interface. When setting a lock screen password or entering a password on the lock screen interface, the password input box may be displayed on the responding password setting or unlocking interface, and the password input box includes a sub input box corresponding to the password segment, such as in FIG. 4 . In the middle, the lock screen password includes three password segments, and the corresponding three sub-input boxes are displayed at the bottom of the interface.
此外,在每个密码段对应的子输入框中,还可以显示对应于已检测到的 每一点击操作的标识信息,以作为对应于当前的密码输入状况的展示信息。比如在图4所示的密码输入框中,最左侧的子输入框对应于第一组密码,其中显示的三个黑色圆点代表连击次数为3;中间的子输入框对应于第二组密码,但由于连击次数较多而无法仅通过黑色圆点的数量进行显示,因而通过“×5”表明连击次数为5。In addition, in the sub-input box corresponding to each password segment, it is also displayed corresponding to the detected The identification information of each click operation as the display information corresponding to the current password input status. For example, in the password input box shown in FIG. 4, the leftmost sub input box corresponds to the first group of passwords, wherein the three black dots displayed represent the number of combos is 3; the middle sub input box corresponds to the second. The group password, but because the number of combos is large, it cannot be displayed only by the number of black dots, so "x5" indicates that the number of combos is 5.
需要说明的是:本申请的技术方案基于点击操作的特征参数来生成和验证密码,而该特征参数可以包括连续点击操作的连击次数,也可以包括更多其他参数,比如以下至少之一:点击操作的按压力度、按压时间长度、在预设区域(比如图4所示的“圆环”型区域)内的相对位置。同时,可以通过对图4所示的标识信息的改进,表现出每次点击操作的特征参数。如图5所示:It should be noted that the technical solution of the present application generates and verifies a password based on the feature parameters of the click operation, and the feature parameter may include the number of consecutive hits of the continuous click operation, and may also include more other parameters, such as at least one of the following: The pressing force of the click operation, the length of the pressing time, and the relative position in the preset area (such as the "ring" type area shown in FIG. 4). At the same time, the characteristic parameters of each click operation can be expressed by the improvement of the identification information shown in FIG. 4. As shown in Figure 5:
图5(a)示出了基于“按压力度”的检测方式,则当按压力度未达到预设力度时,对应于左侧的黑色小圆点,当按压力度达到预设力度时,对应于右侧的黑色大圆点。FIG. 5( a ) shows a detection method based on “pressing force”, when the pressing force does not reach the preset strength, corresponding to the black small dot on the left side, when the pressing force reaches the preset strength, corresponding to the right Black dots on the side.
图5(b)示出了基于“按压时间”的检测方式,则当按压时间未达到预设时长时,对应于左侧的黑色圆点,当按压力度达到预设力度时,对应于右侧的黑色线条。FIG. 5(b) shows a detection method based on “pressing time”, when the pressing time does not reach the preset time length, corresponding to the black dot on the left side, when the pressing force reaches the preset strength, corresponding to the right side Black lines.
图5(c)示出了基于“在预设区域内的相对位置”的检测方式,当点击位置为预设区域内的左侧时,对应于左侧的标识信息,其中的黑色圆点位于矩形框的左边框处,当点击位置为预设区域的上方时,对应于右侧的标识信息,其中的黑色圆点位于矩形框的上边框处。FIG. 5(c) shows a detection method based on “relative position in a preset area”, when the click position is the left side in the preset area, the identification information corresponding to the left side, wherein the black dot is located At the left border of the rectangular frame, when the click position is above the preset area, corresponding to the identification information on the right side, the black dot is located at the upper border of the rectangular frame.
步骤204,解锁界面被触发。In step 204, the unlocking interface is triggered.
在本实施例中,以终端锁屏界面为例,可以在检测到终端上的“电源键”、“音量键”、“主页键”等各种物理按键被按下而触发,也可以在检测到光线变化、空间位置变化等参数符合预设参数时而触发,具体表现为终端屏幕由不显示状态(即“黑屏”)切换为显示状态。以终端内的APP为例,可以在检测到相应的程序图标被按下时,触发相应的解锁界面。 In this embodiment, the terminal lock screen interface is taken as an example, and various physical buttons such as “power button”, “volume button”, and “home button” on the terminal may be triggered to be triggered, or may be detected. When the parameters such as light change and spatial position change meet the preset parameters, the terminal screen is switched from the non-display state (ie, “black screen”) to the display state. Taking the APP in the terminal as an example, the corresponding unlocking interface can be triggered when it is detected that the corresponding program icon is pressed.
步骤206,若检测到终端触摸屏上的点击操作,则转入步骤208,否则继续等待。Step 206: If a click operation on the touch screen of the terminal is detected, then go to step 208, otherwise continue to wait.
在本实施例中,点击操作可以位于终端触摸屏上的任意位置;或者,可以通过在解锁界面上显示一专用于接收该点击操作的预设区域,比如图6所示的“圆环”型区域,从而仅当终端触摸屏上对应于该预设区域处检测到点击操作时,才转入步骤208。In this embodiment, the click operation may be located at any position on the touch screen of the terminal; or, by displaying a preset area dedicated to receiving the click operation on the unlock interface, such as the "ring" type area shown in FIG. Therefore, the process proceeds to step 208 only when a click operation is detected on the touch screen corresponding to the preset area on the terminal touch screen.
步骤208,获取点击操作的特征参数。Step 208: Acquire feature parameters of the click operation.
在本实施例中,根据在步骤202中设置锁屏密码时,终端采集到的特征参数的类型,确定步骤208中获取的点击操作的特征参数的类型。In this embodiment, the type of the feature parameter of the click operation acquired in step 208 is determined according to the type of the feature parameter collected by the terminal when the lock screen password is set in step 202.
作为一示例性实施方式,特征参数仅包括连续点击操作的连击次数,则终端需要区分对应于每个密码段的连续点击操作,并获取对应的连击次数即可。为了有效区分连续点击操作与密码段之间的对应关系,可以设置相应的时间阈值,比如:在每一连续点击操作中,相邻点击操作之间的间隔时长小于或等于第一预设时长,而相邻密码段对应的连续点击操作之间的时间间隔大于或等于第二预设时长,其中第二预设时长大于第一预设时长。As an exemplary embodiment, the feature parameter only includes the number of consecutive hits of the continuous click operation, and the terminal needs to distinguish the consecutive click operations corresponding to each of the password segments, and obtain the corresponding number of combos. In order to effectively distinguish the correspondence between the continuous click operation and the password segment, a corresponding time threshold may be set, for example, in each successive click operation, the interval between adjacent click operations is less than or equal to the first preset duration. The time interval between successive click operations corresponding to the adjacent cipher segments is greater than or equal to the second preset duration, where the second preset duration is greater than the first preset duration.
同时,为了使密码输入过程可控,可以在解锁界面上显示密码输入框,该密码输入框包括与密码段一一对应的子输入框,比如图6(a)中示出了对应于三个密码段的三个子输入框。其中,根据当前检测到的点击操作对应的密码段,可以在相应的子输入框内显示输入提示标识,比如在图6(a)中,通过在子输入框的下方显示出输入提示标识“▲”,提示用户当前点击操作对应的密码段,譬如图6(a)表明用户正在对第一个密码段进行输入。当然,无论特征参数为何,均可以对子输入框和输入提示标识进行显示,比如图6(b)表明用户正在对第三个密码段进行输入。Meanwhile, in order to make the password input process controllable, a password input box may be displayed on the unlock interface, and the password input box includes a sub-input box corresponding to the password segment one-to-one, such as shown in FIG. 6(a) corresponding to three Three sub-input boxes for the cipher segment. The input prompt identifier may be displayed in the corresponding sub-input box according to the password segment corresponding to the currently detected click operation. For example, in FIG. 6( a ), the input prompt identifier “▲ is displayed below the sub-input box. ", prompting the user to click the corresponding password segment, as shown in Figure 6 (a) indicates that the user is entering the first password segment. Of course, regardless of the feature parameters, the sub-input box and the input prompt identifier can be displayed. For example, FIG. 6(b) indicates that the user is inputting the third password segment.
此外,为了便于用户了解已输入密码的情况,还可以根据当前的密码输入状况,预估下一点击操作对应的密码段和密码位,并在该密码段对应的子输入框中对应于该密码位的位置,显示输入提示标识。比如当特征参数仅为连击次数时,如图6(a)所示,通过在左侧的子输入框内显示两个黑色圆点, 表明终端已经检测到的对应于第一密码段的连击次数为2,若终端在检测到第二次点击操作之后的第一预设时长内,检测到了第三次点击操作,则在左侧的子输入框内显示为三个黑色圆点(图中未示出),将对应于第一密码段的连击次数升为3;若终端在检测到第二次点击操作之后的第二预设时长内,未检测到第三次点击操作,则认为第一密码段的输入完结,输入提示标识“▲”将移动至中间的子输入框下方(图中未示出),并将随后检测到的点击操作作为对第二密码段的输入。In addition, in order to facilitate the user to understand the situation that the password has been input, the password segment and the password bit corresponding to the next click operation may be estimated according to the current password input status, and the password is corresponding to the password in the sub-entry box corresponding to the password segment. The position of the bit, showing the input prompt ID. For example, when the feature parameter is only the number of combos, as shown in FIG. 6(a), by displaying two black dots in the sub-input box on the left side, Indicates that the number of hits corresponding to the first cipher segment detected by the terminal is 2, and if the terminal detects the third click operation within the first preset duration after detecting the second click operation, it is on the left side. The sub-input box is displayed as three black dots (not shown), and the number of combos corresponding to the first cipher segment is increased to 3; if the terminal is in the second pre-detection after detecting the second click operation If the third click operation is not detected within the time limit, the input of the first cipher segment is considered to be completed, and the input prompt flag “▲” will move to the lower sub-input box (not shown) and will be detected later. The click operation to is the input to the second password segment.
作为另一示例性实施方式,特征参数还可以包括每一连续点击操作中的每一点击操作的特征信息,该特征信息具体可以包括以下至少之一:点击操作的按压力度、按压时间长度、在所述预设区域内的相对位置,这与步骤202中对锁屏密码的设置过程相对应。As another exemplary embodiment, the feature parameter may further include feature information of each click operation in each successive click operation, and the feature information may specifically include at least one of: a pressing force of the click operation, a pressing time length, and The relative position in the preset area corresponds to the setting process of the lock screen password in step 202.
那么,用户通过在图6(b)所示的“圆环”型预设区域内进行点击,并控制点击操作的连击次数、按压力度、按压时长、按压位置中的一个或多个特征,实现每次点击操作的输入,则生成的实时解锁密码中的每个密码位的密码包含相应的点击操作的特征信息,从而提升密码的复杂度和安全性。针对点击操作的特征参数的不同,在子输入框内显示的对应于已检测到的每一点击操作的标识信息也可以产生变化,比如使得标识信息的显示图案与对应的点击操作的特征参数相匹配,以便于用户查看每次点击操作的检测结果。其中:Then, the user clicks in the "ring" type preset area shown in FIG. 6(b), and controls one or more characteristics of the number of hits, the pressing force, the pressing duration, and the pressing position of the click operation, To implement the input of each click operation, the password of each password bit in the generated real-time unlock password contains the feature information of the corresponding click operation, thereby improving the complexity and security of the password. For the difference of the feature parameters of the click operation, the identification information corresponding to each detected click operation displayed in the sub-input box may also be changed, for example, the display pattern of the identification information is compared with the characteristic parameter of the corresponding click operation. Matches so that users can see the results of each click. among them:
比如在图6(b)中的左侧子输入框内,连续点击操作的连击次数为3,其中第一次点击操作为“在预设区域的中间、轻压、短按”的点击,对应的标识信息为“⊙”,其外层的圆形对应于预设区域,而内侧的黑色圆点表明第一次点击操作的按压时间短(即“短按”)、圆点较小表明第一次点击操作的按压力度小(即“轻压”)、圆点位于外层圆形的中间表明按压位置为预设区域的中间。For example, in the left sub-input box in FIG. 6(b), the number of consecutive hits of the continuous click operation is 3, and the first click operation is a click of “in the middle of the preset area, light press, short press”. The corresponding identification information is “⊙”, the circle of the outer layer corresponds to the preset area, and the black dot on the inner side indicates that the pressing time of the first click operation is short (ie “short press”), and the small dot indicates The pressing force of the first click operation is small (ie, "light pressure"), and the dot is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
第二次点击操作为“在预设区域的中间、重压、短按”的点击,在对应的标识信息中:内侧的黑色圆点表明第二次点击操作的按压时间短(即“短 按”)、圆点较大表明第二次点击操作的按压力度大(即“重压”)、圆点位于外层圆形的中间表明按压位置为预设区域的中间。The second click operation is a click in the middle of the preset area, heavy press, short press, in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the second click operation is short (ie, "short" Press "), the large dot indicates that the pressing force of the second click operation is large (ie "heavy pressure"), and the dot is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
第三次点击操作为“在预设区域的中间、轻压、长按”的点击,在对应的标识信息中:内侧的黑色线段表明第三次点击操作的按压时间长(即“长按”)、线段较细表明第三次点击操作的按压力度小(即“轻压”)、线段位于外层圆形的中间表明按压位置为预设区域的中间。The third click operation is a click in the middle of the preset area, light press, long press, in the corresponding identification information: the black line on the inner side indicates that the third click operation has a long pressing time (ie, "long press" ), the thin line segment indicates that the pressing force of the third click operation is small (ie, “light pressure”), and the line segment is located in the middle of the outer circle to indicate that the pressing position is the middle of the preset area.
比如在图6(b)中的中间子输入框内,连续点击操作的连击次数为3,对应于第四次、第五次和第六次点击操作。其中,第四次点击操作为“在预设区域的内侧上方、轻压、短按”的点击,在对应的标识信息中:内侧的黑色圆点表明第四次点击操作的按压时间短(即“短按”)、圆点较小表明第四次点击操作的按压力度小(即“轻压”)、圆点位于外层圆形的内侧上方表明按压位置为预设区域的内侧上方。For example, in the middle sub-input box in FIG. 6(b), the number of consecutive hits of the continuous click operation is 3, corresponding to the fourth, fifth, and sixth click operations. The fourth click operation is a click on the upper side of the preset area, lightly pressing, short pressing, and in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the fourth click operation is short (ie, "Short press"), a small dot indicates that the pressing force of the fourth click operation is small (ie, "light pressure"), and the dot is located above the inner side of the outer circle to indicate that the pressing position is above the inner side of the preset area.
第五次点击操作为“在预设区域的内侧左方、重压、短按”的点击,在对应的标识信息中:内侧的黑色圆点表明第五次点击操作的按压时间短(即“短按”)、圆点较大表明第五次点击操作的按压力度大(即“重压”)、圆点位于外层圆形的内侧左方表明按压位置为预设区域的内侧左方。The fifth click operation is a click on the left side of the preset area, heavy pressure, short press, in the corresponding identification information: the black dot on the inner side indicates that the pressing time of the fifth click operation is short (ie, " Short press "), the large dot indicates that the pressing force of the fifth click operation is large (ie "heavy pressure"), and the dot is located on the inner side of the outer circle, indicating that the pressing position is the inner left side of the preset area.
第六次点击操作为“在预设区域的内侧下方、轻压、长按”的点击,在对应的标识信息中:内侧的黑色线段表明第六次点击操作的按压时间长(即“长按”)、线段较细表明第六次点击操作的按压力度小(即“轻压”)、线段位于外层圆形的内侧下方表明按压位置为预设区域的内侧下方。The sixth click operation is clicked “below the inside of the preset area, lightly press, long press”. In the corresponding identification information: the black line on the inner side indicates that the pressing time of the sixth click operation is long (ie “long press” ”), the thin line segment indicates that the pressing force of the sixth click operation is small (ie “light pressure”), and the line segment is located below the inner side of the outer circle to indicate that the pressing position is below the inner side of the preset area.
步骤210,根据特征参数,生成实时解锁密码。Step 210: Generate a real-time unlock password according to the feature parameter.
步骤212,若实时解锁密码与设置的锁屏密码相匹配,则解锁成功,否则解锁失败。Step 212: If the real-time unlock password matches the set lock screen password, the unlocking succeeds, otherwise the unlocking fails.
图7示出了根据本申请的一示例性实施例的电子设备的示意结构图。请参考图7,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上 形成用户界面解锁的装置。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。FIG. 7 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application. Referring to FIG. 7, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may of course include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into memory and then runs, on a logical level A device that forms a user interface unlock. Of course, in addition to the software implementation, the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
请参考图8,在软件实施方式中,该用户界面解锁的装置可以包括获取单元、生成单元和解锁单元。其中:Referring to FIG. 8 , in the software implementation, the device for unlocking the user interface may include an acquiring unit, a generating unit, and an unlocking unit. among them:
获取单元,当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段;Obtaining a unit, when the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
生成单元,根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数;a generating unit, configured to generate a real-time unlocking password according to the characteristic parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
解锁单元,当所述实时解锁密码与所述预设密码相匹配时,解除界面锁定状态。The unlocking unit cancels the interface locking state when the real-time unlocking password matches the preset password.
可选的,还包括:Optionally, it also includes:
时长获取单元,获取相邻点击操作之间的间隔时长;The time acquisition unit obtains the interval between adjacent click operations;
操作确定单元,在所述间隔时长小于或等于第一预设时长时,确定所述相邻点击操作属于同一连续点击操作;在所述间隔时长大于或等于第二预设时长时,确定所述相邻点击操作属于不同的连续点击操作;其中,第二预设时长大于第一预设时长。The operation determining unit determines that the adjacent click operation belongs to the same continuous click operation when the interval duration is less than or equal to the first preset duration; and when the interval duration is greater than or equal to the second preset duration, determining the The adjacent click operation belongs to different continuous click operations; wherein the second preset duration is greater than the first preset duration.
可选的,所述特征参数还包括:每一所述连续点击操作中的每一点击操作的特征信息;其中,所述实时解锁密码中的每个密码位的密码包含相应的点击操作的特征信息;以及,所述装置还包括:Optionally, the feature parameter further includes: feature information of each click operation in each of the consecutive click operations; wherein, the password of each password bit in the real-time unlock password includes a feature of a corresponding click operation Information; and, the device further includes:
匹配判定单元,当所述实时解锁密码和所述预设密码的每个密码段对应的连击次数均相等,且处于相同密码位的密码包含的特征信息均相同时,判定所述实时解锁密码与所述预设密码相匹配。a matching determining unit, when the number of consecutive hits corresponding to each of the real-time unlocking password and each of the preset passwords is equal, and the feature information included in the password of the same password is the same, determining the real-time unlocking password Matches the preset password.
可选的,所述特征信息包括以下至少之一:Optionally, the feature information includes at least one of the following:
点击操作的按压力度、按压时间长度、在所述预设区域内的相对位置。The pressing force of the click operation, the length of the pressing time, and the relative position within the preset area.
可选的,还包括: Optionally, it also includes:
输入框显示单元,在所述解锁界面上显示密码输入框,所述密码输入框包括与所述密码段一一对应的子输入框;An input box display unit, wherein a password input box is displayed on the unlocking interface, and the password input box includes a sub-input box corresponding to the password segment one-to-one;
提示标识显示单元,根据当前的密码输入状况,预估下一点击操作对应的密码段和密码位,并在该密码段对应的子输入框中对应于该密码位的位置,显示输入提示标识。The prompt identifier display unit estimates the password segment and the password bit corresponding to the next click operation according to the current password input status, and displays the input prompt identifier in the sub-input box corresponding to the password segment corresponding to the position of the password bit.
可选的,还包括:Optionally, it also includes:
参数标识显示单元,在每个密码段对应的子输入框中,显示对应于已检测到的每一点击操作的标识信息,以作为对应于所述当前的密码输入状况的展示信息;a parameter identification display unit, in the sub input box corresponding to each password segment, displaying identification information corresponding to each click operation detected as the display information corresponding to the current password input status;
其中,所述标识信息的显示图案与对应的点击操作的特征参数相匹配。The display pattern of the identification information matches the characteristic parameter of the corresponding click operation.
可选的,还包括:Optionally, it also includes:
区域显示单元,在所述解锁界面上显示预设区域;An area display unit, displaying a preset area on the unlocking interface;
其中,所述点击操作位于所述预设区域内。The click operation is located in the preset area.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可 读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. According to the definition herein, the computer readable medium does not include a temporary storage computer. Transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。 The above is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., which are made within the spirit and principles of the present application, should be included in the present application. Within the scope of protection.

Claims (14)

  1. 一种用户界面解锁的方法,其特征在于,包括:A method for unlocking a user interface, comprising:
    当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段;When the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
    根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数;Generating a real-time unlock password according to the feature parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
    当所述实时解锁密码与所述预设密码相匹配时,解除界面锁定状态。When the real-time unlock password matches the preset password, the interface lock state is released.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    获取相邻点击操作之间的间隔时长;Get the length of the interval between adjacent clicks;
    若所述间隔时长小于或等于第一预设时长,则确定所述相邻点击操作属于同一连续点击操作;若所述间隔时长大于或等于第二预设时长,则确定所述相邻点击操作属于不同的连续点击操作;其中,第二预设时长大于第一预设时长。If the interval duration is less than or equal to the first preset duration, determining that the adjacent click operation belongs to the same continuous click operation; if the interval duration is greater than or equal to the second preset duration, determining the adjacent click operation It belongs to different continuous click operations; wherein the second preset duration is greater than the first preset duration.
  3. 根据权利要求1所述的方法,其特征在于,所述特征参数还包括:每一所述连续点击操作中的每一点击操作的特征信息;其中,所述实时解锁密码中的每个密码位的密码包含相应的点击操作的特征信息;以及The method according to claim 1, wherein the feature parameter further comprises: feature information of each click operation in each of the consecutive click operations; wherein each of the real-time unlock passwords Password contains the feature information of the corresponding click operation;
    当所述实时解锁密码和所述预设密码的每个密码段对应的连击次数均相等,且处于相同密码位的密码包含的特征信息均相同时,判定所述实时解锁密码与所述预设密码相匹配。Determining the real-time unlocking password and the pre-determination when the number of consecutive hits corresponding to each of the real-time unlocking password and each of the preset passwords is equal, and the password information included in the password of the same password is the same Set the password to match.
  4. 根据权利要求3所述的方法,其特征在于,所述特征信息包括以下至少之一:The method according to claim 3, wherein the feature information comprises at least one of the following:
    点击操作的按压力度、按压时间长度、在所述预设区域内的相对位置。The pressing force of the click operation, the length of the pressing time, and the relative position within the preset area.
  5. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在所述解锁界面上显示密码输入框,所述密码输入框包括与所述密码段一一对应的子输入框;Displaying a password input box on the unlocking interface, where the password input box includes a sub-input box corresponding to the password segment one-to-one;
    根据当前的密码输入状况,预估下一点击操作对应的密码段和密码位,并在该密码段对应的子输入框中对应于该密码位的位置,显示输入提示标识。 According to the current password input status, the password segment and the password bit corresponding to the next click operation are estimated, and the input prompt identifier is displayed corresponding to the position of the password bit in the corresponding sub-entry box corresponding to the password segment.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    在每个密码段对应的子输入框中,显示对应于已检测到的每一点击操作的标识信息,以作为对应于所述当前的密码输入状况的展示信息;In the sub input box corresponding to each cipher segment, the identification information corresponding to each click operation detected is displayed as the display information corresponding to the current password input status;
    其中,所述标识信息的显示图案与对应的点击操作的特征参数相匹配。The display pattern of the identification information matches the characteristic parameter of the corresponding click operation.
  7. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    所述点击操作位于所述解锁界面上显示的预设区域内。The click operation is located in a preset area displayed on the unlocking interface.
  8. 一种用户界面解锁的装置,其特征在于,包括:A device for unlocking a user interface, comprising:
    获取单元,当解锁界面被触发时,获取应用于该界面的预设密码,所述预设密码包括多个密码段;Obtaining a unit, when the unlocking interface is triggered, acquiring a preset password applied to the interface, where the preset password includes multiple password segments;
    生成单元,根据触摸屏检测到的点击操作的特征参数,生成实时解锁密码;其中,所述特征参数包括:对应于每个密码段的连续点击操作的连击次数;a generating unit, configured to generate a real-time unlocking password according to the characteristic parameter of the click operation detected by the touch screen; wherein the feature parameter includes: a number of consecutive hits corresponding to consecutive click operations of each password segment;
    解锁单元,当所述实时解锁密码与所述预设密码相匹配时,解除界面锁定状态。The unlocking unit cancels the interface locking state when the real-time unlocking password matches the preset password.
  9. 根据权利要求8所述的装置,其特征在于,还包括:The device according to claim 8, further comprising:
    时长获取单元,获取相邻点击操作之间的间隔时长;The time acquisition unit obtains the interval between adjacent click operations;
    操作确定单元,在所述间隔时长小于或等于第一预设时长时,确定所述相邻点击操作属于同一连续点击操作;在所述间隔时长大于或等于第二预设时长时,确定所述相邻点击操作属于不同的连续点击操作;其中,第二预设时长大于第一预设时长。The operation determining unit determines that the adjacent click operation belongs to the same continuous click operation when the interval duration is less than or equal to the first preset duration; and when the interval duration is greater than or equal to the second preset duration, determining the The adjacent click operation belongs to different continuous click operations; wherein the second preset duration is greater than the first preset duration.
  10. 根据权利要求8所述的装置,其特征在于,所述特征参数还包括:每一所述连续点击操作中的每一点击操作的特征信息;其中,所述实时解锁密码中的每个密码位的密码包含相应的点击操作的特征信息;以及,所述装置还包括:The device according to claim 8, wherein the feature parameter further comprises: feature information of each click operation in each of the consecutive click operations; wherein each of the real-time unlock passwords The password includes the feature information of the corresponding click operation; and the device further includes:
    匹配判定单元,当所述实时解锁密码和所述预设密码的每个密码段对应的连击次数均相等,且处于相同密码位的密码包含的特征信息均相同时,判定所述实时解锁密码与所述预设密码相匹配。 a matching determining unit, when the number of consecutive hits corresponding to each of the real-time unlocking password and each of the preset passwords is equal, and the feature information included in the password of the same password is the same, determining the real-time unlocking password Matches the preset password.
  11. 根据权利要求10所述的装置,其特征在于,所述特征信息包括以下至少之一:The apparatus according to claim 10, wherein said characteristic information comprises at least one of the following:
    点击操作的按压力度、按压时间长度、在所述预设区域内的相对位置。The pressing force of the click operation, the length of the pressing time, and the relative position within the preset area.
  12. 根据权利要求8所述的装置,其特征在于,还包括:The device according to claim 8, further comprising:
    输入框显示单元,在所述解锁界面上显示密码输入框,所述密码输入框包括与所述密码段一一对应的子输入框;An input box display unit, wherein a password input box is displayed on the unlocking interface, and the password input box includes a sub-input box corresponding to the password segment one-to-one;
    提示标识显示单元,根据当前的密码输入状况,预估下一点击操作对应的密码段和密码位,并在该密码段对应的子输入框中对应于该密码位的位置,显示输入提示标识。The prompt identifier display unit estimates the password segment and the password bit corresponding to the next click operation according to the current password input status, and displays the input prompt identifier in the sub-input box corresponding to the password segment corresponding to the position of the password bit.
  13. 根据权利要求12所述的装置,其特征在于,还包括:The device according to claim 12, further comprising:
    参数标识显示单元,在每个密码段对应的子输入框中,显示对应于已检测到的每一点击操作的标识信息,以作为对应于所述当前的密码输入状况的展示信息;a parameter identification display unit, in the sub input box corresponding to each password segment, displaying identification information corresponding to each click operation detected as the display information corresponding to the current password input status;
    其中,所述标识信息的显示图案与对应的点击操作的特征参数相匹配。The display pattern of the identification information matches the characteristic parameter of the corresponding click operation.
  14. 根据权利要求8所述的装置,其特征在于,还包括:The device according to claim 8, further comprising:
    区域显示单元,在所述解锁界面上显示预设区域;An area display unit, displaying a preset area on the unlocking interface;
    其中,所述点击操作位于所述预设区域内。 The click operation is located in the preset area.
PCT/CN2015/097482 2014-12-23 2015-12-15 Method and device for unlocking user interface WO2016101813A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410816043.7 2014-12-23
CN201410816043.7A CN105786370B (en) 2014-12-23 2014-12-23 The method and device of user interface unlock

Publications (1)

Publication Number Publication Date
WO2016101813A1 true WO2016101813A1 (en) 2016-06-30

Family

ID=56149238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097482 WO2016101813A1 (en) 2014-12-23 2015-12-15 Method and device for unlocking user interface

Country Status (2)

Country Link
CN (1) CN105786370B (en)
WO (1) WO2016101813A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346339A (en) * 2021-11-19 2023-06-27 荣耀终端有限公司 Data protection method, system and electronic equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557255B (en) * 2016-10-28 2021-02-26 金华市智甄通信设备有限公司 Multi-touch unlocking method and electronic device
CN106557675A (en) * 2016-10-31 2017-04-05 努比亚技术有限公司 Terminal unlocking apparatus and method
CN108256300A (en) * 2017-07-24 2018-07-06 平安科技(深圳)有限公司 A kind of cipher set-up method, device and computer readable storage medium
CN110222490B (en) * 2019-06-11 2021-07-09 Oppo(重庆)智能科技有限公司 Unlocking method, unlocking device, terminal equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561714A (en) * 2009-06-01 2009-10-21 臧永学 Group password input method
CN102203705A (en) * 2011-06-10 2011-09-28 华为终端有限公司 A touch-off method and wireless hand-held device
CN102880414A (en) * 2012-08-28 2013-01-16 华为技术有限公司 Terminal equipment and method for starting program rapidly
CN102968262A (en) * 2012-11-29 2013-03-13 华为技术有限公司 Method, device and equipment for unlocking screen
US20140129974A1 (en) * 2012-11-04 2014-05-08 International Business Machines Corp Password presentation management
CN103824033A (en) * 2014-01-02 2014-05-28 南京永泰电子有限公司 Touch display device for safely inputting password information and password input method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8539382B2 (en) * 2009-04-03 2013-09-17 Palm, Inc. Preventing unintentional activation and/or input in an electronic device
CN101980131A (en) * 2010-10-29 2011-02-23 东莞宇龙通信科技有限公司 Unlocking method, system and communication terminal
CN102411682B (en) * 2011-08-01 2014-01-01 吴成贵 Password setting and authentication method
CN102830905A (en) * 2012-07-02 2012-12-19 人民搜索网络股份公司 Device and method for unlocking touch screen equipment based on clicking force
KR101276866B1 (en) * 2012-07-10 2013-07-30 주식회사 스페이스솔루션 Terminal for canceling lock function and release method for locking thereof
CN103916515A (en) * 2012-12-31 2014-07-09 比亚迪股份有限公司 Dynamic decryption method used for mobile terminal, and mobile terminal
CN103413084B (en) * 2013-07-22 2016-07-06 中国联合网络通信集团有限公司 The control method of display content of code box and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561714A (en) * 2009-06-01 2009-10-21 臧永学 Group password input method
CN102203705A (en) * 2011-06-10 2011-09-28 华为终端有限公司 A touch-off method and wireless hand-held device
CN102880414A (en) * 2012-08-28 2013-01-16 华为技术有限公司 Terminal equipment and method for starting program rapidly
US20140129974A1 (en) * 2012-11-04 2014-05-08 International Business Machines Corp Password presentation management
CN102968262A (en) * 2012-11-29 2013-03-13 华为技术有限公司 Method, device and equipment for unlocking screen
CN103824033A (en) * 2014-01-02 2014-05-28 南京永泰电子有限公司 Touch display device for safely inputting password information and password input method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346339A (en) * 2021-11-19 2023-06-27 荣耀终端有限公司 Data protection method, system and electronic equipment
CN116346339B (en) * 2021-11-19 2024-03-22 荣耀终端有限公司 Data protection method, system and electronic equipment

Also Published As

Publication number Publication date
CN105786370B (en) 2019-08-06
CN105786370A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
WO2016101813A1 (en) Method and device for unlocking user interface
US10073985B2 (en) Apparatus and method for trusted execution environment file protection
US10909234B2 (en) Method and apparatus for unlocking user interface
RU2608243C2 (en) Method and device for screen and terminal unlocking
US20150058972A1 (en) Method And Apparatus For Accessing An Application Program
US10574647B2 (en) User authentication method and system for implementing same
WO2017000350A1 (en) Touchscreen terminal-based unlock method and device and touchscreen terminal
US11176537B2 (en) Payment information processing method, apparatus, and user device
US9154309B2 (en) Method and system for running encrypted files
CN101529366A (en) Identification and visualization of trusted user interface objects
CN103795868A (en) Mobile terminal screen unlocking method and device and mobile terminal
WO2017198013A1 (en) Method and device for processing group message
WO2018107727A1 (en) Method and device for information processing, and terminal
TW201715426A (en) Service triggering method and device effectively simplify process of using the service to enhance the use efficiency of mobile terminal for users
WO2017190577A1 (en) Authentication method and device, method and device for generating information for authentication
WO2017088745A1 (en) Information processing method and apparatus, and electronic device
CN106203176A (en) A kind of application encryption method and device
CA3002678C (en) Interception-proof authentication and encryption system and method
JP2019502999A (en) Enhanced lock screen security
WO2017028694A1 (en) Method and device for unlocking
US20160227015A1 (en) Method, apparatus and mobile terminal for speed dial within page
US20200401679A1 (en) Method and system for preventing unauthorized computer processing
CN103034441B (en) Unlocking method and device
US11321472B1 (en) Systems and methods for monitoring secure web sessions
US10021095B1 (en) System, method, and computer program for two layer user authentication associated with connected home devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871881

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871881

Country of ref document: EP

Kind code of ref document: A1