CN111142760B - Password determination method and electronic equipment - Google Patents

Password determination method and electronic equipment Download PDF

Info

Publication number
CN111142760B
CN111142760B CN201911374428.1A CN201911374428A CN111142760B CN 111142760 B CN111142760 B CN 111142760B CN 201911374428 A CN201911374428 A CN 201911374428A CN 111142760 B CN111142760 B CN 111142760B
Authority
CN
China
Prior art keywords
screen
angle value
input
electronic device
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911374428.1A
Other languages
Chinese (zh)
Other versions
CN111142760A (en
Inventor
王继政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911374428.1A priority Critical patent/CN111142760B/en
Publication of CN111142760A publication Critical patent/CN111142760A/en
Application granted granted Critical
Publication of CN111142760B publication Critical patent/CN111142760B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The embodiment of the invention discloses a password determination method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that electronic equipment fails to decrypt due to the fact that the electronic equipment cannot receive input operation of a user on a screen. The method is applied to an electronic device comprising a first screen and a second screen, and comprises the following steps: receiving a first input of a user, wherein the first input is used for adjusting an angle value between the first screen and the second screen; responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein N is a natural number; receiving a second input of the user; in response to the second input, the number N is determined to be a one-digit password in a set of passwords. The method can be applied to the scene of inputting the password by using the foldable electronic equipment.

Description

Password determination method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a password determination method and electronic equipment.
Background
With the development of communication technology, the electronic devices are more and more commonly used, and users can perform payment operations such as shopping, money transfer, recharging and the like through the electronic devices, so that the security of the electronic devices is more and more important.
At present, as a traditional decryption method, digital cryptography is widely applied in various scenes. When decryption is carried out, a user can trigger the electronic equipment to display the password input interface, and then the decryption operation is completed through clicking input of some numbers in a virtual keyboard of the password input interface. However, in the above process, if the screen of the electronic device fails, the electronic device cannot receive an input operation of the screen by the user, thereby causing a decryption failure of the electronic device.
Disclosure of Invention
The embodiment of the invention provides a password determination method and electronic equipment, and aims to solve the problem that decryption of the electronic equipment fails because the electronic equipment cannot receive input operation of a user on a screen.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a password determination method, which is applied to an electronic device including a first screen and a second screen. The method comprises the following steps: receiving a first input of a user for adjusting an angle value between the first screen and the second screen; responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein N is a natural number; receiving a second input of the user; in response to the second input, the number N is determined to be a one-digit password in a set of passwords.
In a second aspect, embodiments of the present invention provide an electronic device, which includes a first screen and a second screen. The electronic device includes: the device comprises a receiving module and a processing module. A receiving module, which can be used for receiving a first input of a user for adjusting an angle value between the first screen and the second screen; the processing module may be configured to determine a number N according to an angle value between the first screen and the second screen in response to the first input received by the receiving module, and control the electronic device to vibrate for a number of times corresponding to the number N, where N is a natural number; the receiving module can be further used for receiving a second input of the user; the processing module may be further configured to determine the number N as a one-digit password in a set of passwords in response to the second input received by the receiving module.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the password determination method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the password determination method provided in the first aspect.
In an embodiment of the present invention, a first input of a user adjusting an angle value between the first screen and the second screen may be received; responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein the N is a natural number; receiving a second input of the user; and in response to the second input, determining the number N as a one-digit password in a set of passwords. Through the scheme, the electronic equipment can be triggered to determine the number N by adjusting the angle value between the first screen and the second screen by a user, and the electronic equipment is controlled to vibrate for the number corresponding to the number N, so that the user can perform second input on the electronic equipment according to the vibration times, and the electronic equipment responds to the second input to determine the number N as one-bit password in the group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a password determination method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of a password determination method according to an embodiment of the present invention;
fig. 4 is a third schematic diagram of a password determination method according to an embodiment of the present invention;
fig. 5 is a schematic usage diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a fourth schematic diagram illustrating a password determination method according to an embodiment of the present invention;
fig. 7 is a fifth schematic diagram illustrating a password determination method according to an embodiment of the present invention;
fig. 8 is a sixth schematic diagram of a password determination method according to an embodiment of the present invention;
fig. 9 is a seventh schematic diagram illustrating a password determination method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 12 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first screen and the second screen, etc. are for distinguishing different screens, not for describing a specific order of the screens.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of elements means two or more elements, and the like.
The embodiment of the invention provides a password determination method and electronic equipment, which can receive first input of a user for adjusting an angle value between a first screen and a second screen; responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein the N is a natural number; receiving a second input of the user; and in response to the second input, determining the number N as a one-digit password in a set of passwords. Through the scheme, the electronic equipment can be triggered to determine the number N by adjusting the angle value between the first screen and the second screen by a user, and the electronic equipment is controlled to vibrate for the number corresponding to the number N, so that the user can perform second input on the electronic equipment according to the vibration times, and the electronic equipment responds to the second input to determine the number N as one-bit password in the group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the password determination method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the password determination method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the password determination method may run based on the android operating system shown in fig. 1. Namely, the processor or the electronic device can implement the password determination method provided by the embodiment of the invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution subject of the password determination method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity capable of implementing the password determination method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe the password determination method provided by the embodiment of the present invention.
In the embodiment of the invention, under the condition that a user uses the electronic equipment to carry out payment operations such as shopping, account transfer, recharging and the like, the user needs to input a password on a password input interface, if the screen of the electronic equipment breaks down, and the electronic equipment cannot receive touch operation input of the user on the screen, the user can trigger the electronic equipment to determine a number N by adjusting the angle value between the first screen and the second screen, and control the electronic equipment to vibrate according to the number corresponding to the number N, so that the user can carry out second input on the electronic equipment according to the vibration number, and the electronic equipment responds to the second input to determine the number N as one password in a group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
As shown in fig. 2, an embodiment of the present invention provides a password determination method, which is applied to an electronic device including a first screen and a second screen, and the method may include steps 101 to 104 described below.
Step 101, the electronic device receives a first input of a user.
Wherein the first input is used to adjust an angle value between the first screen and the second screen.
It should be noted that the electronic device provided by the embodiment of the present invention may include two screens, or more than two screens. In the case where the electronic device includes two or more screens, the first screen and the second screen are any two screens of the two or more screens. The method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Optionally, in the embodiment of the present invention, the first screen and the second screen of the electronic device may be two independent screens, and the first screen and the second screen may be connected by a shaft or a hinge, etc.; or the first screen and the second screen of the electronic device can be two independent screens; alternatively, the screen of the electronic device may be a flexible screen, which may be folded into at least two screens, such as a first screen and a second screen. The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
Optionally, in an embodiment of the present invention, the first input may be used to change an angle value between the first screen and the second screen. Specifically, the first input may be a folding input to the first screen, the first input may also be a folding input to the second screen, and the first input may also be an input to fold the first screen and the second screen at the same time. The present invention is not particularly limited, and the present invention may be determined by actual use.
And 102, responding to the first input by the electronic equipment, determining a number N according to the angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N.
Wherein N is a natural number.
Optionally, with reference to fig. 2, as shown in fig. 3, the step 102 may be specifically implemented by the following step 102a and step 102 b.
In step 102a, the electronic device determines a number N according to an angle value between the first screen and the second screen in response to the first input.
And 102b, the electronic equipment controls the electronic equipment to vibrate according to the times corresponding to the number N.
Alternatively, in conjunction with fig. 3, as shown in fig. 4, the first input is an input for adjusting an angle value between the first screen and the second screen from a first angle value to a second angle value. The step 102a may be specifically realized by the following step 102a 1. Among them, the following step 102a1 can be specifically realized by the following steps 102a1A to 102a 1D.
Step 102a1, the electronic device determines a number N based on the first angle value, the second angle value, and a random angle value.
It should be noted that, in this embodiment of the present invention, the first angle value may be an angle value of the first screen and the second screen of the electronic device before receiving the first input, where a is used1And (4) showing. The second angle value may be an angle value of the first screen and the second screen of the electronic device after receiving the first input, using a2And (4) showing.
Optionally, in this embodiment of the present invention, the first angle value is an angle value smaller than a maximum angle value that can be folded between the first screen and the second screen of the electronic device. The first angle value may serve as a reference for changing the angle value of the electronic device through a folding input (e.g., the first input or the second input). For example, assuming that the maximum value of the folding angle value between the first screen and the second screen is 360 °, 180 ° may be set as the first angle value.
In addition, in the embodiment of the present invention, the random angle value may be used to identify a starting position where the electronic device starts to count. That is, when the user adjusts the angle difference between the first screen and the second screen, and when the angle difference is greater than the random angle value, the electronic device starts to determine the number N according to the difference between the angle value and the random angle value, thereby controlling the electronic device to vibrate a number of times corresponding to the number N.
It can be understood that, in the embodiments of the present invention, the electronic device may determine the number N through the first angle value, the second angle value and the random angle value, so that the electronic device may be controlled to vibrate for a number of times corresponding to the number N, and then the user may know the specific value of the currently determined number N through the prompt of the high vibration number. And when the number N is the password required by the user, the second input can be carried out on the electronic equipment.
Step 102a1A, the electronic device determines an angle difference between the second angle value and the first angle value as a first difference value.
It should be noted that, in the embodiment of the present invention, the first difference is an angle difference between the second angle value and the first angle value, and is expressed by the following formula: k1=A2-A1Wherein A is1Representing a first angle value, A2Representing a second angle value, K1The first difference is indicated. In order to avoid the influence of the folding direction of the first input on the angle difference, when the first difference is used, the absolute value of the first difference, that is, θ ═ K, is generally used1|=|A2-A1In the following embodiments, θ is used to represent the first difference.
Step 102a1B, the electronic device determines a difference between the first difference and a random angle value as a second difference.
It should be noted that, in the embodiment of the present invention, the random angle value is an angle value smaller than a maximum angle value between the first screen and the second screen. The random angle value may be used to identify a starting position at which the electronic device starts to count, that is, when the user adjusts an angle difference (i.e., a first difference) between the first screen and the second screen, and when the angle difference is greater than the random angle value, the electronic device starts to determine the number N according to the difference between the angle value and the random angle value, so as to control the electronic device to vibrate a number of times corresponding to the number N.
In particular, where θ represents the first difference and α represents the random angle value, the electronic device can determine the number N based on a functional relationship between θ - α and the number N.
Optionally, in the embodiment of the present invention, in order to avoid that the setting of the random angle value has a large angle value and affects the use experience of the user, the range of the random angle value may be set as the first interval in the use process. The range of the first interval may be determined specifically according to an actual use condition, and the embodiment of the present invention is not particularly limited.
Illustratively, the first interval may be (0 °, 30 °), i.e. the range of values of the random angle is (0 °, 30 °).
It should be noted that, in the embodiment of the present invention, the electronic device determines the difference between the first difference and a random angle value as the second difference, that is, the electronic device determines the absolute value of the difference between the first difference θ and the random angle value α as the second difference, that is, the second difference is | θ - α |.
Step 102a1C, the electronic device determines a ratio of a difference between the first angle value and a random angle value to a target value as a step angle value.
Optionally, in this embodiment of the present invention, the target number is a total number of elements included in a one-digit password value interval in the group of passwords. Illustratively, if each of the password digit numbers 0 to 9, i.e., each of the password value ranges includes 10 elements (i.e., 0 to 9, the 10 digits), then the target number is 10. The target number may be determined according to actual use requirements, and embodiments of the present invention are not particularly limited.
Illustratively, if each digit password may be any one of numbers 0 to 3, then the target number is 4. If each digit of the password can be any one of numbers 1 to 6, the target number is 6.
Optionally, in the embodiment of the present invention, a calculation formula of the step angle value may be:
Figure BDA0002340542060000051
wherein A is1Representing a first angleThe value, α, represents a random angle value, n represents a target number, and the target number is a positive integer.
Step 102a1D, the electronic device rounds the ratio of the second difference to the step angle value to obtain a number N.
Optionally, in the embodiment of the present invention, a calculation formula of the number N is:
Figure BDA0002340542060000052
wherein A is1Representing a first angle value, A2Denotes a second angle value, [ theta ] denotes a first difference value, [ alpha ] denotes a random angle value, [ n ] denotes a target number, [ alpha ]]The rounding operator.
Illustratively, assume a starting angle value between the first screen and the second screen of 180 ° (i.e., a1180 deg.), the angle value between the first screen and the second screen after receiving the first input is 150 deg. (i.e., the first angle value a)1150 °), the random angle value is 10 ° (i.e., the random angle value α is 10 °), and each digit password is any one of the numbers 0 to 9 (i.e., the target number n is 10). Then, it can be calculated from the above formula, θ is 150 ° -180 ° -30 °,
Figure BDA0002340542060000053
and substituting the first difference value theta and the step angle value delta into the following formula to calculate a number N:
Figure BDA0002340542060000054
namely, after the folding angle value of the electronic equipment is greater than the random angle value by 10 degrees, the corresponding number is increased by 1 after every 17 degrees, and the vibration times of the electronic equipment are correspondingly increased by one time.
It is understood that, in the embodiment of the present invention, the electronic device may determine the first difference value according to a change of an angle value between the first screen and the second screen; determining a second difference value through the first difference value and the random angle value; and rounding the ratio of the second difference to the step angle value to determine the number N. Therefore, the electronic equipment can be controlled to vibrate for the times corresponding to the number N, and then a user can know the specific numerical value of the currently determined number N through the prompt of the vibration times.
And 103, receiving a second input of the user by the electronic equipment.
It should be noted that, in the embodiment of the present invention, the second input is an input for adjusting an angle value between the first screen and the second screen to a preset angle value. Specifically, the second input may be an input for adjusting an angle value between the first screen and the second screen to the first angle value. The input mode of the second input may refer to the related description of step 101, and is not described herein again.
In addition, in the embodiment of the present invention, the user may determine the value of the number N determined by the current folding angle value according to the number of times of vibration of the electronic device and the corresponding relationship between the number of times of vibration and the number N. When the value of the number N is a numerical value that the user needs to input the password, the user may adjust the angle value between the first screen and the second screen to a preset angle value (i.e., a second input), and the electronic device may determine the number N as one password in the set of passwords in response to the input of the angle value between the first screen and the second screen to the preset angle value.
In step 104, the electronic device determines the number N as a one-digit password in a set of passwords in response to the second input.
It should be noted that in the embodiment of the present invention, the group of passwords may include a multi-digit password, and the electronic device may determine the number N as one-digit password in the group of passwords in response to the second input, and repeat the above operations to sequentially determine the multi-digit passwords in the group of passwords. In addition, the following embodiments are described by taking an example in which a set of ciphers includes a 6-bit cipher.
Optionally, in this embodiment of the present invention, after determining the number N as a one-digit password in the group of passwords, the electronic device may output target prompt information, where the target prompt information may be used to prompt the user that a one-digit password in the group of passwords has been input. Specifically, the target prompt information may be at least one of the following: prompt tone information, vibration with special frequency, character prompt information and the like. The specific method can be determined according to actual use conditions, and the embodiment of the invention is not particularly limited.
For example, as shown in fig. 5, if the user needs to perform a payment operation using the electronic device 00, the user may trigger a payment-type application on the electronic device 00 to perform payment, and in a case where the electronic device displays a password input interface, the user may adjust an angle value between the first screen 001 and the second screen 002 by a folding input in a first direction (i.e., a first input). It is assumed that the angle difference between the first screen 001 and the second screen 002 before and after the first input is 50 ° (i.e., θ is 50 °), the random angle value is 10 ° (i.e., α is 10 °), and each digit password is any digit of the numbers 0 to 9 (i.e., N is 10 °), the step angle value is 17 ° (i.e., δ is 17 °), and the number N corresponds one-to-one to the number of vibrations of the electronic device. Then the electronic device may calculate based on the value of the angle between first screen 001 and second screen 002, and the parameters described above, in response to a fold input in a first direction (i.e., a first input)
Figure BDA0002340542060000061
I.e. the number N is determined to be 2 and the electronic device is controlled to vibrate twice. The user adjusts the angle value between the first screen 001 and the second screen 002 to a preset angle value (i.e., a second input) after sensing the vibration of the electronic device twice, and the electronic device determines the number 2 as one password of the 6-bit passwords (i.e., a set of passwords) in response to the input (i.e., the second input) folded to the preset angle value in the second direction.
The embodiment of the invention provides a password determination method, which can receive a first input of a user for adjusting an angle value between a first screen and a second screen; responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein the N is a natural number; receiving a second input of the user; and in response to the second input, determining the number N as a one-digit password in a set of passwords. Through the scheme, the electronic equipment can be triggered to determine the number N by adjusting the angle value between the first screen and the second screen by a user, and the electronic equipment is controlled to vibrate for the number corresponding to the number N, so that the user can perform second input on the electronic equipment according to the vibration times, and the electronic equipment responds to the second input to determine the number N as one-bit password in the group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
Optionally, with reference to fig. 2, as shown in fig. 6, after step 104, the password determination method provided in the embodiment of the present invention further includes the following step 105.
And 105, the electronic equipment displays the first identifier on a password input interface.
The first identifier is an identifier other than the number N, and the first identifier may be used to prompt a user that a password of one of a group of passwords has been input.
Optionally, in this embodiment of the present invention, the first identifier is an identifier other than a number N, specifically, the first identifier may be a character identifier other than the number N, for example, the first identifier may be a character: x; the first identifier may also be a graphic identifier, for example, the first identifier may be a triangular identifier; the first identifier may also be a number other than the number N, for example, in the case where N is not 9, the first identifier may be the number 9. The first identifier may be determined according to an actual use condition, and the embodiment of the present invention is not limited specifically.
Optionally, in the embodiment of the present invention, in a case that the password input interface displays the first identifier, the electronic device may further output first prompt information, where the first prompt information may be used to prompt the user to pay attention to view the first identifier. Wherein the first prompt message may be at least one of: voice prompt information, vibration prompt information, flashing light, etc. The specific method can be determined according to actual use conditions, and the embodiment of the invention is not particularly limited.
For example, in a case where the user adjusts the angle value between the first screen and the second screen to a preset angle value (i.e., a second input) according to the obtained feedback information of the folded electronic device (i.e., the electronic device vibrates by a number of times corresponding to the number N) and determines that the folding in the second direction adjusts the angle value to the preset angle value (i.e., the second input), the electronic device may determine the number N as one-digit password among a set of passwords in response to the input of the folding in the second direction to the preset angle value (i.e., the second input), and display an X, i.e., a first identifier, in the password input interface to prompt the user that one-digit password among the set of passwords has been input.
It can be understood that, in the embodiment of the present invention, because the electronic device displays, on the password input interface, the first identifier that can be used to prompt the user to already input one password in the group of passwords, the user can determine whether the current input operation is successful by observing the password input interface, and the password to be input is the second-order password. Therefore, the electronic equipment is convenient for users to use, and the user experience is improved.
Optionally, with reference to fig. 2, as shown in fig. 7, before the step 101, the password determination method provided in the embodiment of the present invention may further include the following step 106.
Step 106, after determining a one-digit password in the group of passwords, the electronic device updates one random angle value to other random angle values.
Optionally, in the embodiment of the present invention, after the electronic device detects that the user folds the angle value between the first screen and the first screen to the preset angle value through the second input, one random angle value is updated to another random angle value.
It should be noted that, in the embodiment of the present invention, the other random angle values are different from the random angle value used last time. The numerical values of other random angle values may be determined according to actual use conditions, and embodiments of the present invention are not limited specifically.
Specifically, after the user folds the electronic device to complete the input of one password in the group of passwords, the electronic device may update the first random angle value to the second random angle value, and in the process that the user folds and inputs again to determine the next password in the group of passwords, the electronic device may determine the number T according to the angle value between the first screen and the second random angle value, and determine the number T as the next password in the group of passwords. Wherein T is a natural number.
It can be understood that, in the embodiment of the present invention, since one random angle value is updated to another random angle value after the electronic device determines one password in the group of passwords, the random angle value is updated after the electronic device determines one password in the group of passwords, and then the updated random angle value is used for calculation when the next password in the group of passwords is determined. Therefore, the password leakage of the electronic equipment caused by peeping can be avoided, and the safety of the electronic equipment is improved.
Optionally, in this embodiment of the present invention, after determining the number N according to the angle value between the first screen and the second screen, the electronic device may determine, according to the number N, a number of times of vibration corresponding to the number N, and control the electronic device to vibrate according to the number of times corresponding to the number N. Specifically, the present invention can be implemented in the following first or second modes.
In a first mode
Optionally, with reference to fig. 3, as shown in fig. 8, before the step 102b, the password determination method provided in the embodiment of the present invention further includes a step 107, and the corresponding step 102b may be specifically implemented by the following step 102b 1.
And step 107, the electronic equipment determines the vibration frequency of the target screen to be N times according to the number N.
The target screen is at least one of a first screen of the electronic equipment and a second screen of the electronic equipment.
Optionally, in the embodiment of the present invention, a first vibration device and a first vibration sensor may be installed on a portion where the first screen of the electronic device is located, and a second vibration device and a second vibration sensor may be installed on a portion where the second screen of the electronic device is located. The electronic device may control at least one of the first vibrating means and the second vibrating means to vibrate according to the number N. Wherein the first vibration sensor detects a vibration signal of the first screen, and the second vibration sensor can detect a vibration signal of the second screen.
Step 102b1, the electronic device controls the target screen to vibrate for N times.
For example, if the user needs to use the electronic device for a payment operation, the user may trigger a payment-type application on the electronic device to make a payment, and in the case where the electronic device displays a password input interface, the user may adjust an angle value between the first screen and the second screen by a folding input in the first direction (i.e., the first input). Assuming that an angle difference between the first screen and the second screen before and after the first input is 50 ° (i.e., the first difference θ is 50 °), a random angle value is 10 ° (i.e., the random angle value α is 10 °), and each bit code is any one of the numbers 0 to 9 (i.e., the target number N is 10 °), and a step angle value is 17 ° (i.e., the step angle value δ is 17 °), the electronic device may determine the number N to be 2 according to the angle difference between the first screen and the second screen, the random angle value is 10 °, the target number, and the step angle value, and the electronic device may control the first screen to vibrate twice.
It is understood that, in the embodiment of the present invention, the electronic device may determine the number of times of vibration of at least one of the first screen and the second screen of the electronic device as N times according to the number N. Therefore, the user can directly judge whether the current number N is the number required by the user through the vibration times of the electronic equipment, so that the convenience of using the electronic equipment by the user is improved, the use by the user is facilitated, and the user experience is improved.
Mode two
Optionally, with reference to fig. 3, as shown in fig. 9, before the step 102b, the password determination method provided in the embodiment of the present invention further includes a step 108, and the corresponding step 102b may be specifically implemented by the following step 102b 2.
And step 108, the electronic equipment determines the vibration frequency of the first screen to be M times and determines the vibration frequency of the second screen to be K times according to the number N.
Wherein M and K are both natural numbers less than N;
optionally, in this embodiment of the present invention, the manner of determining the numbers M and K according to the number N may be any of the following manners: mode a, the number N may be expressed as the sum of M and K, i.e., M + K ═ N, where N > M, N > K, and N, M, K are all natural numbers. Mode B, the number N may determine M and K through a first algorithm, where N > M, N > K, N, M, K are all natural numbers. Wherein the first algorithm may be a function. The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
Optionally, in this embodiment of the present invention, the first algorithm may be: the quotient of the number N divided by the first parameter is determined as M, and the remainder of the division of the number N by the first parameter is determined as K, wherein the first parameter is a positive integer.
For example, assuming that N is 9 and the first parameter is 5, the specific process of the electronic device determining M and K through the first algorithm may be: the electronic device calculates a quotient and a remainder of 9 divided by 5, determines a quotient 1 of 9 divided by 5 as M, and determines a remainder 4 of 9 divided by 5 as N, i.e., M equals 1 and N equals 5.
And 102b2, controlling the first screen to vibrate for M times and controlling the second screen to vibrate for K times by the electronic equipment.
Optionally, in the embodiment of the present invention, a first vibration device and a first vibration sensor may be installed on a portion where the first screen of the electronic device is located, and a second vibration device and a second vibration sensor may be installed on a portion where the second screen of the electronic device is located. The electronic device may control the first vibration device to vibrate M times and the second vibration device to vibrate K times according to the number N. Wherein the first vibration sensor detects a vibration frequency of the first screen, and the second vibration sensor may detect a vibration frequency of the second screen.
For example, if the user needs to use the electronic device for a payment operation, the user may trigger a payment-type application on the electronic device to make a payment, and in the case where the electronic device displays a password input interface, the user may adjust an angle value between the first screen and the second screen by a folding input in the first direction (i.e., the first input). Assuming that an angle difference between the first screen and the second screen before and after the first input is 120 ° (i.e., the first angle value θ is 120 °), a random angle value is 10 ° (i.e., the random angle value α is 10 °), and each bit code is any one of the numbers 0 to 9 (i.e., the target number n is 10 °), a step angle value is 17 ° (i.e., the step angle value δ is 17 °), and the first parameter is 5. The electronic device may determine that the number N is 6 based on the angle difference between the first screen and the second screen, the random angle value is 10 °, the target number, and the step angle value. The electronic device may determine a quotient 1 of a number N divided by a first parameter 5 as M (i.e., M ═ 1), and a remainder of the number N divided by the first parameter 5 as K (i.e., K ═ 1).
It can be understood that, in the embodiment of the present invention, since the electronic device may determine, according to the number N, the number of times of vibration of the first screen to be M times and the number of times of vibration of the second screen to be K times, the electronic device may control the vibration of the first screen to be M times and the vibration of the second screen to be K times. Therefore, the vibration frequency of the electronic equipment can be reduced, and a larger number N is represented by the vibration of different screens, so that the vibration time of the electronic equipment can be reduced, and the user experience is improved.
In the embodiment of the present invention, the password determination method shown in each of the above drawings is exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the password determination method shown in each of the above figures may also be implemented in combination with any other combinable figures shown in the above embodiments, and details are not described here again.
As shown in fig. 10, an embodiment of the invention provides an electronic device 1000. The electronic device 1000 includes a first screen and a second screen. The electronic device may include a receiving module 1001 and a processing module 1002. The receiving module 1001 may be configured to receive a first input of a user adjusting an angle value between a first screen and a second screen. The processing module 1002 may be configured to determine a number N according to an angle value between the first screen and the second screen in response to the first input received by the receiving module 1001, and control the electronic device to vibrate for a number of times corresponding to the number N, where N is a natural number. The receiving module 1001 may further be configured to receive a second input from the user. The processing module 1002 may be further configured to determine the number N as a one-digit password in a set of passwords in response to the second input received by the receiving module 1001.
Optionally, in this embodiment of the present invention, the first input is an input for adjusting an angle value between the first screen and the second screen from a first angle value to a second angle value. The processing module 1002 may be specifically configured to determine an angle difference between the second angle value and the first angle value as a first difference value. And determining the difference between the first difference and a random angle value as a second difference. And determining the ratio of the difference between the first angle value and a random angle value to the target value as a stepping angle value. And rounding the ratio of the second difference to the step angle value to obtain a number N.
Optionally, in this embodiment of the present invention, the processing module 1002 may be further configured to update one random angle value to another random angle value after determining one password in the group of passwords.
Optionally, in this embodiment of the present invention, the processing module 1002 may be further configured to determine, according to the number N, that the number of times of vibration of the target screen is N, where the target screen is at least one of the first screen and the second screen. The processing module 1002 may be specifically configured to control the target screen to vibrate N times.
Optionally, in this embodiment of the present invention, the processing module 1002 may be further configured to determine, according to the number N, that the number of times of vibration of the first screen is M times, and determine that the number of times of vibration of the second screen is K times, where M and K are both natural numbers smaller than N. The processing module 1002 may be specifically configured to control the first screen to vibrate M times, and control the second screen to vibrate K times.
Optionally, with reference to fig. 10, as shown in fig. 11, the electronic device provided in the embodiment of the present invention may further include a display module 1003. The display module 1003 may be configured to display a first identifier, which is an identifier other than the number N, on the password input interface, where the first identifier may be used to prompt the user that a password with one digit in a group of passwords has been input.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
According to the electronic device provided by the embodiment of the invention, as the user can trigger the electronic device to determine the number N by adjusting the angle value between the first screen and the second screen and control the electronic device to vibrate for the number corresponding to the number N, the user can perform the second input on the electronic device according to the vibration number, and the electronic device responds to the second input to determine the number N as the one-bit password in the group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 12, the electronic device 200 includes, but is not limited to: radio frequency unit 201, network module 202, audio output unit 203, input unit 204, sensor 205, display unit 206, user input unit 207, interface unit 208, memory 209, processor 210, and power supply 211. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
The user input unit 207 may be configured to receive a first input of a user for adjusting an angle value between the first screen and the second screen. The processor 210 may be configured to determine a number N according to an angle value between the first screen and the second screen in response to the first input received by the user input unit 207, and control the electronic device to vibrate a number of times corresponding to the number N, where N is a natural number. The user input unit 207 may be further configured to receive a second input from the user. The processor 210 may be further configured to determine the number N as a one-digit password in a set of passwords in response to the second input received by the user input unit 207.
According to the electronic device provided by the embodiment of the invention, as the user can trigger the electronic device to determine the number N by adjusting the angle value between the first screen and the second screen and control the electronic device to vibrate for the number corresponding to the number N, the user can perform the second input on the electronic device according to the vibration number, and the electronic device responds to the second input to determine the number N as the one-bit password in the group of passwords. Therefore, the user can adjust the angle value between the first screen and the second screen, so that the unlocking password is input to the electronic equipment, and the electronic equipment is successfully unlocked.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 210; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic apparatus 200 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a Graphics Processing Unit (GPU) 2041, a microphone 2042, and a camera module 2043, and the graphics processor 2041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 206. The image frames processed by the graphic processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202. The microphone 2042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 201 in case of a phone call mode. The camera module 2043 collects images and transmits the collected images to the graphic processor 2041.
The electronic device 200 also includes at least one sensor 205, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 2061 and/or the backlight when the electronic device 200 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 205 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. Touch panel 2071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 2071 (e.g., user operation on or near the touch panel 2071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 2071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 210, and receives and executes commands sent by the processor 210. In addition, the touch panel 2071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 207 may include other input devices 2072 in addition to the touch panel 2071. In particular, the other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not further described herein.
Further, a touch panel 2071 may be overlaid on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near the touch panel 2071, the touch panel is transmitted to the processor 210 to determine the type of the touch event, and then the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of the touch event. Although the touch panel 2071 and the display panel 2061 are shown as two separate components in fig. 12 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to implement the input and output functions of the electronic device, and are not limited herein.
The interface unit 208 is an interface for connecting an external device to the electronic apparatus 200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 200 or may be used to transmit data between the electronic apparatus 200 and the external device.
The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 209 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 210 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 209 and calling data stored in the memory 209, thereby performing overall monitoring of the electronic device. Processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 210.
The electronic device 200 may further include a power source 211 (such as a battery) for supplying power to each component, and optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 200 includes some functional modules that are not shown, and thus are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor 210 as shown in fig. 12, a memory 209, and a computer program that is stored in the memory 209 and is executable on the processor 210, and when the computer program is executed by the processor 210, the processes of the foregoing method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here. Examples of the computer-readable storage medium include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk and an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A password determination method is applied to an electronic device comprising a first screen and a second screen, and is characterized by comprising the following steps:
receiving a first input of a user, wherein the first input is used for adjusting an angle value between the first screen and the second screen;
responding to the first input, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein the N is a natural number;
receiving a second input of the user;
determining a number N as a one-digit password in a set of passwords in response to the second input;
the first input is an input that adjusts an angle value between the first screen and the second screen from a first angle value to a second angle value;
the determining a number N according to the value of the angle between the first screen and the second screen includes:
determining an angle difference between the second angle value and the first angle value as a first difference value;
determining a difference between the first difference and a random angle value as a second difference;
determining the ratio of the difference value of the first angle value and the random angle value to a target value as a stepping angle value;
and rounding the ratio of the second difference value to the step angle value to obtain a number N.
2. The method of claim 1, wherein prior to receiving a first input by a user to adjust a value of an angle between the first screen and the second screen, the method further comprises:
after determining a one-digit password in a group of passwords, updating the one random angle value to the other random angle values.
3. The method according to any one of claims 1 to 2, wherein before said controlling said electronic device to vibrate a number of times corresponding to a number N, said method further comprises:
determining the vibration times of a target screen to be N times according to the number N, wherein the target screen is at least one of the first screen and the second screen;
the controlling the electronic device to vibrate a number of times corresponding to a number N includes:
and controlling the target screen to vibrate for N times.
4. The method according to any one of claims 1 to 2, wherein before said controlling said electronic device to vibrate a number of times corresponding to a number N, said method further comprises:
determining the vibration frequency of the first screen to be M times and determining the vibration frequency of the second screen to be K times according to the number N, wherein M and K are natural numbers smaller than N;
the controlling the electronic device to vibrate a number of times corresponding to a number N includes:
and controlling the first screen to vibrate for M times, and controlling the second screen to vibrate for K times.
5. The method of any of claims 1-2, wherein after determining the number N as a one-digit password in a set of passwords, the method further comprises:
and displaying a first identifier on a password input interface, wherein the first identifier is an identifier except the number N, and the first identifier is used for prompting a user that a password with one bit in a group of passwords is input.
6. An electronic device comprising a first screen and a second screen, the electronic device comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input of a user, wherein the first input is used for adjusting an angle value between the first screen and the second screen;
the processing module is used for responding to the first input received by the receiving module, determining a number N according to an angle value between the first screen and the second screen, and controlling the electronic equipment to vibrate for a number of times corresponding to the number N, wherein N is a natural number;
the receiving module is further used for receiving a second input of the user;
the processing module is further configured to determine a number N as a one-digit password in a set of passwords in response to the second input received by the receiving module;
the first input is an input that adjusts an angle value between the first screen and the second screen from a first angle value to a second angle value;
the processing module is specifically configured to determine an angle difference between the second angle value and the first angle value as a first difference value; determining the difference between the first difference and a random angle value as a second difference; determining the ratio of the difference value of the first angle value and the random angle value to a target value as a stepping angle value; and rounding the ratio of the second difference to the step angle value to obtain a number N.
7. The electronic device of claim 6, wherein the processing module is further configured to update the one random angle value to the other random angle values after determining a one-digit password in a group of passwords.
8. The electronic device according to any one of claims 6 to 7, wherein the processing module is further configured to determine, according to the number N, that the number of times of vibration of a target screen is N times, where the target screen is at least one of the first screen and the second screen;
the processing module is specifically configured to control the target screen to vibrate for N times.
9. The electronic device according to any one of claims 6 to 7, wherein the processing module is further configured to determine, according to the number N, that the number of times of vibration of the first screen is M times, and determine that the number of times of vibration of the second screen is K times, where M and K are both natural numbers less than N;
the processing module is specifically configured to control the first screen to vibrate M times, and control the second screen to vibrate K times.
10. The electronic device of any of claims 6-7, further comprising a display module;
the display module is used for displaying a first identifier on a password input interface, wherein the first identifier is an identifier except the number N, and the first identifier is used for prompting a user that a password of one bit in a group of passwords is input.
CN201911374428.1A 2019-12-27 2019-12-27 Password determination method and electronic equipment Active CN111142760B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911374428.1A CN111142760B (en) 2019-12-27 2019-12-27 Password determination method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911374428.1A CN111142760B (en) 2019-12-27 2019-12-27 Password determination method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111142760A CN111142760A (en) 2020-05-12
CN111142760B true CN111142760B (en) 2021-04-23

Family

ID=70520850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911374428.1A Active CN111142760B (en) 2019-12-27 2019-12-27 Password determination method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111142760B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446622A (en) * 2015-08-04 2017-02-22 深圳富泰宏精密工业有限公司 Electronic device and cipher input method thereof
CN106557674A (en) * 2016-10-14 2017-04-05 上海斐讯数据通信技术有限公司 A kind of unlocking method and device and intelligent terminal
CN108052817A (en) * 2017-12-25 2018-05-18 仲杏英 Secure password input system
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium
CN110221754A (en) * 2019-05-29 2019-09-10 维沃移动通信有限公司 A kind of control method, control device and terminal device
CN110263509A (en) * 2019-05-28 2019-09-20 Oppo广东移动通信有限公司 Unlocking method, device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571534B (en) * 2015-02-10 2019-03-29 联想(北京)有限公司 A kind of vibration prompting method and electronic equipment
KR102537922B1 (en) * 2015-09-11 2023-05-30 삼성전자 주식회사 Method for measuring angles between displays and Electronic device using the same
CN108965608B (en) * 2018-08-28 2021-01-08 维沃移动通信有限公司 Alarm clock setting method, folding terminal and computer readable storage medium
CN110300224A (en) * 2019-06-27 2019-10-01 珠海格力电器股份有限公司 A kind of control method and terminal device of terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446622A (en) * 2015-08-04 2017-02-22 深圳富泰宏精密工业有限公司 Electronic device and cipher input method thereof
CN106557674A (en) * 2016-10-14 2017-04-05 上海斐讯数据通信技术有限公司 A kind of unlocking method and device and intelligent terminal
CN108052817A (en) * 2017-12-25 2018-05-18 仲杏英 Secure password input system
CN110049251A (en) * 2019-05-21 2019-07-23 闻泰通讯股份有限公司 It images focus adjustment method, device, fold screen equipment and storage medium
CN110263509A (en) * 2019-05-28 2019-09-20 Oppo广东移动通信有限公司 Unlocking method, device, electronic equipment and storage medium
CN110221754A (en) * 2019-05-29 2019-09-10 维沃移动通信有限公司 A kind of control method, control device and terminal device

Also Published As

Publication number Publication date
CN111142760A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN109542282B (en) Interface display method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN109002243B (en) Image parameter adjusting method and terminal equipment
CN111142991A (en) Application function page display method and electronic equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
WO2021169959A1 (en) Application starting method and electronic device
CN110058836B (en) Audio signal output method and terminal equipment
CN109379484B (en) Information processing method and terminal
CN109032486B (en) Display control method and terminal equipment
CN109639971B (en) Shooting focal length adjusting method and terminal equipment
CN108763317B (en) Method for assisting in selecting picture and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN110109604B (en) Application interface display method and mobile terminal
CN110209369B (en) Interface display method and terminal equipment
CN110489045B (en) Object display method and terminal equipment
CN109901976B (en) Application program management method and terminal equipment
CN111124179A (en) Information processing method and electronic equipment
CN110851098B (en) Video window display method and electronic equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN108459864B (en) Method for updating display content and mobile terminal
CN111638842B (en) Display control method and device and electronic equipment
CN110096893B (en) Object limiting method and terminal equipment
CN110493451B (en) Data transmission method, electronic equipment and terminal

Legal Events

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