User login management method and system

By performing whitelist checking and unique ID generation in the user registration interface, combining hashing processing and decentralized identity authentication of the HTTPS protocol, the problem of shared login and malicious attacks of multiple users is solved, and the secure login of user accounts and passwords is achieved.

CN118900190APending Publication Date: 2024-11-05CHINA HUANENG GRP CO LTD BEIJING TENDERING BRANCH +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410800657.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

In the prior art, it is impossible to distinguish multiple users from using the same computer to log in at the same time, which is vulnerable to malicious attacks, and the security of user accounts and passwords is difficult to guarantee.

Method used

By obtaining basic information in the user registration interface for whitelisting checks, using the user's unique ID to generate a unique session identifier, and hashing and decentralized identity authentication under the HTTPS protocol to ensure password security and data encryption.

Benefits of technology

Effectively prevent unauthorized malicious attacks, protect user accounts and passwords, and achieve secure login.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118900190A_ABST
    Figure CN118900190A_ABST
Patent Text Reader

Abstract

The invention provides a user login management method and system, and belongs to the technical field of login management, and the method comprises the steps: obtaining basic information input by a user on a user registration interface, carrying out the white list inspection of the basic information after the user input is captured, and determining a possible attack technique according to an inspection result; if the existing attack technique is 0, using the unique ID of the user to distribute a unique session identification window to the user; capturing a login account and a password input by the user in a unique session identification window, performing hash processing, and verifying the password security according to a processing result; and encrypting the data of the user according to the decentralized identity authentication and data storage according to the security verification result in combination with an HTTPS (Hyper Text Transfer Protocol Secure Security) protocol, so as to realize the security login of the user. The problems that a plurality of users cannot be distinguished to log in by using the same computer at the same time, hostile attacks are likely to happen, accounts and passwords of the users are likely to be stolen, and safe login of the users cannot be guaranteed are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of login management, and in particular to a user login management method and system. Background Art

[0002] As the company's business grows, an efficient, secure and easy-to-maintain user login management method is needed.

[0003] The current login restriction method used is based on IP addresses, but this method has many problems, such as being unable to distinguish multiple users logging in at the same time using the same computer, being vulnerable to malicious attacks, and user accounts and passwords being easily stolen, making it impossible to guarantee user login security.

[0004] Therefore, the present invention proposes a user login management method and system. Summary of the invention

[0005] The present invention provides a user login management method and system to solve the defects in the prior art that multiple users logging in simultaneously using the same computer cannot be distinguished, and the system is vulnerable to malicious attacks. Meanwhile, user accounts and passwords are easily stolen, and the user's secure login cannot be guaranteed.

[0006] In one aspect, the present invention provides a user login management method, comprising: Step 1: Obtain basic information entered by the user on the user registration interface. After capturing the user input, perform a whitelist check on the basic information and determine possible attack methods based on the check results. Step 2: If the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Step 3: Capture the login account and password entered by the user in the unique session identification window, perform hash processing, and verify the password security based on the processing result; Step 4: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

[0007] According to a user login management method provided by the present invention, a whitelist check is performed on basic information, and possible attack methods are determined according to the check results, including: Get the development framework of the user registration interface; Capturing basic information input by the user based on the user registration interface and storing it in predefined variables; Creating a legal character set list based on the development framework, and traversing predefined variables according to the legal character set list; Determine possible attack methods based on the traversal results.

[0008] According to a user login management method provided by the present invention, a unique session identification window is allocated to a user using a unique ID of the user, comprising: Get the user's unique ID and generate a new unique session ID based on the timestamp and random number of the basic information entered by the user; storing the new unique session identifier and the user's unique ID in a user information database; The user's request is obtained, and according to the request, a search is performed in the user information database to determine whether a new session identifier needs to be regenerated; if not, a unique session identifier window is allocated according to the new unique session identifier.

