A method, device, electronic device and storage medium for identity authentication

By determining the target password policy in multiple password policies and performing identity authentication, the problem of interrupting user experience by multiple identity authentication is solved, efficient identity authentication and operation permission management is achieved, and user experience and identity authentication efficiency is improved.

CN110781468BActive Publication Date: 2024-11-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911015415.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-24
Publication Date
2024-11-29
Estimated Expiration
2040-11-11

AI Technical Summary

Technical Problem

In the prior art, multiple identity authentications will interrupt the user's normal operation, reduce the user experience and increase the number of interactions in the identity authentication system, resulting in inefficiency, especially in high-security Internet applications, which is difficult to effectively improve the efficiency of identity authentication.

Method used

By obtaining the identity information submitted by the client, determining the target password policy, verifying it in multiple password policies, and assigning operation permissions to users based on security hierarchy, realizing an interactive identity authentication, simplifying the identity authentication process.

Benefits of technology

While ensuring security, it improves the user's operating experience and identity authentication efficiency, simplifies the interaction between the application and the identity authentication system, and improves the operation efficiency and accuracy of the user's corresponding operation permissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110781468B_ABST
    Figure CN110781468B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for identity authentication. The method includes: obtaining identity information submitted by a client; determining a target password policy for verifying the identity information from multiple password policies; when the identity information is authenticated based on the target password policy, authorizing the client to log in to a third-party application based on the identity information, and assigning the client operation permissions after logging in to the third-party application based on the security level corresponding to the target password policy; and controlling the operation of the client after logging in to the third-party application based on the operation permissions. The present invention can improve the user's operating experience and the efficiency of identity authentication while ensuring security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to an identity authentication processing method, device, electronic device and storage medium. Background Art

[0002] As the use scenarios and functions of Internet applications become more and more extensive, Internet applications are also beginning to involve more and more information security issues. Therefore, when users want to access information in Internet applications, they need to be authenticated, especially for access to core information with a high security level, or when sensitive operations such as payment operations are involved in Internet applications, users need to be authenticated twice.

[0003] It can be seen that although multiple identity authentications in related technologies can ensure security, they will interrupt the user's normal operations, reduce the user's operating experience, and increase the number of round-trip interactions between Internet applications and identity authentication systems, thereby reducing the efficiency of identity authentication. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for processing identity authentication, which can improve the user's operating experience and the efficiency of identity authentication while ensuring security.

[0005] The technical solution of the embodiment of the present invention is achieved as follows:

[0006] An embodiment of the present invention provides a method for processing identity authentication, the method comprising:

[0007] Get the identity information submitted by the client;

[0008] determining a target password policy for verifying the identity information from among a plurality of password policies;

[0009] When the identity information is authenticated based on the target password policy, authorizing the client to log in to the third-party application based on the identity information, and

[0010] Based on the security classification corresponding to the target password policy, assigning the client an operation permission after logging into the third-party application;

[0011] Based on the operation authority, the operation of the client after logging into the third-party application is controlled.

[0012] The embodiment of the present invention further provides an identity authentication processing device, the device comprising:

[0013] An acquisition unit, used to acquire identity information submitted by a client;

[0014] a determination unit, configured to determine a target password policy for verifying the identity information from among a plurality of password policies;

[0015] an authorization unit, configured to, when the identity information is authenticated based on the target password policy, authorize the client to log in to a third-party application based on the identity information;

[0016] an allocating unit, configured to allocate, to the client, operation permissions after logging into the third-party application based on the security classification corresponding to the target password policy;

[0017] A control unit is used to control the operation of the client after logging into the third-party application based on the operation authority.

[0018] In the above solution, the determining unit is further used for:

[0019] Identify the identity information and determine the category of the identity information;

[0020] Based on the category of the identity information, searching the plurality of password policies for a password policy that matches the category of the identity information;

[0021] The password policy found to match the category of the identity information is determined as a target password policy for verifying the identity information.

[0022] In the above solution, the control unit is also used for:

[0023] Determine whether the client submitting the operation to be executed has the corresponding operation authority;

[0024] When the client has the corresponding operation authority, respond to the pending operation submitted by the client;

[0025] When the client does not have the corresponding operation authority, the operation to be executed submitted by the client is rejected.

[0026] In the above solution, the identity authentication processing device also includes:

[0027] The first sending unit is used to send a notification message to the client, where the notification message is used to indicate the operation authority that the client has after currently logging into the third-party application.

[0028] In the above solution, the acquisition unit is further used for:

[0029] Obtaining the ticket information submitted by the client;

[0030] The ticket information is verified, and when the ticket information passes the verification, the identity information of the client corresponding to the ticket information is obtained.

[0031] In the above solution, the identity authentication processing device also includes:

[0032] A detection unit, used to detect the current login mode of the client when submitting the identity information, and the historical login mode of the client;

[0033] A comparison unit, used to compare the current login mode with the historical login mode;

