Method, terminal, computer-readable storage medium, program, and chip system

The authentication window display method addresses conflicts between third-party applications and terminal hardware by determining the window's position based on authentication component location, enhancing success rates and user experience.

JP7749905B2Active Publication Date: 2025-10-07HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024090484
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-01-29
Filing Date
2024-06-04
Publication Date
2025-10-07
Estimated Expiration
2039-01-26

AI Technical Summary

Technical Problem

Existing third-party applications often generate authentication screens that conflict with the hardware configuration of terminals, leading to authentication failures due to unclear positioning of authentication components, especially in devices with diverse component arrangements.

Method used

An authentication window display method that determines the position of the authentication window based on the location of the authentication component corresponding to the authentication mode, ensuring accurate user interaction and increasing success rates by displaying the window at a fixed position relative to the component.

Benefits of technology

The method enhances authentication success rates by allowing users to accurately locate and interact with authentication components, improving user experience by preventing conflicts with third-party application windows and ensuring clear display of prompt information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007749905000001
    Figure 0007749905000001
  • Figure 0007749905000002
    Figure 0007749905000002
  • Figure 0007749905000003
    Figure 0007749905000003
Patent Text Reader

Abstract

To provide a method and a device for displaying an authentication window that enables a user to accurately know a position of an authentication component so as to increase an authentication success rate.SOLUTION: A method includes the steps of: acquiring authentication information containing a fingerprint authentication mode and first prompt information, from an application, following detection of an authentication request sent by the application; determining a display position of a first authentication window on the basis of a position of an authentication component for collecting biological information of a user corresponding to an authentication mode; and displaying the first authentication window displaying the first prompt information at the display position.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

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 typically generates an authentication screen and an authentication window for the third-party application. Specifically, the third-party application determines the specific content to be displayed on the authentication screen or the specific display position of the authentication window. Furthermore, different third-party applications may have different authentication windows and different display positions. However, terminal hardware is currently undergoing continuous innovation, resulting in increasingly diverse arrangements of terminal components. Therefore, the authentication screen of the third-party application may conflict with the hardware configuration of the terminal. For example, in a bezel-less phone, a fingerprint sensor may be located 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 may not know the exact location of the fingerprint sensor, resulting in authentication failure. 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 component 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, wherein the authentication information includes an authentication mode and first prompt information; 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, wherein 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, wherein 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 components are arranged on the terminal is determined, the manner remains unchanged. Thus, the position at which the authentication components are arranged on 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 based on 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 the display position of the first authentication window is determined based on the position of an authentication component corresponding to the authentication mode. Therefore, a user can know the position of the authentication component and use the authentication component to perform identity authentication in the first authentication window, thereby increasing the authentication success rate.

[0009] Optionally, determining the 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 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.

[0010] In this solution, once the configuration of the components in the terminal is determined, the configuration remains unchanged, and the positions of the authentication components do not change after delivery. Therefore, the terminal may pre-store a correspondence 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.

[0011] In the above-described solution, the display position of the first authentication window is determined based on the authentication mode and the 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, so that the second authentication window popped up by the third-party application does not confuse the user, thereby improving the user experience.

[0014] Optionally, the method further comprises 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, wherein the weakening process includes 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, thereby improving the user experience.

[0016] Optionally, the method further comprises sending a notification message to the third party application, wherein 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 the first authentication window is displayed on the display screen, the terminal may send a notification message to the third-party application to notify the third-party application that the fourth authentication window is prohibited from popping up. 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 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 based on the first prompt information, and display the entire content of the first prompt information in the first authentication window in plain text, so that the user can clearly see the entire content of the first prompt information without performing any 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, so that when the user re-enters 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, thereby increasing the authentication success rate.