[0009] According to a user login management method provided by the present invention, the login account and password input by the user are captured in the unique session identification window, and hashed, and the password security is verified according to the processing result, including: Pass the login account and password as parameters to the server for logical verification; Performing hash processing on the login account and password based on the logic verification result; The processed information is compared with the records in the historical database. If the match is successful, the password is confirmed to be correct. If the match is unsuccessful, the password is confirmed to be incorrect.

[0010] According to a user login management method provided by the present invention, according to the security verification result and in combination with the HTTPS protocol, the user's data is encrypted according to decentralized identity authentication and data storage to achieve secure login of the user, including: Obtain the adapted HTTPS protocol based on the security verification result; Based on blockchain technology, decentralized identity authentication is used to provide each user with a unique identity and to query changes in user identities in real time; Send the user's identity identification and changes in the user's identity to the server via the HTTPS protocol and store the data; Use encryption algorithms to encrypt stored data to achieve secure user login.

[0011] According to a user login management method provided by the present invention, before the login account and password are passed as parameters to the server for logic verification, the method further includes: configuring verification logic to the server, specifically: Get login scenario constraint information; Determine format feature constraints according to login scenario constraint information; Generate specific string identification information according to format feature constraints, and generate table item configuration information according to the string identification information. Loading table item configuration information into a storage unit on the server side; Determine the matching verification logic parameters of the user login account and password, and generate verification logic code according to the matching verification logic parameters; Based on the verification logic code, multiple logic modules are retrieved from a standard logic database and each logic module is simulated to obtain simulation results; Select the target module according to the preset conditions and the simulation results of each logic module; Get the logic description parameters of the target module and configure the verification logic on the server side.

[0012] According to a user login management method provided by the present invention, after determining that the number of attack methods is not zero according to the inspection result, the method further includes: Extract sensitive information from attack methods; Encode the sensitive information in the attack method and obtain the encoding result; Extracting fuzzy state features from the encoding results of sensitive information in the attack method, and constructing a feature matrix corresponding to the sensitive information in the attack method according to the extraction results; Perform nonlinear oscillation test on the characteristic matrix corresponding to the sensitive information in the attack method to obtain the test result; Determine the feature fusion coefficient of the attack method based on the test results of the sensitive information in the attack method: According to the feature fusion coefficient of the attack method, the conflict index between the attack method and the preset service security policy of the server is determined; Determine whether the conflict index is greater than or equal to a preset threshold. If so, confirm that the attack method is highly threatening. If not, confirm that the attack method is low threatening and issue an automatic ignore prompt.

[0013] A user login management system provided according to the present invention includes: Determination module: obtains basic information input by the user on the user registration interface. When the user input is captured, a whitelist check is performed on the basic information, and possible attack methods are determined based on the check results. Allocation module: if the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Verification module: captures the login account and password entered by the user in the unique session identification window, performs hash processing, and verifies the password security according to the processing result; Encryption module: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

[0014] Compared with the prior art, the present invention has the following beneficial effects: Through the whitelist check of the basic information entered by the user, possible attack methods are confirmed, which can effectively prevent unauthorized malicious attacks and access. A unique session identification window is assigned to the user according to the user's unique ID, and the entered password and account are hashed. According to the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage, which can avoid third-party verification, protect the user's account and password, and achieve user's secure login. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a flowchart of a user login management method provided by an embodiment of the present invention; Figure 2 It is a structural diagram of a user login management system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] Embodiment 1: An embodiment of the present invention provides a user login management method, such as Figure 1 As shown, the method mainly includes the following steps: Step 1: Obtain basic information entered by the user on the user registration interface. After capturing the user input, perform a whitelist check on the basic information and determine possible attack methods based on the check results. Step 2: If the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Step 3: Capture the login account and password entered by the user in the unique session identification window, perform hash processing, and verify the password security based on the processing result; Step 4: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

[0019] In this embodiment, the basic information input by the user is, for example, name, user name, and email address.

[0020] In this embodiment, whitelist check is a network security strategy that limits access to and operations on protected resources. A whitelist is a list of users, devices, or services that are allowed to access protected resources or perform specific operations. When a user attempts to access or perform these operations, the system checks whether they are in the whitelist. If they are in the whitelist, access is allowed. If not, access is denied.