[0034] An authentication unit, configured to authenticate the client submitting the identity information when it is determined that the current login mode is inconsistent with the historical login mode;

[0035] The authentication unit is used to authenticate the identity information based on the target password policy when the authentication is passed.

[0036] In the above solution, the identity authentication processing device also includes:

[0037] A second sending unit, configured to send a prompt message to the client to resubmit identity information when the authentication fails;

[0038] The authentication unit is further configured to perform identity authentication on the resubmitted identity information based on the target password policy after receiving the resubmitted identity information from the client.

[0039] An embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0040] A memory for storing executable instructions;

[0041] The processor is used to implement the identity authentication processing method provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0042] The embodiment of the present invention further provides a storage medium storing executable instructions, which, when executed, are used to implement the identity authentication processing method provided by the embodiment of the present invention.

[0043] The application of the above embodiments of the present invention has the following beneficial effects:

[0044] The identity authentication processing method, device, electronic device and storage medium provided in the embodiment of the present invention are applied to obtain identity information submitted by the client, and complete the identity authentication of the identity information in one interaction through the target password policy, so as to avoid interruption of the user's normal operation and simplify the interaction process between the application and the identity authentication system, thereby improving the user's operating experience and the efficiency of identity authentication while ensuring security; the embodiment of the present invention allocates post-login operation permissions to the user based on the security classification corresponding to the target password policy, which can improve the efficiency and accuracy of the user's operations corresponding to the operation permissions on the basis of improving the efficiency of identity authentication. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 This is a schematic diagram of the principle structure of identity authentication provided in the relevant technology;

[0046] Figure 2 A schematic diagram of an optional architecture of an identity authentication processing system 10 provided in an embodiment of the present invention;

[0047] Figure 3 A schematic diagram of an optional hardware structure of an electronic device 30 provided in an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of an optional composition structure of the identity authentication processing device 355 provided in an embodiment of the present invention;

[0049] FIG. 5A to FIG. 5D An optional flowchart of an identity authentication processing method provided by an embodiment of the present invention;

[0050] FIG. 6A to FIG. 6C They are respectively display schematic diagrams of the unified login interface provided by the embodiments of the present invention;

[0051] Figure 7 An optional schematic diagram of the principle structure of an identity authentication processing method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments. However, it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments, and the various technical solutions recorded in the embodiments of the present invention may be combined with each other without conflict.

[0054] In the following description, the terms "first", "second", etc. are only used to distinguish similar objects and do not represent a specific order or sequence for the objects. It can be understood that "first", "second", etc. can be interchanged with the specific order or sequence where permitted, so that the embodiments of the present invention described here can be implemented in an order other than that shown or described.

[0055] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present invention have the same meanings as those commonly understood by those skilled in the art of the technical field of the embodiments of the present invention. The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0056] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described first. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.

[0057] 1) Identity authentication, also known as identity verification or identity identification, refers to the process of confirming the identity of an operator in a computer and computer network system, thereby determining whether the operator has access to and permission to use a certain resource. In other words, the identity authentication process is actually the process of determining whether the operating user is a legitimate user. Only when the operating user is a legitimate user can the user have access to and permission to use a certain resource.

[0058] 2) Ticket information is used to mark the user's identity information. It can be a string with a certain degree of randomness. The ticket information can be verified through a signature or back-end authorized interface. The ticket information can ensure that the user's identity information is not forged by malicious attackers, thereby ensuring the security of the user's identity information.

[0059] 3) Unified identity authentication: the identity authentication process is completed centrally by sharing ticket information with the unified identity authentication background, which then completes the authentication of the user's identity information.

[0060] 4) Operation permission level, which refers to the different ranges of operation permissions that users have. For example, when the operation permission level is low, the corresponding user only has the permission to view basic information. For another example, when the operation permission level is high, the corresponding user not only has the permission to view basic information, but also has the permission to modify and delete information, etc.

[0061] 5) Password policy refers to the requirements for password complexity. For example, the password setting requirement is "the password must contain uppercase and lowercase letters and numbers, and the password length cannot be less than 9 characters."

[0062] The following uses Internet applications as enterprise applications as an example to illustrate the identity authentication processing solutions provided in related technologies.

[0063] Most of the existing mainstream identity authentication methods also support multiple identity authentication methods. For example, users can authenticate by providing basic identity authentication information, such as a static password set by the user or a mobile phone verification code. For another example, users can authenticate by completing specific actions, such as scanning a code, biometric recognition (such as fingerprint recognition, face recognition, etc.). After the user's identity authentication is passed, the user can have the operation authority of the corresponding enterprise application.

