CN111859322A - Identity verification method and device and electronic equipment - Google Patents

Identity verification method and device and electronic equipment Download PDF

Info

Publication number
CN111859322A
CN111859322A CN202010605413.8A CN202010605413A CN111859322A CN 111859322 A CN111859322 A CN 111859322A CN 202010605413 A CN202010605413 A CN 202010605413A CN 111859322 A CN111859322 A CN 111859322A
Authority
CN
China
Prior art keywords
folding
angle
target
screen
folding angle
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.)
Pending
Application number
CN202010605413.8A
Other languages
Chinese (zh)
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 CN202010605413.8A priority Critical patent/CN111859322A/en
Publication of CN111859322A publication Critical patent/CN111859322A/en
Pending legal-status Critical Current

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
    • 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
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2133Verifying human interaction, e.g., Captcha

Abstract

The application discloses an identity authentication method, an identity authentication device and electronic equipment, and belongs to the technical field of communication. According to the method and the device, identity verification is triggered in response to first input on the electronic equipment, verification prompt information used for prompting at least one of the steps of target folding angle, target folding position and target folding is displayed on a screen of the electronic equipment, the electronic equipment is deformed when received second input is carried out, and when the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.

Description

Identity verification method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an identity authentication method, an identity authentication device and electronic equipment.
Background
In the wide application of internet science and technology, in order to avoid the actions of batch registration, login, ticket swiping, malicious requests, brute force attack and the like through an automatic script and reduce the loss caused by network black products, short message verification codes, sliders, image-text identification and the like are adopted to carry out identity verification in the registration and login interfaces of webpages, applications and the like so as to judge whether people or machines are currently operated, so that most of malicious requests made by the automatic script are intercepted, and the network security is ensured.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art:
at present, the condition that a large number of random mobile phone numbers are maliciously input in the verification method based on the short message verification code may exist, so that a service provider generates high short message cost. In addition, the slider-based verification method can simulate a user sliding track through an automatic script to pass verification, so that the verification result is inaccurate; the verification method based on image-text recognition can identify image-text contents for verification through AI (Artificial Intelligence) and big data analysis so as to pass the verification, namely, the verification of the slide block and the image-text recognition cannot accurately distinguish whether a person or a machine is currently operated.
Disclosure of Invention
The embodiment of the application aims to provide an identity authentication method, an identity authentication device and electronic equipment, and can solve the problems that the cost of authentication through a short message authentication code is high and the accuracy of authentication through a slider and image-text recognition is poor in the existing identity authentication method.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an identity authentication method, which is applied to an electronic device, and the method may include:
receiving a first input triggering authentication;
displaying verification prompt information on a screen of the electronic equipment in response to the first input, wherein the verification prompt information is used for prompting at least one of a target folding angle, a target folding position and a target folding step;
receiving a second input aiming at the electronic equipment according to the verification prompt message;
in response to the second input, the electronic device generates a deformation;
and under the condition that the deformation is matched with the verification prompt information, the identity verification is successful.
In a second aspect, an embodiment of the present application provides an identity authentication apparatus, which is applied to an electronic device, and the apparatus may include:
The first input receiving module is used for receiving a first input for triggering identity authentication;
a prompt information display module, configured to display, in response to the first input, verification prompt information on a screen of the electronic device, where the verification prompt information is used to prompt at least one of a target folding angle, a target folding position, and a target folding step;
the second input receiving module is used for receiving second input aiming at the electronic equipment according to the verification prompt information;
the second input response module is used for responding to the second input and enabling the electronic equipment to generate deformation;
and the identity verification module is used for successfully verifying the identity under the condition that the deformation is matched with the verification prompt information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
Drawings
Fig. 1 is a flowchart illustrating steps of an authentication method according to an embodiment of the present application;
Fig. 2 is a schematic view of a folding angle of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating steps of another authentication method according to an embodiment of the present application;
FIG. 4 is a flowchart of another authentication process provided in the embodiments of the present application;
FIG. 5 is a schematic diagram of a first verification fold prompt provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a second verification fold prompt provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a third verification fold prompt provided by an embodiment of the present application;
FIG. 8 is a diagram illustrating a fourth example of a fold-over proof prompt provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of a fifth verification fold prompt provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a sixth verification fold prompt provided by an embodiment of the present application;
FIG. 11 is a schematic diagram of a seventh verification fold prompt provided by an embodiment of the present application;
FIG. 12 is a diagram illustrating an eighth validation fold prompt provided by an embodiment of the present application;
FIG. 13 is a schematic diagram of a first second input prompt provided by an embodiment of the present application;
FIG. 14 is a schematic diagram of a second input prompt provided by the embodiment of the present application;
FIG. 15 is a schematic diagram of a third second input prompt provided by the embodiment of the present application;
Fig. 16 is a flowchart illustrating steps of still another authentication method according to an embodiment of the present application;
fig. 17 is a schematic diagram of a folded position prompt provided in an embodiment of the present application;
fig. 18 is a schematic diagram illustrating a prompt of a folding position verification result according to an embodiment of the present application;
fig. 19 is a schematic diagram of another prompt for verification result of the folding position according to the embodiment of the present application;
fig. 20 is a block diagram illustrating an authentication apparatus according to an embodiment of the present disclosure;
fig. 21 is a block diagram of another authentication apparatus according to an embodiment of the present application;
fig. 22 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The identity authentication method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of steps of an identity verification method provided in an embodiment of the present application, and as shown in fig. 1, the method may include:
step 101, receiving a first input triggering identity verification.
In this embodiment of the application, the first input may be an input for triggering authentication, and it may be determined that the current operating environment of the electronic device needs to perform human-computer authentication according to the first input, and optionally, the operating environment that needs to perform authentication may be an operating environment when performing operations such as login, registration, payment, password modification, and account unbinding/binding, where the electronic device may receive a selection operation entering the operating environment as the first input, such as a click operation on a key such as "login" and "registration", a scan operation on a payment two-dimensional code, and the like.
The embodiment of the application can be applied to the electronic equipment which can deform, optionally, the electronic equipment deforms such as being curled, folded and the like, wherein the electronic equipment can be equipped with a foldable screen, so that the screen of the electronic equipment can be folded into different angles, or can be folded at different folding positions. Optionally, the folding angle of the screen of the electronic device when folded in half may be 180 degrees, and the folding angle of the screen when unfolded may be 0 degree; or, the folding angle may be 360 degrees when the back of the screen of the electronic device is attached and folded in half, the folding angle is 180 degrees when the screen is unfolded in flat, the folding angle is 0 degree when the front of the screen is attached and folded in half, and the like, which is not specifically limited in the embodiment of the present application.
Fig. 2 is a schematic view of a folding angle of an electronic device according to an embodiment of the present disclosure, as shown in fig. 2, the electronic device 200 includes a first screen 201, and a first front surface 2011 and a first back surface 2012 of the first screen 201; a second screen 202, and a second front surface 2021 and a second back surface 2022 of the second screen 202. Wherein the first screen 201 is foldable relative to the second screen 202 at a folded position 203.
Optionally, when the first front face 2011 is on the horizontal plane of the second front face 2021, the folding angle is 0 degree; when the first front 2011 is between the horizontal plane of the second front 2021 and the vertical plane 2031, the folding angle is between 0 and 90 degrees; when the first front 2011 is on the vertical plane 2031, the folding angle is 90 degrees; the fold angle is between 90 and 180 degrees when the first face 2011 is between the vertical plane 2031 and the horizontal plane in which the second face 2021 is located; when the first front 2011 is attached to the second front 2021, the folding angle is 180 degrees. Optionally, in this embodiment of the application, the folding angle may also be obtained according to the first back 2012 and the second back 2022.
And 102, responding to the first input, and displaying verification prompt information on a screen of the electronic equipment, wherein the verification prompt information is used for prompting at least one of a target folding angle, a target folding position and a target folding step.
In an embodiment of the application, in response to the first input, verification prompt information may be displayed on a screen of the electronic device to prompt at least one of a target folding angle, a target folding position, and a target folding step to verify that an object currently operating the electronic device is a person or a machine. Alternatively, the target folding angle or the target folding position may be a folding angle or a folding position that can be reached after the electronic device is deformed. Since the machine can only perform illegal verification through codes, scripts and the like, and cannot deform the electronic equipment through external folding operation, the identity of the object currently operating the electronic equipment can be effectively verified through whether the folding operation on the electronic equipment is received and whether the folding operation meets the matching condition. Optionally, the number of the target folding angles and the target folding positions is not limited in the embodiments of the present application.
In this embodiment of the application, the target folding step may be a step of folding the electronic device, where the target folding step may include a plurality of target folding angles, may also include a plurality of target folding positions, and may also be a step of respectively corresponding to the plurality of target folding positions by the plurality of target folding angles, and different target folding steps may be distinguished according to different orders of the target folding angles, the target folding positions, and the like, for example, the target folding step may include folding to a target folding angle 1 first, and then folding to a target folding angle 2; or the target folding step may include folding at the target folding position 1 and then folding at the target folding position 2; or the target folding step may include folding to the target folding angle 1 at the target folding position 1 and then folding to the target folding angle 2 at the target folding position 2. The target folding step may also be to define the shape of the electronic device after folding the electronic device, for example, the target folding step may be a folding step of folding the electronic device into a triangle, or may also be a step of folding the electronic device into a diamond, which is not specifically limited in this embodiment of the application.
And 103, receiving a second input aiming at the electronic equipment according to the verification prompt information.
In this embodiment of the application, the second input may be a folding operation of the electronic device according to the verification prompt information. As shown in fig. 2, in the case where the second screen 202 is fixed, the second input may be a folding operation of the first screen 201; alternatively, the second input may be a folding operation of the first screen 201 with the second screen 202 fixed.
And 104, responding to the second input, and generating deformation of the electronic equipment.
In the embodiment of the application, since the electronic device can be deformed in response to the second input, the deformation of the electronic device may include changes of a folding angle, a folding position, and the like of the electronic device. As shown in fig. 2, in a case where the second screen 202 is fixed, the first screen 201 of the electronic device may be folded from 0 degree to 90 degrees in response to the second input; or, in response to the second input, a folding operation of the first screen 201 of the electronic device from 90 degrees to 180 degrees, and the like.
And 105, under the condition that the deformation is matched with the verification prompt information, the identity verification is successful.
In the embodiment of the application, when at least one of the deformed folding angle of the electronic equipment and the target folding angle, the deformed folding position of the electronic equipment and the target folding position, and the deformed folding step of the electronic equipment in the deformation process is matched with the target folding step, the identity of the object for operating the electronic equipment at present can be determined as a person, and therefore the successful authentication of the man-machine can be determined. Optionally, the matching condition may be that the deformed folding angle of the electronic device is equal to the target folding angle; or, the matching condition may be that the folded angle of the deformed electronic device is larger than the target folded angle; or the matching condition can also be that the folding angle of the deformed electronic equipment is smaller than the target folding angle; or, the matching condition may be that the deformed folding position of the electronic device coincides with the target folding position; or, the matching condition may be that the folding step in the deformation process of the electronic device is the same as the target folding step, which is not specifically limited in the embodiment of the present application. When the deformed folding angle of the electronic equipment is not matched with the target folding angle, the deformed folding position of the electronic equipment is not matched with the target folding position, and the folding step in the deformation process of the electronic equipment is not matched with the target folding step, the identity of the object of the currently operated electronic equipment can not be determined, so that the identity verification failure of the man-machine can be determined.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
Fig. 3 is a flowchart of steps of another authentication method provided in an embodiment of the present application, and as shown in fig. 3, the method may include:
step 301, a first input triggering authentication is received.
In the embodiment of the present application, step 301 may refer to the related description of step 101, and is not described herein again to avoid repetition.
Step 302, responding to the first input, and acquiring a first folding angle of the electronic device.
In this embodiment of the application, in response to the first input, the first folding angle of the electronic device may be obtained through a sensor preset in the electronic device, where the sensor may include a direction sensor, a gyroscope sensor, a gravity sensor, and the like, and the first folding angle may be a folding angle value of the screen, and may include a folding position of the screen, and the folding angle value of the screen may be an included angle of the front or the back of the screen.
Step 303, displaying verification prompt information on a screen of the electronic device according to the first folding angle, wherein the verification prompt information is used for prompting at least one of a target folding angle, a target folding position and a target folding step.
In the embodiment of the application, verification prompt information can be displayed on a screen of the electronic device according to the first folding angle, wherein the verification prompt information can prompt a target folding angle different from the first folding angle in angle value, the verification prompt information can also prompt a target folding position different from the first folding angle in folding position, and the verification prompt information can also prompt a target folding step of changing the first folding angle. Optionally, the verification prompt information may be in the form of numbers, texts, icons, animations and the like for prompting the folding angle of the target, or in the form of texts, icons, arrows and the like for prompting the folding position of the target. The verification prompt information of the target folding step can be displayed for all steps before the second input is received, or the verification prompt information of the next target folding step can be displayed according to step-by-step display in the second input process after the current folding step meets the matching condition.
And 304, receiving a second input aiming at the electronic equipment according to the verification prompt message.
In the embodiment of the present application, step 304 may refer to the related description of step 103, and is not repeated herein for avoiding repetition.
And 305, responding to the second input, and generating deformation by the electronic equipment.
In the embodiment of the present application, step 305 may refer to the related description of step 104, and is not repeated herein for avoiding repetition.
And step 306, under the condition that the deformation is matched with the verification prompt information, the identity verification is successful.
In the embodiment of the present application, step 306 may refer to the related description of step 105, and is not repeated herein for avoiding repetition.
In this embodiment of the application, in a case that the target folding step includes more than two target folding angles in different orders, if the target folding step includes folding the electronic device into the first target folding angle, the second target folding angle … …, etc. in sequence, the electronic device may generate a deformation in response to the received second input, and in a case that the deformation of the electronic device is successfully matched with the first target folding angle, the electronic device may generate a deformation again in response to the received second input, and when all the target folding angles are successfully matched, or when a preset number of target folding angles are successfully matched, it is determined that the identity verification is successful. The target folding step includes more than two target folding positions in different orders, and so on.
And 307, under the condition that the deformation is not matched with the verification prompt information, failing to verify the identity, and recording the number of times of failure of the identity verification.
In the embodiment of the application, the authentication failure can be determined under the condition that the deformed folding angle and the target folding angle of the electronic equipment, the deformed folding position and the target folding position of the electronic equipment, and the folding step and the target folding step in the deformation process of the electronic equipment are not matched, optionally, the number of times of authentication failure can be recorded, a preset threshold value of the number of times of authentication failure is set, in order to avoid matching failure caused by mistaken touch, misoperation and the like, in case that the authentication failure occurs and the number of times of authentication failure is smaller than the preset threshold value, the step 304 can be executed again to receive the second input, the electronic equipment is deformed again in response to the second input received again, and the authentication is carried out. And under the condition that the identity authentication is successful or the number of times of the identity authentication failure is equal to the preset threshold, ending the identity authentication, so that after the identity authentication fails in the preset threshold, the process of second input response can be rapidly re-entered without re-entering the identity authentication through the first input.
And 308, under the condition that the authentication failure times are larger than a preset threshold, if a third input for folding the electronic equipment is received, not responding to the third input.
In the embodiment of the application, the authentication may be ended when the number of times of authentication failure is greater than the preset threshold, and at this time, when the third input of the foldable electronic device is received, the third input may not be responded to, where the electronic device may not deform or the deformation of the electronic device may not be verified. Optionally, after the authentication is finished, the electronic device may further receive the first input again, and in response to receiving the first input triggering the authentication again, enter the step of obtaining the first folding angle, and perform the authentication process again with the number of times of authentication failure being less than or equal to the preset threshold.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
Fig. 4 is a flowchart of another step of identity verification provided in an embodiment of the present application, and as shown in fig. 4, the method may include:
step 401, a first input triggering authentication is received.
In the embodiment of the present application, step 401 may refer to the related description of step 101, and is not repeated herein for avoiding repetition.
Step 402, responding to the first input, and acquiring a first folding angle of the electronic device.
In the embodiment of the present application, step 402 may refer to the related description of step 302, and is not repeated herein for avoiding repetition.
And 403, determining a target folding angle range of the screen according to the folding angle range of the screen and the first folding angle.
In the embodiment of the application, in order to achieve a better display effect or facilitate carrying and the like in practical application of the electronic device, a common folding angle range of a screen of the electronic device may be smaller than a maximum foldable folding angle range of the screen, and therefore, the folding angle range of the screen may be smaller than or equal to the maximum foldable folding angle range of the screen, for example, when the maximum foldable folding angle range of the screen is 0 to 180 degrees, the folding angle range of the screen may be 0 to 180 degrees, 0 to 160 degrees, 30 to 180 degrees, or the like; when the maximum foldable folding angle range of the screen is 0-360 degrees, the folding angle range of the screen may be 0-360 degrees, 0-300 degrees, 50-350 degrees, or the like. In addition, the folding angle range of the screen should include the first folding angle.
In the embodiment of the application, the target folding angle range can be determined according to the folding angle range of the screen and the angle value of the first folding angle, that is, in the folding angle range of the screen, a target folding angle range which does not include the angle value of the first folding angle is determined, so that the angle value of the target folding angle arbitrarily selected in the target folding angle range is not equal to the angle value of the first folding angle.
Optionally, the range of fold angles includes a maximum fold angle and a minimum fold angle.
In the embodiment of the present application, the maximum folding angle or the minimum folding angle may be the maximum or minimum folding angle that the screen can achieve, and on this basis, if the folding angle is further increased or decreased, the screen may be damaged. Optionally, taking as an example that the folding angle range of the screen includes a maximum folding angle and a minimum folding angle of the screen, the maximum folding angle and the minimum folding angle are respectively two endpoints of the folding angle range, and the maximum folding angle and the minimum folding angle are respectively endpoint values of the respective endpoints, thereby determining the folding angle range of the screen, and since the two endpoints of the folding angle range are respectively the maximum folding angle and the minimum folding angle, the folding angle range of the screen is equal to the maximum folding angle range of the screen.
The step 403 includes:
and a substep S11 of using the folding angle range determined by the angle value of the first folding angle and the angle value of the maximum folding angle of the screen as the target folding angle range.
In this embodiment of the application, the angle value of the first folding angle and the angle value of the maximum folding angle of the screen may be respectively used as two endpoints of the target folding angle range, where the endpoint value in the target folding angle range does not include the angle value of the first folding angle, optionally, the endpoint value of the target folding angle range may include the angle value of the maximum folding angle, or may not include the angle value of the maximum folding angle, thereby determining the target folding angle range.
Optionally, the sub-step S11 specifically includes:
and under the condition that the angle value of the first folding angle is less than or equal to a preset folding angle value, taking a folding angle range determined by the angle value of the first folding angle and the angle value of the maximum folding angle of the screen as the target folding angle range.
In the embodiment of the application, a preset folding angle value can be preset, when the angle value of the first folding angle is smaller than or equal to the preset folding angle value, the folding angle can be considered to be increased so as to facilitate operation, and at the moment, the target folding angle range can be determined according to the angle value of the first folding angle and the angle value of the maximum folding angle. The preset folding angle value may be an angle value of any other folding angle except for an angle value of the maximum folding angle and an angle value of the minimum folding angle in the folding angle range of the screen.
And a substep S12 of using the folding angle range determined by the angle value of the minimum folding angle of the screen and the angle value of the first folding angle as the target folding angle range.
In this embodiment of the application, the angle value of the first folding angle and the angle value of the minimum folding angle of the screen may be respectively used as two endpoints of the target folding angle range, where the endpoint value in the target folding angle range does not include the angle value of the first folding angle, optionally, the endpoint value of the target folding angle range may include the angle value of the minimum folding angle, or may not include the angle value of the minimum folding angle, thereby determining the target folding angle range.
Optionally, the sub-step S12 specifically includes:
and taking a folding angle range determined by the angle value of the minimum folding angle of the screen and the angle value of the first folding angle as the target folding angle range under the condition that the angle value of the first folding angle is greater than or equal to a preset folding angle value.
In the embodiment of the application, a preset folding angle value can be preset, when the angle value of the first folding angle is greater than or equal to the preset folding angle value, the reduction of the folding angle value can be considered to facilitate the operation, and at the moment, the target folding angle range can be determined according to the angle value of the first folding angle and the angle value of the minimum folding angle.
In the embodiment of the present application, optionally, the scheme of the substep S11 and the substep S12 may be combined, and in the case that the angle value of the first folding angle is smaller than the preset folding angle value, the target folding angle range is determined according to the angle value of the first folding angle and the angle value of the maximum folding angle; determining a target folding angle range according to the angle value of the first folding angle and the angle value of the minimum folding angle under the condition that the angle value of the first folding angle is larger than a preset folding angle value; when the angle value of the first folding angle is equal to the preset folding angle value, the target folding angle range can be determined according to the angle value of the first folding angle and the angle value of the maximum folding angle, and the target folding angle range can also be determined according to the angle value of the first folding angle and the angle value of the minimum folding angle.
Optionally, the preset folding angle value is an average angle value of an angle value of a maximum folding angle and an angle value of a minimum folding angle of the screen.
In this embodiment of the application, the preset folding angle value may be an average angle value of an angle value of a maximum folding angle and an angle value of a minimum folding angle of the screen, and for example, when the angle value of the maximum folding angle is 180 degrees and the angle value of the minimum folding angle is 0 degree, the preset folding angle value may be 90 degrees; when the angle value of the maximum folding angle is 360 degrees and the angle value of the minimum folding angle is 0 degree, the preset folding angle value may be 180 degrees.
Taking the screen folding angle shown in fig. 2 as an example, the angle value of the maximum folding angle of the screen is 180 degrees, the angle value of the minimum folding angle is 0 degree, and the preset folding angle value is 90 degrees. When the angle value of the first folding angle is 0 degree, taking 0 to 180 degrees as a target folding angle range; when the angle value of the first folding angle is larger than 0 degree and smaller than 90 degrees, taking the angle value of the first folding angle to 180 degrees as a target folding angle range; when the angle value of the first folding angle is equal to 90 degrees, taking 0 to 90 degrees and/or 90 to 180 degrees as a target folding angle range; when the angle value of the first folding angle is larger than 90 degrees and smaller than 180 degrees, taking the angle value from 0 to the first folding angle as a target folding angle range; when the angle value of the first folding angle is equal to 180 degrees, 0 to 180 degrees are taken as the target folding angle range. In addition, the end point values of the target folding angle range do not include the angle value of the first folding angle.
At least one target folding angle different from the angle value of the first folding angle is randomly determined from the range of target folding angles, step 404.
Optionally, the step 404 includes:
substep S21, dividing the target folding angle range into at least one angle subrange.
In this embodiment of the application, the target folding angle range may be divided into more than one angle sub-ranges, for example, the target folding angle range is 0 to 180 degrees, optionally, the target folding angle range may be divided according to any folding scale, and the folding scale may be the length of the angle sub-range, for example, the target folding angle range is divided according to the folding scale being 30 degrees, so as to obtain the angle sub-ranges of 0 to 30 degrees, 30 to 60 degrees, 60 to 90 degrees, 90 to 120 degrees, 120 to 150 degrees, and 150 to 180 degrees; the target folding angle range can also be divided according to the folding scale 60 degrees, and angle sub-ranges of 0 to 60 degrees, 60 to 120 degrees and 120 to 180 degrees are obtained. The folding scales can be properly selected by those skilled in the art according to the length of the target folding angle range, so as to divide the angle sub-ranges into an appropriate number and length.
Sub-step S22, randomly determining at least one target angle sub-range from the angle sub-ranges, and determining at least one folding angle of the angle values in the target angle sub-range different from the first folding angle as a target folding angle.
In the embodiment of the present application, at least one target angle sub-range may be randomly determined in the angle sub-range, and the plurality of target angle sub-ranges may be continuous or discontinuous. Because the angle value of the first folding angle is not included in the target folding angle range, the angle value of the first folding angle is not included in the target angle sub-range, and therefore the folding angle can be arbitrarily selected as the target folding angle in the target angle sub-range. Optionally, all folding angles in the target angle sub-range may be taken as target folding angles, or a part or one folding angle in the target angle sub-range may be selected as a target folding angle, which is not specifically limited in the embodiment of the present application.
In the embodiment of the application, at least one folding angle different from the angle value of the first folding angle can be randomly selected from the folding angle range of the screen as the target folding angle, and at the moment, the angle value of the target folding angle can be larger than the angle value of the first folding angle or smaller than the angle value of the first folding angle; in the case that the target folding angles are multiple, the angle value of a part of the target folding angles may be greater than the angle value of the first folding angle, and the angle value of another part of the target folding angles may be less than the angle value of the first folding angle.
And 405, displaying verification prompt information corresponding to the target folding angle on the screen.
In the embodiment of the application, after the target folding angle is determined, the target folding angle can be prompted on a screen of the electronic device, optionally, the size of the angle value of the target folding angle can be prompted, and if the target folding angle is 60 degrees, the screen is displayed with 60 degrees, the screen is required to be folded to 60 degrees, and the like; or prompting the folding direction of the target folding angle, for example, displaying "please fold in the direction of increasing the folding angle" and "please increase the folding angle of the current screen" on the screen when the angle value of the first folding angle is smaller than the preset folding angle value; or the folding operation of the target folding angle can be prompted, if the target folding angle is 0 degree, the screen is in a flat state at 0 degree, so that the verification prompt information of 'please flatten the screen' can be displayed, and if the target folding angle is 180 degrees, the screen is in a folded state at 180 degrees, so that the verification prompt information of 'please fold the screen' can be displayed; the target angle sub-range where the target folding angle is located may also be prompted, for example, the angle sub-ranges are arranged in order from small to large, the number of digits where the target angle sub-range is located is determined, and the prompt icon corresponding to the number of digits is displayed, where each digit may be a different prompt icon uniquely corresponding to each digit, or may be at least one prompt icon with the same number as the number of digits, and this is not limited in this embodiment of the application.
Fig. 5 is a schematic diagram of a first verification folding prompt provided in the embodiment of the present application, as shown in fig. 5, an arrow indicates a folding direction, and if an angle value of a first folding angle of a screen is 0 degree, a target folding angle range is 0 to 180 degrees. The direction of increasing the folding angle is used as backward folding, the direction of reducing the folding angle is used as forward folding, when the range of the target folding angle can be divided into 6 angle sub-ranges according to the folding scales, and the sub-range of the target angle of the target folding angle is the 6 th angle sub-range arranged from small to large, the folding direction of the target folding angle can be prompted by displaying 'please verify the backward folding screen', 6 same square prompting icons are displayed on the screen, and the sub-range of the target angle of the target folding angle is the 6 th angle. Optionally, when the target angle sub-range where the target folding angle is located is a 3 rd angle sub-range arranged from small to large, 3 same square prompting icons may be displayed on the screen.
Fig. 6 is a schematic diagram of a second verification folding prompt provided in the embodiment of the present application, as shown in fig. 6, an arrow indicates a folding direction, and if an angle value of a first folding angle of the screen is between 0 degree and 90 degrees, a target folding angle range is between the angle value of the first folding angle and 180 degrees. When the target folding angle range can be divided into 6 angle sub-ranges according to the folding scales, and the target angle sub-range where the target folding angle is located is the 6 th angle sub-range arranged from small to large, the folding direction of the target folding angle can be prompted by displaying 'please verify the back folding screen', 6 same square prompting icons are displayed on the screen, and the target angle sub-range where the target folding angle is located is the 6 th angle.
Fig. 7 is a schematic diagram of a third verification folding prompt provided in the embodiment of the present application, as shown in fig. 7, an arrow indicates a folding direction, and if an angle value of the first folding angle of the screen is 90 degrees, a target folding angle range is 0 to 90 degrees or 90 to 180 degrees, that is, the screen may be folded forward or folded backward. When the target folding angle range can be divided into 6 angle sub-ranges according to the folding scales, and the target angle sub-range where the target folding angle is located is the 6 th angle sub-range arranged from small to large, the method can display 'please fold the screen for verification' on the screen to prompt that the folding direction of the target folding angle is not limited to move forwards or backwards, and display 6 same square prompt icons on the screen to prompt that the target angle sub-range where the target folding angle is located is the 6 th.
Fig. 8 is a schematic diagram of a fourth verification folding prompt provided in this embodiment of the application, as shown in fig. 8, an arrow indicates a folding direction, and if an angle value of the first folding angle of the screen is between 90 and 180 degrees, the target folding angle range is 0 to the angle value of the first folding angle. When the target folding angle range can be divided into 6 angle sub-ranges according to the folding scales, and the target angle sub-range where the target folding angle is located is the 6 th angle sub-range arranged from small to large, the folding direction of the target folding angle can be prompted by displaying 'please verify the front folding screen', 6 same square prompting icons are displayed on the screen, and the target angle sub-range where the target folding angle is located is the 6 th angle.
Fig. 9 is a schematic diagram of a fifth verification folding prompt provided in the embodiment of the present application, and as shown in fig. 9, if the angle value of the first folding angle of the screen is 0 degree, the target folding angle range is 0 to 180 degrees. When the target folding angle is 180 degrees, "please fold back for verification" may be displayed on the screen to prompt the target folding angle.
Fig. 10 is a schematic diagram of a sixth verification folding prompt provided in the embodiment of the present application, and as shown in fig. 10, if the angle value of the first folding angle of the screen is between 0 degree and 90 degrees, the target folding angle range is from the angle value of the first folding angle to 180 degrees. When the target folding angle is 180 degrees, "please fold back for verification" may be displayed on the screen to prompt the target folding angle.
Fig. 11 is a schematic diagram of a seventh verification folding prompt provided in the embodiment of the present application, and as shown in fig. 11, if the angle value of the first folding angle of the screen is 90 degrees, the target folding angle range is 0 to 90 degrees or 90 to 180 degrees. When the target folding angle is 0 degree or 180 degrees, "please fold back or flatten forward for verification" may be displayed on the screen to indicate the target folding angle.
Fig. 12 is a schematic diagram of an eighth verification folding prompt provided in the embodiment of the present application, and as shown in fig. 12, if the angle value of the first folding angle of the screen is between 90 and 180 degrees, the target folding angle range is 0 to the angle value of the first folding angle. When the target folding angle is 0 degree, "please check the flattening forward" may be displayed on the screen to prompt the target folding angle.
And 406, responding to the second input, and acquiring a second folding angle of the deformed electronic device.
In the embodiment of the application, when the second input is a folding operation of folding the electronic device, the electronic device is deformed after receiving the second input, and the folding angle is changed from the first folding angle to the second folding angle. At this time, in response to the second input, a second folding angle of the electronic device may be obtained, where the obtaining manner of the second folding angle is similar to the obtaining manner of the first folding angle in step 302, and in order to avoid repetition, it is not described herein again
In the embodiment of the application, the process of the second input can be prompted in the process of receiving the second input, so that the user can know the degree of the change of the second input to the folding angle value of the electronic device, for example, the angle value of the real-time folding angle of the deformation of the electronic device in the process of the second input can be obtained in real time and displayed on a screen, and optionally, the angle values "30 °", "31 °" "32 °" · of the real-time folding angle can be displayed in the process of the second input; and determining an angle sub-range where the real-time folding angle is positioned, and changing a display mode of a prompt icon corresponding to the angle sub-range.
Fig. 13 is a schematic diagram of a first second input prompt provided in an embodiment of the present application, and as shown in fig. 13, 6 prompt icons that are displayed without filling on a screen correspond to 6 angle sub-ranges from small to large from bottom to top, and are folded backwards to a real-time folding angle on the basis of the first folding angle shown in fig. 5, and the real-time folding angle is in the 3 rd angle sub-range, at this time, 3 prompt icons that are upward from bottom are changed to be displayed with filling, and the 4 th to 6 th prompt icons keep unchanged from displaying with no filling, so as to prompt a user that the real-time folding angle of the second input has reached the 3 rd angle sub-range.
Fig. 14 is a schematic diagram illustrating a second input prompt according to an embodiment of the present application, where, as shown in fig. 14, 6 prompt icons that are displayed without filling on a screen correspond to 6 angle sub-ranges from bottom to top, and are folded backwards to a real-time folding angle on the basis of the first folding angle shown in fig. 5, and the real-time folding angle is within a 5 th angle sub-range, at this time, the 5 prompt icons from bottom to top are changed to be filled and displayed to prompt a user that the real-time folding angle input by the second user has reached the 5 th angle sub-range, and if the second input is completed at this time, the real-time folding angle is used as a second folding angle corresponding to the second input. When the target folding angle includes all the folding angles in the target angle sub-range, because the angle value of the second folding angle does not match the angle value of the target folding angle, the "verification fails, please refold" may be displayed on the screen to remind the user to perform the second input again.
Fig. 15 is a schematic diagram of a third second input prompt provided in the embodiment of the present application, and as shown in fig. 15, 6 prompt icons that are displayed on the screen without filling correspond to 6 angle sub-ranges from bottom to top respectively, and are folded backwards to a real-time folding angle on the basis of the first folding angle shown in fig. 5, where the real-time folding angle is in the 6 th angle sub-range, and at this time, the 6 prompt icons from bottom to top are changed to be displayed in a filling manner to prompt the user that the real-time folding angle of the second input has reached the 6 th angle sub-range. And if the second input is finished, taking the real-time folding angle as a second folding angle corresponding to the second input. When the target folding angle includes all the folding angles in the target angle sub-range, the angle value of the second folding angle is matched with the angle value of the target folding angle, so that the 'verification pass' can be displayed on the screen to remind the user that the identity verification is successful.
Step 407, determining that the identity authentication is successful under the condition that the angle value of the second folding angle is matched with the angle value of the target folding angle.
In the embodiment of the application, the second folding angle can be matched when the angle value is equal to the angle value of the target folding angle, and the identity authentication is determined to be successful; or, the second folding angle is matched with the target folding angle when the angle value of the second folding angle is larger than the angle value of the target folding angle, and the identity authentication is determined to be successful; or, the second folding angle may be matched when the angle value is smaller than the angle value of the target folding angle, and the identity authentication is determined to be successful, which specifically refers to the related description of step 105, and is not described herein again to avoid repetition.
In the embodiment of the application, the identity authentication is performed on the electronic equipment in response to the first input, the first folding angle of the electronic equipment is obtained, the authentication prompt information prompting the target folding angle is displayed on the screen of the electronic equipment according to the first folding angle, and the identity authentication is determined to be successful when the received second input enables the angle value of the second folding angle of the electronic equipment to be matched with the target folding angle. Because the folding angle of the electronic equipment is changed and the like by depending on the folding operation of the electronic equipment, the virtual action simulation through an automatic script can be avoided, and the identification of the verified image-text content through AI, big data analysis and the like can also be avoided, so that the verified action can be ensured to be user operation, the verification accuracy is improved, short message verification codes are not needed for prompting the verification content, and the verification cost is reduced.
Fig. 16 is a flowchart illustrating steps of a further method for authenticating an identity provided by an embodiment of the present application, where as shown in fig. 16, the method may include:
step 501, receiving a first input triggering authentication.
In the embodiment of the present application, step 501 may refer to the related description of step 101, and is not repeated herein for avoiding repetition.
Step 502, responding to the first input, and acquiring a first folding angle of the electronic device.
In the embodiment of the present application, step 502 may refer to the related description of step 302, and is not repeated herein for avoiding repetition.
Step 503, determining a target folding position range of the screen according to the folding position range of the screen and the folding position of the first folding angle.
In the embodiment of the application, the folding position range of the screen of the electronic device may include a plurality of folding positions, optionally, the electronic device may include a plurality of screens, the plurality of screens may be folded with each other, and when the screen includes N screens in total, the folding position range includes N-1 folding positions; alternatively, the screen may be a whole screen that can be arbitrarily folded and bent, in which case, the folding position range of the screen may include any position on the screen, and the embodiment of the present application is not specifically limited herein.
In the embodiment of the application, in the folding position range, other folding positions except the folding position of the first folding angle can be used as the target folding position range; or the folding position on the right side of the folding position at the first folding angle in the folding position range can be used as the target folding position range; in the folding position range, the folding position on the left side of the folding position at the first folding angle may also be used as the target folding position range, and the target folding position range does not include the folding position at the first folding angle, which is not specifically limited in the embodiment of the present application.
At least one target folding position different from the folding position of the first folding angle is randomly determined from the range of target folding positions, step 504.
In this embodiment of the application, one folding position may be randomly determined from the range of the target folding positions as the target folding position, or multiple folding positions may be randomly determined as the target folding positions, and the determination process of the target folding angle in step 404 may be referred to correspondingly, and is not described herein again to avoid repetition.
And 505, displaying verification prompt information corresponding to the target folding position on the screen.
In the embodiment of the application, the target folding position can be prompted, a corresponding prompt icon can be displayed at the target folding position on the screen, for example, a folding line, a folding point and the like are displayed at the target folding position, and the form of the verification prompt information is not limited in the embodiment of the application.
Fig. 17 is a schematic diagram illustrating a folded position prompt according to an embodiment of the present application, where as shown in fig. 17, a plurality of folded positions are shown in dashed lines on a screen 600, an angle value of a first folded angle of the screen 600 is 0, and the folded position of the first folded angle is a non-folded position, where a prompt icon 6011 is displayed at a target folded position 601 to prompt the target folded position 601. The "please press the prompt position for screen verification" may also be displayed to prompt the user for the second input of the folding operation.
And step 506, responding to the second input, and acquiring a second folding angle of the deformed electronic equipment.
In the embodiment of the present application, the content of step 506 may refer to the related description of step 406, and is not repeated herein to avoid repetition.
And 507, determining that the identity verification is successful under the condition that the folding position of the second folding angle is matched with the target folding position.
In this embodiment of the application, it may be determined whether the folding position of the second folding angle matches the target folding position, and optionally, it may be determined whether the folding position of the second folding angle coincides with the target folding position; it is also possible to set a preset folding position among two or more folding positions, determine that the folding position of the second folding angle matches the target folding position when the folding position of the second folding angle is on the right side of the target folding position if the target folding position is on the left side of the preset folding position, and determine that the folding position of the second folding angle matches the target folding position when the folding position of the second folding angle is on the left side of the target folding position if the target folding position is on the right side of the preset folding position. In addition, in the embodiment of the application, the folding position of the second folding angle and the target folding position may be matched first, then the angle value of the second folding angle and the verification folding angle value are matched, and the dual verification is performed on the angle value of the second folding angle and the folding position of the second folding angle, so that the accuracy of the identity verification can be further enhanced, and the network security is improved.
In the embodiment of the application, the identity of the object currently operating the electronic equipment can be directly verified through the target folding position, on the basis, a fixed folding angle value can be preset to avoid the waste of repeated verification times caused by verification failure due to false touch, false operation and the like, and when the angle value of the second folding angle is greater than or equal to the preset fixed folding angle value, if the folding position of the second folding angle is the target folding position, the identity verification is determined to be successful; when the angle value of the second folding angle is smaller than the preset fixed folding angle value, the identity authentication may be considered to fail, or the second input corresponding to the second folding angle may be considered as a misoperation, and the second input is accepted again to obtain the second folding angle.
Fig. 18 is a schematic diagram illustrating a prompt of a folding position verification result according to an embodiment of the present application, as shown in fig. 18, on the basis of fig. 17, a folding position 602 of the second folding angle does not coincide with a target folding position 601 prompted by a prompt icon 6011, and when it is determined that matching fails in a case where the target folding position does not coincide with the folding position of the second folding angle, authentication fails. At this time, a prompt of "authentication failed" may be displayed on the screen.
Fig. 19 is another schematic diagram illustrating a prompt for a folding position verification result according to an embodiment of the present application, as shown in fig. 19, based on fig. 17, a folding position of the second folding angle coincides with a target folding position 601 prompted by a prompt icon 6011, and when it is determined that the matching is successful under the condition that the target folding position coincides with the folding position of the second folding angle, if it is determined that the angle value of the second folding angle is greater than or equal to the preset fixed folding angle value, it is determined that the authentication is successful. At this time, a prompt of "authentication success" may be displayed on the screen.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
It should be noted that, in the authentication method provided in the embodiment of the present application, the execution subject may be an authentication device, or a control module in the authentication device for executing the loading authentication method. The embodiment of the present application describes an authentication apparatus provided in the embodiment of the present application, with an example in which an authentication apparatus executes a loading authentication method.
Fig. 20 is a block diagram of an authentication apparatus 700 according to an embodiment of the present application, and as shown in fig. 20, the apparatus may be applied to an electronic device, and the apparatus may include:
the first input receiving module 701 is configured to receive a first input triggering authentication.
A prompt message display module 702, configured to display, in response to the first input, a verification prompt message on a screen of the electronic device, where the verification prompt message is used to prompt at least one of a target folding angle, a target folding position, and a target folding step.
A second input receiving module 703, configured to receive a second input for the electronic device according to the verification prompt information.
A second input response module 704, configured to generate a deformation in response to the second input.
The identity verification module 705 is configured to, in a case that the deformation is matched with the verification prompt information, successfully verify the identity.
Optionally, the apparatus further comprises:
the folding angle obtaining module is used for obtaining a first folding angle of the electronic equipment.
The prompt information display module 702 is specifically configured to display verification prompt information on a screen of the electronic device according to the first folding angle.
Optionally, the prompt information display module 702 includes:
and the angle range determining submodule is used for determining a target folding angle range of the screen according to the folding angle range of the screen and the first folding angle.
A target angle determination submodule for randomly determining at least one target folding angle from the range of target folding angles, which is different from the angle value of the first folding angle.
And the target angle prompting submodule is used for displaying verification prompting information corresponding to the target folding angle on the screen.
Optionally, the folding angle value range includes a maximum folding angle and a minimum folding angle, and the angle range determination sub-module includes:
a first target range determining unit, configured to use a folding angle range determined by the angle value of the first folding angle and the angle value of the maximum folding angle of the screen as the target folding angle range.
And the second target range determining unit is used for taking the folding angle range determined by the angle value of the minimum folding angle of the screen and the angle value of the first folding angle as the target folding angle range.
Optionally, the first target range determining unit is specifically configured to, when the angle value of the first folding angle is less than or equal to a preset folding angle value, use a folding angle range determined by the angle value of the first folding angle and the angle value of the maximum folding angle of the screen as the target folding angle range.
Optionally, the second target range determining unit is specifically configured to, when the angle value of the first folding angle is greater than or equal to a preset folding angle value, use a folding angle range determined by the angle value of the minimum folding angle of the screen and the angle value of the first folding angle as the target folding angle range.
Optionally, the preset folding angle value is an average angle value of an angle value of a maximum folding angle and an angle value of a minimum folding angle of the screen.
Optionally, the target angle determination submodule includes:
a sub-range dividing unit for dividing the target folding angle range into at least one angle sub-range.
And the target angle determining unit is used for randomly determining at least one target angle sub-range from the angle sub-ranges and determining at least one folding angle of the angle values different from the first folding angle in the target angle sub-range as a target folding angle.
Optionally, the prompt information display module 702 includes:
and the position range determining submodule is used for determining a target folding position range of the screen according to the folding position range of the screen and the folding position of the first folding angle.
A target position determination submodule for randomly determining at least one target folding position of the folding positions different from the first folding angle from within the range of target folding positions.
And the target position prompting submodule is used for displaying verification prompting information corresponding to the target folding position on the screen.
Fig. 21 is a block diagram of another authentication apparatus 800 according to an embodiment of the present application, where the apparatus may be applied to an electronic device, and as shown in fig. 21, the apparatus may include:
a first input receiving module 801, configured to receive a first input triggering authentication.
A prompt message display module 802, configured to display, in response to the first input, verification prompt messages on a screen of the electronic device, where the verification prompt messages are used to prompt at least one of a target folding angle, a target folding position, and a target folding step.
A second input receiving module 803, configured to receive a second input for the electronic device according to the verification prompt information.
A second input response module 804, configured to generate a deformation in response to the second input.
And the identity verification module 805 is configured to, in a case that the deformation is matched with the verification prompt information, successfully verify the identity.
And a verification frequency recording module 806, configured to fail the identity verification and record the frequency of failed identity verification when the deformation is not matched with the verification prompt information.
The verification time recording module 806 is further configured to, if a third input for folding the electronic device is received under the condition that the number of times of authentication failures is greater than a preset threshold, not respond to the third input.
The authentication device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of 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 server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The authentication device in the embodiment of the present application may be a 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 application are not limited specifically.
The identity authentication device provided in the embodiment of the present application can implement each process implemented by the identity authentication device in the method embodiments of fig. 1 to fig. 19, and for avoiding repetition, details are not described here again.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 910, a memory 909, and a program or an instruction stored in the memory 909 and capable of being executed on the processor 910, where the program or the instruction is executed by the processor 910 to implement each process of the above-mentioned embodiment of the identity verification method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 22 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 22 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description thereof is omitted.
Wherein the user input unit 907 is configured to receive a first input triggering authentication.
A display unit 906 configured to display, in response to the first input, verification prompt information for prompting at least one of a target folding angle, a target folding position, and a target folding step on a screen of the electronic device.
The user input unit 907 is configured to receive a second input for the electronic device according to the verification prompt information.
And the processor 910 is configured to display a verification prompt message on a screen of the electronic device according to the first folding angle, where the verification prompt message is used to prompt at least one of a target folding angle, a target folding position, and a target folding step.
The electronic device 900 is used for responding to the second input to generate deformation
The processor 910 is further configured to, in a case that the deformation matches the verification prompt information, successfully verify the identity.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
Optionally, the sensor 905 is further configured to acquire a first folding angle of the electronic device.
Optionally, the display unit 906 is specifically configured to display a verification prompt message on a screen of the electronic device according to the first folding angle.
Optionally, the processor 910 is configured to determine a target folding angle range of the screen according to the folding angle range of the screen and the first folding angle; at least one target folding angle different from the angle value of the first folding angle is randomly determined from within the range of target folding angles.
Optionally, the display unit 906 is specifically configured to display, on the screen, verification prompt information corresponding to the target folding angle.
Optionally, the folding angle range includes a maximum folding angle and a minimum folding angle, and the processor 910 is configured to use a folding angle range determined by an angle value of the first folding angle and an angle value of a maximum folding angle of the screen as the target folding angle range; or, the folding angle range determined by the angle value of the minimum folding angle of the screen and the angle value of the first folding angle is used as the target folding angle range.
Optionally, the processor 910 is configured to determine a target folding position range of the screen according to the folding position range of the screen and the folding position of the first folding angle; at least one target folding position of the folding positions different from the first folding angle is randomly determined from the range of target folding positions.
Optionally, the display unit 906 is specifically configured to display, on the screen, verification prompt information corresponding to the target folding position.
Optionally, the screen includes more than two folding positions, and the processor 910 is configured to determine a target folding position among the more than two folding positions.
Optionally, the processor 910 is specifically configured to, under a condition that the deformation is not matched with the verification prompt information, fail to perform identity verification, and record the number of times of failure of identity verification; and under the condition that the authentication failure times are larger than a preset threshold value, if a third input for folding the electronic equipment is received, not responding to the third input.
In the embodiment of the application, identity verification is triggered on the electronic equipment in response to the first input, verification prompt information used for prompting at least one of the target folding angle, the target folding position and the target folding step is displayed on a screen of the electronic equipment, and when the received second input enables the electronic equipment to deform, and the deformation is matched with the verification prompt information, the identity verification is determined to be successful. Because the second input for deforming the electronic equipment depends on mechanical operation on the electronic equipment, virtual action simulation through an automatic script can be avoided, and identification of verified image-text content through AI, big data analysis and the like can also be avoided.
It should be understood that, in the embodiment of the present application, the input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the graphics processing Unit 9041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 907 includes a touch panel 9081 and other input devices 9072. A touch panel 9081 also referred to as a touch screen. The touch panel 9081 may include two parts, a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 909 can be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 910 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the identity verification method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the identity verification method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An identity authentication method applied to an electronic device, the method comprising:
receiving a first input triggering authentication;
displaying verification prompt information on a screen of the electronic equipment in response to the first input, wherein the verification prompt information is used for prompting at least one of a target folding angle, a target folding position and a target folding step;
receiving a second input aiming at the electronic equipment according to the verification prompt message;
in response to the second input, the electronic device generates a deformation;
and under the condition that the deformation is matched with the verification prompt information, the identity verification is successful.
2. The method according to claim 1, wherein before displaying the verification prompt message on the screen of the electronic device, the method further comprises:
acquiring a first folding angle of the electronic equipment;
the displaying of the verification prompt information on the screen of the electronic device includes:
and displaying verification prompt information on a screen of the electronic equipment according to the first folding angle.
3. The method according to claim 2, wherein displaying a verification prompt message on a screen of the electronic device according to the first folding angle comprises:
Determining a target folding angle range of the screen according to the folding angle range of the screen and the first folding angle;
randomly determining at least one target folding angle from within the range of target folding angles that is different from the angle value of the first folding angle;
and displaying verification prompt information corresponding to the target folding angle on the screen.
4. The method according to claim 2, wherein displaying a verification prompt message on a screen of the electronic device according to the first folding angle comprises:
determining a target folding position range of the screen according to the folding position range of the screen and the folding position of the first folding angle;
randomly determining at least one target folding position of folding positions different from the first folding angle from within the range of target folding positions;
and displaying verification prompt information corresponding to the target folding position on the screen.
5. The method of claim 1, wherein after the electronic device generates the deformation in response to the second input, further comprising:
under the condition that the deformation is not matched with the verification prompt information, the identity verification fails, and the number of times of the identity verification failure is recorded;
And under the condition that the authentication failure times are larger than a preset threshold value, if a third input for folding the electronic equipment is received, not responding to the third input.
6. An identity authentication apparatus, applied to an electronic device, the apparatus comprising:
the first input receiving module is used for receiving a first input for triggering identity authentication;
a prompt information display module, configured to display, in response to the first input, verification prompt information on a screen of the electronic device, where the verification prompt information is used to prompt at least one of a target folding angle, a target folding position, and a target folding step;
the second input receiving module is used for receiving second input aiming at the electronic equipment according to the verification prompt information;
the second input response module is used for responding to the second input and enabling the electronic equipment to generate deformation;
and the identity verification module is used for successfully verifying the identity under the condition that the deformation is matched with the verification prompt information.
7. The apparatus of claim 6, further comprising:
the folding angle acquisition module is used for acquiring a first folding angle of the electronic equipment;
The prompt information display module is specifically configured to display verification prompt information on a screen of the electronic device according to the first folding angle.
8. The apparatus of claim 7, wherein the prompt information display module comprises:
the angle range determining submodule is used for determining a target folding angle range of the screen according to the folding angle range of the screen and the angle value of the first folding angle;
a target angle determination submodule for randomly determining at least one target fold angle of an angle value different from the first fold angle from within the range of target fold angle values;
and the target angle prompting submodule is used for displaying verification prompting information corresponding to the target folding angle on the screen.
9. The apparatus of claim 7, wherein the prompt information display module comprises:
the position range determining submodule is used for determining a target folding position range of the screen according to the folding position range of the screen and the folding position of the first folding angle;
a target position determination submodule for randomly determining at least one target folding position different from the folding position of the first folding angle from within the range of target folding positions;
And the target position prompting submodule is used for displaying verification prompting information corresponding to the target folding position on the screen.
10. The apparatus of claim 6, further comprising:
the verification frequency recording module is used for failing the identity verification under the condition that the deformation is not matched with the verification prompt information and recording the frequency of the failure of the identity verification;
the verification time recording module is further configured to, if a third input for folding the electronic device is received under the condition that the authentication failure time is greater than a preset threshold, not respond to the third input.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the authentication method according to any one of claims 1-5.
CN202010605413.8A 2020-06-29 2020-06-29 Identity verification method and device and electronic equipment Pending CN111859322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605413.8A CN111859322A (en) 2020-06-29 2020-06-29 Identity verification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605413.8A CN111859322A (en) 2020-06-29 2020-06-29 Identity verification method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111859322A true CN111859322A (en) 2020-10-30