[0021] In this embodiment, possible attack methods include: SQL injection: Inserting malicious code into an application to steal, modify, or delete data.

[0022] Cross-site scripting (XSS): The attacker injects malicious code into the web page, causing the browser to send malicious requests and leak user information.

[0023] Social engineering attacks: Obtaining sensitive information such as passwords, verification codes, etc. by deceiving users.

[0024] In this embodiment, the unique session identification window means that in a certain application or system, each user has a unique identifier, and the session is identified by allocating a window based on the identifier.

[0025] In this embodiment, hash processing is a process of converting input data into an output value of a fixed length.

[0026] In this embodiment, HTTPS is an encrypted Web service protocol that provides encryption and identity authentication for Web communications using the SSL / TLS protocol to protect the confidentiality, integrity, and reliability of data during transmission.

[0027] In this embodiment, decentralized identity authentication is a technology that can achieve online identity authentication without relying on traditional centralized identity providers (such as Google, Facebook, etc.). Users no longer need to provide personal information to third-party platforms or use their services.

[0028] The beneficial effects of the above technical solution are: whitelist check is performed through the basic information input by the user to confirm possible attack methods, which can effectively prevent unauthorized malicious attacks and access, allocate a unique session identification window to the user according to the user's unique ID, and hash the input password and account number. According to the security verification result and in combination with the HTTPS protocol, the user's data is encrypted according to decentralized identity authentication and data storage, which can avoid third-party verification, protect the user's account and password, and realize the user's secure login.

[0029] Embodiment 2: Based on Example 1, the embodiment of the present invention performs a whitelist check on basic information and determines possible attack methods according to the check results. The method mainly includes the following steps: Get the development framework of the user registration interface; Capturing basic information input by the user based on the user registration interface and storing it in predefined variables; Creating a legal character set list based on the development framework, and traversing predefined variables according to the legal character set list; Determine possible attack methods based on the traversal results.

[0030] In this embodiment, the development framework refers to a software framework for developing network applications, which provides some common code structures and tools, such as React and Vue.js.

[0031] In this embodiment, the predefined variables refer to variables that are pre-defined in a programming language and can be directly used during program execution. These variables usually have some specific meanings or uses, such as numeric constants and programming syntax structures.

[0032] In this embodiment, the character set list is a list data structure that groups a series of characters or character strings together.

[0033] The beneficial effects of the above technical solution are: capturing the basic information input by the user through the user registration interface and storing it in predefined variables, building a legal character set list based on the development framework, traversing the predefined variables according to the legal character set list, being able to determine the possible attack methods in the information input by the user, and blocking them in time to ensure the security of the login environment.

[0034] Embodiment 3: Based on Example 2, this embodiment of the present invention uses the user's unique ID to allocate a unique session identification window to the user. The method mainly includes the following steps: Get the user's unique ID and generate a new unique session ID based on the timestamp and random number of the basic information entered by the user; storing the new unique session identifier and the user's unique ID in a user information database; The user's request is obtained, and according to the request, a search is performed in the user information database to determine whether a new session identifier needs to be regenerated; if not, a unique session identifier window is allocated according to the new unique session identifier.

[0035] In this embodiment, the user's unique ID is a global and non-repeating number or string used to identify a single user in an application, website, or ecosystem, and is usually assigned by a system administrator and remains unchanged throughout the user life cycle.

[0036] In this embodiment, the timestamp is a digital value representing the date and time, usually in seconds, and is used to record the specific time point when an event occurs, such as the cumulative number of seconds from midnight on January 1, 2024 to a specific time point.

[0037] In this embodiment, random numbers refer to numbers that can present a large number of different values ​​under certain algorithm rules. These values ​​have a certain distribution pattern, but the specific values ​​generated each time are unpredictable.

[0038] In this embodiment, the unique session identifier is a unique identifier used to identify and distinguish the user's session, which can help the server track the user's session status and ensure that each user is only counted as one session, thus avoiding abnormal situations caused by multiple users accessing the same page or function at the same time. The unique session identifier is usually generated by the server and verified in subsequent requests. When the client initiates a request, the server will determine whether the unique session identifier needs to be verified again based on the request content and the user's session information.