[0064] See also Figure 1 , Figure 1 This is a schematic diagram of the principle structure of identity authentication provided in the relevant technology. Under normal circumstances, the user submits the static password and user name set when registering. After receiving the static password, the unified identity authentication platform in the enterprise verifies the static password. When the static password is verified, the user can be allowed to view the basic information related to the enterprise; when the user submits an access request for core information with a high security level, or needs to involve sensitive operations, such as modifying or deleting the personal information of employees in the enterprise, the unified identity authentication platform will adopt additional identity authentication methods, such as a mobile phone verification code to perform secondary verification on the user to confirm the user's legal identity. In actual applications, traditional static passwords are easily leaked or guessed by others, resulting in the risk of corporate information leakage. In the relevant technology, the secondary verification method that is not easy to leak and cannot be guessed can avoid the leakage and destruction of core information to a certain extent.

[0065] The above-mentioned identity authentication processing method in the related technology is applicable to most scenarios. Generally speaking, secondary verification belongs to a low-frequency scenario, but for high-frequency scenarios of access to information with high security requirements or sensitive operations (such as deleting or modifying information, payment operations, etc.) in enterprise applications, if identity authentication is performed multiple times, it will interrupt the user's normal operation and reduce the user's operating experience. It will also increase the number of round-trip interactions between enterprise applications and the identity authentication system, making the identity authentication process complicated and reducing the efficiency of identity authentication.

[0066] It can be seen that the relevant technologies lack effective solutions on how to improve the user's operating experience and the efficiency of identity authentication while ensuring security.

[0067] In order to at least solve the above-mentioned technical problems of the related art, the embodiments of the present invention provide a method, device, electronic device and storage medium for identity authentication, which can improve the user's operating experience and the efficiency of identity authentication while ensuring security.

[0068] The following describes an exemplary application of an electronic device that implements the identity authentication processing method of an embodiment of the present invention. The electronic device provided by the embodiment of the present invention can be implemented as various types of terminal devices with identity authentication functions, such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), etc., and can also be implemented as a server with an identity authentication function, such as a server deployed in a unified identity authentication background.

[0069] The following will describe an exemplary application of the identity authentication processing system according to an embodiment of the present invention with reference to the accompanying drawings. Figure 2 , Figure 2 An optional architecture diagram of an identity authentication processing system 10 provided in an embodiment of the present invention, to implement an exemplary application supported, a terminal 100 ( Figure 2 exemplarily shows that the terminal 100-1 and the terminal 100-2 can input different types of identity information in the unified login interface and receive the operation authority of the corresponding third-party application assigned by the server 300 after the terminal 100 is authorized to log in. Here, the terminal 100 can be connected to the server 300 through the network 200 based on various wireless communication methods or wired communication methods. Among them, the network 200 can be a wide area network or a local area network, or a combination of the two, using a wireless link to realize data transmission.

[0070] In some embodiments, the terminal 100 submits identity information to be verified to the server 300 through the network 200, and calls the identity authentication function provided by the server 300 to execute the identity authentication processing method provided by the embodiment of the present invention. Specifically, after obtaining the identity information to be verified submitted by the terminal 100, first determine the target password policy for verifying the identity information from multiple password policies, and then, authenticate the identity information to be verified submitted by the terminal 100 based on the target password policy. When the identity information to be verified submitted by the terminal 100 is authenticated based on the target password policy, the terminal 100 is authorized to log in to the third-party application based on the identity information. After the terminal 100 logs in to the third application, the server 300 can also allocate the terminal 100 with the operation authority after logging in to the third-party application based on the security level corresponding to the target password policy, and control the operation of the terminal 100 after logging in to the third-party application based on the operation authority.

[0071] In actual implementation, after the server 300 assigns the operation authority after logging into the third-party application to the terminal 100, it can also send a notification message to the terminal 100, where the notification message is used to indicate the operation authority that the terminal 100 currently has after logging into the third-party application. The terminal 100 can Figure 2The graphical interface 110 - 1 and the graphical interface 110 - 2 exemplarily show that the received notification message is displayed in the graphical interface 110 - 1 and the graphical interface 110 - 2 , so that the user corresponding to the terminal 100 can choose to perform the operation corresponding to the operation authority according to the notification message.

[0072] Next, the hardware structure of the electronic device implementing the identity authentication processing method of the embodiment of the present invention is described. The electronic device can be implemented as a terminal device with an identity authentication function, and can also be implemented as Figure 2 A server 300 with identity authentication functionality is shown.

[0073] See also Figure 3 , Figure 3 This is an optional hardware structure diagram of the electronic device 30 provided in the embodiment of the present invention. It can be understood that: Figure 3 Only exemplary structures of electronic devices are shown, not all structures, and may be implemented as needed. Figure 3 The electronic device 30 provided in the embodiment of the present invention includes: at least one processor 310, a memory 350, at least one network interface 320 and a user interface 330. The various components in the electronic device 30 are coupled together through a bus system 340. It can be understood that the bus system 340 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 340 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 3 Various buses are labeled as bus system 340 .

[0074] The processor 310 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0075] The user interface 330 includes one or more output devices 331 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 330 also includes one or more input devices 332, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0076] The memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 350 may optionally include one or more storage devices that are physically remote from the processor 310.

