技术领域Technical Field
本申请实施例涉及终端技术领域,特别涉及一种密码验证方法、装置、终端及存储介质。The embodiments of the present application relate to the field of terminal technology, and in particular to a password verification method, device, terminal and storage medium.
背景技术Background technique
随着终端功能越来越丰富,用户更多的体会到通过终端携带信息、进行支付等方式的便捷性,因此,用户对终端数据的安全性也越来越关注。As terminal functions become more and more abundant, users are more aware of the convenience of carrying information and making payments through terminals. Therefore, users are paying more and more attention to the security of terminal data.
相关技术中,一般通过为终端设置密码来保证终端数据的安全性,比如,亮屏密码、支付密码、信息查看密码等,且设置密码的方式大多为数字密码或图形密码,当用户需要查看相关内容时,需要手动在触摸显示屏中输入数字密码或绘制图形密码,由终端进行对比验证,验证通过后,终端才会显示相应内容。In the related art, the security of terminal data is generally ensured by setting a password for the terminal, such as a screen-on password, a payment password, an information viewing password, etc., and the password is mostly set as a numeric password or a graphic password. When the user needs to view relevant content, he needs to manually enter the numeric password or draw a graphic password on the touch screen, and the terminal will compare and verify it. Only after the verification is passed will the terminal display the corresponding content.
显然,采用相关技术中的密码验证方式,由于手动在触摸显示屏中输入数字或绘制图形时,密码对其他用户为间接可视的,可能导致密码泄露,从而威胁到终端数据的安全。Obviously, when using the password verification method in the related art, since the password is indirectly visible to other users when manually entering numbers or drawing graphics on the touch screen, it may lead to password leakage, thereby threatening the security of terminal data.
发明内容Summary of the invention
本申请实施例提供了一种密码验证方法、装置、终端及存储介质。所述技术方案如下:The embodiments of the present application provide a password verification method, device, terminal and storage medium. The technical solution is as follows:
一方面,本申请实施例提供了一种密码验证方法,所述方法应用于具有柔性显示屏的终端,所述终端包括第一壳体和第二壳体,所述第二壳体与所述第一壳体滑动连接,所述第二壳体和所述第一壳体通过相对运动改变所述柔性显示屏的外露显示区域,所述方法包括:On the one hand, an embodiment of the present application provides a password verification method, which is applied to a terminal with a flexible display screen, wherein the terminal includes a first shell and a second shell, the second shell is slidably connected to the first shell, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, and the method includes:
响应于存在密码输入需求,接收对所述柔性显示屏的n次伸缩操作,所述伸缩操作包括拉伸操作和收缩操作中的至少一种,其中,所述拉伸操作下,所述第一壳体和所述第二壳体通过相对运动以增加所述柔性显示屏的外露显示区域,所述收缩操作下,所述第一壳体和所述第二壳体通过相对运动以减少所述柔性显示屏的外露显示区域,n为正整数;In response to a password input requirement, receiving n retractable operations on the flexible display screen, the retractable operations including at least one of a stretching operation and a shrinking operation, wherein in the stretching operation, the first shell and the second shell move relative to each other to increase an exposed display area of the flexible display screen, and in the shrinking operation, the first shell and the second shell move relative to each other to reduce an exposed display area of the flexible display screen, and n is a positive integer;
根据所述伸缩操作下所述柔性显示屏的外露显示区域的尺寸,确定n次所述伸缩操作对应的输入密码;Determining, according to the size of the exposed display area of the flexible display screen during the retracting operation, an input password corresponding to n retracting operations;
根据预设密码对所述输入密码进行密码验证。Password verification is performed on the input password according to the preset password.
另一方面,本申请实施例提供了一种密码验证装置,所述装置应用于具有柔性显示屏的终端,所述终端包括第一壳体和第二壳体,所述第二壳体与所述第一壳体滑动连接,所述第二壳体和所述第一壳体通过相对运动改变所述柔性显示屏的外露显示区域,所述装置包括:On the other hand, an embodiment of the present application provides a password verification device, which is applied to a terminal with a flexible display screen, wherein the terminal includes a first shell and a second shell, wherein the second shell is slidably connected to the first shell, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, and the device includes:
第一接收模块,用于响应于存在密码输入需求,接收对所述柔性显示屏的n次伸缩操作,所述伸缩操作包括拉伸操作和收缩操作中的至少一种,其中,所述拉伸操作下,所述第一壳体和所述第二壳体通过相对运动以增加所述柔性显示屏的外露显示区域,所述收缩操作下,所述第一壳体和所述第二壳体通过相对运动以减少所述柔性显示屏的外露显示区域,n为正整数;a first receiving module, configured to receive n retractable operations on the flexible display screen in response to a password input requirement, wherein the retractable operations include at least one of a stretching operation and a shrinking operation, wherein in the stretching operation, the first shell and the second shell move relative to each other to increase an exposed display area of the flexible display screen, and in the shrinking operation, the first shell and the second shell move relative to each other to reduce an exposed display area of the flexible display screen, and n is a positive integer;
第一确定模块,用于根据所述伸缩操作下所述柔性显示屏的外露显示区域的尺寸,确定n次所述伸缩操作对应的输入密码;A first determining module, configured to determine an input password corresponding to n retracting operations according to a size of an exposed display area of the flexible display screen during the retracting operation;
密码验证模块,用于根据预设密码对所述输入密码进行密码验证。The password verification module is used to verify the input password according to a preset password.
另一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如上述方面所述的密码验证方法。On the other hand, an embodiment of the present application provides a terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the password verification method as described in the above aspects.
另一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如上述方面所述的密码验证方法。On the other hand, an embodiment of the present application provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by a processor to implement the password verification method described in the above aspects.
另一方面,本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现上述方面所述的密码验证方法。On the other hand, an embodiment of the present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by a processor to implement the password verification method described in the above aspect.
本申请实施例提供的技术方案至少包括如下有益效果:The technical solution provided by the embodiments of the present application includes at least the following beneficial effects:
当终端存在密码输入需求时,由于具有柔性显示屏的终端的第一壳体和第二壳体能够通过相对运动来改变柔性显示屏的外露显示区域的尺寸,因此,终端能够通过接收对柔性显示屏的n次伸缩操作,并获取伸缩操作下柔性显示屏的外露显示区域的尺寸,来确定n次伸缩操作对应的输入密码,从而根据预设密码对该输入密码进行密码验证。由于通过对柔性显示屏的伸缩操作来进行密码输入以及密码验证,整个密码验证过程中更多的是对柔性显示屏的伸缩操作,相比于相关技术中,手动在触摸显示屏中输入数字密码或绘制图形密码,本申请实施例提供的密码验证操作能够对密码起到遮盖作用,从而避免了输入密码时被其他用户偷窥而导致的终端密码泄露,进而提高了终端的数据安全性。When the terminal has a password input requirement, since the first shell and the second shell of the terminal with a flexible display can change the size of the exposed display area of the flexible display through relative movement, the terminal can determine the input password corresponding to the n retractable operations by receiving n retractable operations on the flexible display and obtaining the size of the exposed display area of the flexible display under the retractable operation, thereby performing password verification on the input password according to the preset password. Since the password input and password verification are performed by retracting the flexible display, the entire password verification process is more about retracting the flexible display. Compared with the related art, manually entering a digital password or drawing a graphic password on the touch display, the password verification operation provided by the embodiment of the present application can cover the password, thereby avoiding the leakage of the terminal password caused by other users peeping when entering the password, thereby improving the data security of the terminal.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1至图5示出了本申请一个示例性实施例示出的终端的结构示意图;FIG1 to FIG5 are schematic diagrams showing the structure of a terminal according to an exemplary embodiment of the present application;
图6示出了本申请一个示例性实施例示出的密码验证方法的流程图;FIG6 shows a flowchart of a password verification method according to an exemplary embodiment of the present application;
图7示出了本申请一个示例性实施例示出的伸缩操作的示意图;FIG7 is a schematic diagram showing a telescopic operation according to an exemplary embodiment of the present application;
图8示出了本申请一个示例性实施例示出的密码验证过程的界面示意图;FIG8 shows a schematic diagram of an interface of a password verification process according to an exemplary embodiment of the present application;
图9示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG9 shows a flowchart of a password verification method according to another exemplary embodiment of the present application;
图10示出了本申请一个示例性实施例示出的密码设置过程的界面示意图;FIG10 is a schematic diagram showing an interface of a password setting process according to an exemplary embodiment of the present application;
图11示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG11 is a flowchart showing a password verification method according to another exemplary embodiment of the present application;
图12示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG12 is a flowchart showing a password verification method according to another exemplary embodiment of the present application;
图13示出了本申请一个示例性实施例示出的参考边缘长度、目标边缘长度与伸缩距离关系的界面示意图;FIG13 is a schematic diagram showing an interface of the relationship between a reference edge length, a target edge length and a telescopic distance according to an exemplary embodiment of the present application;
图14示出了本申请一个示例性实施例示出的密码验证过程的示意图;FIG14 is a schematic diagram showing a password verification process according to an exemplary embodiment of the present application;
图15示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG15 shows a flowchart of a password verification method according to another exemplary embodiment of the present application;
图16示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG16 shows a flowchart of a password verification method according to another exemplary embodiment of the present application;
图17示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG17 shows a flowchart of a password verification method according to another exemplary embodiment of the present application;
图18示出了本申请另一个示例性实施例示出的密码验证方法的流程图;FIG18 shows a flowchart of a password verification method according to another exemplary embodiment of the present application;
图19示出了本申请一个示例性实施例提供的密码验证装置的结构框图;FIG19 shows a structural block diagram of a password verification device provided by an exemplary embodiment of the present application;
图20示出了本申请一个示例性实施例提供的终端的结构方框图。FIG. 20 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The term "multiple" as used herein refers to two or more than two. "And/or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the related objects are in an "or" relationship.
本申请实施例提供的密码验证方法,应用于具有柔性显示屏的终端,下面首先对终端的结构进行说明。The password verification method provided in the embodiment of the present application is applied to a terminal with a flexible display screen. The structure of the terminal is first described below.
请结合图1至图3,本申请实施例中的终端100包括壳体组件10、柔性显示屏30、带动件50及驱动机构70。壳体组件10为中空结构;带动件50、驱动机构70以及摄像头60等组件均可设置在壳体组件10。可以理解的是,本申请实施例中的终端100包括但不限于手机、平板等移动终端或者其它便携式电子设备,在本文中,以终端100为手机为例进行说明。Please refer to Figures 1 to 3, the terminal 100 in the embodiment of the present application includes a housing assembly 10, a flexible display screen 30, a driving member 50 and a driving mechanism 70. The housing assembly 10 is a hollow structure; the driving member 50, the driving mechanism 70 and the camera 60 and other components can be arranged in the housing assembly 10. It can be understood that the terminal 100 in the embodiment of the present application includes but is not limited to mobile terminals such as mobile phones and tablets or other portable electronic devices. In this article, the terminal 100 is taken as an example of a mobile phone for description.
在本申请实施中,壳体组件10包括第一壳体12和第二壳体14,第一壳体12和第二壳体14能够相对运动。在一种可能的实施方式中,第一壳体12和第二壳体14滑动连接,也即是说,第二壳体14能够相对第一壳体12滑动。In the implementation of the present application, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relative to each other. In a possible implementation, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 can slide relative to the first housing 12.
可选的,请参阅图4及图5,第一壳体12与第二壳体14共同形成有容置空间16。容置空间16可用于放置带动件50、摄像头60及驱动机构70等部件。壳体组件10还可包括后盖18,后盖18与第一壳体12与第二壳体14共同形成容置空间16。Optionally, referring to FIG. 4 and FIG. 5 , the first housing 12 and the second housing 14 together form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 60, and the driving mechanism 70. The housing assembly 10 may further include a back cover 18, which together with the first housing 12 and the second housing 14 forms the receiving space 16.
可选的,带动件50设置于第二壳体14,柔性显示屏30的一端设置于第一壳体12,柔性显示屏30绕过带动件50,且柔性显示屏30的另一端设置于容置空间16内,以使部分柔性显示屏30隐藏于容置空间16内,隐藏于容置空间16内的部分柔性显示屏30可不点亮。第一壳体12和第二壳体14相对远离,可通过带动件50带动柔性显示屏30展开,以使得更多的柔性显示屏30暴露于容置空间16外。点亮暴露于容置空间16外部的柔性显示屏30,以使得终端100所呈现的显示区域变大。Optionally, the driving member 50 is disposed on the second housing 14, one end of the flexible display screen 30 is disposed on the first housing 12, the flexible display screen 30 bypasses the driving member 50, and the other end of the flexible display screen 30 is disposed in the accommodating space 16, so that part of the flexible display screen 30 is hidden in the accommodating space 16, and the part of the flexible display screen 30 hidden in the accommodating space 16 may not be lit. The first housing 12 and the second housing 14 are relatively far apart, and the flexible display screen 30 can be driven to unfold by the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16. The flexible display screen 30 exposed outside the accommodating space 16 is lit up, so that the display area presented by the terminal 100 becomes larger.
可选的,带动件50为外部带有齿52的转轴结构,柔性显示屏30通过啮合等方式与带动件50相联动,第一壳体12和第二壳体14相对远离时,通过带动件50带动啮合于带动件50上的部分柔性显示屏30移动并展开。Optionally, the driving member 50 is a rotating shaft structure with teeth 52 on the outside, and the flexible display screen 30 is linked to the driving member 50 by meshing or the like. When the first shell 12 and the second shell 14 are relatively far apart, the driving member 50 drives the part of the flexible display screen 30 meshed on the driving member 50 to move and unfold.
可以理解,带动件50还可为不附带齿52的圆轴,第一壳体12和第二壳体14相对远离时,通过带动件50将卷绕于带动件50上的部分柔性显示屏30撑开,以使更多的柔性显示屏30暴露于容置空间16外,并处于平展状态。可选的,带动件50可转动地设置于第二壳体14,在逐步撑开柔性显示屏30时,带动件50可随柔性显示屏30的移动而转动。在其它实施例中,带动件50也可固定在第二壳体14上,带动件50具备光滑的表面。在将柔性显示屏30撑开时,带动件50通过其光滑的表面与柔性显示屏30可滑动接触。It can be understood that the driving member 50 can also be a round shaft without teeth 52. When the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 is used to open the part of the flexible display screen 30 wound on the driving member 50, so that more of the flexible display screen 30 is exposed outside the accommodating space 16 and is in a flat state. Optionally, the driving member 50 is rotatably arranged on the second shell 14. When the flexible display screen 30 is gradually opened, the driving member 50 can rotate with the movement of the flexible display screen 30. In other embodiments, the driving member 50 can also be fixed on the second shell 14, and the driving member 50 has a smooth surface. When the flexible display screen 30 is opened, the driving member 50 can slidably contact with the flexible display screen 30 through its smooth surface.
当第一壳体12和第二壳体14相对靠近时,柔性显示屏30可通过带动件50带动收回。或者,终端100还包括复位件(图未示),柔性显示屏收容于容置空间16的一端与复位件联动,在第一壳体12和第二壳体14相对靠近时,复位件带动柔性显示屏30复位,进而使得部分柔性显示屏30收回于容置空间16内。When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display screen 30 can be driven to retract by the driving member 50. Alternatively, the terminal 100 further includes a reset member (not shown), and one end of the flexible display screen accommodated in the accommodating space 16 is linked to the reset member. When the first housing 12 and the second housing 14 are relatively close to each other, the reset member drives the flexible display screen 30 to reset, thereby partially retracting the flexible display screen 30 into the accommodating space 16.
在本申请实施例中,驱动机构70可设置在容置空间16内,驱动机构70可与第二壳体14相联动,驱动机构70用于驱动第二壳体14相对于第一壳体12做相离运动,进而带动柔性显示屏组件30伸展。可以理解,驱动机构70也可以省略,用户可以直接通过手动等方式来使得第一壳体和第二壳体相对运动。In the embodiment of the present application, the driving mechanism 70 may be disposed in the accommodating space 16, and the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the flexible display assembly 30 to extend. It is understood that the driving mechanism 70 may also be omitted, and the user may directly make the first housing and the second housing move relative to each other by manual operation or other means.
本申请实施例中,当存在密码输入需求时,终端100能够通过接收对柔性显示屏30的n次伸缩操作,并获取伸缩操作下柔性显示屏30的外露显示区域的尺寸,来确定n次伸缩操作对应的输入密码,从而根据预设密码对该输入密码进行密码验证。由于通过对柔性显示屏的伸缩操作来进行密码输入以及密码验证,整个密码验证过程中更多的是对柔性显示屏的伸缩操作,相比于相关技术中,手动在触摸显示屏中输入数字密码或绘制图形密码,本申请实施例提供的密码验证操作能够对密码起到遮盖作用,从而避免了输入密码时被其他用户偷窥而导致的终端密码泄露,进而提高了终端的数据安全性。In the embodiment of the present application, when there is a need to input a password, the terminal 100 can determine the input password corresponding to the n-times retracting operation by receiving n-times retracting operation of the flexible display screen 30 and obtaining the size of the exposed display area of the flexible display screen 30 under the retracting operation, thereby performing password verification on the input password according to the preset password. Since the password input and password verification are performed by retracting the flexible display screen, the entire password verification process is more of a retracting operation of the flexible display screen. Compared with the related art, manually inputting a digital password or drawing a graphic password on the touch display screen, the password verification operation provided in the embodiment of the present application can cover the password, thereby avoiding the leakage of the terminal password caused by other users peeping when entering the password, thereby improving the data security of the terminal.
请参考图6,其示出了本申请一个示例性实施例示出的密码验证方法的流程图。本实施例以该方法应用于图1至5所示的终端中为例进行说明,该方法包括:Please refer to Figure 6, which shows a flowchart of a password verification method shown in an exemplary embodiment of the present application. This embodiment is described by taking the method applied to the terminal shown in Figures 1 to 5 as an example, and the method includes:
步骤601,响应于存在密码输入需求,接收对柔性显示屏的n次伸缩操作,n为正整数。Step 601: In response to a password input requirement, receiving n retracting operations on the flexible display screen, where n is a positive integer.
其中,伸缩操作包括拉伸操作和收缩操作中的至少一种,其中,拉伸操作下,第一壳体和第二壳体通过相对运动以增加柔性显示屏的外露显示区域,收缩操作下,第一壳体和第二壳体通过相对运动以减少柔性显示屏的外露显示区域。Among them, the telescopic operation includes at least one of a stretching operation and a contraction operation. In the stretching operation, the first shell and the second shell increase the exposed display area of the flexible display through relative movement. In the contraction operation, the first shell and the second shell reduce the exposed display area of the flexible display through relative movement.
在一个示例性的例子中,如图7所示,对柔性显示屏702的拉伸操作可以为:第一壳体701位置保持不变,第二壳体703沿箭头704所示的方向滑动,或第二壳体703位置保持不变,第一壳体701沿箭头705所示的方向滑动;或第一壳体701沿箭头705所示的方向滑动,同时第二壳体703沿箭头704所示的方向滑动;对柔性显示屏702的收缩操作可以为:第一壳体701位置保持不变,第二壳体703沿箭头705所示的方向滑动;或第二壳体703位置保持不变,第一壳体701沿箭头704所示的方向滑动;或第一壳体701沿箭头704所示的方向滑动,同时第二壳体703沿箭头705所示的方向滑动。本申请实施例对终端接收到的拉伸操作不构成限定。In an exemplary example, as shown in FIG7 , the stretching operation on the flexible display screen 702 may be: the first shell 701 remains in position, and the second shell 703 slides in the direction indicated by arrow 704, or the second shell 703 remains in position, and the first shell 701 slides in the direction indicated by arrow 705; or the first shell 701 slides in the direction indicated by arrow 705, and the second shell 703 slides in the direction indicated by arrow 704 at the same time; the contraction operation on the flexible display screen 702 may be: the first shell 701 remains in position, and the second shell 703 slides in the direction indicated by arrow 705; or the second shell 703 remains in position, and the first shell 701 slides in the direction indicated by arrow 704; or the first shell 701 slides in the direction indicated by arrow 704, and the second shell 703 slides in the direction indicated by arrow 705 at the same time. The present application embodiment does not limit the stretching operation received by the terminal.
针对终端存在密码输入需求的场景,可以是终端开机时需要输入开机密码,或终端亮屏需要输入亮屏密码;或开启(进入)某个应用程序界面时需要输入密码;或登录某个应用程序时需要输入登录密码;或查看某类隐私信息时需要输入查看密码;或进行线上支付时需要输入支付密码等,本申请实施例对存在密码输入需求的场景不构成限定。For scenarios where a password input is required at the terminal, it may be that a power-on password needs to be entered when the terminal is turned on, or a screen-on password needs to be entered when the terminal turns on the screen; or a password needs to be entered when opening (entering) a certain application interface; or a login password needs to be entered when logging into a certain application; or a viewing password needs to be entered when viewing certain types of private information; or a payment password needs to be entered when making an online payment, etc. The embodiments of the present application do not limit the scenarios where password input is required.
在一种可能的实施方式中,当终端存在密码输入需求时,比如,用户需要查看相册,需要手动输入相册查看密码时,用户可以通过对柔性显示屏进行伸缩操作,相应的,终端能够接收对柔性显示屏的伸缩操作,并根据伸缩操作来进行后续的密码输入和密码验证等步骤。In a possible implementation, when the terminal requires password input, for example, the user needs to view a photo album and needs to manually enter a password to view the album, the user can telescope the flexible display screen. Accordingly, the terminal can receive the telescopic operation of the flexible display screen and perform subsequent password input and password verification steps according to the telescopic operation.
步骤602,根据伸缩操作下柔性显示屏的外露显示区域的尺寸,确定n次伸缩操作对应的输入密码。Step 602: Determine the input password corresponding to n retracting operations according to the size of the exposed display area of the flexible display screen during the retracting operation.
其中,n为终端预设密码的位数,比如,用户为终端亮屏密码设定为六位密码,则对应的n为6,则对应的用户需要至少进行6次伸缩操作,才可以进行密码验证。Among them, n is the number of digits of the terminal preset password. For example, if the user sets a six-digit password for the terminal screen-on password, the corresponding n is 6, and the corresponding user needs to perform at least 6 telescopic operations before the password can be verified.
由于终端可以通过第一壳体和第二壳体的相对运动改变柔性显示屏的外露显示区域的尺寸,其中,外露显示区域的尺寸为可变量,将该可变量对应不同的输入数值,即将不同外露显示区域的尺寸转换成对应的密码数值,因此,在一种可能的实施方式中,用户可以通过对柔性显示屏进行n次不同的伸缩操作,相应的,终端根据n次伸缩操作分别对应的外露显示区域的尺寸,转换为对应的输入数值,并将该n个输入数值确定为输入密码,即可以通过对柔性显示屏的伸缩操作实现密码验证。Since the terminal can change the size of the exposed display area of the flexible display screen through the relative movement of the first shell and the second shell, wherein the size of the exposed display area is a variable, and the variable is corresponded to different input values, that is, the sizes of different exposed display areas are converted into corresponding password values, therefore, in a possible implementation, the user can perform n different telescopic operations on the flexible display screen, and accordingly, the terminal converts the sizes of the exposed display areas corresponding to the n telescopic operations into corresponding input values, and determines the n input values as the input password, that is, the password verification can be achieved through the telescopic operation of the flexible display screen.
针对外露显示区域的尺寸的确定方法,在一种可能的实施方式中,可以由伸缩操作下,柔性显示屏中长度发生改变屏幕边缘的长度来代表外露区域的尺寸,比如,第一次伸缩操作下,柔性显示屏的外露区域的尺寸(屏幕边缘长度)为5cm。Regarding the method for determining the size of the exposed display area, in one possible implementation, the size of the exposed area can be represented by the length of the screen edge whose length changes in the flexible display screen during the telescopic operation. For example, during the first telescopic operation, the size of the exposed area of the flexible display screen (screen edge length) is 5 cm.
在一个示意性的例子中,如图7所示,当终端第一壳体701保持不动,第二壳体703沿箭头705所示的方向运动时,则终端获取到该次收缩操作后柔性显示屏外露区域的尺寸,即屏幕边缘706对应的长度,并根据屏幕边缘706的长度确定出本次收缩操作对应的输入密码。In an illustrative example, as shown in Figure 7, when the first shell 701 of the terminal remains stationary and the second shell 703 moves in the direction indicated by the arrow 705, the terminal obtains the size of the exposed area of the flexible display screen after the contraction operation, that is, the length corresponding to the screen edge 706, and determines the input password corresponding to this contraction operation based on the length of the screen edge 706.
可选的,终端中预先在多个特定伸缩位置处设定有固定的参考数值,比如,若柔性显示屏处于完全展开状态下,即柔性显示屏的外露显示区域最大时,对应的参考数值为9,则当伸缩操作后柔性显示屏对应的外露显示区域最大时,则对应的输入密码即为9。Optionally, fixed reference values are pre-set in the terminal at multiple specific telescopic positions. For example, if the flexible display screen is in a fully expanded state, that is, the exposed display area of the flexible display screen is the largest, the corresponding reference value is 9. Then, when the exposed display area of the flexible display screen is the largest after the telescopic operation, the corresponding input password is 9.
可选的,若预设密码为n位相同数值的密码,比如,预设密码为6个“1”,终端允许用户仅进行单次伸缩操作,相应的,终端接收到对柔性显示屏的单次伸缩操作,即可以根据该伸缩操作对应的柔性显示屏的外露显示区域的尺寸,确定出输入密码,并进行后续密码验证操作,无需用户进行重复伸缩操作。Optionally, if the preset password is a password with n digits of the same value, for example, the preset password is 6 "1s", the terminal allows the user to perform only a single retracting operation. Accordingly, the terminal receives a single retracting operation on the flexible display screen, and can determine the input password based on the size of the exposed display area of the flexible display screen corresponding to the retracting operation, and perform subsequent password verification operations without the user having to perform repeated retracting operations.
步骤603,根据预设密码对输入密码进行密码验证。Step 603: Verify the input password according to the preset password.
其中,预设密码为用户在进行密码验证操作之前,预先设置的密码,即进行密码验证的依据。The preset password is a password that is pre-set by the user before performing a password verification operation, which is the basis for password verification.
在一种可能的实施方式中,当终端接收到n次伸缩操作后,并根据n次伸缩操作分别对应的外露显示区域的尺寸,确定出n次伸缩操作分别对应的输入数值,并将n各输入数值确定为输入密码,即可以将输入密码与预设密码进行对比验证,当验证通过时,则进行后续操作。In a possible implementation, after the terminal receives n retracting operations, it determines the input values corresponding to the n retracting operations respectively according to the sizes of the exposed display areas corresponding to the n retracting operations respectively, and determines each of the n input values as an input password, that is, the input password can be compared with the preset password for verification, and when the verification is passed, subsequent operations are performed.
在一个示意性的例子中,请参考图8,其示出了本申请一个示例性实施例示出的密码验证过程的界面示意图。若密码输入场景为线上支付场景,终端进入支付界面801后,用户通过点击支付界面801上的支付控件802,相应的,终端接收到对支付控件802的点击操作,在支付界面801上层显示支付确认窗口803,该支付确认窗口803用于提示用户进行支付密码输入,此时,用户无需手动在密码输入框805中输入数值,能够通过对柔性显示屏804进行n次伸缩操作,相应的,终端接收到对柔性显示屏804的伸缩操作,确定出输入密码,并与用户预先设置的支付密码进行匹配,若匹配成功,则表示验证通过,并完成支付操作,此时,终端由支付界面801跳转至支付完成界面806,该支付完成界面806中显示有提示信息“支付完成”和对应的支付信息,用于提示用户本次线上支付完成。In an illustrative example, please refer to FIG8, which shows an interface diagram of a password verification process shown in an exemplary embodiment of the present application. If the password input scenario is an online payment scenario, after the terminal enters the payment interface 801, the user clicks the payment control 802 on the payment interface 801, and accordingly, the terminal receives the click operation on the payment control 802, and displays the payment confirmation window 803 on the upper layer of the payment interface 801. The payment confirmation window 803 is used to prompt the user to enter the payment password. At this time, the user does not need to manually enter a value in the password input box 805, and can perform n telescopic operations on the flexible display screen 804. Correspondingly, the terminal receives the telescopic operation on the flexible display screen 804, determines the input password, and matches it with the payment password pre-set by the user. If the match is successful, it means that the verification is passed and the payment operation is completed. At this time, the terminal jumps from the payment interface 801 to the payment completion interface 806, and the payment completion interface 806 displays the prompt information "Payment Completed" and the corresponding payment information, which is used to prompt the user that the online payment is completed.
综上所述,本申请实施例中,当终端存在密码输入需求时,由于具有柔性显示屏的终端的第一壳体和第二壳体能够通过相对运动来改变柔性显示屏的外露显示区域的尺寸,因此,终端能够通过接收对柔性显示屏的n次伸缩操作,并获取伸缩操作下柔性显示屏的外露显示区域的尺寸,来确定n次伸缩操作对应的输入密码,从而根据预设密码对该输入密码进行密码验证。由于通过对柔性显示屏的伸缩操作来进行密码输入以及密码验证,整个密码验证过程中更多的是对柔性显示屏的伸缩操作,相比于相关技术中,手动在触摸显示屏中输入数字密码或绘制图形密码,本申请实施例提供的密码验证操作能够对密码起到遮盖作用,从而避免了输入密码时被其他用户偷窥而导致的终端密码泄露,进而提高了终端的数据安全性。In summary, in the embodiment of the present application, when there is a need to input a password in the terminal, since the first shell and the second shell of the terminal with a flexible display screen can change the size of the exposed display area of the flexible display screen through relative movement, the terminal can receive n telescopic operations on the flexible display screen and obtain the size of the exposed display area of the flexible display screen under the telescopic operation to determine the input password corresponding to the n telescopic operations, thereby performing password verification on the input password according to the preset password. Since the password input and password verification are performed by telescopic operations on the flexible display screen, the entire password verification process is more about telescopic operations on the flexible display screen. Compared with the related art, manually inputting a digital password or drawing a graphic password on the touch display screen, the password verification operation provided in the embodiment of the present application can cover the password, thereby avoiding the leakage of the terminal password caused by peeping by other users when entering the password, thereby improving the data security of the terminal.
在另一种可能的应用场景中,本申请实施例中通过对柔性显示屏的伸缩操作进行密码验证的方法,也同样适用于密码设置场景下,即通过接收对柔性显示屏的伸缩操作,来进行密码设置,可以避免密码设置过程中被其他用户可见,从而进一步提高终端密码的保密性。In another possible application scenario, the method of performing password verification through the extension and retraction operation of the flexible display screen in the embodiment of the present application is also applicable to the password setting scenario, that is, by receiving the extension and retraction operation of the flexible display screen to set the password, the password setting process can be avoided from being visible to other users, thereby further improving the confidentiality of the terminal password.
在一个示意性的例子中,在图6的基础上,如图9所示,其示出了本申请另一个示例性实施例示出的密码验证方法的流程图,本实施例以该方法应用于图1至5所示的终端中为例进行说明,该方法包括:In an illustrative example, based on FIG. 6, as shown in FIG. 9, a flowchart of a password verification method shown in another exemplary embodiment of the present application is shown. This embodiment is described by applying the method to the terminal shown in FIGS. 1 to 5 as an example. The method includes:
步骤901,响应于存在密码设置需求,接收对柔性显示屏的n次伸缩操作,n为正整数。Step 901: In response to a password setting requirement, receiving n retracting and retracting operations on the flexible display screen, where n is a positive integer.
针对存在密码设置需求的场景,与上文中的存在密码验证需求的场景对应,比如,支付场景下需要设置支付密码,隐私查看场景下需要设置隐私查看密码,应用登录场景中需要设置登录密码,终端开机场景下需要设置开机密码等,本申请实施例对存在密码设置需求的场景不构成限定。For scenarios where there is a need to set a password, it corresponds to the scenarios where there is a need for password verification mentioned above. For example, a payment password needs to be set in a payment scenario, a privacy viewing password needs to be set in a privacy viewing scenario, a login password needs to be set in an application login scenario, and a power-on password needs to be set in a terminal power-on scenario, etc. The embodiments of the present application do not limit the scenarios where there is a need to set a password.
在一种可能的实施方式中,当终端处于存在密码设置需求的场景,比如,用于为线上支付类应用设置支付密码时,用户可以通过对柔性显示屏进行伸缩操作,相应的,终端能够接收对柔性显示屏的伸缩操作,并根据该伸缩操作来进行后续的密码设置步骤。In a possible implementation, when the terminal is in a scenario where there is a need to set a password, for example, when used to set a payment password for an online payment application, the user can extend or retract the flexible display screen. Accordingly, the terminal can receive the extension or retraction operation on the flexible display screen and perform subsequent password setting steps based on the extension or retraction operation.
可选的,n与设置密码的位数相关,比如,支付密码对应六位数,则对应的n为6。Optionally, n is related to the number of digits in the set password. For example, if the payment password corresponds to six digits, the corresponding n is 6.
步骤902,根据伸缩操作下柔性显示屏的外露显示区域的尺寸,确定n次伸缩操作对应的待设置密码。Step 902 : determining the password to be set corresponding to n retracting operations according to the size of the exposed display area of the flexible display screen during the retracting operation.
其中,根据伸缩操作确定待设置密码的过程可以参考根据伸缩操作确定输入密码的实施方式,本实施例在此不做赘述。The process of determining the password to be set according to the telescopic operation may refer to the implementation of determining the input password according to the telescopic operation, which will not be described in detail in this embodiment.
在一种可能的实施方式中,用户根据需要设置的密码,进行对应的伸缩操作,相应的,终端接收到n次伸缩操作,并根据n次伸缩操作分别对应的柔性显示屏的外露显示区域的尺寸,来确定对应的待设置密码。In a possible implementation, the user performs a corresponding retracting operation according to the password to be set. Accordingly, the terminal receives n retracting operations and determines the corresponding password to be set according to the sizes of the exposed display areas of the flexible display screen corresponding to the n retracting operations.
步骤903,显示密码设置确认窗口,密码设置确认窗口中显示有待设置密码,密码设置确认窗口用于提示是否将待设置密码确定为预设密码。Step 903: Display a password setting confirmation window, in which the password to be set is displayed. The password setting confirmation window is used to prompt whether to determine the password to be set as a preset password.
由于用户在进行伸缩操作时,可能存在操作失误,或存在外露显示区域尺寸上的误差,可能存在终端根据伸缩操作确定的待设置密码与用户需求不符,因此,为了避免伸缩操作误差导致密码设置错误的情况,在一种可能的实施方式中,当终端确定出待设置密码后,需要将该待设置密码进行显示,以便用户进行确认。Since the user may make an operational error or an error in the size of the exposed display area when performing the telescopic operation, the password to be set determined by the terminal based on the telescopic operation may not meet the user's requirements. Therefore, in order to avoid the situation where the password is set incorrectly due to telescopic operation errors, in a possible implementation, after the terminal determines the password to be set, it is necessary to display the password to be set for the user to confirm.
可选的,终端能够通过密码设置确认窗口来显示待设置密码,并提示用户是否将该待设置密码确定为预设密码。Optionally, the terminal can display the password to be set through a password setting confirmation window, and prompt the user whether to determine the password to be set as a preset password.
在一个示意性的例子中,请参考图10,其示出了本申请一个示例性实施例示出的密码设置过程的界面示意图。在密码设置界面1001中,当终端根据n次伸缩操作确认出待设置密码后,即在密码设置界面1001上层显示密码设置确认窗口1002,该密码设置确认窗口1002中显示有提示信息“是否将xxxxxx设置为预设密码”,以及确认控件1003和返回控件1004。In an illustrative example, please refer to FIG. 10 , which shows an interface diagram of a password setting process shown in an exemplary embodiment of the present application. In the password setting interface 1001, when the terminal confirms the password to be set according to n telescoping operations, a password setting confirmation window 1002 is displayed on the upper layer of the password setting interface 1001, and the password setting confirmation window 1002 displays a prompt message "Do you want to set xxxxxx as the preset password", as well as a confirmation control 1003 and a return control 1004.
步骤904,响应于接收到对密码设置确认窗口的确认操作,将待设置密码确定为预设密码。Step 904: in response to receiving a confirmation operation on the password setting confirmation window, determining the password to be set as a preset password.
在一种可能的实施方式中,当用户点击密码设置确认窗口中的确认控件时,相应的,终端接收到对密码设置确认窗口的确认操作,则将待设置密码确定为预设密码;相反,若用户点击密码设置确认窗口的返回控件,表示待设置密码有误,需要重新进行密码设置操作,相应的,终端在接收到对密码设置确认窗口的返回操作,则返回上一级界面(即密码设置界面)。In one possible implementation, when the user clicks the confirmation control in the password setting confirmation window, the terminal receives the confirmation operation on the password setting confirmation window and determines the password to be set as the preset password; on the contrary, if the user clicks the return control in the password setting confirmation window, it indicates that the password to be set is incorrect and the password setting operation needs to be performed again. Accordingly, the terminal returns to the previous level interface (i.e., the password setting interface) upon receiving the return operation on the password setting confirmation window.
在一个示例性的例子中,当用户点击确认控件1003后,相应的,终端接收到对确认控件1003的点击操作,则将待设置密码确定为预设密码,并显示密码设置成功提示信息,以便提示用户密码设置完成,若用户点击返回控件1004,相应的,终端接收到对返回控件1004的点击操作,则返回上一级界面,即密码设置界面1001。In an illustrative example, when the user clicks the confirmation control 1003, the terminal receives the click operation on the confirmation control 1003, and determines the password to be set as the preset password, and displays a prompt message that the password setting is successful, so as to prompt the user that the password setting is completed. If the user clicks the return control 1004, the terminal receives the click operation on the return control 1004, and returns to the previous level interface, that is, the password setting interface 1001.
可选的,若终端确定出预设密码为相同数值的密码时,为了便于用户后续进行密码验证操作,无需重复进行伸缩操作,在一种可能的实施方式中,当终端接收到对密码设置确认窗口的确认操作后,则显示验证方式确认窗口,该验证方式确认窗口中显示有提示信息,用于提示用户是否选择通过单次伸缩操作进行密码验证。Optionally, if the terminal determines that the preset password is a password with the same numerical value, in order to facilitate the user's subsequent password verification operation, there is no need to repeat the telescopic operation. In one possible implementation, when the terminal receives a confirmation operation on the password setting confirmation window, a verification method confirmation window is displayed. A prompt message is displayed in the verification method confirmation window to prompt the user whether to choose to perform password verification through a single telescopic operation.
在一个示例性的例子中,当用户点击确认控件1003后,相应的,终端接收到对确认控件1003的点击操作,并确定出预设密码为相同数值时,则在密码设置界面1001上层显示验证方式确认窗口1005,该验证方式确认窗口1005中显示有提示信息“是否通过单次伸缩操作进行密码验证”,以及“是”控件1006和“否”控件1007,当用户点击“是”控件1006后,相应的,终端接收到对“是”控件1006的点击操作,则后续进行密码验证操作时,当终端接收到单次伸缩操作后,即可以根据该单次伸缩操作对应的输入密码进行密码验证,当用户点击“否”控件1007后,相应的,终端接收到对“否”控件1007的点击操作,则后续进行密码验证操作时,终端会根据预设密码的位数,并在接收到与位数相对应的n次伸缩操作后,才会对输入密码进行密码验证。In an illustrative example, when the user clicks the confirmation control 1003, the terminal receives the click operation on the confirmation control 1003 and determines that the preset password is the same value, then a verification method confirmation window 1005 is displayed on the upper layer of the password setting interface 1001. The verification method confirmation window 1005 displays a prompt message "Do you want to perform password verification through a single telescopic operation", as well as a "yes" control 1006 and a "no" control 1007. When the user clicks the "yes" control 1006, the terminal receives the click operation on the "yes" control 1006. When the password verification operation is performed subsequently, when the terminal receives the single telescopic operation, the password verification can be performed according to the input password corresponding to the single telescopic operation. When the user clicks the "no" control 1007, the terminal receives the click operation on the "no" control 1007. When the password verification operation is performed subsequently, the terminal will perform password verification on the input password according to the number of digits of the preset password and after receiving n telescopic operations corresponding to the number of digits.
步骤905,响应于存在密码输入需求,接收对柔性显示屏的n次伸缩操作。Step 905 : In response to a password input requirement, receiving n retracting and retracting operations on the flexible display screen.
步骤906,根据伸缩操作下柔性显示屏的外露显示区域的尺寸,确定n次伸缩操作对应的输入密码。Step 906 , determining the input password corresponding to n retracting operations according to the size of the exposed display area of the flexible display screen during the retracting operation.
步骤907,根据预设密码对输入密码进行密码验证。Step 907: Verify the input password according to the preset password.
步骤905至步骤907的实施方式可以参考上文实施例,本实施例在此不做赘述。The implementation of steps 905 to 907 may refer to the above embodiments, and will not be described in detail in this embodiment.
本实施例中,本实施例示出的密码设置方式在密码验证操作之前进行,则用户在进行密码设置和密码验证时,均通过对柔性显示屏的伸缩操作来进行,在密码设置和密码验证环节均能够对密码起到遮挡作用,能够进一步提高终端的数据安全性。In this embodiment, the password setting method shown in this embodiment is performed before the password verification operation. When the user sets the password and verifies the password, the user does so by extending and retracting the flexible display screen. The password can be shielded during both the password setting and password verification steps, which can further improve the data security of the terminal.
由于数字密码一般对应0-9的数值范围,且为正整数,而柔性显示屏的外露显示区域的尺寸可以为任意数值,因此,开发人员需要预先定义柔性显示屏的外露显示区域的尺寸和输入密码数值的转换关系,比如,根据外露显示区域的边缘长度来确定输入密码,或定义边缘长度与输入数值之间的对应关系等。Since a digital password generally corresponds to a numerical range of 0-9 and is a positive integer, and the size of the exposed display area of the flexible display can be any value, the developer needs to predefine the conversion relationship between the size of the exposed display area of the flexible display and the input password value, for example, determine the input password based on the edge length of the exposed display area, or define the correspondence between the edge length and the input value, etc.
请参考图11,其示出了本申请另一个示例性实施例示出的密码验证方法的流程图,本实施例以该方法应用于图1至5所示的终端中为例进行说明,该方法包括:Please refer to FIG. 11, which shows a flowchart of a password verification method shown in another exemplary embodiment of the present application. This embodiment is described by taking the method applied to the terminal shown in FIGS. 1 to 5 as an example. The method includes:
步骤1101,响应于存在密码输入需求,接收对柔性显示屏的n次伸缩操作,n为正整数。Step 1101: In response to a password input requirement, receiving n retracting operations on the flexible display screen, where n is a positive integer.
步骤1101的实施方式可以参考步骤601,本实施例在此不做赘述。The implementation of step 1101 may refer to step 601, and this embodiment will not be described in detail here.
步骤1102,获取第m次伸缩操作后外露显示区域的目标边缘长度,目标边缘长度为壳体相对运动方向上的屏幕边缘的长度,其中,m为小于等于n的正整数。Step 1102, obtaining a target edge length of the exposed display area after the mth retracting operation, where the target edge length is the length of the screen edge in the direction of relative movement of the shell, wherein m is a positive integer less than or equal to n.
由于柔性显示屏的第一壳体和第二壳体在进行相对运动时,一般存在一条屏幕边缘长度保持不变,而另一条屏幕边缘长度会随着伸缩操作而发生改变,比如,当用户对柔性显示屏进行拉伸操作时,则屏幕边缘长度随拉伸操作的作用时间而变长,当用户对柔性显示屏进行收缩操作时,则屏幕边缘长度随收缩操作的作用时间而变短,因此,在一种可能的实施方式中,定义长度随伸缩操作改变的屏幕边缘为目标边缘,也即目标边缘指位于壳体相对运动方向上的屏幕边缘,并根据目标边缘长度来确定输入数值。Since when the first shell and the second shell of the flexible display screen are performing relative movement, generally there is a screen edge whose length remains unchanged, while the length of the other screen edge changes with the extension and retraction operation. For example, when the user stretches the flexible display screen, the length of the screen edge becomes longer as the stretching operation lasts; when the user shrinks the flexible display screen, the length of the screen edge becomes shorter as the shrinking operation lasts. Therefore, in a possible implementation, the screen edge whose length changes with the extension and retraction operation is defined as the target edge, that is, the target edge refers to the screen edge located in the direction of relative movement of the shells, and the input value is determined based on the target edge length.
在一种可能的实施方式中,当终端接收到对柔性显示屏的第m次伸缩操作后,柔性显示屏位于当前伸缩操作停留处,即可以获取到第m次伸缩操作后外露显示区域的目标边缘长度,用于后续将目标边缘长度转换为第m位输入数值。In a possible implementation, when the terminal receives the mth retracting operation on the flexible display screen, the flexible display screen is located at the current retracting operation stop position, and the target edge length of the exposed display area after the mth retracting operation can be obtained, which is used to subsequently convert the target edge length into the mth input value.
步骤1103,根据目标边缘长度,确定第m位输入数值。Step 1103, determining the mth input value according to the target edge length.
在一种可能的实施方式中,终端在确定出第m次伸缩操作后,柔性显示屏的外露显示区域对应的目标边缘长度时,即可以根据目标边缘长度与输入数值之间的转换关系,确定出第m次伸缩操作对应的输入数值。In a possible implementation, after determining the target edge length corresponding to the exposed display area of the flexible display screen after the mth retracting operation, the terminal can determine the input value corresponding to the mth retracting operation based on the conversion relationship between the target edge length and the input value.
为了便于目标边缘长度与输入数值之间的转换,在一种可能的实施方式中,开发人员预先针对柔性显示屏设置有参考数值对应的参考边缘长度,该参考数值即对应密码数值,比如,参考数值为“3”对应的参考边缘长度为10.5cm,且定义有单位长度,表示相邻参考数值之间的距离,用来量化伸缩距离。In order to facilitate the conversion between the target edge length and the input value, in a possible implementation, the developer pre-sets a reference edge length corresponding to a reference value for the flexible display screen. The reference value corresponds to the password value. For example, the reference edge length corresponding to the reference value "3" is 10.5 cm, and a unit length is defined to represent the distance between adjacent reference values, which is used to quantify the telescopic distance.
在一个示例性的例子中,在图11的基础上,如图12所示,步骤1103可以包括步骤1103A和步骤1103B。In an exemplary example, based on FIG. 11 , as shown in FIG. 12 , step 1103 may include step 1103A and step 1103B.
步骤1103A,根据目标边缘长度和参考边缘长度,确定伸缩距离,参考边缘长度为输入参考数值时壳体相对运动方向上的屏幕边缘的长度。Step 1103A, determining the telescopic distance according to the target edge length and the reference edge length, wherein the reference edge length is the length of the screen edge in the direction of relative movement of the shell when the reference value is input.
其中,参考数值与参考边缘长度之间的对应关系可以由开发人员预先设置,比如,定义柔性显示屏完全展开时,屏幕底端位置处(即柔性显示屏目标边缘长度最大时)对应的参考数值为0,或,定义屏幕底端位置处对应的参考数值为9,或定义柔性显示屏处于未伸缩状态时,屏幕底端位置处(柔性显示屏目标边缘长度最小时)对应的参考数值为0,本实施例对此不构成限定。Among them, the correspondence between the reference value and the reference edge length can be preset by the developer. For example, when the flexible display is fully unfolded, the reference value corresponding to the bottom of the screen (that is, when the target edge length of the flexible display is the largest) is defined as 0, or, the reference value corresponding to the bottom of the screen is defined as 9, or when the flexible display is in an unextended state, the reference value corresponding to the bottom of the screen (when the target edge length of the flexible display is the smallest) is defined as 0. This embodiment does not constitute a limitation on this.
在一个示例性的例子中,参考边缘长度与参考数值之间的对应关系可以如表一所示:In an exemplary example, the corresponding relationship between the reference edge length and the reference value may be shown in Table 1:
表一Table I
其中,最小参考边缘长度即终端的最小外露显示区域对应的目标边缘的长度,如表一所示,若最小参考边缘长度为6cm,表示柔性显示屏不会完全收缩,存在最小外露显示区域,且该最小外露显示区域对应的目标边缘的长度为6cm。Among them, the minimum reference edge length is the length of the target edge corresponding to the minimum exposed display area of the terminal, as shown in Table 1. If the minimum reference edge length is 6 cm, it means that the flexible display screen will not shrink completely, there is a minimum exposed display area, and the length of the target edge corresponding to the minimum exposed display area is 6 cm.
可选的,最小参考边缘长度可以为0cm,表示柔性显示屏可以完全收缩。Optionally, the minimum reference edge length may be 0 cm, indicating that the flexible display may be fully retracted.
在一种可能的实施方式中,当终端在接收n次伸缩操作之前,确定出参考边缘长度,即接收第一次伸缩操作之前,柔性显示屏外露显示区域对应的参考边缘长度,并进行记录,当终端接收到第m次伸缩操作后,通过获取当前外露显示区域对应的目标边缘长度,与预先记录的参考边缘长度做差,即可以确定出第m次伸缩操作后相对于未进行伸缩操作之前的总体伸缩距离。In a possible implementation, before receiving n retracting operations, the terminal determines a reference edge length, that is, a reference edge length corresponding to the exposed display area of the flexible display screen before receiving the first retracting operation, and records it. When the terminal receives the mth retracting operation, by obtaining the target edge length corresponding to the current exposed display area and subtracting it from the pre-recorded reference edge length, the overall retracting distance after the mth retracting operation relative to before the retracting operation is determined.
在一个示例性的例子中,如图13所示,其示出了本申请一个示例性实施例示出的参考边缘长度、目标边缘长度与伸缩距离关系的界面示意图。如图13所示,当柔性显示屏1301未接收伸缩操作之前,柔性显示屏1301对应的参考边缘长度为屏幕边缘1302对应的长度,当终端接收到对柔性显示屏1301的拉伸操作,即沿箭头1303所示的方向对柔性显示屏1301进行拉伸操作,则拉伸操作后屏幕边缘1302对应的长度即为目标边缘长度,则目标边缘长度与参考边缘长度的差值即为本次拉伸操作对应的拉伸距离。In an exemplary example, as shown in FIG13, it shows an interface schematic diagram of the relationship between the reference edge length, the target edge length and the telescopic distance shown in an exemplary embodiment of the present application. As shown in FIG13, before the flexible display screen 1301 receives the telescopic operation, the reference edge length corresponding to the flexible display screen 1301 is the length corresponding to the screen edge 1302. When the terminal receives the stretching operation on the flexible display screen 1301, that is, the flexible display screen 1301 is stretched in the direction indicated by the arrow 1303, the length corresponding to the screen edge 1302 after the stretching operation is the target edge length, and the difference between the target edge length and the reference edge length is the stretching distance corresponding to this stretching operation.
在一个示例性的例子中,若参考边缘长度为6cm,第m次伸缩操作后对应的目标边缘长度为9cm,则对应的伸缩距离即为3cm。In an illustrative example, if the reference edge length is 6 cm, and the corresponding target edge length after the mth telescopic operation is 9 cm, the corresponding telescopic distance is 3 cm.
步骤1103B,根据伸缩距离、单位长度和参考数值确定第m位输入数值,单位长度为单位数值对应的伸缩长度。Step 1103B, determining the m-th input value according to the telescopic distance, the unit length and the reference value, where the unit length is the telescopic length corresponding to the unit value.
由于伸缩距离对应的是实际伸缩尺寸,为了实现对伸缩距离的量化,从而将伸缩距离转换为对应的输入数值,因此,在一种可能的实施方式中,开发人员预先定义有单位长度,该单位长度可以实现伸缩距离与输入数值之间的转换。Since the telescopic distance corresponds to the actual telescopic size, in order to quantify the telescopic distance and convert it into a corresponding input value, in a possible implementation, the developer predefines a unit length, which can realize the conversion between the telescopic distance and the input value.
在一个示例性的例子中,单位长度可以为相邻参考数值之间长度,如表一所示,单位长度即1.5cm。In an illustrative example, the unit length may be the length between adjacent reference values, as shown in Table 1, where the unit length is 1.5 cm.
在一种可能的实施方式中,当终端确定出伸缩距离后,即可以根据单位长度对伸缩距离进行量化,将伸缩距离转换为参考数值上的增减数值,从而可以根据参考数值与增减数值,确定出第m次伸缩操作对应的输入数值,比如,若第m次伸缩操作为拉伸操作,则由表一可知,参考数值减去伸缩距离对应的数值,即为第m次伸缩操作对应的第m位输入数值。In a possible implementation, after the terminal determines the telescopic distance, the telescopic distance can be quantified according to the unit length, and the telescopic distance can be converted into an increase or decrease value on the reference value, so that the input value corresponding to the m-th telescopic operation can be determined according to the reference value and the increase or decrease value. For example, if the m-th telescopic operation is a stretching operation, it can be seen from Table 1 that the reference value minus the value corresponding to the telescopic distance is the m-th input value corresponding to the m-th telescopic operation.
在一个示意性的例子中,输入数值、伸缩距离、单位长度和参考数值之间的对应关系可以表示为:In an illustrative example, the corresponding relationship between the input value, the telescopic distance, the unit length and the reference value can be expressed as:
N=N0±|H1-H0|/dN=N0 ±|H1 -H0 |/d
其中,N为输入数值,H1为目标边缘长度,H0为参考边缘长度,H1-H0为伸缩距离,d为单位长度,N0为参考数值,±号的选取取决于是拉伸操作或收缩操作。Among them, N is the input value,H1 is the target edge length,H0 is the reference edge length,H1 -H0 is the telescopic distance, d is the unit length,N0 is the reference value, and the selection of ± sign depends on whether it is a stretching operation or a shrinking operation.
示意性的,若伸缩距离为3cm,单位长度为1.5cm,参考数值为9,则伸缩距离对应的数值为2,且为拉伸操作,由表一可知,拉伸操作对应的符号应为减号,则该次拉伸操作对应的输入数值为7。Indicatively, if the telescopic distance is 3 cm, the unit length is 1.5 cm, and the reference value is 9, then the value corresponding to the telescopic distance is 2, and it is a stretching operation. As can be seen from Table 1, the sign corresponding to the stretching operation should be a minus sign, and the input value corresponding to this stretching operation is 7.
步骤1104,将第一位输入数值至第n位输入数值确定为输入密码。Step 1104, determining the first input value to the nth input value as the input password.
在一种可能的实施方式中,终端每接收一次伸缩操作,确定出一位输入数值,并实时记录,当伸缩操作次数达到预设密码的位数时,即确定出第n位输入数值后,将第一位输入数值至第n位输入数值确定为输入密码。In a possible implementation, each time the terminal receives a telescopic operation, it determines an input value and records it in real time. When the number of telescopic operations reaches the number of digits of a preset password, that is, after the nth input value is determined, the first input value to the nth input value are determined as the input password.
步骤1105,根据预设密码对输入密码进行密码验证。Step 1105: Verify the input password according to the preset password.
步骤1105的实施方式可以参考步骤603,本实施例在此不做赘述。The implementation of step 1105 may refer to step 603, and this embodiment will not be described in detail here.
本实施例中,通过定义单位长度,以及输入参考数值与参考边缘长度之间的对应关系,用于在接收到伸缩操作后,将伸缩操作对应的目标边缘长度转换为输入数值,实现根据伸缩操作进行密码验证。In this embodiment, by defining a unit length and a corresponding relationship between an input reference value and a reference edge length, after receiving a telescoping operation, the target edge length corresponding to the telescoping operation is converted into an input value, thereby implementing password verification according to the telescoping operation.
为了便于用户可以直观的将柔性显示屏伸缩至密码对应的屏幕位置处,在一种可能的应用场景中,终端能够根据参考边缘长度和单位长度,在壳体相对运动方向上的屏幕边缘显示虚拟坐标,该虚拟坐标用于指示各个数值(即密码数值或参考数值)对应的伸缩位置。In order to facilitate users to intuitively extend and retract the flexible display screen to the screen position corresponding to the password, in a possible application scenario, the terminal can display virtual coordinates on the edge of the screen in the relative movement direction of the shell based on the reference edge length and the unit length. The virtual coordinates are used to indicate the extension position corresponding to each value (i.e., password value or reference value).
可选的,虚拟坐标的坐标值范围与密码设置范围相对应,比如,坐标值范围为0-9。Optionally, the coordinate value range of the virtual coordinates corresponds to the password setting range, for example, the coordinate value range is 0-9.
可选的,虚拟坐标值与伸缩位置的对应关系由开发人员预先定义,比如,定义柔性显示屏完全展开时,屏幕底端伸缩位置处为坐标原点处。Optionally, the correspondence between the virtual coordinate value and the telescopic position is predefined by the developer. For example, when the flexible display screen is fully unfolded, the telescopic position at the bottom of the screen is defined as the coordinate origin.
在一个示例性的例子中,请参考图14,其示出了本申请一个示例性实施例示出的密码验证过程的示意图。如图14所示,柔性显示屏1401上显示有虚拟坐标1402,柔性显示屏1401存在最小外露显示区域1406(不能进行伸缩操作的区域),该最小外露显示区域1406对应的屏幕边缘的长度,为虚拟坐标数值“9”对应的参考边缘长度;其中,相邻虚拟坐标数值之间的的长度差值对应单位长度,参考边缘长度即任一虚拟坐标数值对应的屏幕边缘的长度;当柔性显示屏1401的屏幕边缘1404沿箭头1405所示的方向收缩时,则对应的目标边缘长度为屏幕边缘1403对应的长度;用户能够根据虚拟坐标数值进行柔性显示屏的伸缩操作,比如,用户对屏幕边缘1404沿箭头1405所示的方向进行收缩操作,由虚拟坐标数值“0”处收缩至虚拟坐标数值“3”处,相应的,终端接收到对柔性显示屏1401的收缩操作,即通过获取收缩操作对应的目标边缘长度确定出输入数值为“3”。In an exemplary example, please refer to FIG. 14, which shows a schematic diagram of a password verification process shown in an exemplary embodiment of the present application. As shown in FIG. 14, virtual coordinates 1402 are displayed on the flexible display screen 1401, and the flexible display screen 1401 has a minimum exposed display area 1406 (an area where the retractable operation cannot be performed), and the length of the screen edge corresponding to the minimum exposed display area 1406 is the reference edge length corresponding to the virtual coordinate value "9"; wherein the length difference between adjacent virtual coordinate values corresponds to the unit length, and the reference edge length is the length of the screen edge corresponding to any virtual coordinate value; when the screen edge 1404 of the flexible display screen 1401 shrinks in the direction indicated by the arrow 1405, the corresponding target edge length is the length corresponding to the screen edge 1403; the user can perform a retractable operation on the flexible display screen according to the virtual coordinate value, for example, the user shrinks the screen edge 1404 in the direction indicated by the arrow 1405, shrinking from the virtual coordinate value "0" to the virtual coordinate value "3", and accordingly, the terminal receives the shrinking operation on the flexible display screen 1401, that is, by obtaining the target edge length corresponding to the shrinking operation, the input value is determined to be "3".
本实施例中,通过在柔性显示屏边缘显示虚拟坐标,用于指示各个密码数值对应的伸缩位置,便于用户根据虚拟坐标进行伸缩操作,提高了伸缩操作的准确性,从而减少了误操作的概率。In this embodiment, virtual coordinates are displayed on the edge of the flexible display screen to indicate the telescopic position corresponding to each password value, so that the user can perform telescopic operations according to the virtual coordinates, the accuracy of the telescopic operation is improved, and the probability of misoperation is reduced.
由于伸缩操作存在误操作的情况,比如,两次伸缩操作间隔较短,终端取法识别该伸缩操作否用于输入密码,或存在相邻密码为相同数值时,则对应的伸缩位置为相同位置,则进行一次伸缩操作后,若需要第二次伸缩操作还对应当前伸缩位置,则中间至少还需要进行一次伸缩操作,才可以实现相同数值的输入,因此,为了判断伸缩操作是否为有效伸缩操作(即用于确定输入数值的操作),在一种可能的实施方式中,终端中预先设置有预设时长阈值,用于区分有效伸缩操作和无效伸缩操作。Since there may be erroneous operations in the telescopic operation, for example, the interval between two telescopic operations is short, and the terminal tries to identify whether the telescopic operation is used to input a password, or when there are adjacent passwords with the same value, the corresponding telescopic positions are the same position. After performing a telescopic operation, if a second telescopic operation is required to correspond to the current telescopic position, at least one telescopic operation is required in the middle to achieve the input of the same value. Therefore, in order to determine whether the telescopic operation is a valid telescopic operation (i.e., an operation for determining the input value), in a possible implementation manner, a preset time threshold is pre-set in the terminal to distinguish between valid telescopic operations and invalid telescopic operations.
在一个示意性的例子中,在图11的基础上,如图15所示,步骤1103可以被替换为步骤1501和步骤1502。In an illustrative example, based on FIG. 11 , as shown in FIG. 15 , step 1103 may be replaced by step 1501 and step 1502 .
步骤1501,获取柔性显示屏在第m次伸缩操作后的停留时长。Step 1501, obtaining the duration of the flexible display screen staying after the mth extension and retraction operation.
在一种可能的实施方式中,当终端接收到第m次伸缩操作后,即开始计时,从而获取到柔性显示屏在第m次伸缩操作后的停留时长,用于后续判断第m次伸缩操作是否为有效操作,比如,停留时长为3s。In a possible implementation, when the terminal receives the mth retracting operation, it starts timing to obtain the length of time the flexible display screen stays after the mth retracting operation, for subsequent determination of whether the mth retracting operation is a valid operation, for example, the length of time is 3 seconds.
步骤1502,响应于停留时长大于预设时长阈值,根据目标边缘长度,确定第m位输入数值。Step 1502: In response to the dwell time being greater than a preset time threshold, determine the mth input value according to the target edge length.
其中,预设时长阈值由开发人员预先设置,比如,预设时长阈值为2s。The preset time threshold is preset by a developer, for example, the preset time threshold is 2s.
在一种可能的实施方式中,当终端获取到第m次伸缩操作后柔性显示屏在该伸缩位置处的停留时长大于预设时长阈值时,比如,停留时长为5s,大于预设时长阈值2s,判定第m次伸缩操作为有效伸缩操作,则能够执行后续根据目标边缘长度确定第m位输入数值的步骤。In a possible implementation, when the terminal obtains that the length of time that the flexible display screen stays at the telescopic position after the mth telescopic operation is greater than a preset time threshold, for example, the stay time is 5s, which is greater than the preset time threshold of 2s, the mth telescopic operation is determined to be a valid telescopic operation, and the subsequent step of determining the mth input value according to the target edge length can be executed.
本实施例中,通过预先设置预设时长阈值,用于判定伸缩操作是否为有效伸缩操作,当第m次伸缩操作后柔性显示屏在该伸缩位置处的停留时长大于预设时长阈值时,判定伸缩操作有效,则可以根据该伸缩操作对应的目标边缘长度确定输入数值,否则,判定该伸缩操作无效,不进行输入数值确认操作。通过设置预设时长阈值,能够尽可能的避免无效伸缩操作对密码验证过程的影响,提高密码输入的准确性。In this embodiment, a preset time threshold is set in advance to determine whether the retracting operation is a valid retracting operation. When the length of time that the flexible display screen stays at the retracted position after the mth retracting operation is greater than the preset time threshold, the retracting operation is determined to be valid, and the input value can be determined according to the target edge length corresponding to the retracting operation. Otherwise, the retracting operation is determined to be invalid, and the input value confirmation operation is not performed. By setting the preset time threshold, the influence of invalid retracting operations on the password verification process can be avoided as much as possible, thereby improving the accuracy of password input.
需要说明的是,通过设置预设时长阈值判定伸缩操作的有效性,也同样适用于上文实施例中的密码设置过程。It should be noted that determining the validity of the telescoping operation by setting a preset time threshold is also applicable to the password setting process in the above embodiment.
由于伸缩操作由人为进行,可能存在根据目标边缘长度确定出的输入数值为小数,即对应的伸缩操作后,柔性显示屏对应的伸缩位置处于两个相邻虚拟坐标值之间,由于密码一般为正整数,因此,为了避免确定出的密码存在小数点的情况,在一种可能的实施方式中,需要对输入数值进行修正。Since the telescopic operation is performed manually, the input value determined according to the target edge length may be a decimal, that is, after the corresponding telescopic operation, the corresponding telescopic position of the flexible display screen is between two adjacent virtual coordinate values. Since the password is generally a positive integer, in order to avoid the situation where the determined password has a decimal point, in a possible implementation method, the input value needs to be corrected.
在一个示例性的例子中,在图12的基础上,如图16所示,步骤1103B可以被替换为步骤1601和步骤1602。In an exemplary example, based on FIG. 12 , as shown in FIG. 16 , step 1103B may be replaced by step 1601 and step 1602 .
步骤1601,根据伸缩距离、单位长度和参考数值,确定出伸缩操作对应的候选输入数值。Step 1601: Determine candidate input values corresponding to the telescopic operation according to the telescopic distance, the unit length and the reference value.
其中,确定候选输入数值的实施方式可以参考上文实施例,本实施例在此不做赘述。The implementation method for determining the candidate input values may refer to the above embodiment, which will not be described in detail in this embodiment.
步骤1602,对候选输入数值进行取整操作,得到第m位输入数值。Step 1602, rounding the candidate input values to obtain the m-th input value.
其中,取整操作对应的算法可以由开发人员预先设置,比如,四舍五入操作、向上取整操作、向下取整操作等,本申请实施例对采用的取整操作不构成限定。Among them, the algorithm corresponding to the rounding operation can be pre-set by the developer, such as rounding operation, rounding up operation, rounding down operation, etc. The embodiment of the present application does not constitute a limitation on the rounding operation adopted.
在一种可能的实施方式中,当确定出候选输入数值后,需要对候选输入数值进行取整操作,得到输入数值,用于保证输入数值为正整数。In a possible implementation, after the candidate input value is determined, it is necessary to perform a rounding operation on the candidate input value to obtain an input value, so as to ensure that the input value is a positive integer.
在一个示例性的例子中,若候选输入数值为5.1,进行四舍五入操作,对应的输入数值为5,若候选输入数值为5.8,进行四舍五入操作,对应的输入数值为6,若候选输入数值为5,进行四舍五入操作后数值不变,输入数值为5。In an illustrative example, if the candidate input value is 5.1, the rounding operation is performed and the corresponding input value is 5. If the candidate input value is 5.8, the rounding operation is performed and the corresponding input value is 6. If the candidate input value is 5, the value remains unchanged after rounding and the input value is 5.
本实施例中,通过对获取到的候选输入数值进行取整操作,以便保证最终确定出的输入数值为正整数,符合密码设置规范,同时可以实现对伸缩操作的修正,避免伸缩操作出现误差导致密码输入有误。In this embodiment, the obtained candidate input values are rounded to ensure that the final input value is a positive integer and meets the password setting specification. At the same time, the telescopic operation can be corrected to avoid errors in the telescopic operation that lead to incorrect password input.
上文实施例是直接对数值结果进行修正,在另一种可能的实施方式中,由于柔性显示屏的终端可以自动进行伸缩,因此,可以控制机械转轴直接对伸缩操作后的柔性显示屏的伸缩位置进行修正,以便直接获得可以被量化为整数的目标边缘长度,从而使得最终得到的输入数值也为整数。The above embodiment directly corrects the numerical result. In another possible implementation, since the terminal of the flexible display screen can be automatically extended and retracted, the mechanical shaft can be controlled to directly correct the retracted position of the flexible display screen after the retracting operation, so as to directly obtain the target edge length that can be quantified as an integer, so that the final input value is also an integer.
在一个示例性的例子中,对伸缩操作对应的目标边缘长度进行自主修正的实施方式可以参考以下步骤:In an exemplary embodiment, the implementation method of autonomously correcting the target edge length corresponding to the telescopic operation can refer to the following steps:
一、获取第m次伸缩操作对应的当前边缘长度,其中,m为小于等于n的正整数。1. Obtain the current edge length corresponding to the mth retraction operation, where m is a positive integer less than or equal to n.
在一种可能的实施方式中,当终端接收到第m次伸缩操作后,首先获取到第m次伸缩操作对应的当前边缘长度,即柔性显示屏外露显示区域对应的壳体相对运动方向上的屏幕边缘的长度。In a possible implementation, after receiving the mth retracting operation, the terminal first obtains the current edge length corresponding to the mth retracting operation, that is, the length of the screen edge in the relative movement direction of the shell corresponding to the exposed display area of the flexible display.
二、确定当前边缘长度对应的相邻参考边缘长度,相邻参考边缘长度为相邻输入参考数值对应的屏幕边缘长度,且当前边缘长度对应的输入数值位于相邻参考数值之间。2. Determine the adjacent reference edge length corresponding to the current edge length, where the adjacent reference edge length is the screen edge length corresponding to adjacent input reference values, and the input value corresponding to the current edge length is between adjacent reference values.
针对确定当前边缘长度对应的相邻参考边缘长度的方式,在一种可能的实时方式中,可以首先确定出当前边缘长度对应的输入数值,若输入数值为整数,则无需进行相邻参考边缘长度的确定,若输入数值为小数,则确定输入数值对应的相邻参考数值,从而确定出相邻参考数值对应的相邻参考边缘长度。Regarding the method of determining the adjacent reference edge length corresponding to the current edge length, in a possible real-time method, the input value corresponding to the current edge length can be first determined. If the input value is an integer, there is no need to determine the adjacent reference edge length. If the input value is a decimal, the adjacent reference value corresponding to the input value is determined, thereby determining the adjacent reference edge length corresponding to the adjacent reference value.
在一个示例性的例子中,以参考数值与参考边缘长度的对应关系为表一所示为例进行说明,当终端确定出当前屏幕边缘长度为14cm,对应的输入数值为3.67,该输入数值位于相邻参考数值3和4之间,则对应的相邻参考边缘长度为13.5cm和15cm。In an exemplary example, the correspondence between the reference value and the reference edge length is shown in Table 1. When the terminal determines that the current screen edge length is 14 cm, the corresponding input value is 3.67, and the input value is between the adjacent reference values 3 and 4, the corresponding adjacent reference edge lengths are 13.5 cm and 15 cm.
三、根据相邻边缘长度与当前边缘长度的最小差值,生成修正指令。3. Generate a correction instruction based on the minimum difference between the adjacent edge length and the current edge length.
在一种可能的实施方式中,当终端确定出相邻参考边缘长度之后,即可以通过计算相邻参考边缘长度与当前边缘长度之间的最小差值,生成对应的修正指令,该修正指令至少包括目标边缘长度,该目标边缘长度为相邻边缘长度与当前边缘长度之间差值最小所对应的屏幕边缘的长度。In one possible implementation, after the terminal determines the adjacent reference edge length, it can generate a corresponding correction instruction by calculating the minimum difference between the adjacent reference edge length and the current edge length. The correction instruction includes at least a target edge length, which is the length of the screen edge corresponding to the minimum difference between the adjacent edge length and the current edge length.
在一个示例性的例子中,若相邻参考边缘长度为13.5cm和15cm,当前边缘长度为14cm,则对应的差值分别为0.5cm和1cm,可见,当前边缘长度与参考边缘长度13.5之间的差值最小,则将13.5cm确定为目标边缘长度,并根据该目标边缘长度生成修正指令。In an illustrative example, if the adjacent reference edge lengths are 13.5 cm and 15 cm, and the current edge length is 14 cm, the corresponding differences are 0.5 cm and 1 cm respectively. It can be seen that the difference between the current edge length and the reference edge length 13.5 is the smallest, so 13.5 cm is determined as the target edge length, and a correction instruction is generated based on the target edge length.
四、向柔性显示屏对应的屏幕机械组件发送修正指令,屏幕机械组件用于根据修正指令将柔性显示屏自动伸缩至相邻参考边缘长度处。4. Send a correction instruction to the screen mechanical component corresponding to the flexible display screen, and the screen mechanical component is used to automatically extend and retract the flexible display screen to the adjacent reference edge length according to the correction instruction.
其中,屏幕机械组件指示控制柔性显示屏进行伸缩的机械部分,比如:带动件、驱动结构等。Among them, the screen mechanical component refers to the mechanical part that controls the extension and retraction of the flexible display screen, such as: driving parts, driving structure, etc.
在一种可能的实施方式中,当终端生成修正指令后,并向屏幕机械组件发送修正指令,相应的,屏幕机械组件在接收到修正指令后,即根据修正指令中指示的目标边缘长度,驱动柔性显示屏自动伸缩至目标边缘长度处。In a possible implementation, after the terminal generates a correction instruction, it sends the correction instruction to the screen mechanical component. Accordingly, after receiving the correction instruction, the screen mechanical component drives the flexible display screen to automatically extend to the target edge length according to the target edge length indicated in the correction instruction.
本实施例中,当终端获取到第m次伸缩操作对应的当前边缘长度之后,首先根据相邻参考边缘长度与当前边缘长度的关系,确定出目标边缘长度,并根据目标边缘长度生成修正指令,用于屏幕机械组件根据该修正指令将柔性显示屏伸缩至目标边缘长度处,从而使得根据该目标边缘长度确定出的输入数值符合密码数值规范(即正整数),进而提高了密码验证操作的准确性。In this embodiment, after the terminal obtains the current edge length corresponding to the mth retracting operation, it first determines the target edge length based on the relationship between the adjacent reference edge length and the current edge length, and generates a correction instruction based on the target edge length, so that the screen mechanical component retracts the flexible display screen to the target edge length according to the correction instruction, so that the input value determined according to the target edge length meets the password value specification (i.e., a positive integer), thereby improving the accuracy of the password verification operation.
在一种可能的实施方式中,由于单位长度直接影响到输入数值,因此,为了进一步提高终端数据的安全性,终端允许用户自行设置单位长度,则相同伸缩操作对应的输入数值也会存在差异,能够进一步提高密码的安全性。In a possible implementation, since the unit length directly affects the input value, in order to further improve the security of terminal data, the terminal allows the user to set the unit length by themselves, so that the input values corresponding to the same scaling operation will also be different, which can further improve the security of the password.
在一个示例性的例子中,在图9的基础上,如图17所示,步骤901之前还包括步骤1701和步骤1702。In an exemplary example, based on FIG. 9 , as shown in FIG. 17 , step 901 further includes step 1701 and step 1702 .
步骤1701,接收长度设置操作,长度设置操作用于设置单位数值对应的伸缩长度。Step 1701, receiving a length setting operation, where the length setting operation is used to set a telescopic length corresponding to a unit value.
在一种可能的实施方式中,用户可以根据需求自行设置单位数值对应的伸缩长度,相应的,终端接收到长度设置操作。In a possible implementation manner, the user can set the telescopic length corresponding to the unit value according to the needs, and accordingly, the terminal receives the length setting operation.
步骤1702,响应于长度设置操作指示的目标长度小于单位长度阈值,将目标长度设置为单位长度,单位长度阈值根据柔性显示屏的伸缩长度上限确定。Step 1702: In response to the target length indicated by the length setting operation being less than a unit length threshold, the target length is set to a unit length, where the unit length threshold is determined according to an upper limit of the telescopic length of the flexible display screen.
由于柔性显示屏存在伸缩上限,而密码数值存在一定的密码数值范围,0-9,因此,在进行长度设置操作时,必须保证设置的单位数值至少将柔性显示屏划分出0-9的数值,因此,为了保证用户设置的单位长度有效,在一种可能的实施方式中,终端设置有单位长度阈值,该单位长度阈值为单位长度设置上限,由柔性显示屏的伸缩长度上限确定,比如,柔性显示屏的伸缩上限为13.5cm,则对应的单位长度上限为1.5cm。Since the flexible display screen has an upper limit for extension and the password value has a certain password value range, 0-9, when performing the length setting operation, it is necessary to ensure that the set unit value at least divides the flexible display screen into values 0-9. Therefore, in order to ensure that the unit length set by the user is valid, in a possible implementation, the terminal is provided with a unit length threshold, which is the upper limit for the unit length setting and is determined by the upper limit of the extension length of the flexible display screen. For example, the upper limit of the extension and retraction of the flexible display screen is 13.5 cm, and the corresponding upper limit of the unit length is 1.5 cm.
在一种可能的实施方式中,当终端接收到长度设置操作后,即获取长度设置操作对应的目标长度,与预设单位长度阈值进行比较,若目标长度小于等于单位长度阈值,比如,目标长度为1cm,小于预设单位长度阈值1.5cm,则表示该长度设置操作有效,并将该目标长度确定为单位长度,用于后续的密码设置或密码验证过程。In one possible implementation, when the terminal receives a length setting operation, it obtains the target length corresponding to the length setting operation and compares it with a preset unit length threshold. If the target length is less than or equal to the unit length threshold, for example, the target length is 1 cm, which is less than the preset unit length threshold of 1.5 cm, it indicates that the length setting operation is valid, and the target length is determined as the unit length for subsequent password setting or password verification processes.
本实施例中,通过设置单位长度阈值,当接收到长度设置操作时,通过判断长度设置操作对应的目标长度与单位长度阈值的关系,来判定该长度设置操作是否有效,避免无效的长度设置操作,或不符合柔性显示屏伸缩上限的长度设置操作对后续密码设置的影响。In this embodiment, by setting a unit length threshold, when a length setting operation is received, the validity of the length setting operation is determined by judging the relationship between the target length corresponding to the length setting operation and the unit length threshold, thereby avoiding invalid length setting operations or length setting operations that do not meet the upper limit of the flexible display screen from affecting subsequent password settings.
需要说明的是,本实施例中的长度设置操作还可以适用于密码验证操作之前,则对应的,相同预设密码对应的伸缩操作不同,本申请实施例对此不构成限定。It should be noted that the length setting operation in this embodiment can also be applied before the password verification operation. Correspondingly, the telescopic operations corresponding to the same preset password are different, and the embodiment of the present application does not constitute a limitation on this.
请参考图18,其示出了本申请另一个示例性实施例示出的密码验证方法的流程图,该方法包括:Please refer to FIG. 18 , which shows a flowchart of a password verification method according to another exemplary embodiment of the present application, the method comprising:
步骤1801,响应于存在密码输入需求,接收对柔性显示屏的n次伸缩操作,n为正整数。Step 1801: In response to a password input requirement, receiving n retracting operations on the flexible display screen, where n is a positive integer.
步骤1802,判断柔性显示屏在第m次伸缩操作后的停留时长是否大于预设时长阈值。Step 1802, determining whether the stay time of the flexible display screen after the mth extension and retraction operation is greater than a preset time threshold.
若停留时长大于预设时长阈值,则进入步骤1803,否则,进入步骤1806。If the stay duration is greater than the preset duration threshold, proceed to step 1803; otherwise, proceed to step 1806.
步骤1803,根据第m次伸缩操作后外露显示区域的目标边缘长度,确定第m位输入数值,m为小于等于n的正整数。Step 1803: determine the mth input value according to the target edge length of the exposed display area after the mth retraction operation, where m is a positive integer less than or equal to n.
步骤1804,根据第一位输入数值和第n位输入数值确定为输入密码。Step 1804: Determine the input password based on the first input value and the nth input value.
步骤1805,根据预设密码对输入密码进行密码验证。Step 1805: Verify the input password according to the preset password.
步骤1806,结束。Step 1806, end.
请参考图19,其示出了本申请一个示例性实施例提供的密码验证装置的结构框图。该装置应用于具有柔性显示屏的终端,该终端包括第一壳体和第二壳体,第二壳体与第一壳体滑动连接,第二壳体和第一壳体通过相对运动改变所述柔性显示屏的外露显示区域,该装置可以通过软件、硬件或者两者的结合实现成为终端的全部或一部分。该装置包括:Please refer to Figure 19, which shows a structural block diagram of a password verification device provided by an exemplary embodiment of the present application. The device is applied to a terminal with a flexible display screen, the terminal includes a first shell and a second shell, the second shell is slidably connected to the first shell, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement. The device can be implemented as all or part of the terminal through software, hardware or a combination of both. The device includes:
第一接收模块1901,用于响应于存在密码输入需求,接收对所述柔性显示屏的n次伸缩操作,所述伸缩操作包括拉伸操作和收缩操作中的至少一种,其中,所述拉伸操作下,所述第一壳体和所述第二壳体通过相对运动以增加所述柔性显示屏的外露显示区域,所述收缩操作下,所述第一壳体和所述第二壳体通过相对运动以减少所述柔性显示屏的外露显示区域,n为正整数;The first receiving module 1901 is configured to receive n retractable operations on the flexible display screen in response to a password input requirement, wherein the retractable operations include at least one of a stretching operation and a shrinking operation, wherein in the stretching operation, the first shell and the second shell move relative to each other to increase an exposed display area of the flexible display screen, and in the shrinking operation, the first shell and the second shell move relative to each other to reduce an exposed display area of the flexible display screen, and n is a positive integer;
第一确定模块1902,用于根据所述伸缩操作下所述柔性显示屏的外露显示区域的尺寸,确定n次所述伸缩操作对应的输入密码;A first determining module 1902 is used to determine the input password corresponding to n times of the retracting operation according to the size of the exposed display area of the flexible display screen during the retracting operation;
密码验证模块1903,用于根据预设密码对所述输入密码进行密码验证。The password verification module 1903 is used to verify the input password according to a preset password.
可选的,所述第一确定模块1902,包括:Optionally, the first determining module 1902 includes:
获取单元,用于获取第m次伸缩操作后所述外露显示区域的目标边缘长度,所述目标边缘长度为壳体相对运动方向上的屏幕边缘的长度,其中,m为小于等于n的正整数;an acquisition unit, configured to acquire a target edge length of the exposed display area after the m-th retracting operation, wherein the target edge length is a length of the screen edge in the direction of relative movement of the housing, wherein m is a positive integer less than or equal to n;
第一确定单元,用于根据所述目标边缘长度,确定第m位输入数值;A first determining unit, configured to determine an m-th input value according to the target edge length;
第二确定单元,用于将第一位输入数值至第n位输入数值确定为所述输入密码。The second determining unit is used to determine the first input value to the nth input value as the input password.
可选的,所述第一确定单元,还用于:Optionally, the first determining unit is further configured to:
根据所述目标边缘长度和参考边缘长度,确定伸缩距离,所述参考边缘长度为输入参考数值时壳体相对运动方向上的屏幕边缘的长度;Determine the telescopic distance according to the target edge length and the reference edge length, wherein the reference edge length is the length of the screen edge in the relative motion direction of the shell when the reference value is input;
根据所述伸缩距离、单位长度和所述参考数值确定所述第m位输入数值,所述单位长度为单位数值对应的伸缩长度。The m-th input value is determined according to the telescopic distance, the unit length and the reference value, wherein the unit length is the telescopic length corresponding to the unit value.
可选的,所述第一确定单元,还用于:Optionally, the first determining unit is further configured to:
根据所述伸缩距离、所述单位长度和所述参考数值,确定出所述伸缩操作对应的候选输入数值;Determining a candidate input value corresponding to the telescopic operation according to the telescopic distance, the unit length, and the reference value;
对所述候选输入数值进行取整操作,得到所述第m位输入数值,所述取整操作至少包括四舍五入操作。A rounding operation is performed on the candidate input value to obtain the m-th input value, wherein the rounding operation at least includes a rounding operation.
可选的,所述第一确定单元,还用于:Optionally, the first determining unit is further configured to:
获取所述柔性显示屏在第m次伸缩操作后的停留时长;Obtaining the length of time the flexible display screen stays after the mth retraction operation;
响应于所述停留时长大于预设时长阈值,根据所述目标边缘长度,确定所述第m位输入数值。In response to the dwell time being greater than a preset time threshold, the m-th input value is determined according to the target edge length.
可选的,所述装置还包括:Optionally, the device further comprises:
第一显示模块,用于根据所述参考边缘长度和所述单位长度,在壳体相对运动方向上的屏幕边缘显示虚拟坐标,所述虚拟坐标用于指示各个数值对应的伸缩位置。The first display module is used to display virtual coordinates at the edge of the screen in the relative movement direction of the shell according to the reference edge length and the unit length, and the virtual coordinates are used to indicate the telescopic position corresponding to each value.
可选的,所述装置还包括:Optionally, the device further comprises:
第二接收模块,用于响应于存在密码设置需求,接收对所述柔性显示屏的n次所述伸缩操作;A second receiving module is configured to receive n times of the retracting and retracting operations on the flexible display screen in response to a password setting requirement;
第二确定模块,用于根据所述伸缩操作下所述柔性显示屏的外露显示区域的尺寸,确定n次所述伸缩操作对应的待设置密码;A second determining module, configured to determine the password to be set corresponding to n times of the retracting operation according to the size of the exposed display area of the flexible display screen during the retracting operation;
第二显示模块,用于显示密码设置确认窗口,所述密码设置确认窗口中显示有所述待设置密码,所述密码设置确认窗口用于提示是否将所述待设置密码确定为所述预设密码;A second display module is used to display a password setting confirmation window, in which the password to be set is displayed, and the password setting confirmation window is used to prompt whether to determine the password to be set as the preset password;
第三确定模块,用于响应于接收到对所述密码设置确认窗口的确认操作,将所述待设置密码确定为所述预设密码。The third determining module is configured to determine the password to be set as the preset password in response to receiving a confirmation operation on the password setting confirmation window.
可选的,所述装置还包括:Optionally, the device further comprises:
第三接收模块,用于接收长度设置操作,所述长度设置操作用于设置单位数值对应的伸缩长度;A third receiving module is used to receive a length setting operation, where the length setting operation is used to set a telescopic length corresponding to a unit value;
设置模块,用于响应于所述长度设置操作指示的目标长度小于单位长度阈值,将所述目标长度设置为所述单位长度,所述单位长度阈值根据所述柔性显示屏的伸缩长度上限确定。The setting module is configured to set the target length to the unit length in response to the target length indicated by the length setting operation being less than a unit length threshold, wherein the unit length threshold is determined according to an upper limit of the telescopic length of the flexible display screen.
本申请实施例中,当终端存在密码输入需求时,由于具有柔性显示屏的终端的第一壳体和第二壳体能够通过相对运动来改变柔性显示屏的外露显示区域的尺寸,因此,终端能够通过接收对柔性显示屏的n次伸缩操作,并获取伸缩操作下柔性显示屏的外露显示区域的尺寸,来确定n次伸缩操作对应的输入密码,从而根据预设密码对该输入密码进行密码验证。由于通过对柔性显示屏的伸缩操作来进行密码输入以及密码验证,整个密码验证过程中更多的是对柔性显示屏的伸缩操作,相比于相关技术中,手动在触摸显示屏中输入数字密码或绘制图形密码,本申请实施例提供的密码验证操作能够对密码起到遮盖作用,从而避免了输入密码时被其他用户偷窥而导致的终端密码泄露,进而提高了终端的数据安全性。In the embodiment of the present application, when there is a need to input a password at the terminal, since the first shell and the second shell of the terminal with a flexible display can change the size of the exposed display area of the flexible display through relative movement, the terminal can determine the input password corresponding to the n-times retracting operation by receiving n-times retracting operation of the flexible display and obtaining the size of the exposed display area of the flexible display under the retracting operation, thereby performing password verification on the input password according to the preset password. Since the password input and password verification are performed by retracting the flexible display, the entire password verification process is more about retracting the flexible display. Compared with the related art, manually inputting a digital password or drawing a graphic password on the touch display, the password verification operation provided by the embodiment of the present application can cover the password, thereby avoiding the leakage of the terminal password caused by peeping by other users when entering the password, thereby improving the data security of the terminal.
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the device provided in the above embodiment only uses the division of the above functional modules as an example to implement its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
请参考图20,其示出了本申请一个示例性实施例提供的终端2000的结构方框图。该终端2000可以是智能手机、平板电脑、电子书、便携式个人计算机等具有柔性显示屏的电子设备。本申请中的终端2000可以包括一个或多个如下部件:存储器2001、处理器2002和柔性显示屏2003。Please refer to Figure 20, which shows a block diagram of a terminal 2000 provided by an exemplary embodiment of the present application. The terminal 2000 may be an electronic device with a flexible display screen, such as a smart phone, a tablet computer, an e-book, a portable personal computer, etc. The terminal 2000 in the present application may include one or more of the following components: a memory 2001, a processor 2002, and a flexible display screen 2003.
处理器2002可以包括一个或者多个处理核心。处理器2002利用各种接口和线路连接整个终端2000内的各个部分,通过运行或执行存储在存储器2001内的指令、程序、代码集或指令集,以及调用存储在存储器2001内的数据,执行终端2000的各种功能和处理数据。可选地,处理器2002可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器2002可集成中央处理器(CentralProcessing Uni,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负柔性显示屏2003所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器2002中,单独通过一块通信芯片进行实现。The processor 2002 may include one or more processing cores. The processor 2002 uses various interfaces and lines to connect the various parts of the entire terminal 2000, and executes various functions and processes data of the terminal 2000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 2001, and calling data stored in the memory 2001. Optionally, the processor 2002 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 2002 can integrate one or a combination of a central processing unit (Central Processing Uni, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is used for rendering and drawing the content to be displayed by the negative flexible display screen 2003; and the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 2002, and it can be implemented separately through a communication chip.
存储器2001可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器2001包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器2001可用于存储指令、程序、代码、代码集或指令集。存储器2001可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统(包括基于Android系统深度开发的系统)、苹果公司开发的IOS系统(包括基于IOS系统深度开发的系统)或其它系统。存储数据区还可以存储终端2000在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 2001 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 2001 includes a non-transitory computer-readable storage medium. The memory 2001 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 2001 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The operating system may be an Android system (including a system developed based on the depth of the Android system), an IOS system developed by Apple (including a system developed based on the depth of the IOS system) or other systems. The storage data area may also store data (such as a phone book, audio and video data, chat record data) created by the terminal 2000 during use.
柔性显示屏2003用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。柔性显示屏2003通常设置在终端2000的前面板。本申请实施例中,柔性显示屏2003外露显示区域的尺寸能够随伸缩操作而改变;可选的,终端2000能够仅点亮柔性显示屏2003的外露显示区域。The flexible display screen 2003 is used to receive a touch operation on or near the flexible display screen 2003 using any suitable object such as a finger or a touch pen, and to display the user interface of each application. The flexible display screen 2003 is usually arranged on the front panel of the terminal 2000. In the embodiment of the present application, the size of the exposed display area of the flexible display screen 2003 can be changed with the retracting operation; optionally, the terminal 2000 can only light up the exposed display area of the flexible display screen 2003.
本申请实施例中,终端2000中还包括带动件,该带动件用于带动柔性显示屏展开或收缩。可选的,终端2000中还包括驱动机构,该驱动机构用于驱动第一壳体和第二壳体做相对运动。In the embodiment of the present application, the terminal 2000 further includes a driving member, which is used to drive the flexible display screen to expand or contract. Optionally, the terminal 2000 further includes a driving mechanism, which is used to drive the first shell and the second shell to perform relative motion.
除此之外,本领域技术人员可以理解,上述附图所示出的终端2000的结构并不构成对终端2000的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端2000中还包括射频电路、拍摄组件、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)组件、电源、蓝牙组件等部件,在此不再赘述。In addition, those skilled in the art will appreciate that the structure of the terminal 2000 shown in the above drawings does not constitute a limitation on the terminal 2000, and the terminal may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal 2000 also includes a radio frequency circuit, a shooting component, a sensor, an audio circuit, a wireless fidelity (WiFi) component, a power supply, a Bluetooth component, and other components, which will not be described in detail here.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的密码验证方法。An embodiment of the present application further provides a computer-readable medium storing at least one instruction, wherein the at least one instruction is loaded and executed by the processor to implement the password verification method described in the above embodiments.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的密码验证方法。An embodiment of the present application further provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the password verification method described in the above embodiments.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010432603.4ACN113704714B (en) | 2020-05-20 | 2020-05-20 | Password verification method, device, terminal and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010432603.4ACN113704714B (en) | 2020-05-20 | 2020-05-20 | Password verification method, device, terminal and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN113704714A CN113704714A (en) | 2021-11-26 |
| CN113704714Btrue CN113704714B (en) | 2024-06-11 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010432603.4AActiveCN113704714B (en) | 2020-05-20 | 2020-05-20 | Password verification method, device, terminal and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN113704714B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004046792A (en)* | 2002-03-29 | 2004-02-12 | Toshiba Corp | Display input device, display input system, control method therefor, and man-machine interface device |
| KR20100027502A (en)* | 2008-09-02 | 2010-03-11 | 엘지전자 주식회사 | A mobile terminal having a flexible display unit and a control method thereof |
| KR101107062B1 (en)* | 2003-09-12 | 2012-01-25 | 보디미디어 인코퍼레이티드 | System for monitoring and managing body weight and other physiological conditions including iterative and personalized planning, intervention and reporting capability |
| CN103488253A (en)* | 2012-06-08 | 2014-01-01 | 苹果公司 | Smart cover peek |
| KR20150007034A (en)* | 2013-07-10 | 2015-01-20 | 삼성전자주식회사 | Method for providing application security in mobile electronic device |
| CN104348978A (en)* | 2014-11-12 | 2015-02-11 | 天津三星通信技术研究有限公司 | Call processing method and device for mobile terminal |
| CN104423553A (en)* | 2013-09-03 | 2015-03-18 | 北京三星通信技术研究有限公司 | Terminal equipment control method based on flexible screen |
| EP2866165A1 (en)* | 2013-10-28 | 2015-04-29 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
| CN105190476A (en)* | 2013-03-04 | 2015-12-23 | Lg电子株式会社 | Dual unlocking device for portable device equipped with expandable display and control method thereof |
| KR20160097850A (en)* | 2015-02-10 | 2016-08-18 | 강릉원주대학교산학협력단 | Terminal including means to prevent loss of USB |
| CN105975848A (en)* | 2016-04-29 | 2016-09-28 | 努比亚技术有限公司 | Password unlocking method and apparatus |
| CN106201055A (en)* | 2015-05-27 | 2016-12-07 | Lg电子株式会社 | Flexible display apparatus and operational approach thereof |
| CN106557674A (en)* | 2016-10-14 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of unlocking method and device and intelligent terminal |
| CN107392592A (en)* | 2016-05-16 | 2017-11-24 | Lg电子株式会社 | Mobile terminal and its control method |
| CN108319873A (en)* | 2017-12-19 | 2018-07-24 | 努比亚技术有限公司 | Flexible screen terminal security authentication control method, terminal and computer storage media |
| CN108363917A (en)* | 2018-01-31 | 2018-08-03 | 努比亚技术有限公司 | Mobile terminal unlocking method, mobile terminal and computer readable storage medium |
| CN108616499A (en)* | 2018-03-02 | 2018-10-02 | 努比亚技术有限公司 | A kind of method for authenticating of application program, terminal and computer readable storage medium |
| CN108769992A (en)* | 2018-06-12 | 2018-11-06 | 腾讯科技(深圳)有限公司 | User authen method, device, terminal and storage medium |
| CN109491541A (en)* | 2018-10-31 | 2019-03-19 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
| CN109858290A (en)* | 2019-01-15 | 2019-06-07 | 招银云创(深圳)信息技术有限公司 | Cipher-code input method, device, computer equipment and storage medium |
| CN110263509A (en)* | 2019-05-28 | 2019-09-20 | Oppo广东移动通信有限公司 | Unlocking method and device, electronic equipment and storage medium |
| CN110300224A (en)* | 2019-06-27 | 2019-10-01 | 珠海格力电器股份有限公司 | Terminal device control method and terminal device |
| CN110659475A (en)* | 2019-09-17 | 2020-01-07 | 珠海格力电器股份有限公司 | Unlocking method and terminal equipment |
| CN111142760A (en)* | 2019-12-27 | 2020-05-12 | 维沃移动通信有限公司 | A password determination method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101837714B1 (en)* | 2011-08-10 | 2018-03-13 | 삼성디스플레이 주식회사 | Display device |
| US9977590B2 (en)* | 2013-12-18 | 2018-05-22 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
| KR102460471B1 (en)* | 2018-03-27 | 2022-10-28 | 삼성전자주식회사 | Electronic device with movable flexible display and operating method thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004046792A (en)* | 2002-03-29 | 2004-02-12 | Toshiba Corp | Display input device, display input system, control method therefor, and man-machine interface device |
| KR101107062B1 (en)* | 2003-09-12 | 2012-01-25 | 보디미디어 인코퍼레이티드 | System for monitoring and managing body weight and other physiological conditions including iterative and personalized planning, intervention and reporting capability |
| KR20100027502A (en)* | 2008-09-02 | 2010-03-11 | 엘지전자 주식회사 | A mobile terminal having a flexible display unit and a control method thereof |
| CN103488253A (en)* | 2012-06-08 | 2014-01-01 | 苹果公司 | Smart cover peek |
| CN105190476A (en)* | 2013-03-04 | 2015-12-23 | Lg电子株式会社 | Dual unlocking device for portable device equipped with expandable display and control method thereof |
| KR20150007034A (en)* | 2013-07-10 | 2015-01-20 | 삼성전자주식회사 | Method for providing application security in mobile electronic device |
| CN104423553A (en)* | 2013-09-03 | 2015-03-18 | 北京三星通信技术研究有限公司 | Terminal equipment control method based on flexible screen |
| EP2866165A1 (en)* | 2013-10-28 | 2015-04-29 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
| CN104348978A (en)* | 2014-11-12 | 2015-02-11 | 天津三星通信技术研究有限公司 | Call processing method and device for mobile terminal |
| KR20160097850A (en)* | 2015-02-10 | 2016-08-18 | 강릉원주대학교산학협력단 | Terminal including means to prevent loss of USB |
| CN106201055A (en)* | 2015-05-27 | 2016-12-07 | Lg电子株式会社 | Flexible display apparatus and operational approach thereof |
| CN105975848A (en)* | 2016-04-29 | 2016-09-28 | 努比亚技术有限公司 | Password unlocking method and apparatus |
| CN107392592A (en)* | 2016-05-16 | 2017-11-24 | Lg电子株式会社 | Mobile terminal and its control method |
| CN106557674A (en)* | 2016-10-14 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of unlocking method and device and intelligent terminal |
| CN108319873A (en)* | 2017-12-19 | 2018-07-24 | 努比亚技术有限公司 | Flexible screen terminal security authentication control method, terminal and computer storage media |
| CN108363917A (en)* | 2018-01-31 | 2018-08-03 | 努比亚技术有限公司 | Mobile terminal unlocking method, mobile terminal and computer readable storage medium |
| CN108616499A (en)* | 2018-03-02 | 2018-10-02 | 努比亚技术有限公司 | A kind of method for authenticating of application program, terminal and computer readable storage medium |
| CN108769992A (en)* | 2018-06-12 | 2018-11-06 | 腾讯科技(深圳)有限公司 | User authen method, device, terminal and storage medium |
| CN109491541A (en)* | 2018-10-31 | 2019-03-19 | 维沃移动通信有限公司 | A kind of control method and mobile terminal |
| CN109858290A (en)* | 2019-01-15 | 2019-06-07 | 招银云创(深圳)信息技术有限公司 | Cipher-code input method, device, computer equipment and storage medium |
| CN110263509A (en)* | 2019-05-28 | 2019-09-20 | Oppo广东移动通信有限公司 | Unlocking method and device, electronic equipment and storage medium |
| CN110300224A (en)* | 2019-06-27 | 2019-10-01 | 珠海格力电器股份有限公司 | Terminal device control method and terminal device |
| CN110659475A (en)* | 2019-09-17 | 2020-01-07 | 珠海格力电器股份有限公司 | Unlocking method and terminal equipment |
| CN111142760A (en)* | 2019-12-27 | 2020-05-12 | 维沃移动通信有限公司 | A password determination method and electronic device |
| Publication number | Publication date |
|---|---|
| CN113704714A (en) | 2021-11-26 |
| Publication | Publication Date | Title |
|---|---|---|
| US10650709B2 (en) | Method and apparatus for controlling flexible screen, and electronic device | |
| US10621325B2 (en) | Method and apparatus for controlling flexible screen, and electronic device | |
| US20180302786A1 (en) | Method for Protecting Private Information and Terminal Device | |
| CN106791357A (en) | A kind of image pickup method and mobile terminal | |
| CN107169493A (en) | information identifying method and device | |
| CN107181913A (en) | A kind of photographic method and mobile terminal | |
| US11222223B2 (en) | Collecting fingerprints | |
| CN106228054A (en) | Auth method and device | |
| CN107492067A (en) | A kind of image beautification method and mobile terminal | |
| US9870071B2 (en) | Method and apparatus for user authentication | |
| CN107172347A (en) | A kind of photographic method and terminal | |
| CN108319832A (en) | Unlocking method and device | |
| CN106506801A (en) | A method for adjusting camera zoom factor and mobile terminal | |
| CN107592458B (en) | Shooting method and mobile terminal | |
| CN107480500A (en) | The method and mobile terminal of a kind of face verification | |
| CN107302655A (en) | It is a kind of to shoot the adjusting method and mobile terminal found a view | |
| CN105681657A (en) | Method and terminal device for photographing and focusing | |
| CN106874787A (en) | A kind of image viewing method and mobile terminal | |
| CN105278751A (en) | A method, device and protective case for realizing human-computer interaction | |
| CN114047885B (en) | Method, device, equipment and medium for writing multi-type data | |
| CN113704714B (en) | Password verification method, device, terminal and storage medium | |
| JP6085067B2 (en) | User data update method, apparatus, program, and recording medium | |
| CN106384060A (en) | Mobile terminal data encryption method and mobile terminal | |
| CN106412321B (en) | An image processing method and mobile terminal | |
| WO2015081749A1 (en) | Correction method and correction apparatus for input number |
| 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 |