[0039] In this embodiment, the user information database is a system for storing and managing user-related information, mainly used to store the user's basic information, account information, permission settings, etc. At the same time, the user information database can also record the user's operation logs, transaction records and other information.

[0040] The beneficial effects of the above technical solution are: a unique session identifier is generated through the user's unique ID and stored in a user information database, the user's request is obtained, and a search is performed in the user information database based on the request to determine whether a new session identifier needs to be regenerated, so that the system can accurately identify and manage the user, thereby ensuring the consistency of the user experience and the stability of the system, and at the same time, ensuring the efficiency of the user's access to the network.

[0041] Embodiment 4: Based on Example 3, the embodiment of the present invention captures the login account and password entered by the user in the unique session identification window, performs hash processing, and verifies the password security according to the processing result. The method mainly includes the following steps: Pass the login account and password as parameters to the server for logical verification; Performing hash processing on the login account and password based on the logic verification result; The processed information is compared with the records in the historical database. If the match is successful, the password is confirmed to be correct. If the match is unsuccessful, the password is confirmed to be incorrect.

[0042] In this embodiment, logic verification refers to a security measure for determining user identity and authorization by checking whether input parameters, user names, passwords, etc. conform to preset rules and conditions.

[0043] In this embodiment, hash processing is a process of converting input data into an output value of a fixed length.

[0044] The beneficial effects of the above technical solution are: logical verification of login accounts and passwords can effectively prevent illegal users from trying to guess or use known information to obtain services or resources that should not be accessed, and hashing of accounts and passwords and comparison of the processed information with records in the historical database can ensure the security of user accounts and passwords.

[0045] Embodiment 5: Based on Example 4, the embodiment of the present invention encrypts the user's data according to the security verification result and in combination with the HTTPS protocol, according to decentralized identity authentication and data storage, to achieve secure login of the user. The method mainly includes the following steps: Obtain the adapted HTTPS protocol based on the security verification result; Based on blockchain technology, decentralized identity authentication is used to provide each user with a unique identity and to query changes in user identities in real time; Send the user's identity identification and changes in the user's identity to the server via the HTTPS protocol and store the data; Use encryption algorithms to encrypt stored data to achieve secure user login.

[0046] In this embodiment, the adapted HTTPS protocol refers to obtaining information about the HTTPS protocol from the security verification results, which can be achieved by analyzing the HTTPS certificate, DV or OCSP response. These responses can tell us whether there is a valid SSL / TLS certificate and whether the certificate has expired. Once enough information is obtained, this information can be used to determine which HTTPS protocols are needed. For example, if the certificate has expired, we need to replace it with a new certificate. If there is no SSL / TLS certificate, we need to add one. Commonly used HTTPS protocols include: TLS1.2, TLS1.3.

[0047] In this embodiment, blockchain technology is a decentralized distributed ledger technology that can record transactions and other types of data and ensure the integrity of the data through a consensus mechanism.

[0048] In this embodiment, the change of user identity means that the user may change his or her identity for certain reasons in certain scenarios. For example, in some application scenarios, the user may need to change their existing roles or permissions. For example, in an e-commerce application, an ordinary user may need to purchase goods and become a premium user of the application to obtain additional functions and services.

[0049] In this embodiment, the encryption algorithm is a technology used to protect information security, and its purpose is to convert plain text into cipher text so that only those who have the key can restore it to plain text. Common encryption algorithms include: symmetric encryption algorithm, asymmetric encryption algorithm, and hash algorithm.

[0050] The beneficial effects of the above technical solution are: by selecting an adapted HTTPS protocol, providing users with a unique identity based on blockchain technology, and querying changes in user identity in real time, storing data, and encrypting the stored data, ensuring the integrity and non-tamperability of user-related data, and improving the security of user login.