[0077] The memory 350 includes a volatile memory or a nonvolatile memory, and may also include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 350 described in the embodiment of the present invention is intended to include any suitable type of memory.

[0078] In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0079] Operating system 351, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0080] A network communication module 352, for reaching other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);

[0081] a presentation module 353 for enabling presentation of information via one or more output devices 331 (e.g., display screen, speaker, etc.) associated with the user interface 330 (e.g., a user interface for operating peripherals and displaying content and information);

[0082] The input processing module 354 is used to detect one or more user inputs or interactions from one of the one or more input devices 332 and translate the detected inputs or interactions.

[0083] In some embodiments, the identity authentication processing device provided by the embodiments of the present invention can be implemented in software. Figure 3 The identity authentication processing device 355 stored in the memory 350 is shown, which can be software in the form of programs and plug-ins, including a series of software modules, see Figure 4 , Figure 4An optional structural diagram of the identity authentication processing device 355 provided in the embodiment of the present invention, for example, the identity authentication processing device 355 provided in the embodiment of the present invention includes an acquisition unit 3551, a determination unit 3552, an authorization unit 3553, an allocation unit 3554 and a control unit 3555. The functions of these units are logical, so they can be arbitrarily combined or further split according to the functions implemented by each software module. It should be noted that for Figure 4 The specific functions of the various units in the identity authentication processing device 355 provided in the embodiment of the present invention will be described below.

[0084] In other embodiments, the identity authentication processing device 355 provided in the embodiment of the present invention can be implemented in hardware. As an example, the identity authentication processing device 355 provided in the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the identity authentication processing method provided in the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.

[0085] The following will describe the implementation of the identity authentication processing method provided by the embodiment of the present invention in conjunction with the exemplary application and implementation of the electronic device provided by the embodiment of the present invention. Figure 5A , Figure 5A An optional flow chart of the identity authentication processing method provided in the embodiment of the present invention is shown below, taking the server deployed in the unified identity authentication background as an example, combined with Figure 5A The steps shown are explained.

[0086] Step 501: Obtain identity information submitted by the client.

[0087] In the embodiment of the present invention, the identity information submitted by the client is information used to authenticate the user, including but not limited to user name and password information and biometric information. The password in the user name and password information can be a static password or a dynamic code; the biometric information includes but is not limited to face, fingerprint, iris and other information.

[0088] Generally speaking, static passwords are generally required to contain letters. For example, the user name is "Zhang San", and the corresponding static password is "zhangsan-1980$", while the dynamic code is a password that only includes pure numbers. It can generally be a combination of a fixed number and a time-based one-time password (TOTP) generated according to a key, or a one-time password (OTP), a mobile phone verification code, or a password generated by a universal two-factor verification (U2F). Among them, the number of digits of the fixed number and the number of digits of the TOTP are not limited. Preferably, the number of digits of the fixed number and the number of digits of the TOTP are 6 digits. The higher the number of digits of the password, the higher the security. For example, the user name is "Zhang San", and the corresponding dynamic code includes a fixed number "666859" set by Zhang San himself, and a six-digit TOTP "123589" generated according to a key. It should be noted that TOTP can be a mobile phone verification code. Usually, TOTP has time validity, that is, TOTP is valid within a valid time period. When the time interval exceeds a time threshold, such as 30 seconds, TOTP will be invalid. The key is only stored in a secure server to ensure the security of the dynamic code.

[0089] In some embodiments, the client can enter and submit identity information through the unified login interface. For example, the identity information is the username and password information. FIG. 6A to FIG. 6C , FIG. 6A to FIG. 6C They are respectively display schematic diagrams of the unified login interface provided in the embodiments of the present invention. It can be seen that at the password input position, the user can enter the corresponding type of password according to the prompt message on the interface, that is, enter "password" or "dynamic code", and the "password" here is actually the aforementioned static password.

[0090] exist Fig. 6A In the login of ordinary Internet applications, users can log in by entering "user name" and "password or dynamic code". When the Internet application is a sensitive system, it is mandatory to verify the dynamic code. At this time, the password input area will become Figure 6B "Enter dynamic code" is shown, that is, the user can only log in by entering the dynamic code in the unified login interface. If the user still enters the static password at this time, the unified login interface will display the following Figure 6C The prompt message shown is "You entered a static password, please enter a dynamic code to access sensitive applications." At this time, the user should enter the dynamic code to log in according to the prompt message, otherwise the Internet application will restrict the user from logging in.

[0091] In some embodiments, see Figure 5B , Figure 5BAn optional flow chart of the identity authentication processing method provided in the embodiment of the present invention, based on Figure 5A The acquisition of identity information submitted by the client in the above step 501 can also be achieved through the following steps 5011 and 5012, which will be explained in combination with each step below.