Family

ID=72989506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605413.8A Pending CN111859322A (en) 2020-06-29 2020-06-29 Identity verification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111859322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492108A (en) * 2020-12-16 2021-03-12 维沃移动通信(杭州)有限公司 Call processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908350A (en) * 2017-12-28 2018-04-13 努比亚技术有限公司 A kind of unlocking method, terminal and computer-readable recording medium
CN109886686A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium
CN109902469A (en) * 2017-12-07 2019-06-18 佛山市三水区彦海通信工程有限公司 A kind of mobile terminal touch screen unlocking method
CN110879896A (en) * 2019-11-13 2020-03-13 维沃移动通信有限公司 Encryption and decryption method for folding screen terminal and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109902469A (en) * 2017-12-07 2019-06-18 佛山市三水区彦海通信工程有限公司 A kind of mobile terminal touch screen unlocking method
CN107908350A (en) * 2017-12-28 2018-04-13 努比亚技术有限公司 A kind of unlocking method, terminal and computer-readable recording medium
CN109886686A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 A kind of safe payment method, equipment and computer readable storage medium
CN110879896A (en) * 2019-11-13 2020-03-13 维沃移动通信有限公司 Encryption and decryption method for folding screen terminal and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492108A (en) * 2020-12-16 2021-03-12 维沃移动通信(杭州)有限公司 Call processing method and device and electronic equipment
CN112492108B (en) * 2020-12-16 2022-06-17 维沃移动通信(杭州)有限公司 Call processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10417620B2 (en) User attribute value transfer method and terminal
CN103873455B (en) A kind of method and device of information checking
CN103902147A (en) Method and device for opening application program
CN110247898B (en) Identity verification method, identity verification device, identity verification medium and electronic equipment
CN112417420A (en) Information processing method and device and electronic equipment
CN113934390A (en) Reverse control method and device for screen projection
CN105550628A (en) Fingerprint inputting and recording method and apparatus
EP3757831B1 (en) Fingerprint event processing method, apparatus, and terminal
CN111859322A (en) Identity verification method and device and electronic equipment
CN113128244A (en) Scanning method and device and electronic equipment
CN112989299A (en) Interactive identity recognition method, system, device and medium
CN107346197B (en) Information display method and device
CN112036882A (en) Account login method and device and electronic equipment
CN109543431B (en) Application encryption method and device, electronic equipment and storage medium
CN109034808B (en) Operation method and device of payment application program and terminal equipment
CN112446704A (en) Safe transaction management method and safe transaction management device
CN105069332A (en) Fingerprint-based password authentication method and password authentication apparatus
CN114020391A (en) Information display method and device, electronic equipment and readable storage medium
CN111859356B (en) Application program login method and device
CN111694498B (en) Interface display method and device and electronic equipment
CN112287713A (en) Two-dimensional code identification method and device
CN110087235B (en) Identity authentication method and device, and identity authentication method and device adjustment method and device
CN106156586B (en) Control method and electronic equipment
CN111445227B (en) Payment method, device, electronic equipment and storage medium
CN113706131B (en) Block chain transaction method, device and equipment based on encryption card

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030

RJ01 Rejection of invention patent application after publication