Terminal, method, computer-readable storage medium and computer program
By determining authentication window positions based on fixed component arrangements, the method and apparatus address conflicts between third-party applications and terminal hardware, enhancing authentication success rates and user experience.
Patent Information
- Application Number
- JP2022083171
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-01-29
- Filing Date
- 2022-05-20
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2039-01-26
AI Technical Summary
Existing third-party applications often generate authentication screens that conflict with the hardware configuration of terminals, particularly in devices with diverse component arrangements, leading to failed biometric authentication due to unknown sensor locations.
A method and apparatus that determine the display position of authentication windows based on the fixed arrangement of authentication components within a terminal, ensuring accurate user interaction by integrating authentication component locations into the display process.
Enhances authentication success rates by guiding users to the correct authentication components, reducing confusion from overlapping or conflicting authentication windows, and improving the overall user experience.
Smart Images

Figure 0007532720000017 
Figure 0007532720000023 
Figure 0007532720000010
Abstract
Description
[Technical field]
[0001] The present application relates to the field of communication technology, and more particularly to an authentication window display method and device. [Background technology]
[0002] 2. Description of the Related Art With the development of science and technology, an increasing number of third-party applications need to use biometric recognition technology to perform identity authentication, such as system unlocking, payment authentication, or application login authentication.
[0003] In the prior art, when a third-party application performs identity authentication, the third-party application usually generates an authentication screen and an authentication window of the third-party application. Specifically, the third-party application determines a specific content to be displayed on the authentication screen, or a specific display position where the authentication window is displayed on the authentication screen, etc. Furthermore, different third-party applications may have different authentication windows and different display positions. However, currently, the hardware of a terminal is continuously innovated, so that components in the terminal are arranged in more and more diverse forms. Therefore, the authentication screen of the third-party application may conflict with the hardware form of the terminal. For example, in a bezel-less phone, a fingerprint sensor may be arranged at a specific position on the screen. When the third-party application instructs a user to perform fingerprint authentication on the authentication screen, the user cannot know the exact position of the fingerprint sensor, and as a result, the authentication fails. Summary of the Invention
[0004] The embodiments of the present application provide an authentication window display method and apparatus, which allows users to know the location of the authentication components accurately, thereby increasing the authentication success rate.
[0005] A first aspect of the present application provides an authentication window display method, wherein the method is applied to a terminal and includes a step of obtaining authentication information from a third-party application after detecting an authentication request sent by the third-party application, where the authentication information includes an authentication mode and first prompt information; a step of determining a display position of the first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of a user; and a step of displaying the first authentication window at the display position, where the first authentication window displays the first prompt information.
[0006] In this solution, the authentication mode includes all modes that can be used by a user to perform identity authentication, such as a fingerprint authentication mode, a face image authentication mode, and an iris authentication mode.
[0007] For each terminal, once the manner in which the components are arranged in the terminal is determined, the manner will not change. In this way, the position in which the authentication components are arranged in the terminal is fixed. Therefore, after obtaining the authentication mode, the terminal determines the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window on the screen according to the authentication mode.
[0008] In the above solution, after detecting an authentication request sent by a third-party application, an authentication mode is obtained from the third-party application, and a display position of the first authentication window is determined based on a position of an authentication component corresponding to the authentication mode. Therefore, a user can know the position of the authentication component and perform identity authentication in the first authentication window by using the authentication component, thereby increasing the authentication success rate.
[0009] Optionally, determining a display position of the first authentication window based on the position of the authentication component corresponding to the authentication mode and the authentication mode includes determining a display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0010] In this solution, once the configuration in which each component in the terminal is arranged is determined, the configuration remains unchanged, and the position of each authentication component does not change after handover. Therefore, the terminal may pre-store a correspondence relationship between the positions of the authentication components corresponding to the authentication mode and the display position of the first authentication window. After obtaining the authentication mode from the third-party application, the terminal may determine the display position of the first authentication window based on the pre-stored correspondence relationship.
[0011] In the above-mentioned solution, the display position of the first authentication window is determined based on the authentication mode and a preset correspondence relationship, so that the display position can be easily determined.
[0012] Optionally, the method further includes detecting whether a second authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the second authentication window popped up by the third party application is displayed on the display screen, adjusting a position and / or a size of the first authentication window, whereby the adjusted first authentication window blocks the second authentication window.
[0013] In the above solution, after detecting that the second authentication window popped up by the third-party application is displayed on the display screen, the terminal adjusts the position and / or size of the first authentication window, so that the adjusted first authentication window can block the second authentication window. Therefore, the second authentication window popped up by the third-party application does not confuse the user, and the user experience can be improved.
[0014] Optionally, the method further comprises the steps of detecting whether a third authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the third authentication window popped up by the third party application is displayed on the display screen, performing a weakening process on the third authentication window, the weakening process including a mask adding process and / or a blurring process.
[0015] In the above solution, after detecting that a third authentication window popped up by a third-party application is displayed on the display screen of the terminal, the terminal performs a weakening process on the third authentication window, so that the third authentication window popped up by the third-party application does not confuse the user, and the user experience can be improved.
[0016] Optionally, the method further comprises sending a notification message to the third party application, where the notification message is used to notify the third party application to prohibit the pop-up of the authentication window.
[0017] In this solution, when displaying the first authentication window on the display screen, the terminal may send a notification message to the third-party application to notify the third-party application to prohibit the pop-up of the fourth authentication window. In other words, the third-party application does not pop up the authentication window on the display screen. In this case, only the first authentication window is displayed on the display screen of the terminal, so that the user is not confused, and the user experience can be improved.
[0018] Optionally, the method further comprises dynamically adjusting a size of the first authentication window based on the first prompt information.
[0019] In this solution, the terminal may dynamically adjust the size of the first authentication window according to the first prompt information, and display all of the content of the first prompt information in the first authentication window through plain text, so that the user can clearly see all of the content of the first prompt information without needing to perform other operations, thereby improving the user experience.
[0020] Optionally, after displaying the first authentication window at the display position, the method further includes determining whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third party application, and if the first authentication window blocks the other display information, displaying the other blocked display information in a display area other than the first authentication window.
[0021] In this solution, when the first authentication window determines to block other display information on the display screen other than the authentication window popped up by the third-party application, the terminal displays the other blocked display information in the display area other than the first authentication window, so that the user can clearly see all the display information, thereby improving the user experience.
[0022] Optionally, after displaying the first authentication window at the display location, the method further includes receiving biometric information of the user collected by the authentication component, performing authentication on the biometric information, and if the authentication fails, displaying second prompt information in the first authentication window, the second prompt information being used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the biometric information.
[0023] Optionally, the method further comprises, if the authentication is successful, jumping to an operation screen of the third party application.
[0024] In the above solution, after the authentication fails, the second prompt information is displayed in the first authentication window to indicate to the user. Therefore, when the user re-enters the biometric information, the user can still perform the identity authentication in the first authentication window by knowing the location of the authentication component and using the authentication component, so that the authentication success rate can be increased.
[0025] A second aspect of the present application provides an authentication window display device, the device including: an acquisition module configured to acquire authentication information from a third party application after an authentication request sent by the third party application is detected, where the authentication information includes an authentication mode and first prompt information; a determination module configured to determine a display position of the first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of a user; and a display module configured to display the first authentication window at a display position, where the first authentication window displays the first prompt information.
[0026] Optionally, the determination module is specifically configured to determine a display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between a position of an authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0027] Optionally, the apparatus further includes a first detection module configured to detect whether a second authentication window popped up by the third party application is displayed on a display screen of the terminal, and a first adjustment module configured to adjust a position and / or a size of the first authentication window when the first detection module detects that the second authentication window popped up by the third party application is displayed on the display screen, so that the adjusted first authentication window blocks the second authentication window.
[0028] Optionally, the device further includes a second detection module configured to detect whether a third authentication window popped up by the third party application is displayed on a display screen of the terminal, and a processing module configured to perform a weakening process on the third authentication window if the second detection module detects that the third authentication window popped up by the third party application is displayed on the display screen, where the weakening process includes a mask addition process or a blurring process.
[0029] Optionally, the apparatus further includes a sending module configured to send a notification message to the third party application, the notification message being used to notify the third party application to prohibit the pop-up of the authentication window.
[0030] Optionally, the apparatus further includes a second adjusting module configured to dynamically adjust a size of the first authentication window based on the authentication content.
[0031] Optionally, the apparatus further includes a determining module configured to determine whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third party application.
[0032] The display module is further configured to display the other blocked display information in a display area other than the first authentication window when the determination module determines that the first authentication window blocks the other display information.
[0033] Optionally, the apparatus further includes a receiving module configured to receive biometric information of the user collected by the authentication component, and an authentication module configured to perform authentication on the biometric information.
[0034] The display module is further configured to display second prompt information in the first authentication window if the authentication performed by the authentication module fails, the second prompt information being used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the biometric information.
[0035] Optionally, the apparatus further comprises a jump module configured to jump to an operation screen of the third party application if the authentication performed by the authentication module is successful.
[0036] A third aspect of the present application provides a terminal including a processor configured to execute: a step of obtaining authentication information from a third party application in response to detecting an authentication request sent by the third party application, the authentication information including an authentication mode and first prompt information; and a step of determining a display position of a first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, the authentication component being configured to collect biometric information of a user; and a display configured to display the first authentication window at a display position, the first authentication window displaying the first prompt information.
[0037] Optionally, the processor is specifically configured to determine a display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between a position of an authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0038] Optionally, the processor is further configured to perform the steps of detecting whether a second authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the second authentication window popped up by the third party application is displayed on the display screen, adjusting a position and / or a size of the first authentication window, whereby the adjusted first authentication window blocks the second authentication window.
[0039] Optionally, the processor is further configured to perform a procedure of determining whether a third authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the third authentication window popped up by the third party application is displayed on the display screen, performing a weakening process on the third authentication window, the weakening process including a mask addition process or a blurring process.
[0040] Optionally, the processor is further configured to send a notification message to the third party application, the notification message being used to notify the third party application to prohibit the pop-up of the authentication window.
[0041] Optionally, the processor is further configured to dynamically adjust a size of the first authentication window based on the authentication content.
[0042] Optionally, the processor is further configured to determine whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third party application, and if the first authentication window blocks other display information, display the other blocked display information in a display area other than the first authentication window.
[0043] Optionally, the processor is further configured to receive biometric information of the user collected by the authentication component, and to perform authentication on the biometric information.
[0044] The processor is further configured to display second prompt information in the first authentication window if the authentication fails, the second prompt information being used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the biometric information.
[0045] Optionally, the processor is further configured to jump to an operation screen of the third party application if the authentication is successful.
[0046] A fourth aspect of the present application provides a chip including a memory and a processor.
[0047] The memory is configured to store program instructions.
[0048] The processor is configured to invoke program instructions stored in the memory and perform the following steps: obtaining authentication information from the third-party application after detecting an authentication request sent by the third-party application, the authentication information including an authentication mode and first prompt information; determining a display position of a first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, the authentication component being configured to collect biometric information of the user; and indicating on a display connected to the electronic device to display the first authentication window at the display position, the first authentication window displaying the first prompt information.
[0049] Optionally, the processor is specifically configured to determine a display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between a position of an authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0050] Optionally, the processor is further configured to perform the steps of detecting whether a second authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the second authentication window popped up by the third party application is displayed on the display screen, adjusting a position and / or a size of the first authentication window, whereby the adjusted first authentication window blocks the second authentication window.
[0051] Optionally, the processor is further configured to perform a procedure of detecting whether a third authentication window popped up by the third party application is displayed on a display screen of the terminal, and if the third authentication window popped up by the third party application is displayed on the display screen, performing a weakening process on the third authentication window, the weakening process including a mask adding process or a blurring process.
[0052] Optionally, the chip further includes a transmitter.
[0053] The transmitter is configured to send a notification message to the third-party application, where the notification message is used to notify the third-party application to prohibit the pop-up of the authentication window.
[0054] Optionally, the processor is further configured to dynamically adjust a size of the first authentication window based on the authentication content.
[0055] Optionally, the processor is further configured to determine whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third party application, and if the first authentication window blocks other display information, display the other blocked display information in a display area other than the first authentication window.
[0056] Optionally, the chip further includes a receiver.
[0057] The receiver is configured to receive biometric information of a user collected by the authentication component.
[0058] The processor is further configured to perform authentication on the biometric information.
[0059] The processor is further configured to display second prompt information in the first authentication window if the authentication fails, the second prompt information being used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the biometric information.
[0060] Optionally, the processor is further configured to jump to an operation screen of the third party application if the authentication is successful.
[0061] A fifth aspect of the present application provides a computer-readable storage medium, the computer-readable storage medium storing a computer program, the computer program being adapted to enable a terminal to perform the method of the first aspect.
[0062] A sixth aspect of the present application provides a program, the program being executed by a processor to perform the method of the first aspect.
[0063] A seventh aspect of the present application provides a computer program product comprising computer program code which, when executed by a terminal, enables the terminal to perform the method of the first aspect.
[0064] An eighth aspect of the present application provides a chip system. The chip system includes a processor configured to support an authentication window display device in an implementation function of the above-mentioned aspects, for example, generating or processing data and / or information in the manner described above. In a possible design example, the chip system further includes a memory, the memory configured to store program instructions and data required for the authentication window display device. The chip system may include a chip, or may include a chip and another discrete component.
[0065] The present application further provides a terminal, the terminal including a processor, a memory, a bus, and a communication interface, the memory being configured to store computer-executable instructions, the processor and the memory being connected by means of the bus, when the terminal is executed, the processor executes the computer-executable instructions stored in the memory, thereby causing the terminal to perform the method of the first aspect.
[0066] According to the authentication window display method and apparatus provided in the present application, after an authentication request sent by a third-party application is detected, authentication information is obtained from the third-party application, where the authentication information includes an authentication mode and first prompt information. Then, a display position of the first authentication window is determined based on a position of an authentication component corresponding to the authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of a user. Furthermore, the first authentication window is displayed at a display position, where the first authentication window displays the first prompt information. After an authentication request sent by the third-party application is detected, an authentication mode is obtained from the third-party application, where the display position of the first authentication window is determined based on a position of an authentication component corresponding to the authentication mode. Thus, a user can know the position of the authentication component and use the authentication component to perform identity authentication in the first authentication window, whereby the authentication success rate can be increased. [Brief description of the drawings]
[0067] [Figure 1] 1 is a schematic flowchart of a first embodiment of an authentication window display method according to the present application;
[0068] [Figure 2a] FIG. 11 is a schematic diagram showing a first authentication window displayed during fingerprint authentication.
[0069] [Figure 2b] FIG. 11 is another schematic diagram of a first authentication window displayed during fingerprint authentication;
[0070] [Diagram 3] FIG. 2 is a schematic diagram showing a first authentication window during iris authentication;
[0071] [Figure 4] FIG. 11 is a schematic diagram showing a first authentication window displayed during face image authentication;
[0072] [Figure 5a] FIG. 1 is a schematic diagram before the first authentication window is adjusted.
[0073] [Figure 5b] FIG. 11 is a schematic diagram after the first authentication window has been adjusted.
[0074] [Figure 6a] FIG. 13 is a schematic diagram of a first authentication window before weakening processing.
[0075] [Figure 6b] FIG. 13 is a schematic diagram of a first authentication window after weakening processing.
[0076] [Figure 7a] FIG. 13 is a schematic diagram of the first authentication window before the size thereof is adjusted.
[0077] [Figure 7b] FIG. 13 is a schematic diagram after the size of the first authentication window has been adjusted.
[0078] [Figure 8a] FIG. 13 is a schematic diagram before blocked other display information is processed.
[0079] [Figure 8b] FIG. 13 is a schematic diagram after the blocked other display information has been processed.
[0080] [Figure 9] 4 is a schematic flowchart of a second embodiment of an authentication window display method according to the present application;
[0081] [Figure 10a] FIG. 11 is a schematic diagram showing a first authentication window.
[0082] [Figure 10b] FIG. 2 is a schematic diagram of an operation screen of a third party application.
[0083] [Figure 11] FIG. 2 is a schematic structural diagram of an authentication window display device according to an embodiment of the present application;
[0084] [Figure 12] FIG. 2 is another schematic structural diagram of an authentication window display device according to an embodiment of the present application;
[0085] [Figure 13] Nevertheless, it is another schematic structural diagram of an authentication window display device according to an embodiment of the present application.
[0086] [Figure 14] FIG. 2 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application;
[0087] [Figure 15] FIG. 2 is still another schematic structural diagram of an authentication window display device according to an embodiment of the present application.
[0088] [Figure 16] FIG. 2 is a further schematic structural diagram of an authentication window display device according to an embodiment of the present application;
[0089] [Figure 17] FIG. 2 is yet a further schematic structural diagram of an authentication window display device according to an embodiment of the present application;
[0090] [Figure 18] FIG. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0091] In the following, some terms used in this application will be explained to facilitate better understanding by those skilled in the art.
[0092] (1) A terminal, also referred to as a user equipment (UE), a mobile station (MS), or a mobile terminal (MT), is a device that provides a user with voice and / or data connection, such as a handheld device or a vehicle-mounted device with a wireless connection function. Currently, terminals are, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal for industrial control, a wireless terminal for self driving, a wireless terminal for remote medical surgery, a wireless terminal for smart grid, a wireless terminal for transportation safety, a wireless terminal for smart city, or a wireless terminal for smart home.
[0093] (2) A unit in this application is a functional unit or a logical unit. The unit may be in the form of software, and the function of the unit is implemented by a processor executing program code. Alternatively, the unit may be in the form of hardware.
[0094] (3) "plurality" means two or more, and similarly for other quantifiers. The term "and / or" describes a correspondence for describing related objects and indicates that three relationships may exist. For example, A and / or B may describe three cases: only A is present, both A and B are present, and only B is present. The character " / " generally indicates an "or" relationship between multiple associated objects, and ranges indicated by "greater than or equal to," "less than or equal to," etc., are inclusive.
[0095] The authentication window display method provided in the embodiment of the present application may be applied to a terminal, for example, to a scenario in which a terminal is used to perform biometric authentication. In the prior art, when a third-party application performs identity authentication by using biometric recognition technology, the third-party application usually generates an authentication screen and an authentication window of the third-party application. Specifically, the third-party application determines a specific content to be displayed on the authentication screen, or a specific position where the authentication window is displayed on the authentication screen, etc. Furthermore, different third-party applications may have different authentication windows and different display positions. However, currently, the hardware of a terminal is continuously innovated, so that components in the terminal are arranged in an increasingly diverse form. Therefore, the authentication screen of the third-party application may conflict with the hardware form of the terminal. For example, in a bezel-less phone, a fingerprint sensor may be arranged at a specific position on the screen. When a third-party application instructs a user to perform fingerprint authentication on the authentication screen, the user cannot accurately know the position of the fingerprint sensor, and as a result, the authentication fails.
[0096] Therefore, an embodiment of the present application provides an authentication window display method. In the method, after detecting an authentication request sent by a third-party application, the terminal executes the steps of: acquiring authentication information from the third-party application, the authentication information including an authentication mode and first prompt information; determining a display position of a first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, the authentication component being configured to collect biometric information of a user; and displaying the first authentication window at a display position, the first authentication window displaying the first prompt information. After detecting the authentication request sent by the third-party application, the authentication mode is acquired from the third-party application, and the first authentication window is displayed based on the position of the authentication component corresponding to the authentication mode. Thus, a user can know the position of the authentication component using the first authentication window, and input biometric information using the authentication component to perform identity authentication, so that the authentication success rate can be increased.
[0097] FIG. 1 is a schematic flowchart of an embodiment 1 of an authentication window display method according to the present application. The embodiment of the present application provides an authentication window display method. The method may be performed by any device that executes the authentication window display method. The device may be realized using software and / or hardware. In this embodiment, the device may be integrated into a terminal. As shown in FIG. 1, the method of this embodiment may include the following steps:
[0098] Step 101: After detecting an authentication request sent by a third-party application, obtain authentication information from the third-party application, where the authentication information includes an authentication mode and first prompt information.
[0099] At this stage, when the third-party application uses biometric recognition technology to perform identity authentication, the third-party application will usually send an authentication request to the terminal. In practical application, a server corresponding to the third-party application may send the authentication request to the terminal. After detecting the authentication request sent by the third-party application, the terminal obtains authentication information from the third-party application. The authentication information includes an authentication mode and first prompt information.
[0100] The authentication mode includes all modes that can be used by a user to perform identity authentication, such as a fingerprint authentication mode, a face image authentication mode, or an iris authentication mode. The specific form of the authentication mode is not limited to this embodiment of the present application.
[0101] Furthermore, the first prompt information includes information regarding an authentication mode presented to the user by the third-party application, or information used to present to the user how to perform authentication.
[0102] Step 102: Determine a display position of a first authentication window based on a position of an authentication component corresponding to an authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of a user.
[0103] At this stage, once the manner in which the components are arranged in the terminal is determined for each terminal, the manner does not change. In this way, the position in which the authentication component is arranged in the terminal is fixed. Therefore, after acquiring the authentication mode, the terminal determines the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window on the screen based on the authentication mode. Specifically, the first authentication window includes an authentication component. In this way, the user inputs biometric information using the authentication component in the first authentication window. Furthermore, the first authentication window does not need to include the authentication component, but the position of the authentication component needs to be shown to the user in another manner, so that the user can quickly know the position of the authentication component in the terminal.
[0104] The authentication component is a component configured to collect biometric information of a user. For example, if the authentication mode is a fingerprint authentication mode, the authentication component is accordingly a fingerprint sensor, if the authentication mode is a face image authentication mode, the authentication component is accordingly a camera, or if the authentication mode is an iris authentication mode, the authentication component is accordingly an iris sensor.
[0105] In addition, in a possible implementation, the display position of the first authentication window may be determined based on the authentication mode and a preset correspondence relationship, the correspondence relationship including a relationship between a position of an authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0106] Specifically, once the configuration in which each component in the terminal is arranged is determined, the configuration remains unchanged, and the position of each authentication component does not change after handover. Therefore, the terminal may pre-store a correspondence relationship between the positions of the authentication components corresponding to each authentication mode and the display position of the first authentication window. After obtaining the authentication mode from the third-party application, the terminal may determine the display position of the first authentication window based on the pre-stored correspondence relationship.
[0107] For example, when the authentication component is a camera, if the camera is disposed above the screen of the terminal, the first authentication window may be displayed above the screen accordingly, or if the camera is disposed in the center of the screen of the terminal, the first authentication window may be displayed in the center of the screen accordingly, thus ensuring that the user's face image can be captured accurately by the camera.
[0108] For another example, if the authentication component is a fingerprint sensor and the fingerprint sensor is located in the center of the terminal's screen, the first authentication window will accordingly be displayed in the center of the screen, thereby allowing the user to know the exact location of the fingerprint sensor and thereby ensuring that the user can accurately place their finger on the fingerprint sensor to collect the user's fingerprint data.
[0109] Furthermore, in another possible embodiment, after acquiring the authentication mode and knowing the authentication component corresponding to the authentication mode, the terminal may acquire the position of the authentication component in the terminal by reading the internal data, and determine the display position of the first authentication window according to the position of the authentication component. In this way, the position of the authentication component may be presented to the user using the first authentication window, which can ensure that the biometric information for authentication can be accurately collected by the authentication component. The terminal may acquire the position of the authentication component in the terminal in any manner in the prior art. Details of the method of acquiring the position of the authentication component are not described in this application.
[0110] Furthermore, as the number of authentication modes and authentication components of a terminal increases, the terminal operating system provides a unified biometric authentication interface, so that a third-party application can query the validity of the interface and select an appropriate authentication mode.
[0111] Step 103: Display a first authentication window at a display position, where the first authentication window displays first prompt information.
[0112] At this stage, after determining the display position, the terminal displays a first authentication window at the display position, and the first authentication window displays first prompt information to instruct the user to perform identity authentication.
[0113] In addition, the terminal operating system opens an authentication application programming interface (API) to a third-party application, which may call the authentication function of the operating system and obtain the authentication result.
[0114] The example in which authentication needs to be performed when a user performs a payment using a terminal is used below for illustration purposes.
[0115] 2a is a schematic diagram of a first authentication window displayed during fingerprint authentication. As shown in FIG. 2a, when a user performs a payment, multiple authentication modes, such as password payment, fingerprint authentication payment, iris authentication payment, and face image authentication payment, are displayed on a payment screen 201. When a user taps "fingerprint authentication payment", the screen displayed on the terminal jumps from the payment screen 201 to an authentication screen 202.
[0116] Since the terminal can know the position of each sensor, when the terminal knows that the fingerprint sensor is at a specific position on the screen, the terminal determines the display position of the first authentication window 203 based on the position of the fingerprint sensor, and displays the first authentication window 203 at the display position. In a possible implementation, the fingerprint sensor may be included in the first authentication window 203, and pattern information is displayed at the position of the fingerprint sensor to instruct the user to input fingerprint data at the position. The first authentication window 203 displays first prompt information, for example, "Pay Mr. Zhang 10.00 yen. Place your finger on the instruction area below". Thus, the user may input fingerprint data based on the first prompt information, which can improve the user experience.
[0117] Further, in another possible implementation, FIG. 2b is another schematic diagram of displaying a first authentication window during fingerprint authentication. As shown in FIG. 2b, if the terminal knows the location of the fingerprint sensor and determines the location of the first authentication window 203 based on the location of the fingerprint sensor, the fingerprint sensor may not be included in the first authentication window 203. For example, the first authentication window 203 may be displayed above the fingerprint sensor, and the location of the fingerprint sensor is indicated to the user using another indication identifier, for example, an arrow. The first authentication window 203 displays first prompt information, for example, "Pay 1000 yen to Mr. Zhang. Place your finger in the indication area below the arrow". Thus, the user may input fingerprint data based on the first prompt information, which can improve the user experience.
[0118] Furthermore, those skilled in the art can understand that the first authentication window 203 may alternatively be displayed at another position around the fingerprint sensor. For example, the first authentication window 203 may be displayed to the left or right of the fingerprint sensor, or below the fingerprint sensor, as long as the position of the fingerprint sensor can be indicated to the user using other indication information, so that the user can correctly input fingerprint data. The specific display position of the first authentication window is not limited to this embodiment of the present application.
[0119] 3 is a schematic diagram of a first authentication window displayed during iris authentication. As shown in FIG. 3, when a user performs a payment, multiple authentication modes, such as password payment, fingerprint authentication payment, iris authentication payment, and face image authentication payment, are displayed on a payment screen 201. When a user taps "iris authentication payment", the screen displayed on the terminal jumps from the payment screen 201 to an authentication screen 204.
[0120] After knowing the position of the iris sensor on the screen, the terminal determines the display position of the first authentication window 205 based on the position of the iris sensor, and displays the first authentication window 205 at the display position. In a possible implementation, the iris sensor may be included in the first authentication window 205, and pattern information is displayed at the position of the iris sensor to prompt the user to input iris data at the position. The first authentication window 205 displays first prompt information, such as "Look at this identifier". Thus, the user may input iris data based on the first prompt information, which can improve the user experience.
[0121] Furthermore, when the terminal determines the display position of the first authentication window based on the position of the iris sensor, the iris sensor may not be included in the first authentication window. For example, the first authentication window may be displayed in an area around the iris sensor, and the position of the iris sensor is indicated to the user using another indication identifier, for example, an arrow. The manner of displaying the first authentication window that is not included in the iris sensor is similar to the manner of displaying the first authentication window that is not included in the fingerprint sensor, and the details will not be described again here.
[0122] 4 is a schematic diagram of a first authentication window displayed during face image authentication. As shown in FIG. 4, when a user performs a payment, multiple authentication modes, such as password payment, fingerprint authentication payment, iris authentication payment, and face image authentication payment, are displayed on a payment screen 201. When a user taps "face image authentication payment", the screen displayed on the terminal jumps from the payment screen 201 to an authentication screen 206.
[0123] After knowing the position where the camera is located in the terminal, the terminal determines the display position of the first authentication window 207 based on the position of the camera, and displays the first authentication window 207 at the display position. In a possible implementation, the camera may be included in the first authentication window 207, and pattern information is displayed at the position of the camera, prompting the user to input face image data at the position. The first authentication window 207 displays first prompt information, for example, "Align your face with the face recognition window below". Thus, the user may input face image data based on the first prompt information, which can improve the user experience.
[0124] Furthermore, when the terminal determines the display position of the first authentication window based on the position of the camera, the camera may not be included in the first authentication window. For example, the first authentication window may be displayed in an area around the camera, and the position of the camera is indicated to the user using another indication identifier, for example, an arrow. The manner of displaying the first authentication window that is not included in the camera is similar to the manner of displaying the first authentication window that is not included in the fingerprint sensor, and the details will not be described again here.
[0125] Furthermore, when the camera is located above the screen of the terminal, the first authentication window may be displayed above the screen accordingly based on the position where the camera is located, so that the user's face image can be ensured to be collected correctly, thereby improving the accuracy of identity authentication.
[0126] An example in which the third-party application is a payment application and the payment application invokes the biometric recognition and authentication function is used for the following description, which is similar to the process in which other third-party applications perform biometric recognition and authentication, and the details will not be described again here.
[0127] The terminal implements a biometrics manager that encapsulates various biometric recognition interfaces for scheduling, such as fingerprint scheduling, and only exposes the biometrics manager interface in the application layer. When the payment application performs biometric recognition and authentication, the payment application may use the authentication data set to set the template and required data of the biometrics window. ADSL communication is established between the system UI of the system authentication screen and the biometrics manager service through the registration of the authentication view callback. Finally, the registration of the biometrics manager is performed in the biometric authentication mode provided by the terminal to complete the authentication process.
[0128] Therefore, to avoid the prior art problem of the authentication screen interfering with the authentication component, in this embodiment of the present application, the display position of the authentication screen and the first authentication window are both determined by the terminal, the terminal provides template information of the authentication screen, and the terminal's operating system provides the template information to the third-party application for use.
[0129] Furthermore, to ensure that information generated when the third-party application performs identity authentication can be presented to the user, the third-party application may also display relevant information in a first authentication window on an authentication screen determined by the terminal.
[0130] Optionally, after the terminal displays the first authentication window on the display screen, the third-party application may also pop up an authentication window on the display screen. In order to prevent the user from being confused, the terminal further needs to perform related processing for the authentication window popped up by the third-party application. The specific processing manner is described as follows:
[0131] Method 1: Detect whether a second authentication window popped up by a third-party application is displayed on a display screen of a terminal. If the second authentication window popped up by the third-party application is displayed on the display screen, adjust the position and / or size of the first authentication window, so that the adjusted first authentication window blocks the second authentication window.
[0132] Specifically, FIG. 5a is a schematic diagram before the first authentication window is adjusted, and FIG. 5b is a schematic diagram after the first authentication window is adjusted. As shown in FIG. 5a and FIG. 5b, when the terminal detects that a second authentication window 501 popped up by a third-party application is further displayed on the display screen, the terminal may adjust the position of the first authentication window 502, or adjust the size of the first authentication window 502, or adjust both the position and the size of the first authentication window 502, so that the adjusted first authentication window 502 can block the second authentication window 501 (as shown in FIG. 5b). It should be noted that after the position and / or size of the first authentication window is adjusted, the position of the authentication component still needs to be presented to the user while the first authentication window can block the second authentication window. Specifically, it needs to be guaranteed that the user can accurately input biometric information using the adjusted first authentication window.
[0133] In this manner, after detecting that the second authentication window popped up by the third-party application is displayed on the display screen, the terminal adjusts the position and / or size of the first authentication window, so that the adjusted first authentication window can block the second authentication window. Therefore, the second authentication window popped up by the third-party application does not confuse the user, and the user experience can be improved.
[0134] Method 2: Detect whether a third authentication window popped up by a third-party application is displayed on a display screen of a terminal. If the third authentication window popped up by the third-party application is displayed on the display screen, a weakening process is performed on the third authentication window, and the weakening process includes a mask adding process and / or a blurring process.
[0135] Specifically, Fig. 6a is a schematic diagram of the first authentication window before the weakening process, and Fig. 6b is a schematic diagram of the first authentication window after the weakening process. As shown in Fig. 6a and Fig. 6b, when the terminal detects that a third authentication window 601 popped up by a third-party application is further displayed on the display screen, the terminal may perform a weakening process on the third authentication window 601. In a specific implementation process, a mask adding process may be performed on the third authentication window 601, or a blurring process may be performed on the third authentication window 601, or both a mask adding process and a blurring process may be performed on the third authentication window 601. Therefore, the third authentication window popped up by a third-party application and subjected to the weakening process does not confuse the user, and the user experience can be improved.
[0136] It should be noted that in the above-mentioned manner, how to adjust or weaken the first authentication window when the authentication mode is fingerprint authentication is used as an example for explanation. The manner of adjusting or weakening the first authentication window in another authentication mode is similar to the manner of adjusting or weakening the first authentication window through fingerprint authentication, and the details will not be described again here.
[0137] Method 3: A notification message is sent to a third-party application, and the notification message is used to notify the third-party application to prohibit the pop-up of the fourth authentication window.
[0138] Specifically, when displaying the first authentication window on the display screen, the terminal may send a notification message to the third-party application to notify the third-party application to prohibit the pop-up of the fourth authentication window. In other words, the third-party application does not pop up the authentication window on the display screen. In this case, only the first authentication window is displayed on the display screen of the terminal, so that the user is not confused, and the user experience can be improved.
[0139] In this embodiment of the present application, to ensure the consistency of the user experience and prevent the user from being interrupted during the decision, the authentication screen, the first authentication window, and the user's operable options are all determined by the terminal.
[0140] Moreover, since the first authentication window displays the first prompt information, the terminal may further dynamically adjust the size of the first authentication window based on the first prompt information.
[0141] Specifically, Fig. 7a is a schematic diagram before the size of the first authentication window is adjusted, and Fig. 7b is a schematic diagram after the size of the first authentication window is adjusted. As shown in Fig. 7a and Fig. 7b, after the terminal determines the display position of the first authentication window 701, the terminal displays the first authentication window 701 at the display position, and the first authentication window 701 displays first prompt information. The first prompt information includes information about an authentication mode presented to a user by a third-party application and information used to present to a user how to perform authentication. If the first prompt information includes a relatively large amount of content, the size of the first authentication window 701 may be increased, so that all of the content of the first prompt information is displayed in the first authentication window 701 through plain text.
[0142] Furthermore, if the first prompt information includes a relatively small amount of content, the size of the first authentication window 701 may be reduced. Thus, if all of the content of the first prompt information is displayed in the first authentication window 701 through clear text, the area occupied by the first authentication window 701 on the display screen may be further reduced.
[0143] It should be noted that after the size of the first authentication window is adjusted, the location of the authentication component still needs to be presented to the user while the first authentication window can block the second authentication window. Specifically, it needs to be ensured that the user can accurately input biometric information using the adjusted first authentication window.
[0144] In the above embodiment, the terminal may dynamically adjust the size of the first authentication window according to the first prompt information, and display all of the content of the first prompt information in the first authentication window through plain text, so that the user can clearly see all of the content of the first prompt information without needing to perform other operations, thereby improving the user experience.
[0145] Further, optionally, after displaying the first authentication window at the display position, the terminal further determines whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third-party application, and if the first authentication window blocks the other display information, the terminal displays the blocked other display information in the display area other than the first authentication window.
[0146] Specifically, Fig. 8a is a schematic diagram before the blocked other display information is processed, and Fig. 8b is a schematic diagram after the blocked other display information is processed. As shown in Fig. 8a and Fig. 8b, after the terminal displays the first authentication window at the determined display position, the terminal further needs to determine whether the first authentication window 801 blocks other display information on the display screen other than the authentication window popped up by a third-party application. If the first authentication window 801 blocks other display information, for example, information "XXXX card (6629)", the terminal displays the blocked other display information in a display area other than the first authentication window, for example, displays "XXXX card (6629)" below the first authentication window, so as to allow the user to clearly see all the display information.
[0147] In this embodiment, when the first authentication window determines to block other display information on the display screen other than the authentication window popped up by the third-party application, the terminal displays the other blocked display information in the display area other than the first authentication window, so that the user can clearly see all the display information, thereby improving the user experience.
[0148] According to the authentication window display method provided in this embodiment of the present application, after detecting an authentication request sent by a third-party application, the terminal executes the steps of: acquiring authentication information from the third-party application, the authentication information including an authentication mode and first prompt information; determining a display position of the first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, the authentication component being configured to collect biometric information of a user; and displaying the first authentication window at a display position, the first authentication window displaying the first prompt information. After detecting the authentication request sent by the third-party application, the authentication mode is acquired from the third-party application, and the display position of the first authentication window is determined based on the position of the authentication component corresponding to the authentication mode. Thus, the user can know the position of the authentication component and use the authentication component to perform personal authentication in the first authentication window, thereby increasing the authentication success rate.
[0149] Figure 9 is a schematic flowchart of an embodiment 2 of an authentication window display method according to the present application. Based on the embodiment shown in Figure 1, this embodiment is described in detail using an embodiment of performing authentication on a user's biometric information collected by an authentication component after a first authentication window is displayed at a display position. As shown in Figure 9, the method of this embodiment may include the following steps:
[0150] Step 901: After detecting an authentication request sent by a third-party application, obtain authentication information from the third-party application, where the authentication information includes an authentication mode and first prompt information.
[0151] Step 902: Determine a display position of a first authentication window based on a position of an authentication component corresponding to an authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of a user.
[0152] Step 903: Display a first authentication window at a display position, where the first authentication window displays first prompt information.
[0153] Steps 901 to 903 are similar to steps 101 to 103 and will not be described again here.
[0154] Step 904: Receive biometric information of the user collected by an authentication component.
[0155] In this embodiment, after the terminal displays the first authentication window at the display position, the user uses the authentication component to input biometric information based on the first prompt information in the first authentication window.
[0156] Step 905: Authentication is performed on the biometric information.
[0157] In this embodiment, after receiving the user's biometric information collected by the authentication component, the terminal performs authentication on the collected biometric information. In practical application, the terminal pre-stores the biometric information. When performing authentication, the terminal matches the collected biometric information against the pre-stored biometric information. If the matching is successful, it indicates that the authentication is successful, or if the matching is unsuccessful, it indicates that the authentication is unsuccessful.
[0158] If the authentication fails, step 906 is executed, otherwise, if the authentication is successful, step 907 is executed.
[0159] Step 906: Display second prompt information in the first authentication window, where the second prompt information is used to instruct the user to re-input the biometric information.
[0160] Specifically, Fig. 10a is a schematic diagram of a first authentication window. As shown in Fig. 10a, after a user inputs fingerprint data based on first prompt information in the first authentication window, if the fingerprint data input by the user does not match the fingerprint data pre-stored in the terminal, the terminal displays second prompt information in the first authentication window and prompts the user to input biometric information again. For example, the terminal displays "Authentication failed. Please input fingerprint information again" in the first authentication window.
[0161] Step 907: Jump to the operation screen of the third party application.
[0162] Specifically, Fig. 10b is a schematic diagram of the operation screen of the third-party application. As shown in Fig. 10b, after the user inputs fingerprint data according to the first prompt information in the first authentication window, if the fingerprint data input by the user matches the fingerprint data pre-stored in the terminal and succeeds, the operation screen of the third-party application is jumped. For example, "Payment Completed" is displayed on the operation screen.
[0163] According to the authentication window display method provided in this embodiment of the present application, after displaying the first authentication window at the display position, the terminal receives the user's biometric information collected by the authentication component, and performs authentication on the biometric information. If the authentication fails, the first authentication window displays second prompt information. The second prompt information is used to present the user with the authentication failure, or to instruct the user to re-input the biometric information when or after presenting the user with the authentication failure, or to instruct the user to re-input the biometric information. If the authentication is successful, the operation screen of the third-party application is jumped. After the authentication fails, the second prompt information is displayed in the first authentication window to instruct the user. Therefore, when the user re-inputs the biometric information, the user can still know the location of the authentication component and use the authentication component to perform identity authentication in the first authentication window, so that the authentication success rate can be increased.
[0164] The present application further provides the following apparatus embodiments. All the apparatus embodiments can be used to implement the method of the above method embodiments. Specifically, FIG. 11 is a schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 11, the device includes an acquisition module 11, a determination module 12 and a display module 13.
[0165] The obtaining module 11 is configured to obtain authentication information from the third party application after detecting an authentication request sent by the third party application, where the authentication information includes an authentication mode and first prompt information.
[0166] The determination module 12 is configured to determine a display position of the first authentication window based on the authentication mode and a position of an authentication component corresponding to the authentication mode, where the authentication component is configured to collect biometric information of the user.
[0167] The display module 13 is configured to display a first authentication window at the display position, where the first authentication window displays first prompt information.
[0168] The authentication window display device provided in this embodiment of the present application may implement the corresponding method embodiments described above. The implementation principles and technical effects are similar and will not be described again here.
[0169] Optionally, the determination module 12 is specifically configured to determine the display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0170] 12 is another schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 12, based on the device shown in FIG. 11, the device further includes a first detection module 14 and a first adjustment module 15.
[0171] The first detection module 14 is configured to detect whether a second authentication window popped up by a third party application is displayed on the display screen of the terminal.
[0172] The first adjustment module 15 is configured to adjust the position and / or size of the first authentication window such that, when the first detection module 14 detects that a second authentication window popped up by a third-party application is displayed on the display screen, the adjusted first authentication window blocks the second authentication window.
[0173] The authentication window display device provided in this embodiment of the present application may implement the corresponding method embodiments described above. The implementation principles and technical effects are similar, and will not be described again here.
[0174] 13 is another schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 13, based on the device shown in FIG. 11, the device further includes a second detection module 16 and a processing module 17.
[0175] The second detection module 16 is configured to detect whether a third authentication window popped up by a third party application is displayed on the display screen of the terminal.
[0176] The processing module 17 is configured to perform a weakening process on the third authentication window when the second detection module 16 detects that a third authentication window popped up by a third party application is displayed on the display screen, the weakening process including a mask adding process or a blurring process.
[0177] The authentication window display device provided in this embodiment of the present application may implement the corresponding method embodiments described above. The implementation principles and technical effects are similar, and will not be described again here.
[0178] 14 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 14, on the basis of the device shown in FIG.
[0179] The sending module 18 is configured to send a notification message to the third-party application, where the notification message is used to notify the third-party application to prohibit the pop-up of the fourth authentication window.
[0180] The authentication window display device provided in this embodiment of the present application may implement the corresponding method embodiments described above. The implementation principles and technical effects are similar, and will not be described again here.
[0181] 15 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 15, based on the device shown in FIG.
[0182] The second adjustment module 19 is configured to dynamically adjust the size of the first authentication window based on the authentication content.
[0183] 16 is a further schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 16, based on the device shown in FIG.
[0184] The judgment module 20 is configured to determine whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third-party application.
[0185] The display module 13 is further configured to display the blocked other display information in a display area other than the first authentication window when the determination module 20 determines that the first authentication window blocks the other display information.
[0186] 17 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to FIG. 17, based on the device shown in FIG. 11, the device further includes a receiving module 21 and an authentication module 22.
[0187] The receiving module 21 is configured to receive biometric information of a user collected by the authentication component.
[0188] The authentication module 22 is configured to perform authentication on biometric information.
[0189] The display module 13 is further configured to display second prompt information in the first authentication window if the authentication performed by the authentication module 22 fails, the second prompt information being used to instruct the user to re-enter the biometric information.
[0190] Optionally, the jump module 23 is configured to jump to an operation screen of the third party application if the authentication performed by the authentication module is successful.
[0191] The authentication window display device provided in this embodiment of the present application may implement the corresponding method embodiments described above. The implementation principles and technical effects are similar, and will not be described again here.
[0192] It should be noted and understood that the module division of the above-mentioned device is merely a logical function division. During actual implementation, some or all of the modules may be integrated into one physical entity or may be physically separated. Furthermore, these modules may all be realized in the form of software that is called by a processing element, or all may be realized in the form of hardware, or some of the modules may be realized in the form of software that is called by a processing element and some of the modules may be realized in the form of hardware. For example, the sending module may be a separately located processing element, or may be integrated into a specific chip of the device for implementation. Furthermore, the sending module may be stored in the memory of the device in the form of a program and be called by a specific processing element of the device to perform the functions of the sending module. The implementation of other modules is similar to the implementation of the sending module. Furthermore, multiple units may be integrated together or implemented separately. The processing element here may be an integrated circuit and has a signal processing function. In the implementation process, the steps in the above-mentioned method or the above-mentioned units can be realized using a hardware integrated logic circuit in the processing element or using instructions in the form of software. Furthermore, the above-mentioned transmitting module is a transmission control module, which may transmit information using the transmitting devices of the device, such as antennas and radio frequency devices.
[0193] The above-mentioned modules may be configured as one or more integrated circuits for performing the above-mentioned methods, such as one or more application specific integrated circuits (ASICs), one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs). For another example, if one of the above-mentioned units is realized in the form of a processing element that schedules a program, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call a program. For another example, the units may be integrated together and realized in the form of a system on a chip (SoC).
[0194] Figure 18 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal provided in this embodiment of the present application may be configured to execute the method implemented in the embodiment of the present application in Figures 1 and 9. For ease of explanation, only parts related to this embodiment of the present application are shown. For specific technical details that are not disclosed, please refer to the embodiment of the present application shown in Figures 1 and 9.
[0195] The terminal may be a terminal device such as a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA). The example of the terminal being a mobile phone is used to explain this embodiment of the present application. Figure 18 is a block diagram of a part of the structure of a mobile phone 300 related to the embodiment of the present application.
[0196] As shown in Fig. 18, the mobile phone 300 includes components such as radio frequency (RF) circuitry 320, memory 330, input unit 340, display unit 350, gravity sensor 360, audio circuitry 370, processor 380, and power supply 390. Those skilled in the art may appreciate that the structure of the mobile phone shown in Fig. 18 does not constitute a constraint on the mobile phone, and the mobile phone may include more or less components than those shown in the figure, or may combine some components, or have a different component arrangement.
[0197] The following describes all of the components of the mobile phone 300 in detail in conjunction with FIG.
[0198] The RF circuitry 320 may be configured to receive and transmit signals in information reception and transmission processing or in call processing. Specifically, after receiving downlink information from a base station, the RF circuitry 320 transmits the downlink information to the processor 380 for processing and sends uplink data to the base station. In general, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. The RF circuitry 320 may further communicate with a network and another device via wireless communication. The wireless communication may use any communication standard or protocol, including, but not limited to, Global System for Mobile Communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, and short message service (SMS), and the like.
[0199] The memory 330 may be configured to store software programs and modules. The processor 380 executes the software programs and modules stored in the memory 330 to execute various functional applications and data processing of the mobile phone 300. The memory 330 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, or an application required by at least one function (e.g., a sound playback function or an image play function). The data storage area may store data (e.g., voice data, image data, or a phone book) generated when the mobile phone 300 is used. Furthermore, the memory 330 may include a high-speed random access memory, or may include a non-volatile memory such as at least one magnetic disk storage device, a flash memory, or other non-volatile solid-state storage device.
[0200] The input unit 340 may be configured to receive input digital or textual information and generate key signal inputs related to user settings and function control of the mobile phone 300. Specifically, the input unit 340 may include a touch screen 341 and another input device 342. The touch screen 341 may also be referred to as a touch panel, and may collect touch operations performed by a user on or near the touch screen 341 (e.g., operations performed by a user on or near the touch screen 341 using any suitable object or accessory such as a finger or a stylus), and drive corresponding connected devices based on a pre-set program. Optionally, the touch screen 341 may include two parts, namely a touch detection device and a touch controller. The touch detection device detects the direction of a user's touch, detects a signal generated by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, and then sends the touch point coordinates to the processor 380. Further, the touch controller may receive commands sent by the processor 380 and execute the commands. Furthermore, the touch screen 341 may be realized in multiple types, such as a resistive type, a capacitive type, an infrared beam type, and a surface acoustic wave type. In addition to the touch screen 341, the input unit 340 may further include another input device 342. Specifically, the another input device 342 may include one or more of, but is not limited to, a physical keyboard, a function key (such as a volume control key or a switch key), a trackball, a mouse, and a joystick, etc.
[0201] The display unit 350 may be configured to display information input by or provided to a user, and various menus of the mobile phone 300. The display unit 350 may include a display panel 351. Optionally, the display panel 341 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Furthermore, the touch screen 341 may cover the display panel 351. After detecting a touch operation performed on or near the touch screen 341, the touch screen 341 transmits the touch operation to the processor 380 to determine a type of touch event, and then the processor 380 provides a corresponding visual output on the display panel 351 based on the type of touch event. In FIG. 18, the touch screen 341 and the display panel 351 are used as two separate components to realize the input and output functions of the mobile phone 300. However, in some embodiments, the touch screen 341 and the display panel 351 may be integrated to realize the input and output functions of the mobile phone 300.
[0202] The gravity sensor 360 may detect the magnitude of acceleration in each direction of the mobile phone (typically in three axes), and may detect the magnitude and direction of gravity when the gravity sensor 360 is stationary, and may be used in applications to identify the orientation of the mobile phone (e.g., screen switching between landscape and portrait modes, related games, and magnetometer orientation calibration), and vibration identification related functions (e.g., pedometer or knock), etc.
[0203] The mobile phone 300 may further include another sensor, such as a light sensor. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of the display panel 341 based on the brightness of the ambient light. The proximity sensor may detect whether an object is approaching or touching the mobile phone, and may power off the display panel 341 and / or the backlight when the mobile phone 300 is close to the ear. The mobile phone 300 may further include another sensor, such as a gyroscope, a barometer, a hygrometer, a thermometer, or an infrared sensor. Details will not be described here.
[0204] The audio circuitry 370, speaker 371, and microphone 372 may provide an audio interface between a user and the mobile phone 300. The audio circuitry 370 may convert received audio data into electrical signals and transmit the electrical signals to the speaker 371, which converts the electrical signals into audio signals for output. Additionally, the microphone 372 converts collected audio signals into electrical signals, and the audio circuitry 370 receives the electrical signals, converts the electrical signals into audio data, and then outputs the audio data to the RF circuitry 320, transmits the audio data, for example, to another mobile phone, or outputs the audio data to the memory 330 for further processing.
[0205] The processor 380 is the control center of the mobile phone 300. The processor 380 is connected to all parts of the whole mobile phone using various interfaces and lines, and executes various functions of the mobile phone 300 and data processing by starting or executing software programs and / or modules stored in the memory 330, calling up data stored in the memory 330, and performing general monitoring for the mobile phone. Optionally, the processor 380 may include one or more processing units. Optionally, the processor 380 may integrate an application processor and a modem processor. The application processor may mainly process the operating system, the user interface, and the application, etc. The modem processor mainly processes the wireless communication. It can be understood that the modem processor may alternatively not be integrated into the processor 380.
[0206] The mobile phone 300 further includes a power source 390 (e.g., a battery) that supplies power to each component. Optionally, the power source may be logically coupled to the processor 380 using a power management system to implement functions such as charge / discharge management and power consumption management.
[0207] Although not shown, the mobile phone 300 may further include a wireless fidelity (WiFi) module, a Bluetooth module, etc. Details will not be described here.
[0208] In this embodiment of the present application, the processor 380 is configured to execute the steps of: acquiring an authentication request sent by a third-party application; acquiring authentication information from the third-party application in response to the authentication request sent by the third-party application, where the authentication information includes an authentication mode and first prompt information; and determining a display position of the first authentication window based on a position of an authentication component corresponding to the authentication mode and the authentication mode, where the authentication component is configured to collect biometric information of the user.
[0209] The display unit 350, ie the display, is configured to display a first authentication window at a display position, where the first authentication window displays first prompt information.
[0210] After determining the display position of the first authentication window, the processor may instruct the display unit to perform corresponding display. Alternatively, after the processor determines the display position of the first authentication window, the processor may update a certain content in the display content memory, and the display unit displays the content. Specifically, the content that may be displayed by the display unit is text, characters, patterns, or any combination thereof.
[0211] In this embodiment of the present application, the processor 380 is specifically configured to determine the display position of the first authentication window based on the authentication mode and a predetermined correspondence relationship, where the correspondence relationship includes a relationship between the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window.
[0212] Furthermore, processor 380 is further configured to perform the steps of detecting whether a second authentication window popped up by the third-party application is displayed on the display screen of the terminal, and if the second authentication window popped up by the third-party application is displayed on the display screen, adjusting a position and / or size of the first authentication window, whereby the adjusted first authentication window blocks the second authentication window.
[0213] The processor 380 is further configured to perform a procedure of detecting whether a third authentication window popped up by the third party application is displayed on the display screen of the terminal, and a procedure of performing a weakening process on the third authentication window if the third authentication window popped up by the third party application is displayed on the display screen of the terminal, the weakening process including a mask adding process or a blurring process.
[0214] Further, the processor is configured to determine to send a notification message to the third-party application, where the notification message is used to notify the third-party application to prohibit the pop-up of the authentication window.
[0215] The processor 380 is further configured to dynamically adjust the size of the first authentication window based on the authentication content.
[0216] Processor 380 is further configured to determine whether the first authentication window blocks other display information on the display screen other than the authentication window popped up by the third party application, and if the first authentication window blocks the other display information, display the blocked other display information in a display area other than the first authentication window.
[0217] The processor is further configured to receive biometric information of the user collected by the authentication component.
[0218] The processor 380 is further configured to perform authentication on the biometric information.
[0219] The processor 380 is further configured to display second prompt information in the first authentication window if the authentication fails, where the second prompt information is used to prompt the user to re-enter the biometric information.
[0220] The processor 380 is further configured to determine to jump to an operation screen of the third party application if the authentication is successful, and to show on the display to execute a corresponding screen jump indication.
[0221] The present application further provides an apparatus embodiment. Specifically, a terminal is provided, the terminal including a processor, a memory, a bus, and a communication interface. The memory is configured to store computer-executable instructions. The processor is connected to the memory by means of the bus. When the terminal is executed, the processor executes the computer-executable instructions stored in the memory, thereby causing the terminal to execute the method described in the above method embodiment.
[0222] The terminal provided in this embodiment of the present application may implement the corresponding method embodiments described above, and the implementation principles and technical effects are similar and will not be described again here.
[0223] The present application further provides a readable storage medium and a storage medium including a computer program, the computer program being used to implement the authentication window display method provided in any one of the above embodiments.
[0224] The present application further provides a program product. The program product includes a computer program (i.e., executable instructions), and the computer program is stored in a readable storage medium. At least one processor of a terminal reads the computer program from the readable storage medium, and the at least one processor executes the computer program, so that the terminal implements the authentication window display method provided in the above implementation example.
[0225] An embodiment of the present application further provides an authentication window display device, including at least one storage element and at least one processing element. The at least one storage element is configured to store a program. When the program is executed, the authentication window display device is enabled to perform the operation of the terminal in any one of the above-mentioned embodiments. The device may be a chip in the terminal. The chip mentioned in the document of the present application is an integrated circuit. In particular, the chip may be a single universal chip, an ASIC, a programmable chip such as an FPGA, a combination of multiple chips, or a system on chip (SoC), etc., and these specific physical device forms are not limited to the present application.
[0226] All or part of the steps of the above-mentioned method embodiments may be implemented by hardware associated with program instructions. The above-mentioned program may be stored in a readable memory. When the program is executed, the steps of the method embodiments are executed. The above-mentioned memory (storage medium) includes a read-only memory (shortened to ROM), a RAM, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disc, and any combination thereof.
Claims
1. A terminal for installing an application, A processor; a screen coupled to the processor; a fingerprint sensor coupled to the processor and configured to collect fingerprint information of a user; a memory coupled to the processor and configured to store computer-executable instructions; Equipped with When the computer-executable instructions stored in the memory are executed by the processor, the terminal: After detecting an authentication request sent by the application, obtain authentication information from the application, and the authentication information includes a fingerprint authentication mode and first prompt information; determining a display position of a first authentication window and a first image used to prompt the user to input a fingerprint based on a first position corresponding to the fingerprint sensor; the first image is on the screen and is used to instruct the user to input the fingerprint at the first position, the first image is provided at a position on the screen corresponding to the fingerprint sensor, the fingerprint sensor corresponds to the fingerprint authentication mode, and the position of the first image on the screen is fixed; displaying the first authentication window at the display position, the first authentication window including the first prompt information, a content of the first prompt information being associated with the fingerprint authentication mode, and the first authentication window being displayed together with the first image; Detect whether a second authentication window popped up by the application is displayed on the screen; adjusting the display position and / or size of the first authentication window when the second authentication window popped up by the application is displayed on the screen, so that the adjusted first authentication window blocks the second authentication window; Terminal.
2. The terminal further comprises: Detect whether a third authentication window popped up by the application is displayed on the screen; performing a mask adding process and / or a blurring process on the third authentication window when the third authentication window popped up by the application is displayed on the screen; The terminal according to claim 1.
3. The terminal further comprises: Sending a notification message to the application; The notification message is used to notify the application to prohibit the pop-up of an authentication window. The terminal according to claim 1.
4. The terminal further comprises: dynamically adjusting a size of the first authentication window based on the first prompt information; A terminal according to any one of claims 1 to 3.
5. the first image on the screen includes an image of a fingerprint; A terminal according to any one of claims 1 to 4.
6. After displaying the first authentication window at the display position, the terminal further determining whether the first authentication window blocks other display information on the screen other than the authentication window popped up by the application; When the first authentication window blocks the other display information, the blocked other display information is displayed in a display area other than the first authentication window. A terminal according to any one of claims 1 to 5.
7. After displaying the first authentication window at the display position, the terminal further receiving the fingerprint information of the user collected by the fingerprint sensor; performing authentication on the fingerprint information; If the authentication fails, displaying second prompt information in the first authentication window; The second prompt information is used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the fingerprint information. A terminal according to any one of claims 1 to 6.
8. The terminal further comprises: If the authentication is successful, jump to an operation screen of the application. The terminal according to claim 7.
9. obtaining authentication information includes obtaining authentication information from the application; the fingerprint sensor is located below the screen; the first prompt information and the first image do not block each other; A terminal according to any one of claims 1 to 8.
10. The terminal of claim 1 , wherein the application is a third party application and the terminal is a bezel-less phone.
11. A method for displaying an authentication window, comprising: The method is applied to a terminal having a screen and a fingerprint sensor, an application is installed on the terminal, and the fingerprint sensor is configured to collect fingerprint information of a user; The method comprises: obtaining authentication information from the application after detecting an authentication request sent by the application, the authentication information including a fingerprint authentication mode and first prompt information; determining a display position of a first authentication window and a first image used to instruct the user to input a fingerprint based on a first position corresponding to the fingerprint sensor, the first image being on the screen and used to instruct the user to input the fingerprint at the first position, the first image being provided on the screen at a position corresponding to the fingerprint sensor, the fingerprint sensor corresponding to the fingerprint authentication mode, and a position of the first image on the screen being fixed; displaying the first authentication window at the display location, the first authentication window including the first prompt information, a content of the first prompt information being associated with the fingerprint authentication mode, and the first authentication window being displayed together with the first image; detecting whether a second authentication window popped up by the application is displayed on the screen; adjusting the display position and / or size of the first authentication window when the second authentication window popped up by the application is displayed on the screen, so that the adjusted first authentication window blocks the second authentication window; Equipped with method.
12. The method further comprises: detecting whether a third authentication window popped up by the application is displayed on the screen; performing a masking process and / or a blurring process on the third authentication window when the third authentication window popped up by the application is displayed on the screen; Equipped with The method of claim 11.
13. The method further comprises: sending a notification message to the application; The notification message is used to notify the application to prohibit the pop-up of an authentication window. The method of claim 11.
14. The method further comprises: dynamically adjusting a size of the first authentication window based on the first prompt information.
14. The method according to any one of claims 11 to 13.
15. the first image on the screen includes an image of a fingerprint; 15. The method according to any one of claims 11 to 14.
16. After displaying the first authentication window at the display location, the method further comprises: determining whether the first authentication window blocks other display information on the screen other than the authentication window popped up by the application; If the first authentication window blocks the other display information, displaying the blocked other display information in a display area other than the first authentication window; 16. The method of any one of claims 11 to 15, comprising:
17. After displaying the first authentication window at the display location, the method further comprises: receiving the fingerprint information of the user collected by the fingerprint sensor; performing authentication on the fingerprint information; if the authentication fails, displaying second prompt information in the first authentication window; Equipped with 17. The method of claim 11, wherein the second prompt information is used to indicate to the user that the authentication has failed and / or to instruct the user to re-enter the fingerprint information.
18. The method further comprises: if the authentication is successful, jumping to an operation screen of the application; 20. The method of claim 17.
19. obtaining authentication information from the application; the fingerprint sensor is located below the screen; the first prompt information and the first image do not block each other; 19. The method according to any one of claims 11 to 18.
20. The application is a third-party application and the terminal is a bezel-less phone.
20. The method according to any one of claims 11 to 19.
21. A computer-readable storage medium storing a computer program, which, when executed by the terminal, enables the terminal to perform the method according to any one of claims 11 to 20. A computer-readable storage medium.
22. A computer program comprising computer program code, the computer program code being configured, when executed by a terminal, to cause the terminal to perform the method according to any one of claims 11 to 20. Computer program.
Citation Information
Patent Citations
Information processor, information processing method, monitoring system and program
JP2007328590A
Molding machine
JP2015215793A
Information processing apparatus, display method by the same, and computer-executable program
JP2017138846A
Method of processing fingerprint and electronic device thereof
US20150371073A1