[0092] Step 5011, obtaining the ticket information submitted by the client.

[0093] Step 5012, verify the ticket information, and when the ticket information passes the verification, obtain the identity information of the client corresponding to the ticket information.

[0094] In the embodiment of the present invention, the ticket information can be a string with a certain degree of randomness, which is highly secure. Usually, attackers cannot guess or forge the ticket information. Therefore, when the client presents the ticket information, the server with identity authentication function verifies the ticket information after receiving the ticket information submitted by the client. When the ticket information is verified, it indicates that the client presenting the ticket information is a client with a trusted identity. At this time, the server with identity authentication function can obtain the identity information of the client corresponding to the ticket information. It can be seen that the embodiment of the present invention can avoid attacks by malicious attackers by verifying the ticket information submitted by the client, and improve the accuracy of obtaining the client's identity information while ensuring that the client is a legitimate user.

[0095] Step 502: Determine a target password policy for verifying the identity information from among multiple password policies.

[0096] In some embodiments, see Figure 5C , Figure 5C An optional flow chart of the identity authentication processing method provided in the embodiment of the present invention, based on Figure 5A The step 502 of determining a target password policy for verifying the identity information from among multiple password policies can also be implemented by following the steps 5021 to 5023, which will be described below in conjunction with each step.

[0097] Step 5021, identify the identity information and determine the category of the identity information.

[0098] Step 5022: Based on the category of the identity information, search through multiple password policies to find a password policy that matches the category of the identity information.

[0099] Step 5023: determine the password policy that matches the category of the identity information as the target password policy for verifying the identity information.

[0100] In an embodiment of the present invention, the identity information submitted by the client is parsed to obtain the specific content of the identity information, and then the category of the identity information is determined based on the specific content of the identity information. For example, if the identity information submitted by the client is a password containing letters, it can be determined that the category of the identity information belongs to a static password of the letter type by judging that the password contains letters. For another example, if the identity information submitted by the client is pure digital identity information, it can be determined that the category of the identity information belongs to a dynamic code by judging that the password contains only pure numbers. Of course, in an embodiment of the present invention, the category of identity information is not limited to static passwords of the letter type and dynamic codes of the pure digital type, but can also include identity information of the biometric type. Multiple password policies include two or more mutually exclusive password policies, such as static password policies, dynamic code policies, etc.

[0101] In some embodiments, for the implementation of traversing and searching for a password policy that matches the category of identity information from multiple password policies, multiple password policies may be traversed in sequence, and the password policy that matches the category of identity information may be searched according to a preset mapping relationship between the category of identity information and the password policy. In some examples, in order to improve the efficiency of querying the target password policy, embodiments of the present invention may sequentially traverse and search for each of the multiple password policies.

[0102] In some embodiments, after the server with an identity authentication function determines a target password policy for verifying the identity information from multiple password policies, it can authenticate the identity information based on the determined target password policy to determine whether the client can be authorized to log in to the third-party application. In some examples, the identity authentication processing method may also include: after determining the target password policy for verifying the identity information, verifying the target password policy, and when the target password policy is verified, authenticating the identity information based on the verified target password policy.

[0103] Here, the embodiment of the present invention can ensure that only legitimate users who submit correct identity information can pass identity authentication by verifying the target password policy. Different password policies correspond to different verification processes. The verification method usually adopted is to query the database or verify the target password policy according to a password algorithm such as the TOTP algorithm. For example, when the determined target password policy is a static password policy, it can be checked whether the static password submitted by the client matches the password stored in the database. If the match is successful, the identity information can be authenticated based on the verified target password policy.

[0104] Step 503: When the identity information is authenticated based on the target password policy, the client is authorized to log in to a third-party application based on the identity information.

[0105] In an embodiment of the present invention, when a server with an identity authentication function performs identity authentication on the identity information submitted by a client based on a target password policy, it indicates that the client submitting the identity information has a trusted identity, and the client can be authorized to log in to a third-party application based on the identity information; when the identity authentication on the identity information submitted by the client fails based on the target password policy, it indicates that the client submitting the identity information does not have a trusted identity, and the client cannot be authorized to log in to the third-party application based on the identity information.

[0106] In some embodiments, the identity authentication processing method also includes: detecting the current login method when the client submits the identity information, and the historical login method of the client; comparing the current login method with the historical login method, and when it is determined that the current login method and the historical login method are inconsistent, authenticating the client submitting the identity information; when the authentication is passed, authenticating the identity information based on the target password policy. Here, when the current login method when the client submits the identity information is inconsistent with the historical login method adopted, the client may be suspected of not having a credible identity. At this time, the client needs to be further authenticated to confirm that the client has a legal identity and ensure the security of the information. Therefore, only when the client submitting the identity information is authenticated, can the identity information be authenticated based on the target password policy.

[0107] In other embodiments, the identity authentication processing method further includes: when the authentication fails, sending a prompt message to the client to resubmit the identity information; after receiving the identity information resubmitted by the client, authenticating the resubmitted identity information based on the target password policy.