[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 detecting an authentication request sent by the third-party application, where the authentication information includes an authentication mode and first prompt information; a determination module configured to determine 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, 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 preset correspondence relationship, where the correspondence relationship includes a relationship between a position of the authentication component corresponding to the authentication mode and the display position of the first authentication window.

[0027] Optionally, the device 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 comprises a sending module configured to send a notification message to the third party application, wherein the notification message is 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, when the determination module determines that the first authentication window blocks other display information, display the other blocked display information in a display area other than the first authentication window.

[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 procedure for 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 procedure for 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 preset correspondence relationship, where the correspondence relationship includes a relationship between a position of an authentication component corresponding to the authentication mode and a 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 the steps 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, wherein the weakening process includes 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, wherein the notification message is 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 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 call program instructions stored in the memory and perform the following steps: acquiring 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 the location 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 preset correspondence relationship, where the correspondence relationship includes a relationship between a position of an authentication component corresponding to the authentication mode and a 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 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, wherein the weakening process includes a mask addition 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 the user's biometric information 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 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, the computer program product comprising computer program code that, 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 implementing functions of the above-described 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 configured to store program instructions and data necessary 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 configured to store computer-executable instructions, the processor and the memory being connected by a 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 herein, 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 the authentication mode and the location of an authentication component corresponding to the authentication mode, where the authentication component is configured to collect user biometric information. Furthermore, the first authentication window is displayed at a display position, and the first authentication window displays the first prompt information. After the authentication request sent by the third-party application is detected, the authentication mode is obtained from the third-party application, and the display position of the first authentication window is determined based on the location of the authentication component corresponding to the authentication mode. Therefore, a user can know the location of the authentication component and use the authentication component to perform identity authentication in the first authentication window, thereby increasing the authentication success rate. [Brief explanation 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. 10 is a schematic diagram showing a first authentication window displayed during fingerprint authentication.

[0069] [Figure 2b] FIG. 10 is another schematic diagram of displaying the first authentication window during fingerprint authentication.

[0070] [Figure 3] FIG. 10 is a schematic diagram showing a first authentication window displayed during iris authentication.

[0071] [Figure 4] FIG. 10 is a schematic diagram showing a first authentication window displayed during face image authentication.

[0072] [Figure 5a] FIG. 10 is a schematic diagram before the first authentication window is adjusted.

[0073] [Figure 5b] FIG. 10 is a schematic diagram after the first authentication window has been adjusted.

[0074] [Figure 6a] FIG. 10 is a schematic diagram of a first authentication window before weakening processing.

[0075] [Figure 6b] FIG. 10 is a schematic diagram of a first authentication window after weakening processing.

[0076] [Figure 7a] FIG. 10 is a schematic diagram of the first authentication window before the size thereof is adjusted.

[0077] [Figure 7b] FIG. 10 is a schematic diagram after the size of the first authentication window has been adjusted.

[0078] [Figure 8a] FIG. 10 is a schematic diagram of other blocked display information before it is processed.

[0079] [Figure 8b] FIG. 10 is a schematic diagram after other blocked display information has been processed.

[0080] [Figure 9] 10 is a schematic flowchart of a second embodiment of an authentication window display method according to the present application;

[0081] [Figure 10a] FIG. 10 is a schematic diagram showing a first authentication window.

[0082] [Figure 10b] FIG. 10 is a schematic diagram of an operation screen of a third-party application.

[0083] [Figure 11] 1 is a schematic structural diagram of an authentication window display device according to an embodiment of the present application;

[0084] [Figure 12] FIG. 1 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. 10 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application;

[0087] [Figure 15] FIG. 1 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application;

[0088] [Figure 16] FIG. 10 is a further schematic structural diagram of an authentication window display device according to an embodiment of the present application;

[0089] [Figure 17] 1 is yet another schematic structural diagram of an authentication window display device according to an embodiment of the present application;

[0090] [Figure 18] FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0091] In the following, some terms used in this application will be explained to facilitate a better understanding by those skilled in the art.

[0092] (1) A terminal, also referred to as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides a user with voice and / or data connectivity, such as a handheld device or vehicle-mounted device with wireless connectivity. Currently, terminals include, for example, mobile phones, tablet computers, notebook computers, palmtop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals for industrial control, wireless terminals for self-driving, wireless terminals for remote medical surgery, wireless terminals for smart grids, wireless terminals for transportation safety, wireless terminals for smart cities, and wireless terminals for smart homes.

[0093] (2) The units in this application are functional units or logical units. The units may be in the form of software, and the functions of the units are implemented by a processor executing program code. Alternatively, the units may be in the form of hardware.

[0094] (3) "Multiple" means two or more, and similarly for other quantifiers. The term "and / or" describes a correspondence relationship for describing related objects and indicates that three relationships may exist. For example, A and / or B may represent 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 related 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 embodiments of the present application may be applied to a terminal, for example, a scenario in which biometric authentication is performed using a terminal. In the prior art, when a third-party application performs identity authentication using biometric recognition technology, the third-party application typically generates an authentication screen and an authentication window of the third-party application. Specifically, the third-party application determines the specific content to be displayed on the authentication screen or the specific position where the authentication window is displayed on the authentication screen. Furthermore, different third-party applications may have different authentication windows and different display positions. However, terminal hardware is currently undergoing continuous innovation, resulting in increasingly diverse configurations of terminal components. Therefore, the authentication screen of a third-party application may conflict with the hardware configuration of the terminal. For example, in a bezel-less phone, a fingerprint sensor may be located 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 may not know the exact location of the fingerprint sensor, resulting in authentication failure.

[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, a terminal performs the following steps: acquiring authentication information from the third-party application, where the authentication information includes an authentication mode and first prompt information; determining a display position of a first authentication window based on the location 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; and displaying the first authentication window at a display position, where the first authentication window displays 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 location of the authentication component corresponding to the authentication mode. Thus, a user can know the location of the authentication component using the first authentication window and input biometric information using the authentication component to perform identity authentication, thereby increasing the authentication success rate.

[0097] 1 is a schematic flowchart of a first embodiment 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, if the third-party application uses biometric recognition technology to perform identity authentication, the third-party application typically sends 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 about the 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 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.

[0103] At this stage, once the method for arranging components in the terminal is determined for each terminal, the method does not change. In this way, the location where the authentication component is arranged in the terminal is fixed. Therefore, after acquiring the authentication mode, the terminal determines the location of the authentication component corresponding to the authentication mode and the display location of the first authentication window on the screen based on the authentication mode. Specifically, the first authentication window includes the 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 location of the authentication component needs to be indicated to the user in a different manner, so that the user can quickly know the location 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 a possible implementation, the display position of the first authentication window may be determined based on the authentication mode and a predetermined correspondence relationship, which includes a relationship between the position of the authentication component corresponding to the authentication mode and the display position of the first authentication window.

[0106] Specifically, once the configuration of the components in the terminal is determined, the configuration remains unchanged, and the positions of the authentication components do not change after delivery. Therefore, the terminal may pre-store a correspondence 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.

[0107] For example, if the authentication component is a camera, when the camera is located above the screen of the terminal, the first authentication window may be displayed at the top of the screen accordingly, or when the camera is located at the center of the screen of the terminal, the first authentication window may be displayed at the center of the screen accordingly, thereby ensuring that the user's face image can be accurately captured 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 screen, the first authentication window will accordingly be displayed in the center of the screen, 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 location of the authentication component in the terminal by reading internal data, and determine the display location of the first authentication window based on the location of the authentication component. In this way, the location of the authentication component may be presented to the user using the first authentication window, thereby ensuring that biometric information for authentication can be accurately collected by the authentication component. The terminal may acquire the location of the authentication component in the terminal in any manner known in the art. Details of the method for acquiring the location 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 third-party applications 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, and 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 determined 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 application programming interface (API) authentication for third-party applications, which can call the authentication function of the operating system and obtain the authentication result.

[0114] The example in which authentication must be performed when a user performs a payment using a terminal is used below for illustration purposes.

[0115] 2a is a schematic diagram showing 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 located 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 that display position. In a possible implementation, the fingerprint sensor may be included in the first authentication window 203, and pattern information may be displayed at the position of the fingerprint sensor to instruct the user to enter fingerprint data at that position. The first authentication window 203 displays first prompt information, for example, "Pay Mr. Zhang 10.00 yen. Place your finger in the instruction area below." Therefore, the user may enter fingerprint data based on the first prompt information, which can improve the user experience.

[0117] 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 may be indicated to the user using another indicator, such as an arrow. The first authentication window 203 displays first prompt information, such as "Pay 1000 yen to Mr. Zhang. Place your finger in the indicator area below the arrow." Therefore, the user may enter fingerprint data based on the first prompt information, thereby improving the user experience.

[0118] Furthermore, those skilled in the art will 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 location of the fingerprint sensor can be indicated to the user using other indication information, thereby allowing the user to 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 showing 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 may be displayed at the position of the iris sensor to instruct the user to input iris data at the position. The first authentication window 205 displays first prompt information, such as "Look at this identifier." Therefore, 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 may be indicated to the user using another indicator, such as 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 showing a first authentication window displayed during facial 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 facial image authentication payment, are displayed on a payment screen 201. When a user taps "Facial Image Authentication Payment," the screen displayed on the terminal jumps from the payment screen 201 to an authentication screen 206.

[0123] After knowing the location where the camera is located in the terminal, the terminal determines the display location of the first authentication window 207 based on the location of the camera, and displays the first authentication window 207 at the display location. In a possible implementation, the camera may be included in the first authentication window 207, and pattern information may be displayed at the camera location to instruct the user to input facial image data at the location. The first authentication window 207 displays first prompt information, for example, "Align your face with the facial recognition window below." Therefore, the user may input facial 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 may be indicated to the user using another indicator, such as 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, if 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, thereby ensuring that the user's face image is collected correctly, thereby improving the accuracy of personal 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 explanation, 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 at the application layer. When a payment application performs biometric recognition and authentication, the payment application may use the authentication data set to set the template and required data for the biometrics authentication window. ADSL communication is established between the system UI of the system authentication screen and the biometrics manager service through the registration of an 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 problem in the prior art that the authentication screen conflicts 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 for the authentication screen, and the terminal's operating system provides the template information for the third-party application to use.

[0129] Furthermore, to ensure that the 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. To prevent the user from being confused, the terminal further needs to perform related processing on 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 the display screen of the 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 of the first authentication window before it is adjusted, and FIG. 5b is a schematic diagram of the first authentication window after it is adjusted. As shown in FIGS. 5a and 5b, when the terminal detects that a second authentication window 501 popped up by a third-party application is also displayed on the display screen, the terminal may adjust the position of the first authentication window 502, 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 while the first authentication window can block the second authentication window after the position and / or size of the first authentication window are adjusted, the position of the authentication component still needs to be presented to the user. Specifically, it needs to be ensured that the user can accurately input biometric authentication 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, thereby preventing the second authentication window popped up by the third-party application from confusing the user and improving the user experience.

[0134] Method 2: Detect whether a third authentication window popped up by a third-party application is displayed on the display screen of the 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 masking process and / or a blurring process.

[0135] 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 FIGS. 6a and 6b, when a terminal detects that a third authentication window 601 popped up by a third-party application is also displayed on the display screen, the terminal may perform a weakening process on the third authentication window 601. In a specific implementation, a mask addition 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 addition 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, thereby improving the user experience.

[0136] It should be noted that in the above-described method, how to adjust or weaken the first authentication window when the authentication mode is fingerprint authentication is used as an example for explanation. The method of adjusting or weakening the first authentication window in other authentication modes is similar to the method 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 the 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 that the fourth authentication window is prohibited from popping up. 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 the user is not confused, and the user experience can be improved.

[0139] In this embodiment of the present application, the authentication screen, the first authentication window, and the user's operable options are all determined by the terminal to ensure a consistent user experience and prevent the user from being interrupted during the decision making.

[0140] Furthermore, 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 of the first authentication window before the size is adjusted, and Fig. 7b is a schematic diagram of the first authentication window after the size is adjusted. As shown in Figs. 7a and 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 the authentication mode presented to the user by the third-party application and information used to prompt the 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 in 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, and the user needs to be assured that they 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 based on the first prompt information and display the entire content of the first prompt information in the first authentication window through plain text, so that the user can clearly see the entire 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 other display information, the terminal displays the blocked other display information in the display area other than the first authentication window.

[0146] 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, the 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 that the user can 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 performs the following steps: acquiring authentication information from the third-party application, where the authentication information includes an authentication mode and first prompt information; determining a display position of the first authentication window based on the location of an authentication component corresponding to the authentication mode and the authentication mode, where the authentication component is configured to collect user biometric information; and displaying the first authentication window at a display position, where the first authentication window displays 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 location of the authentication component corresponding to the authentication mode. Therefore, the user can know the location of the authentication component and perform identity authentication in the first authentication window using the authentication component, thereby increasing the authentication success rate.

[0149] 9 is a schematic flowchart of a second embodiment of an authentication window display method according to the present application. Based on the embodiment shown in FIG. 1, this embodiment will be described in detail using an embodiment in which authentication is performed on the user's biometric information collected by the authentication component after the first authentication window is displayed at the display position. As shown in FIG. 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 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 a user.

[0152] Step 903: Display a first authentication window at a display position, and 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 user biometric information collected by the 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: Perform authentication on the biometric information.

[0157] In this embodiment, after receiving the user's biometric information collected by the authentication component, the terminal performs authentication based on the collected biometric information. In practical application, the terminal pre-stores the biometric information. When performing authentication, the terminal compares the collected biometric information with the pre-stored biometric information. If the comparison is successful, it indicates that the authentication is successful; or if the comparison is unsuccessful, it indicates that the authentication is unsuccessful.

[0158] If the authentication fails, step 906 is executed, or 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 input the biometric information again.

[0160] Specifically, Fig. 10a is a schematic diagram showing 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 to instruct 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, Figure 10b is a schematic diagram of the operation screen of the third-party application. As shown in Figure 10b, after the user inputs fingerprint data based on 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 is successful, the operation screen of the third-party application will jump. For example, "Payment Completed" will be 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 notify the user that the authentication has failed, or to instruct the user to re-enter biometric information when or after the user is notified that the authentication has failed, or to instruct the user to re-enter 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-enters 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, thereby increasing the authentication success rate.

[0164] The present application further provides the following apparatus embodiments. All apparatus embodiments can be used to implement the methods of the above method embodiments. Specifically, Figure 11 is a schematic structural diagram of an authentication window display device according to an embodiment of the present application. Referring to Figure 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, and 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, and 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 preset 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 the adjusted first authentication window blocks the second authentication window 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.

[0173] The authentication window display device 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.

[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 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.

[0177] The authentication window display device 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.

[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, based on 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, and 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. 11, the device further includes a second adjustment module 19.

[0182] The second adjusting 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 determination 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, when the determination module 20 determines that the first authentication window blocks other display information, display the blocked other display information in a display area other than the first authentication window.

[0186] 17 is a further 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 the user's biometric information 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, and the second prompt information is 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, and 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-described device is merely a logical functional division. During actual implementation, some or all of the modules may be integrated into one physical entity or physically separated. Furthermore, these modules may all be implemented in the form of software called by a processing element, or all may be implemented in the form of hardware, or some of the modules may be implemented in the form of software called by a processing element and some of the modules may be implemented in the form of hardware. For example, the transmitting module may be a separately located processing element or may be integrated into a specific chip of the device for implementation. Furthermore, the transmitting module may be stored in the memory of the device in the form of a program and called by a specific processing element of the device to perform the functions of the transmitting module. The implementation of other modules is similar to the implementation of the transmitting module. Furthermore, multiple units may be integrated together or implemented separately. The processing element here may be an integrated circuit and have a signal processing function. In the implementation process, the steps of the above-described method or the above-described units can be implemented using a hardware integrated logic circuit in the processing element or using instructions in the form of software. Furthermore, the above-mentioned transmitting module may be a transmission control module, which transmits 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] 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 methods implemented in the embodiments of the present application in FIG. 1 and FIG. 9. For ease of explanation, only parts relevant to this embodiment of the present application are shown. For specific technical details not disclosed, please refer to the embodiments of the present application shown in FIG. 1 and FIG. 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 this embodiment of the present application.

[0196] As shown in Figure 18, 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 will understand that the structure of the mobile phone shown in Figure 18 does not constitute a limitation on the mobile phone, and the mobile phone may include more or fewer 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 connection with FIG.

[0198] The RF circuitry 320 may be configured to receive and transmit signals during information reception and transmission processing or 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. The RF circuitry generally includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, and the like. The RF circuitry 320 may also communicate with a network and other devices 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), email, and Short Message Service (SMS).

[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 perform 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 applications required by at least one function (e.g., a sound playback function or an image playback function). The data storage area may store data generated when the mobile phone 300 is used (e.g., audio data, image data, or a phone book). Furthermore, the memory 330 may include a high-speed random access memory, or may include non-volatile memory such as at least one magnetic disk storage device, flash memory, or other non-volatile solid-state storage device.

[0200] The input unit 340 may be configured to receive input digital or text 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, which may also be referred to as a touch panel, 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 preset program. Optionally, the touch screen 341 may include two parts: a touch detection device and a touch controller. The touch detection device detects the direction of a user's touch, detects signals generated by the touch operation, and transmits the signals 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 transmits the touch point coordinates to the processor 380. Furthermore, 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, a joystick, etc.

[0201] The display unit 350 may be configured to display information input by or provided to a user, as well as 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 touchscreen 341 may cover the display panel 351. After detecting a touch operation performed on or near the touchscreen 341, the touchscreen 341 transmits the touch operation to the processor 380 to determine the type of touch event. The processor 380 then provides a corresponding visual output on the display panel 351 based on the type of touch event. In FIG. 18 , the touchscreen 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 touchscreen 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 acoustic signals for output. Additionally, the microphone 372 converts collected acoustic 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, which transmits the audio data, for example, to another mobile phone, or outputs the audio data to the memory 330 for further processing.

[0205] Processor 380 is the control center of mobile phone 300. Processor 380 is connected to all parts of the entire mobile phone using various interfaces and lines, and executes various functions of mobile phone 300 and data processing by launching or executing software programs and / or modules stored in memory 330 and accessing data stored in memory 330, and performs overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing units. Optionally, processor 380 may integrate an application processor and a modem processor. The application processor may mainly process the operating system, user interface, applications, etc. The modem processor mainly processes wireless communication. It can be understood that the modem processor may alternatively not be integrated into processor 380.

[0206] The mobile phone 300 further includes a power supply 390 (e.g., a battery) that provides power to each component. Optionally, the power supply may be logically coupled to the processor 380 using a power management system that may 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 perform the following steps: 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 a 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, and 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 determining the display position of the first authentication window, the processor may update specific content in the display content memory, and the display unit displays the content. Specifically, the content that may be displayed by the display unit may be 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 preset correspondence relationship, where the correspondence relationship includes the 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 the 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 for 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 for 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 addition 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 other display information, to 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 instruct 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 using 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 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-mentioned embodiments.

[0224] The present application further provides a program product, which includes a computer program (i.e., executable instructions), stored in a readable storage medium, and at least one processor of a terminal reads the computer program from the readable storage medium and executes the computer program, thereby causing the terminal to implement 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 memory element and at least one processing element. The at least one memory element is configured to store a program. When the program is executed, the authentication window display device is enabled to perform the operations of the terminal in any one of the above-mentioned embodiments. The device may be a chip in the terminal. The chips referred to in the documents of this application are integrated circuits. Specifically, 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), and these specific physical device forms are not limited to this 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 (abbreviated as ROM), a RAM, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disk, and any combination thereof.

Claims

1. A method for displaying an authentication window, comprising: The method is applied to a terminal, the terminal having a display screen, a camera, and a fingerprint authentication component, a third-party application is installed on the terminal, the camera is located at an upper part of the display screen, and the fingerprint authentication component is located at a lower part of the display screen; The method comprises: After the terminal detects an authentication request sent by the third-party application, the terminal acquires authentication information from the third-party application, the authentication information including an authentication mode; When the authentication mode is a fingerprint authentication mode, the terminal displays a first authentication window on the display screen, the first authentication window having first prompt information and pattern information, the content of the first prompt information being associated with the fingerprint authentication mode, and the pattern information corresponding to a position of the fingerprint authentication component; When the authentication mode is a face image authentication mode, the terminal displays a second authentication window on the display screen, the second authentication window having second prompt information, and the content of the second prompt information is associated with the face image authentication mode; Equipped with a display position of the first authentication window is different from a display position of the second authentication window; method.

2. The fingerprint authentication component is fixed in position; and / or The method of claim 1 , wherein the first prompt information and the pattern information do not block each other.

3. The method further comprises: detecting by the terminal whether a third authentication window popped up by the third-party application is displayed on the display screen; the terminal adjusting the display position and / or size of the first authentication window so that the adjusted first authentication window blocks the third authentication window when the third authentication window popped up by the third-party application is displayed on the display screen; or When the third authentication window popped up by the third-party application is displayed on the display screen, the terminal adjusts the display position and / or size of the second authentication window so that the adjusted second authentication window blocks the third authentication window; and Equipped with The method according to claim 1 or 2.

4. The method further comprises: detecting by the terminal whether a fourth authentication window popped up by the third-party application is displayed on the display screen; and when the fourth authentication window popped up by the third-party application is displayed on the display screen, the terminal performs a weakening process on the fourth authentication window, the weakening process including a mask adding process and / or a blurring process.

4. The method according to any one of claims 1 to 3.

5. The method further comprises the step of: the terminal sending a notification message to the third-party application; The notification message is used to notify the third-party application to prohibit the pop-up of an authentication window.

5. The method according to any one of claims 1 to 4.

6. The method further comprises: the terminal dynamically adjusting the size of the first authentication window based on the first prompt information; or the terminal dynamically adjusting the size of the second authentication window based on the content of the first prompt information; Equipped with 6. The method according to any one of claims 1 to 5.

7. After displaying the first authentication window at the display location, the method further comprises: determining by the terminal 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; If the first authentication window blocks the other display information, the terminal displays the blocked other display information on the display screen in a display area other than the first authentication window; Equipped with 7. The method according to any one of claims 1 to 6.

8. The method further comprises: performing said authentication by said terminal; If the authentication is successful, the terminal displays an operation screen of the third-party application on the display screen; Equipped with 8. The method according to any one of claims 1 to 7.

9. A terminal including a processor, a memory, a bus, and a communication interface, the memory is configured to store computer-executable instructions; the processor and the memory are connected using 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 any one of claims 1 to 8. Terminal.

10. A computer-readable storage medium storing a computer program, the computer program being used to enable a terminal to execute the method according to any one of claims 1 to 8. A computer-readable storage medium.

11. A program for causing a terminal to execute the method according to any one of claims 1 to 8.

12. a processor and a memory, The processor is configured to support an authentication window display in implementing the method of any one of claims 1 to 8, the memory is configured to store program instructions and data required for the authentication window display device; Chip system.

Citation Information

Patent Citations

  • Asset accessibility with continuous authentication for mobile devices

    US20160227411A1

  • Electronic device providing electronic payment function and operating method thereof

    US20160253670A1

  • Method of providing payment service and electronic device for implementing same

    US20170103382A1

  • Iris authentication method and device using display information

    US20180012007A1