Determination method and device
Through dynamic adjustment of feature matching and target matching times, the meaningless retry problem caused by poor input information during the user authentication process is solved, and the user experience and the reliability of the authentication process is improved.
Patent Information
- Application Number
- CN202510237931.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-20
AI Technical Summary
During the user authentication process, the quality of the authentication information entered by the user is poor, resulting in multiple retry attempts that still cannot match, causing the user to perform meaningless retry operations and affect the user experience.
By responding to the information entered by the user, the corresponding features are determined and the pre-stored features are matched to determine the degree of match. When the matching degree does not reach the target matching degree, determine the number of target matching times based on the matching degree, and display the target content to guide the user when the number of feature matching times reaches the target number and the matching degree does not reach the target.
Reduces the number of times users perform meaningless retry operations, improves the user experience, and improves the reliability of the authentication process.
Smart Images

Figure CN120180404A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of device security, and particularly to a determination method and device. Background Art
[0002] Currently, when performing user authentication, if the authentication information entered by the user does not match the pre-stored information, a fixed number of retry opportunities will be provided to the user. However, in some cases, due to the poor quality of the authentication information entered by the user, even after retrying multiple times, it will not match the pre-stored information, resulting in the user performing multiple meaningless retry operations and affecting the user experience. Summary of the Invention
[0003] An embodiment of this application provides a determination method, including: in response to the first information input by the user, determining a first feature corresponding to the first information; performing feature matching between the first feature and a pre-stored second feature to determine the matching degree; in the case where the matching degree does not reach the target matching degree, determining the target matching times according to the matching degree; in the case where the number of times of the feature matching reaches the target matching times and the matching degree does not reach the target matching degree, displaying the target content.
[0004] In some embodiments, before displaying the target content, it includes one of the following: determining the target prompt content as the target content; determining the content in the first target interface as the target content, where the first target interface is used to input second information different from the first information; determining the first features corresponding to each of the feature matchings, performing a fusion process on each of the first features, and determining the fused first feature; determining the target content according to the comparison result between the fused first feature and the second feature.
[0005] In some embodiments, the process of determining the target prompt content includes one of the following: determining each of the first features, and in the case where the similarity between each of the first features reaches the target similarity, determining the prompt content including the target information input method as the target prompt content; displaying a second target interface; in the case where the third information obtained from the second target interface conforms to the target identity information, determining the prompt content representing the target information content as the target prompt content, where the third information is different from the first information.
[0006] In some embodiments, after determining each of the first features, it further includes: in the case where the similarity between each of the first features does not reach the target similarity, determining the prompt content including the target countdown as the target prompt content, where the target countdown is the remaining duration for re-entering the first information.
[0007] In some embodiments, determining the target content according to the comparison result of fusing the first feature and the second feature includes: determining the matching degree between the fused first feature and the second feature; when the matching degree between the fused first feature and the second feature does not reach the target matching degree, determining the content in the first target interface as the target content; when the matching degree between the fused first feature and the second feature reaches the target matching degree, determining the content in the third target interface as the target content, where the third target interface is different from the first target interface.
[0008] In some embodiments, determining the target matching times according to the matching degree includes one of the following: determining the first matching degree in the case of the first feature matching, querying a first relationship table according to the first matching degree to determine the target matching times, where the first relationship table is determined by the corresponding relationship between different matching degrees and different target matching times; determining the matching degrees in the case of non-first feature matching, querying the first relationship table according to the maximum matching degree among the matching degrees to determine the target matching times.
[0009] In some embodiments, after determining the target matching times according to the matching degree, it further includes: when the number of times of feature matching does not reach the target matching times, obtaining the first information re-entered by the user; determining the third feature corresponding to the re-entered first information, and when the similarity between the third feature and the first feature is lower than the target similarity, re-determining the target matching times according to the matching degree corresponding to the third feature.
[0010] In some embodiments, after determining the matching degree, it further includes: when the matching degree reaches the target matching degree, displaying the third target interface and clearing the number of times of feature matching.
[0011] In some embodiments, after determining the matching degree, it further includes: in the case of non-first feature matching, determining the matching degrees corresponding to each feature matching; when there are at least two to-be-fused matching degrees among the matching degrees, performing a fusion process on the first features corresponding to the at least two to-be-fused matching degrees to determine the target fusion feature, where the to-be-fused matching degree reaches the first matching degree and is less than the target matching degree; when the matching degree between the target fusion feature and the second feature reaches the target matching degree, displaying the third target interface and clearing the number of times of feature matching.
[0012] An embodiment of the present application also provides a determination device, including: a first determination module, configured to determine a first feature corresponding to the first information in response to the first information input by a user; a second determination module, configured to perform feature matching between the first feature and a pre-stored second feature to determine a matching degree; a third determination module, configured to determine a target matching number according to the matching degree when the matching degree does not reach a target matching degree; and a display module, configured to display target content when the number of times of feature matching reaches the target matching number and the matching degree does not reach the target matching degree. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] To more clearly illustrate the technical solutions of the present application, the accompanying drawings required for the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments described in the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0014] Figure 1 Flow chart of the determination method according to the embodiment of the present application Figure 1 ;
[0015] Figure 2 Flow chart of determining target content according to the embodiment of the present application;
[0016] Figure 3 Flow chart of the determination method according to the embodiment of the present application Figure 2 ;
[0017] Figure 4 Flow chart of the determination method according to the embodiment of the present application Figure 3 ;
[0018] Figure 5 Flow chart of the determination method according to the embodiment of the present application Figure 4 ;
[0019] Figure 6 Block diagram of the determination device according to the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0020] Reference is made herein to the accompanying drawings to describe the various solutions and features of the present application.
[0021] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be construed as limiting, but merely as an example of the embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the present application.
[0022] The drawings included in and forming a part of the specification illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, are used to explain the principles of the present application.
[0023] These and other features of the present application will become apparent from the following description of the preferred forms of the embodiments given by way of non-limiting example with reference to the drawings.
[0024] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application.
[0025] When combined with the drawings, the above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description.
[0026] Specific embodiments of the present application will be described hereinafter with reference to the drawings; however, it should be understood that the claimed embodiments are merely examples of the present application and can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present application with unnecessary or redundant details. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but are merely used as a basis for the claims and a representative basis for teaching those skilled in the art to use the present application in substantially any suitable detailed structure in a variety of ways.
[0027] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment" or "in other embodiments", which may each refer to one or more of the same or different embodiments according to the present application.
[0028] A determination method for an embodiment of the present application matches a first feature corresponding to first information input by a user with a pre-stored second feature to determine a matching degree. In the case where the matching degree does not reach a target matching degree, a target matching number is determined according to the matching degree. If the number of times of feature matching reaches the target matching number and the matching degree does not reach the target matching degree, target content is displayed. Since the target matching number is related to the matching degree, when the matching degree is low, the target matching number can be reduced, thereby reducing the number of meaningless retry operations performed by the user and improving the user experience.
[0029] As Figure 1 shown, the method includes the following steps:
[0030] Step S101, in response to the first information input by the user, determine a first feature corresponding to the first information.
[0031] In this embodiment, the execution subject of the determination method may be a processor in an electronic device or a determination device independent of the processor. The electronic device may be, for example, a mobile phone, a tablet, a wearable device, a laptop computer, a personal computer, etc. The first information may be the user's biometric information, such as fingerprint information, face information, iris information, voice information, etc., or may be information such as a password or a verification code. By authenticating the first information, it can be determined whether the electronic device can be unlocked or access a specified application. The specified position on the display screen of the electronic device (such as the fingerprint input area on the display screen) can be used as the position for inputting the first information, or the input area in the specified display interface of the electronic device (such as the password or verification code input box) can be used as the position for inputting the first information, or the specified position on other devices connected to the electronic device (such as the fingerprint input area on a dedicated fingerprint input device) can be used as the position for inputting the first information.
[0032] After obtaining the first information input by the user, identify the first information to determine the first feature corresponding to the first information. For example, if the first information is fingerprint information, obtain the image feature corresponding to the fingerprint information; if the first information is face information, obtain the image feature corresponding to the face information; if the first information is voice information, obtain the voiceprint feature corresponding to the voice information; if the first information is a password, the first feature may be each character corresponding to the password.
[0033] Step S102: Perform feature matching between the first feature and a pre-stored second feature to determine the matching degree.
[0034] The second feature is determined according to the first information of a specified user collected in advance or the information input in advance. For example, the second feature can be determined and stored according to any one of the fingerprint information, face information, iris information, and voice information of a specified user collected in advance, or the second feature can be determined and stored according to the set password input in advance. After obtaining the first feature, perform feature matching between the first feature and the pre-stored second feature to determine the similarity between the first feature and the second feature, and determine the matching degree according to the similarity. The higher the similarity, the higher the matching degree.
[0035] Step S103: In the case where the matching degree does not reach the target matching degree, determine the target number of matching times according to the matching degree.
[0036] In this embodiment, if the matching degree does not reach the target matching degree, it means that the first feature and the second feature do not match. Determine the target number of matching times according to the matching degree. For example, multiple matching degree ranges can be set in advance, and each matching degree range corresponds to a type of target number of matching times. Determine the target number of matching times according to the matching degree range where the matching degree is located.
[0037] For example, when the first information is fingerprint information, if the matching degree is 0-20%, the target matching times is 1. In this case, the number of feature matching times has reached the target matching times; if the matching degree is 20%-40%, the target matching times is 2. In this case, after the user inputs the first information one more time, the number of feature matching times will reach the target matching times; if the matching degree is 40%-50%, the target matching times is 3. In this case, after the user inputs the first information two more times, the number of feature matching times will reach the target matching times; if the matching degree is 50%-60%, the target matching times is 4. In this case, after the user inputs the first information three more times, the number of feature matching times will reach the target matching times.
[0038] Step S104, when the number of feature matching times reaches the target matching times and the matching degree does not reach the target matching degree, display the target content.
[0039] In this embodiment, after determining the target matching times, it is judged whether the number of feature matching times reaches the target matching times. If the number of feature matching times reaches the target matching times and the matching degree does not reach the target matching degree, the target content is displayed. The target content can be, for example, content that prompts the user's way of inputting the first information to guide the user to input the correct first information, or it can be the first information with authentication failure to prompt the user that the authentication fails, or it can also be the content in the corresponding interface of other authentication methods to enable the user to use other authentication methods for authentication, thereby avoiding the user from performing meaningless retry operations again.
[0040] In some embodiments of the present application, in order to improve the reliability during the authentication process, after determining the target matching times, it is judged whether the number of feature matching times reaches the target matching times within a predetermined time period (such as 5s). If the number of feature matching times reaches the target matching times within the predetermined time period and the matching degree does not reach the target matching degree, the target content is displayed; if the predetermined time period is reached since the first feature matching starts and the number of feature matching times does not reach the target matching times, the number of feature matching times is cleared to accurately perform the next round of authentication.
[0041] The determination method of the embodiment of the present application responds to the first information input by the user, determines the first feature corresponding to the first information; performs feature matching between the first feature and the pre-stored second feature to determine the matching degree; when the matching degree does not reach the target matching degree, determines the target matching times according to the matching degree; when the number of feature matching times reaches the target matching times and the matching degree does not reach the target matching degree, displays the target content. Since the target matching times is related to the matching degree, when the matching degree is low, the target matching times can be reduced, thereby reducing the number of meaningless retry operations performed by the user and improving the user experience.
[0042] In some embodiments of the present application, before displaying the target content, it includes one of the following:
[0043] Determine the target prompt content as the target content;
[0044] Determine the content in the first target interface as the target content, where the first target interface is used to input second information, and the second information is different from the first information;
[0045] Determine each first feature corresponding to each match of the features, perform a fusion process on each of the first features, and determine the fused first feature; determine the target content according to the comparison result between the fused first feature and the second feature.
[0046] In this embodiment, before displaying the target content, first determine the target content. Specifically, the target prompt content can be preset, and the target prompt content is determined as the target content. For example, the target prompt content includes content for guiding the user's input operation (such as prompting to adjust the input angle of the fingerprint, prompting to keep the face in a bright environment, etc.). In this case, the user can input the first information again according to the target prompt content. For another example, the target prompt content is a prompt for authentication failure or the remaining duration for re-entering the first information, so that the user determines the authentication failure according to the target prompt content, or re-enters the first information after the remaining duration is zero. By determining the target prompt content as the target content, the user can be accurately prompted, improving the user experience.
[0047] Alternatively, determine the content in the first target interface as the target content. The first target interface is used to input second information, and the second information is different from the first information. In this case, the user cannot input the first information again and needs to input the second information for authentication, thus facilitating the user to authenticate in other ways. For example, if the first information is fingerprint information and the second information is password, the first target interface is the interface for password authentication. After the number of fingerprint feature matches reaches the target match number, the user can input the password in the first target interface to continue password authentication. For another example, if the first information is face information and the second information is fingerprint information, the first target interface is the interface for fingerprint authentication. After the number of face feature matches reaches the target match number, the user can input the fingerprint in the first target interface to continue fingerprint authentication.
[0048] Alternatively, determine the first features corresponding to each feature match, perform a fusion process on the first features to determine the fused first feature, and then compare the fused first feature with the second feature, and determine the target content according to the comparison result. For example, if the first information is fingerprint information, the fingerprint features of each input fingerprint information are fused, and the fused fingerprint features are compared with the second feature, and the target content is determined according to the comparison result. By determining the fused first feature and determining the target content according to the comparison result between the fused first feature and the second feature, a more flexible determination of the target content is achieved.
[0049] In some embodiments of the present application, the process of determining the target prompt content includes one of the following:
[0050] Determine each of the first features, and when the similarity between each of the first features reaches the target similarity, determine the prompt content including the target information input method as the target prompt content;
[0051] Display a second target interface; when the third information obtained from the second target interface conforms to the target identity information, determine the prompt content representing the target information content as the target prompt content, where the third information is different from the first information.
[0052] In this embodiment, when the first information is biometric information such as fingerprint information or face information, the similarity between each first feature can be determined. If each similarity reaches the target similarity, it is determined that the users undergoing authentication are the same user. At this time, the prompt content including the target information input method is determined as the target prompt content to prompt the user to input the first information in the correct input method, improving the authentication success rate. The user can input the first information again based on the target prompt content. For example, if the first information is fingerprint information, the target prompt content can be to prompt the user that the left half of the fingerprint is insufficient and to press the left half of the fingerprint more forcefully to increase the success rate. If the first information is face information, the target prompt content can be to prompt the user that the distance from the electronic device is too far and to bring the electronic device closer by a certain distance to increase the success rate.
[0053] When the first information is non-biometric information such as a password or a verification code, a second target interface can be displayed. The user can input third information different from the first information on the second target interface, and determine whether the third information conforms to the target identity information. If it conforms to the target identity information, the prompt content representing the target information content is determined as the target prompt content. For example, the second target interface can display security questions. The answer input by the user on the second target interface is the third information. If the answer is consistent with the pre-stored answer, it is determined that the third information conforms to the target identity information, and the number of digits of the password is used as the target information content to prompt the user of the number of digits of the password and improve the authentication success rate.
[0054] In some embodiments of the present application, the method further includes, when the third information obtained from the second target interface does not conform to the target identity information, displaying the first target interface so that the user can authenticate in other ways.
[0055] In some embodiments of the present application, after determining each of the first features, it further includes:
[0056] When the similarity between each of the first features does not all reach the target similarity, determining the prompt content including the target countdown as the target prompt content, where the target countdown is the remaining duration for re-entering the first information.
[0057] In this embodiment, when the similarity between each of the first features does not reach the target similarity, it indicates that the users entering the first information are not the same user. In this case, the prompt method for the target information is no longer prompted, but the prompt content of the target countdown (such as a 30s countdown) is determined as the target prompt content. When the target countdown reaches zero, the user can re-enter the first information, which facilitates the user to determine when to re-enter the first information for the next round of authentication and improves security at the same time. In some embodiments, when determining the prompt content including the target countdown as the target prompt content, the number of times of feature matching is also cleared to ensure the accuracy of the next round of authentication process.
[0058] In some embodiments of the present application, determining the target content according to the comparison result of the fused first feature and the second feature, as Figure 2 shown, includes the following steps:
[0059] Step S201, determining the matching degree between the fused first feature and the second feature.
[0060] In this embodiment, feature matching is performed on the fused first feature and the second feature to determine the matching degree between the fused first feature and the second feature.
[0061] Step S202, when the matching degree between the fused first feature and the second feature does not reach the target matching degree, determining the content in the first target interface as the target content.
[0062] In this embodiment, if the matching degree between the fused first feature and the second feature does not reach the target matching degree, it indicates that the fused first feature and the second feature do not match. Determining the content in the first target interface as the target content so that the user can authenticate using other authentication methods.
[0063] Step S203, when the matching degree between the fused first feature and the second feature reaches the target matching degree, determine the content in the third target interface as the target content, where the third target interface is different from the first target interface.
[0064] In this embodiment, if the matching degree between the fused first feature and the second feature reaches the target matching degree, it indicates that the authentication is successful by fusing the first feature. Determine the content in the third target interface as the target content. The third target interface can be, for example, an interface with successful unlocking, or an interface of a target application program, etc.
[0065] Determine the target content based on the matching degree between the fused first feature and the second feature, so as to provide an additional authentication process after multiple failures in using the first feature for matching, improving the flexibility and success rate of the authentication process.
[0066] In some embodiments of the present application, the determining the target matching times according to the matching degree includes one of the following:
[0067] Determine the first matching degree in the case of the first feature matching, query the first relationship table according to the first matching degree, and determine the target matching times. The first relationship table is determined by the corresponding relationship between different matching degrees and different target matching times;
[0068] Determine the matching degrees in the case of non-first feature matching, query the first relationship table according to the maximum matching degree among the matching degrees, and determine the target matching times.
[0069] In this embodiment, a first relationship table is established in advance according to the corresponding relationship between different matching degrees and different target matching times. For example, if the matching degree is 0-20%, the target matching times is 1; if the matching degree is 20%-40%, the target matching times is 2; if the matching degree is 40%-50%, the target matching times is 3; if the matching degree is 50%-60%, the target matching times is 4; if the matching degree is 60%-70%, the target matching times is 5.
[0070] It is possible to determine the first matching degree in the case of the first feature matching, query the first relationship table according to the first matching degree, and determine the target matching times. Or it is also possible to compare the matching degrees after determining multiple matching degrees, determine the maximum matching degree among them, and query the first relationship table according to the maximum matching degree to determine the target matching times. In this way, determining the target matching times through the first matching degree or the maximum matching degree can ensure that the target matching times is a limited number of times, improving the reliability of the authentication process.
[0071] In some embodiments of the present application, after determining the target number of matches according to the matching degree, as Figure 3 shown, the following steps are further included:
[0072] Step S105, when the number of times of feature matching does not reach the target number of matches, obtain the first information re-entered by the user.
[0073] In this embodiment, if the number of times of feature matching does not reach the target number of matches, the user can re-enter the first information to obtain the first information re-entered by the user. For example, if the first information is fingerprint information, the target number of matches is 4, and the number of times of feature matching is 2, then the number of times of feature matching does not reach the target number of matches, and the user can re-enter the fingerprint information to obtain the new fingerprint information re-entered by the user.
[0074] Step S106, determine the third feature corresponding to the re-entered first information. When the similarity between the third feature and the first feature is lower than the target similarity, re-determine the target number of matches according to the matching degree corresponding to the third feature.
[0075] In this embodiment, obtain the third feature corresponding to the re-entered first information, compare the third feature with the first feature, and determine the similarity between the third feature and the first feature. If the similarity is lower than the target similarity, it indicates that the user who entered the first information and the user who re-entered the first information are not the same user. In this case, it is necessary to re-determine the target number of matches according to the matching degree corresponding to the third feature, and perform authentication with the re-determined target number of matches, so as to re-determine the target number of matches when the user changes, improving the accuracy of the authentication process.
[0076] For example, if the first information is fingerprint information, the fingerprint feature (equivalent to the third feature) of the fingerprint information obtained this time is fingerprint feature 1, the target number of matches corresponding to fingerprint feature 1 is 3, and the fingerprint feature (equivalent to the first feature) of the fingerprint information obtained last time is fingerprint feature 2. Then, if the similarity between fingerprint feature 1 and fingerprint feature 2 is lower than the target similarity, it indicates that fingerprint feature 1 and fingerprint feature 2 correspond to different users. At this time, re-determine the target number of matches according to the matching degree corresponding to fingerprint feature 2. If the re-determined target number of matches is 4, then the subsequent authentication process uses 4 as the target number of matches.
[0077] In some embodiments of the present application, after determining the matching degree, as Figure 4 shown, the following steps are further included:
[0078] Step S107, when the matching degree reaches the target matching degree, display the third target interface and clear the number of times of feature matching.
[0079] In this embodiment, the third target interface may be an interface for successful unlocking or an interface of a target application. If the matching degree reaches the target matching degree, it indicates that the first feature and the second feature are successfully matched, and the third target interface is displayed, so that the user can reliably enter the corresponding interface when the authentication is successful, and the number of times of feature matching is cleared to ensure that the accurate number of times of feature matching is used for the next authentication.
[0080] In some embodiments of the present application, after determining the matching degree, as Figure 5 shown, the following steps are further included:
[0081] Step S108, in the case of non-first feature matching, determine the respective matching degrees corresponding to each feature matching.
[0082] In this embodiment, if the current feature matching is not the first feature matching, then determine the respective matching degrees corresponding to each feature matching.
[0083] Step S109, in the case where there are at least two to-be-fused matching degrees among the respective matching degrees, perform a fusion process on the respective first features corresponding to the at least two to-be-fused matching degrees to determine a target fusion feature, and the to-be-fused matching degree reaches a first matching degree and is less than the target matching degree.
[0084] After determining the respective matching degrees, determine whether there are at least two to-be-fused matching degrees, and the to-be-fused matching degree reaches the first matching degree and is less than the target matching degree. For example, if the first matching degree is 50% and the target matching degree is 90%, then if the matching degree is 55%, then this matching degree is a to-be-fused matching degree.
[0085] If there are at least two to-be-fused matching degrees, then perform a fusion process on the respective first features corresponding to the at least two to-be-fused matching degrees to determine a target fusion feature.
[0086] Step S110, in the case where the matching degree between the target fusion feature and the second feature reaches the target matching degree, display the third target interface and clear the number of times of feature matching.
[0087] If the matching degree between the target fusion feature and the second feature reaches the target matching degree, it is determined that the authentication is successful, and the third target interface is displayed. The third target interface may be an interface for successful unlocking or an interface of a target application, and the number of times of feature matching is cleared to ensure that the accurate number of times of feature matching is used for the next authentication.
[0088] By determining the target fusion feature when there are at least two degrees of matching to be fused, and determining that the authentication is successful when the degree of matching between the target fusion feature and the second feature reaches the target degree of matching, the authentication success rate and authentication efficiency are improved.
[0089] For example, if the first information is fingerprint information, the first degree of matching is 50%, and the target degree of matching is 90%, then if there is a degree of matching 1 of 60% and a degree of matching 2 of 55%, the fingerprint feature corresponding to the degree of matching 1 is fused with the fingerprint feature corresponding to the degree of matching 2, and the fused fingerprint feature is used as the target fusion feature to be compared with the second feature. If the degree of matching between the target fusion feature and the second feature is 95%, then the degree of matching between the target fusion feature and the second feature reaches the target degree of matching, indicating that the authentication is successful, and an interface for successful unlocking is displayed.
[0090] In some embodiments of the present application, when the degree of matching between the target fusion feature and the second feature does not reach the target degree of matching, the number of times of feature matching is determined; when the number of times of feature matching reaches the target number of times and the degree of matching does not reach the target degree of matching, the target content is displayed; when the number of times of feature matching does not reach the target number of times, a new degree of matching is determined.
[0091] An embodiment of the present application also proposes a determination device, as Figure 6 shown, including: a first determination module, configured to determine a first feature corresponding to the first information in response to the first information input by the user; a second determination module, configured to perform feature matching between the first feature and a pre-stored second feature to determine the degree of matching; a third determination module, configured to determine the target number of times of matching according to the degree of matching when the degree of matching does not reach the target degree of matching; a display module, configured to display the target content when the number of times of feature matching reaches the target number of times and the degree of matching does not reach the target degree of matching.
[0092] The determination device according to the embodiment of the present application performs feature matching between the first feature corresponding to the first information input by the user and the pre-stored second feature through the second determination module to determine the degree of matching. When the degree of matching does not reach the target degree of matching, the third determination module determines the target number of times of matching according to the degree of matching. If the number of times of feature matching reaches the target number of times and the degree of matching does not reach the target degree of matching, the display module displays the target content. Since the target number of times of matching is related to the degree of matching, the target number of times of matching can be reduced when the degree of matching is low, thereby reducing the number of meaningless retry operations performed by the user and improving the user experience.
[0093] In a specific application scenario, it further includes a fourth determination module for performing one of the following: determining the target prompt content as the target content; determining the content in the first target interface as the target content, where the first target interface is used to input second information that is different from the first information; determining first features corresponding to each feature match, performing a fusion process on each of the first features to determine a fused first feature; and determining the target content based on a comparison result between the fused first feature and the second feature.
[0094] In a specific application scenario, the process of determining the target prompt content includes one of the following: determining each of the first features, and when the similarity between each of the first features reaches a target similarity, determining the prompt content including the target information input method as the target prompt content; displaying a second target interface; and when the third information obtained from the second target interface conforms to the target identity information, determining the prompt content representing the target information content as the target prompt content, where the third information is different from the first information.
[0095] In a specific application scenario, the fourth determination module is further configured to: when the similarity between each of the first features does not reach the target similarity, determine the prompt content including the target countdown as the target prompt content, where the target countdown is the remaining duration for re-inputting the first information.
[0096] In a specific application scenario, the fourth determination module is specifically configured to: determine the matching degree between the fused first feature and the second feature; when the matching degree between the fused first feature and the second feature does not reach the target matching degree, determine the content in the first target interface as the target content; and when the matching degree between the fused first feature and the second feature reaches the target matching degree, determine the content in the third target interface as the target content, where the third target interface is different from the first target interface.
[0097] In a specific application scenario, the third determination module is specifically configured to perform one of the following: determining the first matching degree in the case of the first feature match, querying a first relationship table based on the first matching degree to determine the target number of matches, where the first relationship table is determined by the corresponding relationship between different matching degrees and different target numbers of matches; determining each matching degree in the case of a non-first feature match, and querying the first relationship table based on the maximum matching degree among each of the matching degrees to determine the target number of matches.
[0098] In a specific application scenario, the third determination module is further configured to: when the number of times of feature matching has not reached the target number of matches, obtain the first information re-entered by the user; determine the third feature corresponding to the re-entered first information; and when the similarity between the third feature and the first feature is lower than the target similarity, re-determine the target number of matches according to the matching degree corresponding to the third feature.
[0099] In a specific application scenario, the display module is further configured to: when the matching degree reaches the target matching degree, display the third target interface and clear the number of times of feature matching.
[0100] In a specific application scenario, a fusion module is further included, and is configured to: when the feature matching is not performed for the first time, determine the matching degrees corresponding to each time of feature matching; when there are at least two to-be-fused matching degrees among the matching degrees, perform a fusion process on the first features corresponding to the at least two to-be-fused matching degrees to determine a target fusion feature, where the to-be-fused matching degree reaches the first matching degree and is less than the target matching degree; and when the matching degree between the target fusion feature and the second feature reaches the target matching degree, display the third target interface and clear the number of times of feature matching.
[0101] The electronic device in the embodiments of the present application may be a terminal or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present disclosure do not make specific limitations.
[0102] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state drive), etc.
[0103] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements within the essence and protection scope of the present application, and such modifications or equivalent replacements should also be regarded as falling within the protection scope of the present application.
Claims
1. A determination method, comprising: In response to first information input by a user, determining a first feature corresponding to the first information; Perform feature matching on the first feature and the pre-stored second feature to determine the degree of matching; If the matching degree does not reach the target matching degree, determining the target matching number according to the matching degree; When the number of feature matches reaches the target number of matches and the matching degree does not reach the target matching degree, the target content is displayed.
2. The determination method according to claim 1, before displaying the target content, comprising one of the following: determining the target prompt content as the target content; Determining content in a first target interface as the target content, wherein the first target interface is used to input second information, and the second information is different from the first information; Determine each first feature corresponding to each of the feature matches, perform fusion processing on each of the first features, and determine a fused first feature; The target content is determined according to a comparison result of the fused first feature and the second feature.
3. The determination method according to claim 2, wherein the process of determining the target prompt content comprises one of the following: Determine each of the first features, and when the similarities between the first features reach a target similarity, determine the prompt content including the target information input method as the target prompt content; Display the second target interface; In the case where the third information obtained from the second target interface matches the target identity information, the prompt content representing the target information content is determined as the target prompt content, and the third information is different from the first information.
4. The determination method according to claim 3, after determining each of the first features, further comprising: When the similarities between the first features do not all reach the target similarity, a prompt content including a target countdown is determined as the target prompt content, and the target countdown is the remaining time for inputting the first information again.
5. The determination method according to claim 2, wherein determining the target content according to the comparison result of the fused first feature and the second feature comprises: Determining a degree of matching between the fused first feature and the second feature; In a case where the matching degree between the fused first feature and the second feature does not reach the target matching degree, determining the content in the first target interface as the target content; When the matching degree between the fused first feature and the second feature reaches the target matching degree, the content in the third target interface is determined as the target content, and the third target interface is different from the first target interface.
6. The determination method according to claim 1, wherein determining the target matching times according to the matching degree comprises one of the following: Determine a first matching degree when the feature matching is performed for the first time, query a first relationship table according to the first matching degree, and determine the target matching number, wherein the first relationship table is determined by a correspondence between different matching degrees and different target matching numbers; Determine each matching degree when the feature matching is not performed for the first time, query the first relationship table according to the maximum matching degree among the matching degrees, and determine the target matching number.
7. The determination method according to claim 1, after determining the target matching times according to the matching degree, further comprising: When the number of feature matches does not reach the target number of matches, obtaining first information re-entered by the user; A third feature corresponding to the re-input first information is determined, and when a similarity between the third feature and the first feature is lower than a target similarity, a target matching number is re-determined according to a matching degree corresponding to the third feature.
8. The determination method according to claim 1, after determining the matching degree, further comprising: When the matching degree reaches the target matching degree, a third target interface is displayed and the number of feature matching times is cleared.
9. The determination method according to claim 1, after determining the matching degree, further comprising: In the case where the feature matching is not performed for the first time, determining each matching degree corresponding to each feature matching; In the case where there are at least two matching degrees to be fused among the matching degrees, fusing the first features corresponding to the at least two matching degrees to be fused to determine a target fusion feature, and the matching degree to be fused reaches the first matching degree and is less than the target matching degree; When the matching degree between the target fusion feature and the second feature reaches the target matching degree, a third target interface is displayed and the number of feature matching times is cleared.
10. A determination device, comprising: A first determining module, configured to determine a first feature corresponding to first information in response to first information input by a user; A second determination module is used to perform feature matching between the first feature and a pre-stored second feature to determine a matching degree; A third determination module, configured to determine a target matching number of times according to the matching degree if the matching degree does not reach the target matching degree; The display module is used to display the target content when the number of feature matches reaches the target number of matches and the matching degree does not reach the target matching degree.