[0108] In other embodiments, the identity authentication processing method also includes: after sending a prompt message to the client to resubmit the identity information, detecting whether the number of times the client has input the identity information exceeds a number threshold; when it is determined that the number of times the client has input the identity information exceeds the number threshold, sending a message to the client refusing to re-enter the identity information; when it is determined that the number of times the client has input the identity information does not exceed the number threshold, sending a message to the client allowing the identity information to be re-entered.

[0109] Step 504: Based on the security level corresponding to the target password policy, the client is assigned operation permissions after logging into the third-party application.

[0110] In some embodiments, the identity authentication processing method further includes: identifying the target password policy and determining the security level corresponding to the target password policy. In an embodiment of the present invention, different password policies correspond to different security levels, and the number of security levels corresponding to the password policies can be set according to the needs of Internet applications, such as enterprise applications, and is not limited here. Generally speaking, the security level corresponding to the password policy is at least two levels. Of course, when the scale of enterprise applications is very large, in order to improve the efficiency and convenience of managing enterprise applications, the security level corresponding to the password policy can be set to three or more levels.

[0111] In some embodiments, the identity authentication processing method further includes: sending a notification message to the client, the notification message is used to indicate the operation permissions that the client currently has after logging into the third-party application. In other words, by receiving the notification message sent by the server with identity authentication function, the client can quickly learn the operation permissions that it currently has after logging into the third-party application, and then the client can accurately perform operations corresponding to the operation permissions, thereby improving the user's operation experience.

[0112] Step 505: Based on the operation authority, control the operation of the client after logging into the third-party application.

[0113] In some embodiments, see Figure 5D , Figure 5D An optional flow chart of the identity authentication processing method provided in the embodiment of the present invention, based on Figure 5A The above step 505, based on the operation authority, controls the operation of the client after logging into the third-party application, and can also be implemented by the following steps 5051 to 5054, which will be explained in combination with each step below.

[0114] Step 5051, receiving the pending operation submitted by the client.

[0115] In the embodiment of the present invention, the operations to be performed submitted by the client may include but are not limited to operations of viewing basic information, operations of viewing core information, payment operations, operations of modifying or deleting information, and the like.

[0116] Step 5052, determining whether the client submitting the operation to be executed has the corresponding operation authority. When it is determined that the client has the corresponding operation authority, executing step 5053, otherwise executing step 5054.

[0117] Step 5053: respond to the pending operation submitted by the client.

[0118] Step 5054: reject the pending operation submitted by the client.

[0119] In an embodiment of the present invention, a server with an identity authentication function can determine the method of controlling the pending operation submitted by the client according to the storage location of the data corresponding to the pending operation. The storage location of the data corresponding to the pending operation submitted by the client includes the local client and the backend. Specifically, the operation of the client after logging into the third-party application based on the operation authority can include the following two situations:

[0120] In the first case, if the pending operation submitted by the client is a read, write or delete operation on the client's local data, the server with identity authentication function needs to inform the client of the operation permissions it has after logging into the third-party application, and then the client itself controls the submitted pending operation;

[0121] In the second case, if the pending operation submitted by the client is an operation such as reading, writing, deleting, or paying for background data, the background server can directly control the pending operation submitted by the client based on the operation authority.

[0122] By adopting the technical solution provided by the embodiment of the present invention, the identity information submitted by the client is obtained, and the target password policy is determined from multiple mutually exclusive password policies. Then, based on the target password policy, the identity authentication of the identity information is completed in one interaction, so as to avoid interruption of the normal operation of the user, simplify the interaction process between the application and the identity authentication system, thereby improving the user's operating experience and the efficiency of identity authentication while ensuring security; the embodiment of the present invention allocates post-login operation permissions to the user based on the security classification corresponding to the target password policy, which can improve the efficiency and accuracy of the user's operation of the corresponding operation permissions on the basis of improving the efficiency of identity authentication.

[0123] The following describes an exemplary application of an embodiment of the present invention in a practical application scenario.

[0124] Taking the identity information submitted by the client as "password (i.e. static password)" or "dynamic code" as an example, the implementation principle of the identity authentication processing method provided by the embodiment of the present invention is described. Figure 7 , Figure 7 An optional principle structure diagram of the identity authentication processing method provided in the embodiment of the present invention, the user can Fig. 6A , Figure 6B , Figure 6CThe user inputs the identity information to be verified in any unified login interface. After receiving the identity information to be verified input and submitted by the user, the server of the unified identity authentication background sequentially traverses two or more mutually exclusive password policies, determines a target password policy that matches the category of the identity information to be verified from multiple mutually exclusive password policies, and then verifies the target password policy. When the target password policy is verified, the identity information to be verified is authenticated based on the verified target password policy. When the identity information to be verified is authenticated, the unified identity authentication background authorizes the client to log in, and allocates post-login operation permissions to the client based on the security level corresponding to the identified target password policy. A notification message may also be sent to the client to notify the client of operations with corresponding operation permissions after currently logging in to the third-party application.

