CN113704714A - Password verification method, device, terminal and storage medium - Google Patents

Password verification method, device, terminal and storage medium Download PDF

Info

Publication number
CN113704714A
CN113704714A CN202010432603.4A CN202010432603A CN113704714A CN 113704714 A CN113704714 A CN 113704714A CN 202010432603 A CN202010432603 A CN 202010432603A CN 113704714 A CN113704714 A CN 113704714A
Authority
CN
China
Prior art keywords
password
flexible display
display screen
length
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010432603.4A
Other languages
Chinese (zh)
Other versions
CN113704714B (en
Inventor
陈彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010432603.4A priority Critical patent/CN113704714B/en
Priority claimed from CN202010432603.4A external-priority patent/CN113704714B/en
Publication of CN113704714A publication Critical patent/CN113704714A/en
Application granted granted Critical
Publication of CN113704714B publication Critical patent/CN113704714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1662Details related to the integrated keyboard
    • G06F1/1667Arrangements for adjusting the tilt angle of the integrated keyboard independently from the main body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1679Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for locking or maintaining the movable parts of the enclosure in a fixed position, e.g. latching mechanism at the edge of the display in a laptop or for the screen protective cover of a PDA
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a password verification method, a password verification device, a terminal and a storage medium, and belongs to the technical field of terminals. The method is applied to a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, and the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, and the method comprises the following steps: receiving n times of telescopic operation on the flexible display screen in response to the password input requirement, and determining an input password corresponding to the n times of telescopic operation according to the size of an exposed display area of the flexible display screen under the telescopic operation; and carrying out password authentication on the input password according to the preset password. Carry out password verification through carrying out flexible display screen to flexible display, can play the effect of hiding the password at password input in-process to terminal password that is caused by other users peeping when having avoided inputing the password reveals, and then has improved the data security at terminal.

Description

Password verification method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a password verification method, a password verification device, a terminal and a storage medium.
Background
With the function of the terminal becoming richer and richer, the user can more experience the convenience of carrying information, paying and other modes through the terminal, and therefore the user pays more attention to the security of the terminal data.
In the related art, the security of terminal data is generally ensured by setting a password for a terminal, for example, a bright screen password, a payment password, an information check password and the like, and the password setting mode is mostly a digital password or a graphic password, when a user needs to check related contents, the user needs to manually input the digital password or draw the graphic password in a touch display screen, the terminal performs comparison and verification, and after the verification is passed, the terminal can display the corresponding contents.
Obviously, with the password authentication method in the related art, when the number is manually input in the touch display screen or the graph is drawn, the password is indirectly visible to other users, which may cause the password to be leaked, thereby threatening the security of the terminal data.
Disclosure of Invention
The embodiment of the application provides a password verification method, a password verification device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a password verification method, where the method is applied to a terminal having a flexible display screen, where the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, and the second housing and the first housing change an exposed display area of the flexible display screen through a relative motion, and the method includes:
receiving n times of telescopic operations of the flexible display screen in response to the password input requirement, wherein the telescopic operations comprise at least one of stretching operations and shrinking operations, the first shell and the second shell move relatively to increase the exposed display area of the flexible display screen in the stretching operations, the first shell and the second shell move relatively to decrease the exposed display area of the flexible display screen in the shrinking operations, and n is a positive integer;
determining an input password corresponding to the telescopic operation for n times according to the size of an exposed display area of the flexible display screen under the telescopic operation;
and carrying out password verification on the input password according to a preset password.
In another aspect, an embodiment of the present application provides a password verification apparatus, where the apparatus is applied to a terminal having a flexible display screen, the terminal includes a first housing and a second housing, the second housing is slidably connected to the first housing, and the second housing and the first housing change an exposed display area of the flexible display screen through a relative motion, the apparatus includes:
the first receiving module is used for responding to the password input requirement, receiving n times of telescopic operations of the flexible display screen, wherein the telescopic operations comprise at least one of stretching operations and shrinking operations, under the stretching operations, the first shell and the second shell move relatively to increase the exposed display area of the flexible display screen, under the shrinking operations, the first shell and the second shell move relatively to decrease the exposed display area of the flexible display screen, and n is a positive integer;
the first determining module is used for determining input passwords corresponding to the telescopic operation for n times according to the size of an exposed display area of the flexible display screen under the telescopic operation;
and the password verification module is used for performing password verification on the input password according to a preset password.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the password authentication method according to the above aspect.
In another aspect, embodiments of the present application provide a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the password authentication method according to the above aspect.
In another aspect, an embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the password authentication method in the foregoing aspect.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
when the terminal has a password input requirement, the first shell and the second shell of the terminal with the flexible display screen can change the size of the exposed display area of the flexible display screen through relative movement, so that the terminal can determine an input password corresponding to n times of telescopic operation by receiving the n times of telescopic operation on the flexible display screen and acquiring the size of the exposed display area of the flexible display screen under the telescopic operation, and password verification is performed on the input password according to a preset password. Because carry out password input and password verification through the flexible operation to flexible display screen, what more is the flexible operation to flexible display screen among the whole password verification process, compare in the correlation technique, manual input digit password or drawing the figure password in touch display screen, the password verification operation that this application embodiment provided can play the effect of covering to the password to terminal password that is caused by other users peeping when having avoided the input password reveals, and then has improved the data security at terminal.
Drawings
Fig. 1 to 5 are schematic structural diagrams of a terminal according to an exemplary embodiment of the present application;
FIG. 6 illustrates a flow chart of a method of password authentication shown in an exemplary embodiment of the present application;
FIG. 7 illustrates a schematic diagram of the telescoping operation shown in one exemplary embodiment of the present application;
FIG. 8 illustrates an interface diagram of a password authentication process shown in an exemplary embodiment of the present application;
FIG. 9 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
FIG. 10 illustrates an interface diagram of a password setup process shown in an exemplary embodiment of the present application;
FIG. 11 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
FIG. 12 illustrates a flow chart of a method of password authentication shown in another exemplary embodiment of the present application;
FIG. 13 illustrates an interface diagram of a reference edge length, target edge length, and telescopic distance relationship shown in an exemplary embodiment of the present application;
FIG. 14 shows a schematic diagram of a password authentication process shown in an example embodiment of the present application;
FIG. 15 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
FIG. 16 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
FIG. 17 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
FIG. 18 shows a flowchart of a password authentication method shown in another example embodiment of the present application;
fig. 19 is a block diagram illustrating a configuration of a password authentication apparatus according to an exemplary embodiment of the present application;
fig. 20 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The password authentication method provided by the embodiment of the application is applied to a terminal with a flexible display screen, and the structure of the terminal is explained below firstly.
Referring to fig. 1 to fig. 3, a terminal 100 in the embodiment of the present application includes a housing assembly 10, a flexible display 30, a driver 50, and a driving mechanism 70. The shell assembly 10 is a hollow structure; the components of the driver 50, the drive mechanism 70, and the camera 60 may all be disposed in the housing assembly 10. It is understood that the terminal 100 in the embodiment of the present application includes, but is not limited to, a mobile terminal such as a mobile phone, a tablet, or other portable electronic devices, and herein, the terminal 100 is taken as a mobile phone for example.
In the practice of the present application, the housing assembly 10 includes a first housing 12 and a second housing 14, the first housing 12 and the second housing 14 being capable of relative movement. In one possible embodiment, the first housing 12 and the second housing 14 are slidably connected, that is, the second housing 14 is slidable relative to the first housing 12.
Optionally, referring to fig. 4 and fig. 5, the first casing 12 and the second casing 14 together form an accommodating space 16. The accommodating space 16 can be used for accommodating components such as the driver 50, the camera 60, the driving mechanism 70 and the like. The housing assembly 10 may further include a rear cover 18, and the rear cover 18 and the first and second housings 12 and 14 together form an accommodating space 16.
Optionally, the driving element 50 is disposed on the second housing 14, one end of the flexible display 30 is disposed on the first housing 12, the flexible display 30 bypasses the driving element 50, and the other end of the flexible display 30 is disposed in the accommodating space 16, so that a part of the flexible display 30 is hidden in the accommodating space 16, and a part of the flexible display 30 hidden in the accommodating space 16 may not be lighted. The first housing 12 and the second housing 14 are relatively far away from each other, and the driving member 50 can drive the flexible display 30 to unfold, so that more flexible display 30 is exposed out of the accommodating space 16. The flexible display 30 exposed to the outside of the accommodating space 16 is illuminated so that a display area presented by the terminal 100 becomes large.
Optionally, the driving member 50 is a rotating shaft structure with teeth 52 on the outside, the flexible display screen 30 is linked with the driving member 50 by means of meshing, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driving member 50 drives a part of the flexible display screen 30 meshed with the driving member 50 to move and unfold.
It is understood that the driver 50 can also be a circular shaft without the belt 52, and when the first casing 12 and the second casing 14 are relatively far away from each other, the driver 50 can stretch the portion of the flexible display 30 wound around the driver 50, so that more flexible display 30 is exposed out of the accommodating space 16 and is in a flat state. Optionally, the driving member 50 is rotatably disposed on the second housing 14, and the driving member 50 can rotate along with the movement of the flexible display 30 when the flexible display 30 is gradually opened. In other embodiments, the driver 50 may be fixed to the second housing 14, and the driver 50 may have a smooth surface. When the flexible display 30 is spread, the driver 50 is slidably contacted with the flexible display 30 through its smooth surface.
When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display 30 can be retracted by the driving member 50. Alternatively, the terminal 100 further includes a reset element (not shown), one end of the flexible display screen, which is accommodated in the accommodating space 16, is linked with the reset element, and when the first housing 12 and the second housing 14 are relatively close to each other, the reset element drives the flexible display screen 30 to reset, so that part of the flexible display screen 30 is retracted into the accommodating space 16.
In the embodiment of the present application, the driving mechanism 70 may be disposed in the accommodating space 16, the driving mechanism 70 may be linked with the second housing 14, and the driving mechanism 70 is configured to drive the second housing 14 to move away from the first housing 12, so as to drive the flexible display panel assembly 30 to extend. It will be appreciated that the drive mechanism 70 may be omitted and the user may directly move the first and second housings relative to one another, manually, etc.
In this embodiment of the application, when there is a password input demand, the terminal 100 can determine an input password corresponding to n times of telescopic operations by receiving n times of telescopic operations on the flexible display screen 30 and acquiring the size of an exposed display area of the flexible display screen 30 under the telescopic operations, so as to perform password authentication on the input password according to a preset password. Because carry out password input and password verification through the flexible operation to flexible display screen, what more is the flexible operation to flexible display screen among the whole password verification process, compare in the correlation technique, manual input digit password or drawing the figure password in touch display screen, the password verification operation that this application embodiment provided can play the effect of covering to the password to terminal password that is caused by other users peeping when having avoided the input password reveals, and then has improved the data security at terminal.
Referring to fig. 6, a flowchart illustrating a password authentication method according to an exemplary embodiment of the present application is shown. The embodiment is described by taking the method as an example applied to the terminal shown in fig. 1 to 5, and the method includes:
step 601, responding to the password input requirement, receiving n times of telescopic operation of the flexible display screen, wherein n is a positive integer.
The flexible display screen comprises a flexible display screen body, a first shell and a second shell, wherein the flexible display screen body comprises a flexible display screen body, the first shell and the second shell are arranged in the flexible display screen body, the stretching operation and the contraction operation are at least one of stretching operation and contracting operation, under the stretching operation, the first shell and the second shell move relatively to increase an exposed display area of the flexible display screen, and under the contracting operation, the first shell and the second shell move relatively to reduce the exposed display area of the flexible display screen.
In an illustrative example, as shown in fig. 7, the stretching operation on the flexible display 702 may be: the first housing 701 is kept at a constant position and the second housing 703 is slid in the direction indicated by the arrow 704, or the second housing 703 is kept at a constant position and the first housing 701 is slid in the direction indicated by the arrow 705; or the first housing 701 is slid in the direction indicated by the arrow 705 while the second housing 703 is slid in the direction indicated by the arrow 704; the retracting operation of the flexible display 702 may be: the first housing 701 remains in place and the second housing 703 slides in the direction indicated by arrow 705; or the second housing 703 remains in place, the first housing 701 slides in the direction indicated by arrow 704; or the first housing 701 is slid in the direction indicated by the arrow 704 while the second housing 703 is slid in the direction indicated by the arrow 705. The embodiment of the present application does not limit the stretching operation received by the terminal.
Aiming at the scene that the password input requirement exists in the terminal, the terminal needs to input a starting password when being started, or the terminal needs to input a screen-up password when being screen-up; or a password is required to be input when a certain application program interface is opened (entered); or a login password is required to be input when a certain application program is logged in; or a check password is required to be input when certain types of privacy information are checked; or a payment password needs to be input when online payment is carried out, and the like.
In a possible implementation manner, when the terminal has a password input requirement, for example, a user needs to check an album and needs to manually input the album to check a password, the user can perform telescopic operation on the flexible display screen, and correspondingly, the terminal can receive the telescopic operation on the flexible display screen and perform subsequent steps of password input, password verification and the like according to the telescopic operation.
Step 602, determining an input password corresponding to n times of telescopic operations according to the size of the exposed display area of the flexible display screen under the telescopic operations.
And n is the digit of the preset password of the terminal, for example, if the user sets the bright screen password of the terminal as a six-digit password, the corresponding n is 6, and the corresponding user needs to perform the telescopic operation for at least 6 times to verify the password.
Because 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 variable, the variable corresponds to different input numerical values, that is, the sizes of different exposed display areas are converted into corresponding password numerical values, therefore, in a possible implementation mode, a user can perform n different telescopic operations on the flexible display screen, correspondingly, the terminal converts the sizes of the exposed display areas corresponding to the n telescopic operations into corresponding input numerical values respectively, and determines the n input numerical values as input passwords, that is, password verification can be realized through the telescopic operations on the flexible display screen.
In a possible implementation manner, the size of the exposed area may be represented by a length of a screen edge of the flexible display screen with a length change under a telescopic operation, for example, the size of the exposed area (screen edge length) of the flexible display screen under a first telescopic operation is 5 cm.
In an illustrative example, as shown in fig. 7, when the first housing 701 of the terminal is kept still and the second housing 703 moves in the direction indicated by the arrow 705, the terminal acquires the size of the exposed area of the flexible display screen after the shrinking operation, that is, the length corresponding to the screen edge 706, and determines the input password corresponding to the shrinking operation according to the length of the screen edge 706.
Optionally, a fixed reference value is preset in the terminal at a plurality of 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, and when the exposed display area corresponding to the flexible display screen is the largest after the telescopic operation, the corresponding input password is 9.
Optionally, if the preset password is a password with n bits having the same numerical value, for example, the preset password is 6 "1", the terminal allows the user to perform single expansion operation, and correspondingly, the terminal receives the single expansion operation on the flexible display screen, so that the input password can be determined according to the size of the exposed display area of the flexible display screen corresponding to the expansion operation, and subsequent password verification operation is performed without repeated expansion operation by the user.
Step 603, performing password authentication on the input password according to the preset password.
The preset password is a preset password before password authentication operation of a user, namely the basis for password authentication.
In a possible implementation manner, after the terminal receives n times of stretching operations, input numerical values corresponding to the n times of stretching operations are determined according to the sizes of the exposed display areas corresponding to the n times of stretching operations respectively, and the n input numerical values are determined as input passwords, that is, the input passwords and preset passwords are compared and verified, and when the verification passes, subsequent operations are performed.
In an illustrative example, please refer to fig. 8, which illustrates an interface diagram of a password authentication process according to an exemplary embodiment of the present application. If the password input scene is an online payment scene, after the terminal enters the payment interface 801, the user clicks the payment control 802 on the payment interface 801, correspondingly, the terminal receives a click operation on the payment control 802, a payment confirmation window 803 is displayed on the upper layer of the payment interface 801, the payment confirmation window 803 is used for prompting the user to input a payment password, at this time, the user does not need to manually input a numerical value in a password input frame 805, the flexible display 804 can be subjected to n times of telescopic operation, correspondingly, the terminal receives the telescopic operation on the flexible display 804, determines the input password and matches the payment password preset by the user, if the matching is successful, the verification is passed, and the payment operation is completed, at this time, the terminal jumps to the payment completion interface 806 from the payment interface 801, the payment completion interface 806 displays prompting information of 'payment completion' and corresponding payment information, used for prompting the user that the online payment is completed.
To sum up, in this application embodiment, when there is the password input demand in the terminal, because the first casing and the second casing of the terminal that has flexible display screen can change the size that exposes the display area of flexible display screen through relative motion, consequently, the terminal can be through receiving flexible display screen's n times flexible operation to obtain flexible display screen's under the flexible operation size that exposes the display area, confirm the input password that n times flexible operation corresponds, thereby carry out password authentication to this input password according to predetermineeing the password. Because carry out password input and password verification through the flexible operation to flexible display screen, what more is the flexible operation to flexible display screen among the whole password verification process, compare in the correlation technique, manual input digit password or drawing the figure password in touch display screen, the password verification operation that this application embodiment provided can play the effect of covering to the password to terminal password that is caused by other users peeping when having avoided the input password reveals, and then has improved the data security at terminal.
In another possible application scenario, the method for password verification through the telescopic operation of the flexible display screen in the embodiment of the application is also suitable for the password setting scenario, namely, the password setting is performed through receiving the telescopic operation of the flexible display screen, so that the password setting process can be prevented from being visible by other users, and the confidentiality of the terminal password is further improved.
In an illustrative example, on the basis of fig. 6, as shown in fig. 9, a flowchart of a password authentication method shown in another illustrative embodiment of the present application is shown, and this embodiment is described by taking as an example that the method is applied to the terminals shown in fig. 1 to 5, where the method includes:
step 901, responding to the password setting requirement, receiving n times of telescopic operation of the flexible display screen, wherein n is a positive integer.
The method and the device for setting the password are used for solving the problem that the password setting requirement exists, and the method and the device for setting the password setting requirement correspond to the scene with the password verification requirement in the previous text, for example, the payment password needs to be set in the payment scene, the privacy checking password needs to be set in the privacy checking scene, the login password needs to be set in the application login scene, the startup password needs to be set in the terminal startup scene, and the like.
In a possible implementation manner, when the terminal is in a scene with a password setting requirement, for example, when the terminal is used for setting a payment password for an online payment application, a user can perform a stretching operation on the flexible display screen, and accordingly, the terminal can receive the stretching operation on the flexible display screen and perform a subsequent password setting step according to the stretching operation.
Optionally, n is related to the number of digits of the set password, for example, if the payment password corresponds to six digits, the corresponding n is 6.
And 902, determining a password to be set corresponding to n times of telescopic operation according to the size of the exposed display area of the flexible display screen under the telescopic operation.
The process of determining the password to be set according to the scaling operation may refer to an implementation of determining the input password according to the scaling operation, which is not described herein in detail in this embodiment.
In a possible implementation manner, a user performs corresponding telescopic operation according to a password required to be set, and correspondingly, the terminal receives n times of telescopic operation and determines the corresponding password to be set according to the size of the exposed display area of the flexible display screen corresponding to the n times of telescopic operation.
Step 903, displaying a password setting confirmation window, wherein a password to be set is displayed in the password setting confirmation window, and the password setting confirmation window is used for prompting whether the password to be set is determined to be a preset password.
In order to avoid the situation that the password setting is wrong due to the telescopic operation error, in a possible implementation manner, after the password to be set is determined by the terminal, the password to be set needs to be displayed so that the user can confirm the password.
Optionally, the terminal may display the password to be set through the password setting confirmation window, and prompt the user whether to determine the password to be set as the preset password.
In an illustrative example, please refer to fig. 10, which illustrates an interface diagram of a password setup process according to an exemplary embodiment of the present application. In the password setting interface 1001, after the terminal confirms the password to be set according to n times of telescoping operation, a password setting confirmation window 1002 is displayed on the upper layer of the password setting interface 1001, and a prompt message "whether xxxxxx is set as the preset password" is displayed in the password setting confirmation window 1002, and a confirmation control 1003 and a return control 1004 are displayed.
And step 904, in response to receiving the confirmation operation of the password setting confirmation window, determining the password to be set as the preset password.
In a possible implementation manner, when a user clicks a confirmation control in a password setting confirmation window, correspondingly, when the terminal receives a confirmation operation on the password setting confirmation window, the password to be set is determined as a preset password; on the contrary, if the user clicks the return control of the password setting confirmation window, it indicates that the password to be set is wrong, and the password setting operation needs to be performed again, and correspondingly, the terminal returns to the previous level interface (namely, the password setting interface) after receiving the return operation of the password setting confirmation window.
In an exemplary example, after the user clicks the confirmation control 1003, and correspondingly, the terminal receives a click operation on the confirmation control 1003, the password to be set is determined as the preset password, and a password setting success prompt message is displayed so as to prompt the user that the password setting is completed, and if the user clicks the return control 1004, and correspondingly, the terminal receives a click operation on the return control 1004, the terminal returns to a previous-level interface, namely, the password setting interface 1001.
Optionally, when the terminal determines that the preset password is the password with the same numerical value, in order to facilitate subsequent password authentication operations by the user, the user does not need to repeatedly perform stretching operations.
In an exemplary example, after the user clicks the confirmation control 1003, and accordingly, the terminal receives a click operation on the confirmation control 1003, and determines that the preset password is the same value, an authentication mode confirmation window 1005 is displayed on the upper layer of the password setting interface 1001, and a prompt message "whether password authentication is performed through a single expansion operation" and a "yes" control 1006 and a "no" control 1007 are displayed in the authentication mode confirmation window 1005, and when the user clicks the "yes" control 1006, and accordingly, the terminal receives a click operation on the "yes" control 1006, and then subsequently performs a password authentication operation, when the terminal receives a single expansion operation, password authentication can be performed according to an input password corresponding to the single expansion operation, and when the user clicks the "no" control 1007, and accordingly, the terminal receives a click operation on the "no" control 1007, and when the password verification operation is subsequently carried out, the terminal can carry out the password verification on the input password according to the digit of the preset password and after n times of telescopic operation corresponding to the digit is received.
Step 905, responding to the password input requirement, and receiving n times of telescopic operation of the flexible display screen.
And 906, determining the input password corresponding to the n times of telescopic operation according to the size of the exposed display area of the flexible display screen under the telescopic operation.
And 907, performing password authentication on the input password according to the preset password.
The embodiments of step 905 to step 907 refer to the above embodiments, and this embodiment is not described herein again.
In this embodiment, the password setting mode that this embodiment shows is gone on before password authentication operation, and then the user is when carrying out password setting and password authentication, all goes on through the flexible operation to flexible display screen, can play the effect of sheltering from to the password in password setting and password authentication link homoenergetic, can further improve the data security at terminal.
Since the numeric code generally corresponds to a numerical range of 0 to 9 and is a positive integer, and the size of the exposed display area of the flexible display screen can be any numerical value, developers need to define in advance a conversion relationship between the size of the exposed display area of the flexible display screen and a numerical value of an input code, for example, an input code is determined according to the edge length of the exposed display area, or a corresponding relationship between the edge length and the input numerical value is defined.
Referring to fig. 11, a flowchart of a password authentication method according to another exemplary embodiment of the present application is shown, where the present embodiment takes the method applied to the terminal shown in fig. 1 to 5 as an example to explain, the method includes:
step 1101, responding to the password input requirement, receiving n times of telescopic operation on the flexible display screen, wherein n is a positive integer.
Step 601 may be referred to in the implementation manner of step 1101, and this embodiment is not described herein again.
Step 1102, obtaining a target edge length of the exposed display area after the mth telescopic operation, where the target edge length is a length of a screen edge in a relative movement direction of the shell, and m is a positive integer less than or equal to n.
Since there is generally one screen edge length that remains unchanged and the other screen edge length that changes with the stretching operation when the first housing and the second housing of the flexible display screen perform the relative motion, for example, when the user performs the stretching operation on the flexible display screen, the screen edge length becomes longer with the action time of the stretching operation, and when the user performs the shrinking operation on the flexible display screen, the screen edge length becomes shorter with the action time of the shrinking operation, in one possible embodiment, the screen edge whose length changes with the stretching operation is defined as the target edge, that is, the screen edge whose target edge is located in the relative motion direction of the housings, and the input value is determined according to the target edge length.
In a possible implementation manner, after the terminal receives the mth telescopic operation on the flexible display screen, the flexible display screen is located at the stop position of the current telescopic operation, that is, the target edge length of the exposed display area after the mth telescopic operation can be obtained, and is used for subsequently converting the target edge length into the mth input numerical value.
Step 1103, determining the mth input value according to the target edge length.
In a possible implementation manner, after the terminal determines the mth telescopic operation, when the target edge length corresponding to the exposed display area of the flexible display screen is determined, the input value corresponding to the mth telescopic operation may be determined according to a conversion relationship between the target edge length and the input value.
In order to facilitate the conversion between the target edge length and the input value, in one possible embodiment, the developer sets a reference edge length corresponding to a reference value, i.e. a password value, in advance for the flexible display screen, for example, the reference edge length corresponding to the reference value "3" is 10.5cm, and defines a unit length representing a distance between adjacent reference values for quantifying the telescopic distance.
In an illustrative example, on the basis of fig. 11, as shown in fig. 12, step 1103 may include step 1103A and step 1103B.
Step 1103A, determining a telescopic distance according to the target edge length and a reference edge length, where the reference edge length is a length of a screen edge in a relative movement direction of the shell when a reference value is input.
The corresponding relationship between the reference value and the reference edge length may be preset by a developer, for example, when the flexible display screen is defined to be completely unfolded, the reference value corresponding to the bottom position of the screen (that is, when the target edge length of the flexible display screen is the maximum) is 0, or the reference value corresponding to the bottom position of the screen is defined to be 9, or when the flexible display screen is in a non-telescopic state, the reference value corresponding to the bottom position of the screen (when the target edge length of the flexible display screen is the minimum) is 0, which is not limited in this embodiment.
In an exemplary example, the correspondence between the reference edge length and the reference value may be as shown in table one:
watch 1
Figure BDA0002501110360000071
As shown in table one, if the minimum reference edge length is 6cm, it indicates that the flexible display screen does not completely shrink, and there is a minimum exposed display area, and the length of the target edge corresponding to the minimum exposed display area is 6 cm.
Alternatively, the minimum reference edge length may be 0cm, indicating that the flexible display screen may be fully collapsed.
In a possible implementation manner, before the terminal receives n times of telescopic operations, the reference edge length is determined, that is, before the terminal receives the first telescopic operation, the reference edge length corresponding to the exposed display area of the flexible display screen is recorded, and after the terminal receives the mth telescopic operation, the total telescopic distance after the mth telescopic operation relative to the total telescopic distance before the telescopic operation is not performed can be determined by obtaining the target edge length corresponding to the currently exposed display area and making a difference with the reference edge length recorded in advance.
In an illustrative example, as shown in fig. 13, an interface diagram of a reference edge length, a target edge length, and a telescopic distance relationship is shown in an illustrative embodiment of the present application. As shown in fig. 13, before the flexible display screen 1301 does not receive the stretching operation, the reference edge length corresponding to the flexible display screen 1301 is the length corresponding to the screen edge 1302, and when the terminal receives the stretching operation on the flexible display screen 1301, that is, the stretching operation is performed on the flexible display screen 1301 along 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 value between the target edge length and the reference edge length is the stretching distance corresponding to the stretching operation this time.
In an exemplary example, if the reference edge length is 6cm and the corresponding target edge length after the mth scaling operation is 9cm, the corresponding scaling distance is 3 cm.
And 1103B, determining an mth input numerical value according to the telescopic distance, the unit length and the reference numerical value, wherein the unit length is the telescopic length corresponding to the unit numerical value.
Since the scaling distance corresponds to the actual scaling size, in order to quantify the scaling distance and thus convert the scaling distance into a corresponding input value, in one possible embodiment, the developer defines a unit length in advance, which can realize the conversion between the scaling distance and the input value.
In an exemplary embodiment, the unit length may be a length between adjacent reference values, as shown in table one, i.e., 1.5 cm.
In a possible implementation manner, after the terminal determines the telescopic distance, the telescopic distance may be quantized according to the unit length, and the telescopic distance is converted into an increase/decrease value on the reference value, so that an input value corresponding to the mth telescopic operation may be determined according to the reference value and the increase/decrease value, for example, if the mth telescopic operation is a stretching operation, the input value corresponding to the telescopic distance is subtracted from the reference value, which is the mth input value corresponding to the mth telescopic operation.
In an illustrative example, the correspondence between the input value, the telescopic distance, the unit length, and the reference value may be expressed as:
N=N0±|H1-H0|/d
wherein N is an input value, H1Is the target edge length, H0To refer to the edge length, H1-H0For the telescopic distance, d is the unit length, N0For reference, the choice of the # sign depends on whether it is a stretching operation or a shrinking operation.
Illustratively, if the stretching distance is 3cm, the unit length is 1.5cm, and the reference value is 9, the corresponding value of the stretching distance is 2, and the stretching operation is performed, and as can be seen from table one, the symbol corresponding to the stretching operation should be minus, and the corresponding input value of the stretching operation is 7.
In step 1104, the first-order input value to the nth-order input value are determined as the input password.
In a possible implementation mode, the terminal determines a bit input value every time the terminal receives the expansion operation, records the bit input value in real time, and determines the first bit input value to the nth bit input value as the input password after the expansion operation times reaches the number of bits of the preset password, namely the nth bit input value is determined.
And 1105, performing password authentication on the input password according to the preset password.
Step 603 may be referred to in the implementation manner of step 1105, which is not described herein again.
In this embodiment, the unit length and the corresponding relationship between the input reference value and the reference edge length are defined, so that after the scaling operation is received, the target edge length corresponding to the scaling operation is converted into the input value, and password verification according to the scaling operation is achieved.
In order to facilitate that a user can intuitively stretch 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 screen edge of the shell in the relative movement direction according to the reference edge length and the unit length, wherein the virtual coordinates are used for indicating the stretching position corresponding to each numerical value (namely, the password numerical value or the reference numerical value).
Optionally, the coordinate value range of the virtual coordinate corresponds to the password setting range, for example, the coordinate value range is 0-9.
Optionally, the corresponding relationship between the virtual coordinate value and the telescopic position is predefined by a developer, for example, when the flexible display screen is completely unfolded, the telescopic position at the bottom end of the screen is defined as the coordinate origin.
In an illustrative example, please refer to fig. 14, which illustrates a schematic diagram of a password authentication process according to an illustrative embodiment of the present application. As shown in fig. 14, a virtual coordinate 1402 is displayed on the flexible display 1401, the flexible display 1401 has a minimum exposed display area 1406 (an area where a scaling operation cannot be performed), and the length of a screen edge corresponding to the minimum exposed display area 1406 is a reference edge length corresponding to a virtual coordinate value "9"; the length difference between adjacent virtual coordinate values corresponds to a 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 1401 is contracted 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 the stretching operation of the flexible display screen according to the virtual coordinate value, for example, the user performs the stretching operation on the screen edge 1404 along the direction indicated by the arrow 1405, the virtual coordinate value "0" is stretched to the virtual coordinate value "3", and accordingly, the terminal receives the stretching operation on the flexible display screen 1401, that is, the target edge length corresponding to the stretching operation is obtained to determine that the input value is "3".
In this embodiment, through showing virtual coordinate at flexible display screen edge for instruct the flexible position that each password numerical value corresponds, the user of being convenient for carries out the telescopic operation according to virtual coordinate, has improved the accuracy of telescopic operation, thereby has reduced the probability of maloperation.
Because the telescoping operation has a faulty operation, for example, the interval between two telescoping operations is short, the terminal access method identifies whether the telescoping operation is used for inputting a password, or when adjacent passwords are the same value, the corresponding telescoping position is the same position, after the first telescoping operation is performed, if the second telescoping operation is required to correspond to the current telescoping position, the middle telescoping operation at least needs to be performed once, and then the same value can be input.
In an illustrative example, step 1103 may be replaced with step 1501 and step 1502 as shown in fig. 15 on the basis of fig. 11.
Step 1501, obtaining the stay time of the flexible display screen after the mth telescopic operation.
In a possible implementation manner, after the terminal receives the mth telescopic operation, timing is started, so that the stay time of the flexible display screen after the mth telescopic operation is obtained, and the stay time is used for subsequently judging whether the mth telescopic operation is an effective operation, for example, the stay time is 3 s.
Step 1502, in response to the fact that the staying time length is larger than the preset time length threshold, determining an mth input numerical value according to the target edge length.
The preset duration threshold is preset by a developer, for example, the preset duration threshold is 2 s.
In a possible implementation manner, when the terminal obtains that the stay time of the flexible display screen at the telescopic position after the mth telescopic operation is performed is greater than a preset time threshold, for example, the stay time is 5s and is greater than the preset time threshold by 2s, it is determined that the mth telescopic operation is an effective telescopic operation, and then a subsequent step of determining the mth input value according to the target edge length can be performed.
In this embodiment, a preset duration threshold is preset to determine whether the telescopic operation is an effective telescopic operation, and when the stay duration of the flexible display screen at the telescopic position after the mth telescopic operation is greater than the preset duration threshold, it is determined that the telescopic operation is effective, and then an input numerical value can be determined according to the target edge length corresponding to the telescopic operation, otherwise, it is determined that the telescopic operation is invalid, and no input numerical value confirmation operation is performed. By setting the preset time threshold, the influence of invalid telescopic operation on the password verification process can be avoided as much as possible, and the accuracy of password input is improved.
It should be noted that, the validity of the scaling operation is determined by setting the preset duration threshold, and the password setting process in the above embodiment is also applicable.
Because the stretching operation is performed manually, there may be a case where the input value determined according to the target edge length is a decimal, that is, after the corresponding stretching operation, the stretching position corresponding to the flexible display screen is between two adjacent virtual coordinate values.
In an illustrative example, on the basis of fig. 12, as shown in fig. 16, step 1103B may be replaced with step 1601 and step 1602.
Step 1601, determining a candidate input value corresponding to the telescopic operation according to the telescopic distance, the unit length and the reference value.
For the implementation of determining the candidate input value, reference may be made to the above embodiments, which are not described herein again.
In step 1602, a rounding operation is performed on the candidate input value to obtain an mth input value.
The algorithm corresponding to the rounding operation may be preset by a developer, for example, rounding operation, rounding-up operation, rounding-down operation, and the like.
In a possible implementation manner, after the candidate input value is determined, rounding operation needs to be performed on the candidate input value to obtain an input value, which is used for ensuring that the input value is a positive integer.
In an illustrative example, if the candidate input value is 5.1, a rounding operation is performed, corresponding to the input value being 5, if the candidate input value is 5.8, a rounding operation is performed, corresponding to the input value being 6, if the candidate input value is 5, the value is unchanged after the rounding operation, corresponding to the input value being 5.
In this embodiment, rounding operation is performed on the obtained candidate input numerical value so as to ensure that the finally determined input numerical value is a positive integer, and the finally determined input numerical value conforms to the password setting specification, and meanwhile, correction on the telescopic operation can be realized, so that the error in the telescopic operation is avoided, and the password input is mistaken.
In another possible implementation manner, since the terminal of the flexible display screen can automatically extend and retract, the mechanical rotating shaft can be controlled to directly correct the extending and retracting position of the flexible display screen after the extending and retracting operation, so as to directly obtain the target edge length which can be quantized to an integer, and thus the finally obtained input value is also an integer.
In an exemplary example, the implementation of the autonomous correction of the target edge length corresponding to the scaling operation may refer to the following steps:
the method comprises the steps of firstly, obtaining the current edge length corresponding to the mth telescopic operation, wherein m is a positive integer less than or equal to n.
In a possible implementation manner, after the terminal receives the mth telescopic operation, the current edge length corresponding to the mth telescopic operation, that is, the length of the screen edge in the relative movement direction of the housing corresponding to the exposed display area of the flexible display screen, is first obtained.
And secondly, determining the length of the adjacent reference edge corresponding to the current edge length, wherein the length of the adjacent reference edge is the length of the screen edge corresponding to the adjacent input reference value, and the input value corresponding to the current edge length is positioned between the adjacent reference values.
For the way of determining the adjacent reference edge length corresponding to the current edge length, in a possible real-time way, an input value corresponding to the current edge length may be determined first, if the input value is an integer, the adjacent reference edge length does not need to be determined, and if the input value is a decimal, the adjacent reference value corresponding to the input value is determined, so as to determine the adjacent reference edge length corresponding to the adjacent reference value.
In an exemplary case, taking the correspondence relationship between the reference value and the reference edge length as an example shown in table one, when the terminal determines that the current screen edge length is 14cm, the corresponding input value is 3.67, the input value is located between the adjacent reference values 3 and 4, and the corresponding adjacent reference edge lengths are 13.5cm and 15 cm.
And thirdly, generating a correction instruction according to the minimum difference value between the length of the adjacent edge and the length of the current edge.
In a possible implementation manner, after the terminal determines the adjacent reference edge length, the terminal may generate a corresponding correction instruction by calculating a minimum difference between the adjacent reference edge length and the current edge length, where the correction instruction at least includes a target edge length, and the target edge length is a length of a screen edge corresponding to the minimum difference between the adjacent edge length and the current edge length.
In an exemplary example, if the adjacent reference edge lengths are 13.5cm and 15cm, and the current edge length is 14cm, the corresponding difference values are 0.5cm and 1cm, respectively, and it can be seen that the difference value between the current edge length and the reference edge length 13.5 is the smallest, 13.5cm is determined as the target edge length, and a correction instruction is generated according to the target edge length.
And fourthly, sending a correction instruction to a screen mechanical assembly corresponding to the flexible display screen, wherein the screen mechanical assembly is used for automatically stretching the flexible display screen to the position of the adjacent reference edge length according to the correction instruction.
Wherein, the mechanical part that screen mechanical component instruction control flexible display screen goes on stretching out and drawing back, for example: a driver, a drive structure, etc.
In a possible implementation manner, after the terminal generates the correction instruction, the terminal sends the correction instruction to the screen mechanical assembly, and accordingly, after the screen mechanical assembly receives the correction instruction, the screen mechanical assembly drives the flexible display screen to automatically stretch and contract to the target edge length according to the target edge length indicated in the correction instruction.
In this embodiment, after the terminal obtains the current edge length corresponding to the mth expansion operation, the terminal determines the target edge length according to the relationship between the adjacent reference edge length and the current edge length, and generates a correction instruction according to the target edge length, so that the screen mechanical assembly expands and contracts the flexible display screen to the target edge length according to the correction instruction, and thus the input value determined according to the target edge length conforms to the password value specification (i.e., a positive integer), and the accuracy of the password verification operation is improved.
In one possible embodiment, since the unit length directly affects the input numerical value, in order to further improve the security of the terminal data, if the terminal allows the user to set the unit length by himself, the input numerical values corresponding to the same scaling operation are different, and the security of the password can be further improved.
In an exemplary example, on the basis of fig. 9, as shown in fig. 17, step 901 further includes step 1701 and step 1702.
Step 1701, a length setting operation is received, wherein the length setting operation is used for setting the expansion length corresponding to the unit value.
In a possible implementation manner, a user can set the telescopic length corresponding to the unit value according to the requirement, and correspondingly, the terminal receives the length setting operation.
Step 1702, in response to the target length indicated by the length setting operation being less than the unit length threshold, setting the target length as the unit length, the unit length threshold being determined according to the upper limit of the telescopic length of the flexible display screen.
Since the flexible display screen has an upper expansion limit and the password value has a certain password value range of 0-9, it is necessary to ensure that the set unit value at least divides the flexible display screen into 0-9 values when performing the length setting operation, and therefore, in order to ensure that the unit length set by the user is valid, in one possible embodiment, the terminal is provided with a unit length threshold which is an upper limit set for the unit length and is determined by the upper limit of the expansion length of the flexible display screen, for example, the upper limit of the expansion length of the flexible display screen is 13.5cm, and the corresponding upper limit of the unit length is 1.5 cm.
In a possible implementation manner, after the terminal receives the length setting operation, the terminal obtains a target length corresponding to the length setting operation, compares the target length with a preset unit length threshold, and if the target length is less than or equal to the unit length threshold, for example, the target length is 1cm and is less than the preset unit length threshold by 1.5cm, it indicates that the length setting operation is valid, and determines the target length as a unit length for a subsequent password setting or password verification process.
In this embodiment, by setting the unit length threshold, when a length setting operation is received, whether the length setting operation is valid or not is determined by determining a relationship between a target length corresponding to the length setting operation and the unit length threshold, so as to avoid an invalid length setting operation or an influence on subsequent password setting by the length setting operation that does not conform to the flexible upper limit of the flexible display screen.
It should be noted that, the length setting operation in this embodiment may also be applied before the password verification operation, and the corresponding scaling operations of the same preset password are different, which is not limited in this embodiment of the present application.
Referring to fig. 18, a flowchart of a password authentication method according to another exemplary embodiment of the present application is shown, where the method includes:
step 1801, in response to the password input requirement, receiving n times of telescopic operations on the flexible display screen, where n is a positive integer.
And step 1802, judging whether the stay time of the flexible display screen after the mth telescopic operation is longer than a preset time threshold value.
And if the stay time is longer than the preset time threshold, entering a step 1803, otherwise, entering a step 1806.
Step 1803, determining an mth input numerical value according to the target edge length of the exposed display area after the mth expansion operation, where m is a positive integer less than or equal to n.
And 1804, determining as an input password according to the first input numerical value and the nth input numerical value.
Step 1805, performing password authentication on the input password according to the preset password.
And step 1806, ending.
Referring to fig. 19, a block diagram of a password verification apparatus according to an exemplary embodiment of the present application is shown. The device is applied to a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, the second shell and the first shell change the exposed display area of the flexible display screen through relative movement, and the device can be realized to be all or part of the terminal through software, hardware or the combination of the software and the hardware. The device includes:
a first receiving module 1901, configured to receive n times of stretching operations on the flexible display screen in response to a password input requirement, where the stretching operations include at least one of a stretching operation and a shrinking operation, where in the stretching operations, the first housing and the second housing move relative to each other to increase an exposed display area of the flexible display screen, in the shrinking operations, the first housing and the second housing move relative to each other to decrease the exposed display area of the flexible display screen, and n is a positive integer;
a first determining module 1902, configured to determine, according to the size of the exposed display area of the flexible display screen under the telescopic operation, an input password corresponding to the telescopic operation for n times;
a password verification module 1903, configured to perform password verification on the input password according to a preset password.
Optionally, the first determining module 1902 includes:
the acquiring unit is used for acquiring the target edge length of the exposed display area after the mth telescopic operation, wherein the target edge length is the length of the screen edge in the relative movement direction of the shell, and m is a positive integer less than or equal to n;
the first determining unit is used for determining an m-th input numerical value according to the target edge length;
a second determination unit configured to determine the first-digit input value to the nth-digit input value as the input password.
Optionally, the first determining unit is further configured to:
determining a telescopic distance according to the target edge length and a reference edge length, wherein the reference edge length is the length of the screen edge in the relative movement direction of the shell when a reference value is input;
and determining the mth input numerical value according to the telescopic distance, the unit length and the reference numerical value, wherein the unit length is the telescopic length corresponding to the unit numerical value.
Optionally, the first determining unit is further configured to:
determining a candidate input numerical value corresponding to the telescopic operation according to the telescopic distance, the unit length and the reference numerical value;
and carrying out rounding operation on the candidate input numerical value to obtain the m-th input numerical value, wherein the rounding operation at least comprises rounding operation.
Optionally, the first determining unit is further configured to:
acquiring the stay time of the flexible display screen after the mth telescopic operation;
and determining the mth input numerical value according to the target edge length in response to the fact that the stay time length is larger than a preset time length threshold.
Optionally, the apparatus further comprises:
and the first display module is used for displaying virtual coordinates on 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 for indicating the telescopic positions corresponding to all numerical values.
Optionally, the apparatus further comprises:
the second receiving module is used for responding to the password setting requirement and receiving the flexible display screen for n times of telescopic operation;
the second determining module is used for determining the password to be set corresponding to the telescopic operation for n times according to the size of the exposed display area of the flexible display screen under the telescopic operation;
the second display module is used for displaying a password setting confirmation window, the password to be set is displayed in the password setting confirmation window, and the password setting confirmation window is used for prompting whether the password to be set is determined to be the preset password or not;
and the third determining module is used for responding to the received confirmation operation of the password setting confirmation window and determining the password to be set as the preset password.
Optionally, the apparatus further comprises:
the third receiving module is used for receiving length setting operation, and the length setting operation is used for setting the telescopic length corresponding to the unit numerical value;
and the setting module is used for setting the target length as the unit length in response to the target length indicated by the length setting operation being smaller than a unit length threshold value, and the unit length threshold value is determined according to the upper limit of the telescopic length of the flexible display screen.
In the embodiment of the application, when there is the password input demand in the terminal, because the first casing and the second casing at the terminal that has flexible display screen can change the size that exposes the display area of flexible display screen through relative motion, consequently, the terminal can be through receiving flexible display screen's n times telescopic operation to obtain flexible display screen's under the telescopic operation size that exposes the display area, confirm the input password that n times telescopic operation corresponds, thereby carry out password authentication to this input password according to predetermineeing the password. Because carry out password input and password verification through the flexible operation to flexible display screen, what more is the flexible operation to flexible display screen among the whole password verification process, compare in the correlation technique, manual input digit password or drawing the figure password in touch display screen, the password verification operation that this application embodiment provided can play the effect of covering to the password to terminal password that is caused by other users peeping when having avoided the input password reveals, and then has improved the data security at terminal.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 20, a block diagram of a terminal 2000 according to an exemplary embodiment of the present application is shown. The terminal 2000 may be an electronic device having a flexible display screen, such as a smart phone, a tablet computer, an electronic book, a portable personal computer, and the like. 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 2003.
The processor 2002 may include one or more processing cores. The processor 2002 connects various parts within the overall terminal 2000 using various interfaces and lines, and performs various functions of the terminal 2000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 2001, as well as calling data stored in the memory 2001. Alternatively, the processor 2002 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 2002 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the negative flexible display screen 2003; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 2002, but may be implemented by a communication chip.
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 medium. The memory 2001 may be used to store instructions, programs, code sets, or instruction sets. The memory 2001 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, and the like), instructions for implementing the above method embodiments, and the like, and the operating system may be an Android (Android) system (including a system based on Android system depth development), an IOS system developed by apple inc (including a system based on IOS system depth development), or other systems. The storage data area may also store data created by the terminal 2000 during use (e.g., phone book, audio-video data, chat log data), etc.
The flexible display 2003 is used to receive a touch operation of a user on or near the flexible display using any suitable object such as a finger, a touch pen, or the like, and to display a user interface of each application. A flexible display 2003 is typically provided on the front panel of the terminal 2000. In the embodiment of the application, the size of the exposed display area of the flexible display screen 2003 can be changed along with the telescopic operation; alternatively, the terminal 2000 can light up only the exposed display area of the flexible display 2003.
In the embodiment of the present application, the terminal 2000 further includes a driving component, and the driving component is configured to drive the flexible display screen to expand or contract. Optionally, the terminal 2000 further includes a driving mechanism, and the driving mechanism is configured to drive the first housing and the second housing to move relatively.
In addition, those skilled in the art will appreciate that the configuration of terminal 2000 illustrated in the above-described figures does not constitute a limitation of terminal 2000, and that terminal may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 2000 further 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 are not described herein again.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the password authentication method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the password authentication method according to the above embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A password authentication method is applied to a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, the second shell and the first shell change an exposed display area of the flexible display screen through relative movement, and the method comprises the following steps:
receiving n times of telescopic operations of the flexible display screen in response to the password input requirement, wherein the telescopic operations comprise at least one of stretching operations and shrinking operations, the first shell and the second shell move relatively to increase the exposed display area of the flexible display screen in the stretching operations, the first shell and the second shell move relatively to decrease the exposed display area of the flexible display screen in the shrinking operations, and n is a positive integer;
determining an input password corresponding to the telescopic operation for n times according to the size of an exposed display area of the flexible display screen under the telescopic operation;
and carrying out password verification on the input password according to a preset password.
2. The method according to claim 1, wherein the determining the input password corresponding to the telescopic operation for n times according to the size of the exposed display area of the flexible display screen under the telescopic operation comprises:
acquiring the target edge length of the exposed display area after the mth telescopic operation, wherein the target edge length is the length of the screen edge in the relative movement direction of the shell, and m is a positive integer less than or equal to n;
determining an m-th input numerical value according to the target edge length;
and determining the first-digit input value to the nth-digit input value as the input password.
3. The method of claim 2, wherein determining the mth bit input value according to the target edge length comprises:
determining a telescopic distance according to the target edge length and a reference edge length, wherein the reference edge length is the length of the screen edge in the relative movement direction of the shell when a reference value is input;
and determining the mth input numerical value according to the telescopic distance, the unit length and the reference numerical value, wherein the unit length is the telescopic length corresponding to the unit numerical value.
4. The method of claim 3, wherein said determining the mth input value from the warp distance, the unit length, and the reference value comprises:
determining a candidate input numerical value corresponding to the telescopic operation according to the telescopic distance, the unit length and the reference numerical value;
and carrying out rounding operation on the candidate input numerical value to obtain the m-th input numerical value, wherein the rounding operation at least comprises rounding operation.
5. The method of claim 2, wherein determining the mth bit input value according to the target edge length comprises:
acquiring the stay time of the flexible display screen after the mth telescopic operation;
and determining the mth input numerical value according to the target edge length in response to the fact that the stay time length is larger than a preset time length threshold.
6. The method of claim 3, further comprising:
and displaying virtual coordinates on the edge of the screen in the relative movement direction of the shell according to the reference edge length and the unit length, wherein the virtual coordinates are used for indicating the telescopic position corresponding to each numerical value.
7. The method of any of claims 1 to 6, further comprising:
receiving n times of telescopic operation of the flexible display screen in response to the password setting requirement;
determining a password to be set corresponding to the telescopic operation for n times according to the size of an exposed display area of the flexible display screen under the telescopic operation;
displaying a password setting confirmation window, wherein the password to be set is displayed in the password setting confirmation window, and the password setting confirmation window is used for prompting whether the password to be set is determined to be the preset password or not;
and determining the password to be set as the preset password in response to receiving a confirmation operation on the password setting confirmation window.
8. The method of claim 7, wherein before receiving the n telescoping operations for the flexible display screen in response to a password setting requirement, the method further comprises:
receiving length setting operation, wherein the length setting operation is used for setting the telescopic length corresponding to a unit numerical value;
setting the target length as the unit length in response to the target length indicated by the length setting operation being smaller than a unit length threshold value, the unit length threshold value being determined according to an upper limit of a telescopic length of the flexible display screen.
9. A password verification device is applied to a terminal with a flexible display screen, the terminal comprises a first shell and a second shell, the second shell is connected with the first shell in a sliding mode, the second shell and the first shell change an exposed display area of the flexible display screen through relative movement, and the password verification device comprises:
the first receiving module is used for responding to the password input requirement, receiving n times of telescopic operations of the flexible display screen, wherein the telescopic operations comprise at least one of stretching operations and shrinking operations, under the stretching operations, the first shell and the second shell move relatively to increase the exposed display area of the flexible display screen, under the shrinking operations, the first shell and the second shell move relatively to decrease the exposed display area of the flexible display screen, and n is a positive integer;
the first determining module is used for determining input passwords corresponding to the telescopic operation for n times according to the size of an exposed display area of the flexible display screen under the telescopic operation;
and the password verification module is used for performing password verification on the input password according to a preset password.
10. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement a password authentication method according to any one of claims 1 to 8.
11. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement a password authentication method according to any one of claims 1 to 8.
CN202010432603.4A 2020-05-20 Password verification method, device, terminal and storage medium Active CN113704714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010432603.4A CN113704714B (en) 2020-05-20 Password verification method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010432603.4A CN113704714B (en) 2020-05-20 Password verification method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113704714A true CN113704714A (en) 2021-11-26
CN113704714B CN113704714B (en) 2024-06-11