[0051] Embodiment 6: Based on Example 4, before passing the login account and password as parameters to the server for logic verification, the embodiment of the present invention further includes: configuring verification logic to the server, and the method mainly includes the following steps: Get login scenario constraint information; Determine format feature constraints according to login scenario constraint information; Generate specific string identification information according to format feature constraints, and generate table item configuration information according to the string identification information. Loading table item configuration information into a storage unit on the server side; Determine the matching verification logic parameters of the user login account and password, and generate verification logic code according to the matching verification logic parameters; Based on the verification logic code, multiple logic modules are retrieved from a standard logic database and each logic module is simulated to obtain simulation results; Select the target module according to the preset conditions and the simulation results of each logic module; Get the logic description parameters of the target module and configure the verification logic on the server side.

[0052] In this embodiment, in the login scenario, there may be some specific constraint information that needs to be considered. This constraint information may come from the system administrator settings, legal and regulatory requirements, and business rules, such as: the user must enter a mobile phone number or email address as a unique identifier, the user must enter a correct password, and the password must be valid for a certain period of time.

[0053] In this embodiment, format feature constraint is a mechanism used during the user login process to ensure the expected format of the input data. The data is verified before it is entered to determine whether it meets the expected format requirements. This verification process may involve checking rules such as character length, character order, data type, etc.

[0054] In this embodiment, the specific string identification information generally refers to a string related to a specific keyword or phrase, and is used to check whether the input data meets expectations, for example: A string without spaces (such as "example@example.com").

[0055] A string containing only letters, numbers, and underscores (such as "Abcd123").

[0056] A string that matches the expected username (such as "johndoe").

[0057] In this embodiment, the table entry configuration information refers to a detailed description of the structure and attributes of the table defined in the database design, including the type, length, and constraint conditions of the field.

[0058] In this embodiment, the storage unit on the server side refers to a container or object used to store and manage data on the server side. These storage units can be of various types, including directories and files on the file system, tables in a relational database, entities in an object relationship diagram, and cache objects.

[0059] In this embodiment, matching the validation logic parameters means allowing the input to pass validation if the input data conforms to specific rules or patterns. These rules are usually related to the format, content and syntax of the input data.

[0060] In this embodiment, verifying the logic code is a testing method for checking and confirming whether a given logic code complies with expected behavior or whether it can generate correct output.

[0061] In this embodiment, the logic module is a part of a computer program, responsible for completing a specific task or function, and is usually composed of a group of related instructions, which are arranged together in a certain order.

[0062] In this embodiment, the logic description parameter refers to a parameter used to describe the behavior of a logic module, for example, the logic description parameters of a counter may include: add one, subtract one, etc. These parameters are used to guide how the logic module behaves.

[0063] The beneficial effects of the above technical solution are: by collecting constraint information of the login scenario, setting format feature constraints based on this information, generating authentication information of a specific string and constructing table configuration information, importing it into the server-side storage unit, and further determining the matching verification logic parameters of the user login account and password, and writing verification logic code based on this, extracting multiple logic modules, simulating them to obtain simulation results, selecting the target module, and configuring its logic description parameters to the server side, the accuracy and reliability of the logic verification results can be guaranteed, and malicious behavior of illegal users can be avoided.

[0064] Embodiment 7: Based on the first embodiment, after determining that the number of attack methods is not zero according to the inspection result, the embodiment of the present invention further includes: Extract sensitive information from attack methods; Encode the sensitive information in the attack method and obtain the encoding result; Extracting fuzzy state features from the encoding results of sensitive information in the attack method, and constructing a feature matrix corresponding to the sensitive information in the attack method according to the extraction results; Perform nonlinear oscillation test on the characteristic matrix corresponding to the sensitive information in the attack method to obtain the test result; Determine the feature fusion coefficient of the attack method based on the test results of the sensitive information in the attack method: According to the feature fusion coefficient of the attack method, the conflict index between the attack method and the preset service security policy of the server is determined; Determine whether the conflict index is greater than or equal to a preset threshold. If so, confirm that the attack method is highly threatening. If not, confirm that the attack method is low threatening and issue an automatic ignore prompt.