[0125] For example, if the user enters a static password containing letters, the target password policy is determined to be a static password policy, and the security level corresponding to the static password policy is low, that is, the static password policy is a low-security password policy. At this time, the operation permissions assigned to the client after login by the unified identity authentication background are also correspondingly low, that is, only the client user is allowed to access basic information; for another example, if the user enters a purely digital TOTP-type dynamic code, the target password policy is determined to be a dynamic code policy, and the security level corresponding to the dynamic code policy is high, that is, the dynamic code policy is a high-security password policy. At this time, the operation permissions assigned to the client after login by the unified identity authentication background are also correspondingly high, that is, the client can be allowed to perform sensitive operations, such as deleting or modifying information, payment operations, etc.

[0126] In actual applications, when Internet applications are enterprise applications, some "guest" users will also be encountered, such as partners logging into enterprise applications to perform certain operations. Usually, such users can access limited enterprise resources, and generally use a "password" to authenticate the identity information to be verified, and after the identity authentication is passed, they can only access basic information related to the enterprise and cannot perform sensitive operations; for employees within the enterprise, it is generally preferred to use the "dynamic code" method for identity authentication, and sensitive operations can be performed after the identity authentication is passed.

[0127] The technical solution provided by the embodiment of the present invention adopts a consistent login interaction interface, so that the two types of users who input "only dynamic code allowed" and "only static password allowed" do not need to make their own judgments or choose login methods. The unified identity authentication background performs identity authentication on the identity information to be verified according to the target password policy determined from multiple password policies, thereby improving the operation experience and verification efficiency of various types of users. The embodiment of the present invention combines the basic identity authentication and secondary authentication processes, simplifies the interaction process of unified identity authentication within the enterprise, and improves the efficiency of identity authentication while ensuring security; at the same time, it provides friendly support for the authentication of "guest" users, avoiding the inability of "guest" users to log in due to selecting mismatched login methods.

[0128] Next, the software implementation of the identity authentication processing device 355 provided in the embodiment of the present invention is described.

[0129] The software modules included in the memory 350 of the electronic device 30 that implements the identity authentication processing method of the embodiment of the present invention are described as an example. For details not included in the functional description of the module below, please refer to the above for understanding.

[0130] An acquisition unit 3551 is used to acquire identity information submitted by a client; a determination unit 3552 is used to determine a target password policy for verifying the identity information from a plurality of password policies; an authorization unit 3553 is used to authorize the client to log in to a third-party application based on the identity information when the identity information is authenticated based on the target password policy; an allocation unit 3554 is used to allocate, to the client, operating permissions after logging in to the third-party application based on the security level corresponding to the target password policy; and a control unit 3555 is used to control the operation of the client after logging in to the third-party application based on the operating permissions.

[0131] In some embodiments, the acquisition unit may acquire the identity information submitted by the client in the following manner:

[0132] Obtain the ticket information submitted by the client; verify the ticket information, and when the ticket information passes the verification, obtain the identity information of the client corresponding to the ticket information.

[0133] In some embodiments, the determining unit determines the target password policy for verifying the identity information from among the multiple password policies, which can be implemented in the following manner:

[0134] The identity information is identified to determine the category of the identity information; based on the category of the identity information, a password policy that matches the category of the identity information is traversed from the multiple password policies; the password policy that matches the category of the identity information is determined as a target password policy for verifying the identity information.

[0135] In some embodiments, the control unit controls the operation of the client after logging into the third-party application based on the operation authority, which can be implemented in the following manner:

[0136] Determine whether the client that submits the operation to be executed has the corresponding operation authority; when the client has the corresponding operation authority, respond to the operation to be executed submitted by the client; when the client does not have the corresponding operation authority, reject the operation to be executed submitted by the client.

[0137] In some embodiments, the identity authentication processing device may further include:

[0138] The first sending unit is used to send a notification message to the client, where the notification message is used to indicate the operation authority that the client has after currently logging into the third-party application.

[0139] In some embodiments, the identity authentication processing device may further include:

[0140] A detection unit, used to detect the current login mode of the client when submitting the identity information, and the historical login mode of the client;

[0141] A comparison unit, used to compare the current login mode with the historical login mode;

[0142] An authentication unit, configured to authenticate the client submitting the identity information when it is determined that the current login mode is inconsistent with the historical login mode;

[0143] The authentication unit is used to authenticate the identity information based on the target password policy when the authentication is passed.

[0144] In some other embodiments, the identity authentication processing device may further include:

[0145] A second sending unit, configured to send a prompt message to the client to resubmit identity information when the authentication fails;

[0146] The authentication unit is further configured to perform identity authentication on the resubmitted identity information based on the target password policy after receiving the resubmitted identity information from the client.