Family

ID=

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004046792A (en) * 2002-03-29 2004-02-12 Toshiba Corp Display input device, display input system, method for controlling the system, and man-machine interface device
KR20100027502A (en) * 2008-09-02 2010-03-11 엘지전자 주식회사 Mobile terminal equipped with flexible display and controlling 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
US20130036638A1 (en) * 2011-08-10 2013-02-14 Jun-Ho Kwack Display device
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
US20150169166A1 (en) * 2013-12-18 2015-06-18 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN105190476A (en) * 2013-03-04 2015-12-23 Lg电子株式会社 Double unlocking apparatus of a portable device equipped with an expandable display and controlling 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, device, electronic equipment and storage medium
CN110300224A (en) * 2019-06-27 2019-10-01 珠海格力电器股份有限公司 A kind of control method and terminal device of terminal device
US20190305237A1 (en) * 2018-03-27 2019-10-03 Samsung Electronics Co., Ltd. Electronic device with movable flexible display and operating method thereof
CN110659475A (en) * 2019-09-17 2020-01-07 珠海格力电器股份有限公司 Unlocking method and terminal equipment
CN111142760A (en) * 2019-12-27 2020-05-12 维沃移动通信有限公司 Password determination method and electronic equipment

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004046792A (en) * 2002-03-29 2004-02-12 Toshiba Corp Display input device, display input system, method for controlling the system, 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 엘지전자 주식회사 Mobile terminal equipped with flexible display and controlling method thereof
US20130036638A1 (en) * 2011-08-10 2013-02-14 Jun-Ho Kwack Display device
CN103488253A (en) * 2012-06-08 2014-01-01 苹果公司 Smart cover peek
CN105190476A (en) * 2013-03-04 2015-12-23 Lg电子株式会社 Double unlocking apparatus of a portable device equipped with an expandable display and controlling 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
US20150169166A1 (en) * 2013-12-18 2015-06-18 Lg Electronics Inc. Mobile terminal and method for controlling the same
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
US20190305237A1 (en) * 2018-03-27 2019-10-03 Samsung Electronics Co., Ltd. Electronic device with movable flexible display and operating method thereof
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, device, electronic equipment and storage medium
CN110300224A (en) * 2019-06-27 2019-10-01 珠海格力电器股份有限公司 A kind of control method and terminal device of terminal device
CN110659475A (en) * 2019-09-17 2020-01-07 珠海格力电器股份有限公司 Unlocking method and terminal equipment
CN111142760A (en) * 2019-12-27 2020-05-12 维沃移动通信有限公司 Password determination method and electronic equipment