[0065] In this embodiment, the feature fusion coefficients of the attack techniques include: ;in, It is expressed as the feature fusion coefficient of sensitive information in the i-th attack method, It is represented as the oscillation factor corresponding to the nonlinear oscillation test, sin represents sine, It is represented as the embedding dimension of the nonlinear oscillation signal, and its value range is [30,50]. It is represented by the number of fused feature factors in the feature matrix corresponding to the sensitive information in the i-th attack method, Expressed as Fusion feature factors, Expressed as The current feature component of the fused feature factor, Expressed as The current fuzzy state of the fused feature factors is represented by It is represented by the number of initial characteristic factors in the characteristic matrix corresponding to the sensitive information in the i-th attack method, Expressed as The initial characteristic factors, Expressed as The initial eigenvalues ​​of the initial eigenvalues, Expressed as The initial fuzzy state representation of the current feature factor is: It is represented as the encoding factor of sensitive information in the i-th attack method.

[0066] In this embodiment, the sensitive information in the attack method generally refers to numbers, character strings, files or other data containing important, harmful or inappropriate information.

[0067] In this embodiment, encoding the sensitive information in the attack technique refers to converting the sensitive information into a special format or code to make it difficult to understand or read directly, thereby preventing the attacker from obtaining the sensitive information by reading, viewing, etc.

[0068] In this embodiment, the fuzzy state feature in the encoding result means that after the encoding process, the information is converted into a difficult-to-understand form, so even if the attacker obtains the encoded result, additional decryption or decoding operations are required to obtain the original sensitive information.

[0069] In this embodiment, the feature matrix is ​​a tool for describing sensitive information, and is usually composed of a set of predefined feature vectors. These feature vectors can be of various types, such as text features, image features, audio features, etc. By analyzing the sensitive information, it can be converted into corresponding feature vectors and stored in a matrix.

[0070] In this embodiment, the nonlinear oscillation test is a test method for detecting whether the feature matrix corresponding to the sensitive information is complete and will not be affected by abnormal input or external events.

[0071] In this embodiment, the conflict index is a measurement indicator used to evaluate the degree of conflict between the attack method and the preset service security policy of the server.

[0072] The beneficial effect of the above technical solution is: through the feature fusion coefficient of the sensitive information in the attack technique, the distribution of the sensitive information in the attack technique can be quickly evaluated, so as to determine whether the information in the attack technique can be received by the computer network server, thereby improving stability. Furthermore, by calculating the conflict index between each attack technique information and the preset service security policy of the server, the danger of each attack technique information can be effectively evaluated, and a warning can be issued in time, thereby ensuring the connection security of the computer network server, avoiding the loss of important data, and improving data privacy and security.

[0073] Embodiment 8: A user login management system, such as Figure 2 As shown, including: Determination module: obtains basic information input by the user on the user registration interface. When the user input is captured, a whitelist check is performed on the basic information, and possible attack methods are determined based on the check results. Allocation module: if the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Verification module: captures the login account and password entered by the user in the unique session identification window, performs hash processing, and verifies the password security according to the processing result; Encryption module: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

[0074] The beneficial effects of the above technical solution are: whitelist check is performed through the basic information input by the user to confirm possible attack methods, which can effectively prevent unauthorized malicious attacks and access, allocate a unique session identification window to the user according to the user's unique ID, and hash the input password and account number. According to the security verification result and in combination with the HTTPS protocol, the user's data is encrypted according to decentralized identity authentication and data storage, which can avoid third-party verification, protect the user's account and password, and realize the user's secure login.

[0075] Based on the same general inventive concept, the present invention also protects a system function configuration device for information management. The system function configuration device for information management provided by the present invention is described below. The system function configuration device for information management described below and the system function configuration method for information management described above can be referenced to each other.

[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A user login management method, characterized in that: include: Step 1: Obtain basic information entered by the user on the user registration interface. After capturing the user input, perform a whitelist check on the basic information and determine possible attack methods based on the check results. Step 2: If the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Step 3: Capture the login account and password entered by the user in the unique session identification window, perform hash processing, and verify the password security based on the processing result; Step 4: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

2. The user login management method according to claim 1, characterized in that: Perform a whitelist check on basic information and determine possible attack methods based on the check results, including: Get the development framework of the user registration interface; Capturing basic information input by the user based on the user registration interface and storing it in predefined variables; Creating a legal character set list based on the development framework, and traversing predefined variables according to the legal character set list; Determine possible attack methods based on the traversal results.

3. The user login management method according to claim 1, characterized in that: Assigning a unique session identification window to a user using the user's unique ID includes: Get the user's unique ID and generate a new unique session ID based on the timestamp and random number of the basic information entered by the user; storing the new unique session identifier and the user's unique ID in a user information database; The user's request is obtained, and according to the request, a search is performed in the user information database to determine whether a new session identifier needs to be regenerated; if not, a unique session identifier window is allocated according to the new unique session identifier.

4. The user login management method according to claim 1, characterized in that: The login account and password input by the user are captured in the unique session identification window, and hashed, and the password security is verified according to the processing result, including: Pass the login account and password as parameters to the server for logical verification; Performing hash processing on the login account and password based on the logic verification result; The processed information is compared with the records in the historical database. If the match is successful, the password is confirmed to be correct. If the match is unsuccessful, the password is confirmed to be incorrect.

5. The user login management method according to claim 1, characterized in that: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure user login, including: Obtain the adapted HTTPS protocol based on the security verification result; Based on blockchain technology, decentralized identity authentication is used to provide each user with a unique identity and to query changes in user identities in real time; Send the user's identity identification and changes in the user's identity to the server via the HTTPS protocol and store the data; Use encryption algorithms to encrypt stored data to achieve secure user login.

6. The user login management method according to claim 4, characterized in that: Before passing the login account and password as parameters to the server for logic verification, the method further includes: configuring verification logic to the server, specifically: Get login scenario constraint information; Determine format feature constraints according to login scenario constraint information; Generate specific string identification information according to format feature constraints, and generate table item configuration information according to the string identification information. Loading table item configuration information into a storage unit on the server side; Determine the matching verification logic parameters of the user login account and password, and generate verification logic code according to the matching verification logic parameters; Based on the verification logic code, multiple logic modules are retrieved from a standard logic database and each logic module is simulated to obtain simulation results; Select the target module according to the preset conditions and the simulation results of each logic module; Get the logic description parameters of the target module and configure the verification logic on the server side.

7. The user login management method according to claim 1, characterized in that: After the check result determines that the attack method is not zero, it also includes: Extract sensitive information from attack methods; Encode the sensitive information in the attack method and obtain the encoding result; Extracting fuzzy state features from the encoding results of sensitive information in the attack method, and constructing a feature matrix corresponding to the sensitive information in the attack method according to the extraction results; Perform nonlinear oscillation test on the characteristic matrix corresponding to the sensitive information in the attack method to obtain the test result; Determine the feature fusion coefficient of the attack method based on the test results of the sensitive information in the attack method: According to the feature fusion coefficient of the attack method, the conflict index between the attack method and the preset service security policy of the server is determined; Determine whether the conflict index is greater than or equal to a preset threshold. If so, confirm that the attack method is highly threatening. If not, confirm that the attack method is low threatening and issue an automatic ignore prompt.

8. A user login management system, comprising: Determination module: obtains basic information input by the user on the user registration interface. When the user input is captured, a whitelist check is performed on the basic information, and possible attack methods are determined based on the check results. Allocation module: if the number of existing attack methods is 0, a unique session identification window is allocated to the user using the user's unique ID; Verification module: captures the login account and password entered by the user in the unique session identification window, performs hash processing, and verifies the password security according to the processing result; Encryption module: Based on the security verification results and in combination with the HTTPS protocol, the user's data is encrypted based on decentralized identity authentication and data storage to achieve secure login for the user.

Citation Information

Cited By

  • Login authentication method, device, equipment, storage medium and computer program product

    CN119853988A