[0147] In some embodiments, the identity authentication processing device may further include:

[0148] a verification unit, configured to verify the target password policy after the determination unit determines the target password policy for verifying the identity information;

[0149] The authentication unit is further configured to perform identity authentication on the identity information based on the verified target password policy when the target password policy is verified.

[0150] The embodiment of the present invention further provides a storage medium storing executable instructions, which, when executed, are used to implement the identity authentication processing method provided by the embodiment of the present invention, for example, FIG. 5A to FIG. 5D , Figure 7 The method shown.

[0151] In some embodiments, the storage medium may specifically be a computer-readable storage medium, such as a ferroelectric random access memory (FRAM), ROM, PROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disk or compact disc read-only memory (CD-ROM), etc.; it may also be various devices including one or any combination of the above memories.

[0152] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0153] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0154] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0155] In summary, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0156] The embodiment of the present invention obtains the identity information submitted by the client, and completes the identity authentication of the identity information in one interaction through the target password policy, thereby avoiding the interruption of the user's normal operation and simplifying the interaction process between the application and the identity authentication system, thereby ensuring security while improving the user's operating experience and the efficiency of identity authentication; in addition, the embodiment of the present invention can also allocate post-login operation permissions to the user based on the security classification corresponding to the target password policy, which can improve the efficiency and accuracy of the user's operations corresponding to the operation permissions on the basis of improving the efficiency of identity authentication.

[0157] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for processing identity authentication, characterized in that: The method comprises: Obtaining identity information submitted by the client, wherein the identity information includes user name and password information, and the user name and password information includes a static password or a dynamic code; Identify the identity information and determine the category of the identity information; when the identity information is a password containing letters, determine that the category of the identity information belongs to the static password; when the identity information is pure numbers, determine that the category of the identity information belongs to the dynamic code; Based on the category of the identity information, searching from multiple password policies for a password policy that matches the category of the identity information; Determining the password policy found to match the category of the identity information as a target password policy for verifying the identity information; When the identity information is authenticated based on the target password policy, authorizing the client to log in to the third-party application based on the identity information, and Based on the security classification corresponding to the target password policy, assigning the client an operation permission after logging into the third-party application; Based on the operation authority, the operation of the client after logging into the third-party application is controlled.

2. The method according to claim 1, characterized in that The controlling the operation of the client after logging into the third-party application based on the operation authority includes: Determine whether the client submitting the operation to be executed has the corresponding operation authority; When the client has the corresponding operation authority, respond to the pending operation submitted by the client; When the client does not have the corresponding operation authority, the operation to be executed submitted by the client is rejected.

3. The method according to claim 1, characterized in that The method further comprises: A notification message is sent to the client, where the notification message is used to indicate the operation authority that the client currently has after logging into the third-party application.

4. The method according to claim 1, characterized in that The obtaining of identity information submitted by the client includes: Obtaining the ticket information submitted by the client; The ticket information is verified, and when the ticket information passes the verification, the identity information of the client corresponding to the ticket information is obtained.

5. The method according to claim 1, characterized in that The method further comprises: Detecting the current login mode of the client when submitting the identity information, and the historical login modes of the client; Comparing the current login method with the historical login method, and when it is determined that the current login method is inconsistent with the historical login method, authenticating the client that submitted the identity information; When the authentication is passed, the identity information is authenticated based on the target password policy.

6. The method according to claim 5, characterized in that The method further comprises: When the authentication fails, a prompt message is sent to the client to resubmit the identity information; After receiving the identity information resubmitted by the client, identity authentication is performed on the resubmitted identity information based on the target password policy.

7. An identity authentication processing device, characterized in that: The device comprises: An acquisition unit, configured to acquire identity information submitted by a client, wherein the identity information includes user name and password information, and the user name and password information includes a static password or a dynamic code; a determination unit, configured to identify the identity information and determine the category of the identity information; when the identity information is a password containing letters, determine that the category of the identity information belongs to the static password; when the identity information is pure numbers, determine that the category of the identity information belongs to the dynamic code; based on the category of the identity information, traverse multiple password policies to find a password policy that matches the category of the identity information; determine the password policy that matches the category of the identity information found as a target password policy for verifying the identity information; an authorization unit, configured to, when the identity information is authenticated based on the target password policy, authorize the client to log in to a third-party application based on the identity information; an allocating unit, configured to allocate, to the client, operation permissions after logging into the third-party application based on the security classification corresponding to the target password policy; A control unit is used to control the operation of the client after logging into the third-party application based on the operation authority.

8. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the identity authentication processing method as described in any one of claims 1 to 6 when executing the executable instructions stored in the memory.

9. A storage medium, characterized in that: Executable instructions are stored, and when the executable instructions are executed, they are used to implement the identity authentication processing method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Abnormal login detecting method and device

    CN102325062A

  • Access control method, system and server

    CN103400067A