Similar Documents

Publication Publication Date Title
US10650709B2 (en) Method and apparatus for controlling flexible screen, and electronic device
CN111222637B (en) Neural network model deployment method and device, electronic equipment and storage medium
CN113792277A (en) Method and device for displaying application and picture and electronic equipment
CN110099219B (en) Panoramic shooting method and related product
CN107959789B (en) Image processing method and mobile terminal
CN110245607B (en) Eyeball tracking method and related product
EP2770457A2 (en) Apparatus and method for managing security of terminal
EP2835724A1 (en) Control method and input device of touchscreen terminal
CN106874787B (en) Image viewing method and mobile terminal
CN110648657B (en) Language model training method, language model building method and language model building device
US7155544B2 (en) Portable information device capable of processing input data from external device and method thereof
US20110037731A1 (en) Electronic device and operating method thereof
JP6085067B2 (en) User data update method, apparatus, program, and recording medium
CN112230781B (en) Character recommendation method, device and storage medium
US20230267282A1 (en) Poetry generation
CN113704714A (en) Password verification method, device, terminal and storage medium
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN113704714B (en) Password verification method, device, terminal and storage medium
CN114047885B (en) Method, device, equipment and medium for writing multi-type data
CN115034948B (en) Image processing method and electronic equipment
US20130321315A1 (en) Method and apparatus for inputting a character in a touch keypad
CN115037874A (en) Photographing method and device and electronic equipment
CN111145723B (en) Method, device, equipment and storage medium for converting audio
KR100751093B1 (en) Device and method for Input in digital device
CN109800837B (en) Data communication method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant