User registration method of time bank management system

By obtaining the user's unique identifier in the time bank management system for registration information verification, the duplicate registration problem is solved, and the uniqueness and system stability of the user registration information are realized.

CN120196659AInactive Publication Date: 2025-06-24NINGBO ORIENTAL UNIV OF TECH (TEMPORARY NAME)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510270391.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing bank management system is difficult to effectively verify the uniqueness of registration information during user registration, resulting in duplicate registration problems, increasing system management complexity and data redundancy.

Method used

By obtaining the user's unique identifier, verifying its registration information. If it is not registered, the registration information will be stored. If it is registered, the repeated registration information will be feedback. The verification process includes three methods: direct matching, judging based on the number of queries, and judging based on the result set.

Benefits of technology

It effectively prevents duplicate registration, ensures the uniqueness of user registration information and data security, and improves the stability and user experience of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120196659A_ABST
    Figure CN120196659A_ABST
Patent Text Reader

Abstract

The invention relates to a user registration method for a time bank management system, and the method comprises the following steps: S1, obtaining registration information of a user, the registration information comprising a unique identifier of the user; s2, based on the unique identifier, the registration information of the user is verified, and if the verification result is that the user does not register in the system, S3 is executed; if the verification result is that the user is registered in the system, executing S4; s3, the registration information of the user is stored in a database; and S4, feeding back repeated registration information to the user. Compared with the prior art, the method has the advantages of solving repeated registration and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bank management systems, and more particularly to a user registration method for a time bank management system. Background Art

[0002] A time bank management system is a platform for recording and managing volunteer service hours. Through this system, volunteers can store the service hours they have contributed and redeem corresponding services or rewards in the future. The system usually includes multiple functional modules such as user registration, time recording, query and statistics, aiming to promote the reasonable allocation and effective utilization of community service resources. However, during the system construction process, there is a challenging technical problem, that is, how to verify the validity of user registration information to solve the problem of duplicate registration. Since users may try to register using multiple different identity information, this not only increases the complexity of system management, but also may lead to data redundancy and uneven service distribution. Summary of the Invention

[0003] The purpose of the present invention is to provide a user registration method for a time bank management system to reduce and solve duplicate registration.

[0004] The purpose of the present invention can be achieved through the following technical solutions:

[0005] A user registration method for a time bank management system, the method comprising the following steps:

[0006] S1. Obtain the user's registration information, where the registration information includes the user's unique identifier;

[0007] S2. Based on the unique identifier, verify the user's registration information. If the verification result is that the user has not registered in the system, then execute S3; if the verification result is that the user has already registered in the system, then execute S4;

[0008] S3. Store the user's registration information in the database;

[0009] S4. Then feedback information of duplicate registration to the user.

[0010] Further, the specific steps of S2 are:

[0011] Encrypt and query the database based on the unique identifier to obtain the registered user information;

[0012] Compare the unique identifier with the existing identifiers in the registered user information, and determine whether the unique identifier exists in the existing identifiers. If so, the verification result is that the user has already registered in the system; otherwise, the verification result is that the user has not registered in the system.

[0013] Further, the specific steps of S2 are as follows:

[0014] Connect to the database server and establish an encrypted connection;

[0015] Query the database based on the unique identifier, and use an SQL query statement to find all records in which the unique identifier matches the input unique identifier, obtaining a query result;

[0016] If the number of query results N is greater than 0, the verification result is that the user has been registered in the system; otherwise, the verification result is that the user has not been registered in the system.

[0017] Further, if the number of query results N is greater than 0, the verification result is that the user has been registered in the system; otherwise, the verification result is that the user has not been registered in the system. The specific steps are as follows:

[0018] Determine the user status flag M based on the number of query results N, and update the user status based on the user status flag M. When the user status flag M = 1, the verification result is that the user has been registered in the system; when the user status flag M = 0, the verification result is that the user has not been registered in the system.

[0019] Further, the user status flag M = (N > 0)? 1 : 0.

[0020] Further, the method further includes: after obtaining the verification result, set and display the user's final status S based on the user status flag M.

[0021] Further, the user's final status S = (M = 1)? Registered : New User.

[0022] Further, after obtaining the query result, if the number of query results N is greater than 1, report an error and stop the registration process.

[0023] Further, the specific steps of S2 are as follows:

[0024] Generate a query request Q based on the unique identifier;

[0025] Establish an encrypted connection to the database, execute the query request Q, and obtain a result set R. If the result set R is not empty, the verification result is that the user has been registered in the system; otherwise, the verification result is that the user has not been registered in the system.

[0026] Further, the determination of whether the result set R is not empty is specifically as follows:

[0027] Check the number of rows C in the result set R;

[0028] Determine whether C is greater than 0;

[0029] If C > 0, the result set R is not empty. Set C as the user's final status and display the user's final status;

[0030] Conversely, the result set R is empty. Set C as the user's final state and display the user's final state.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] Based on the unique identifier provided by the user, the present invention preliminarily verifies the user's registration information. This verification process is mainly to ensure that the information provided by the user is in the correct format and true and reliable. The system will query the database to determine whether the unique identifier already exists in the system. This is a key step to prevent duplicate registration. Because if the same identifier has been registered by other users, the system will immediately stop the registration process and send a duplicate registration prompt message to the user, informing the user that the account they tried to register already exists. If the system confirms that the user has not registered, the user's registration information will be stored in the database completely. To ensure the security and reliability of user data, the entire storage process uses advanced encryption technology to ensure that user privacy is not leaked. Once the registration is successful, the user will receive a confirmation message and can officially use the various services provided by the time bank management system. The present invention verifies the validity of the user's registration information and solves the problem of duplicate registration. The present invention can use three methods: direct matching, judging according to the number of queries, and judging according to the result set, all of which can accurately detect whether the user is a registered user, and at the same time update the user's status flag and visualize the registration result. Description of the Drawings

[0033] Figure 1 is a flowchart of the present invention. Detailed Embodiments

[0034] The present invention will be described in detail below with reference to the drawings and specific embodiments. This embodiment is implemented on the premise of the technical solution of the present invention, and gives the detailed implementation manner and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0035] The present invention provides a user registration method for a time bank management system. The flowchart is as Figure 1 shown, and the method includes the following steps:

[0036] S1. Obtain the user's registration information, where the registration information includes the user's unique identifier;;

[0037] S2. Based on the unique identifier, verify the user's registration information. If the verification result is that the user has not registered in the system, execute S3; if the verification result is that the user has registered in the system, execute S4;

[0038] S3. Store the user's registration information in the database;

[0039] S4. Then feedback the information of duplicate registration to the user.

[0040] According to one embodiment, the step of verifying the registration information of the user based on the unique identifier to determine whether the user already exists in the system further includes:

[0041] Obtain the unique identifier provided by the user;

[0042] Query the database based on the unique identifier to obtain the registered user information;

[0043] Compare the provided unique identifier with the identifiers already existing in the database to determine whether they are consistent;

[0044] If there is a user with the same unique identifier, it is considered that the user has already registered.

[0045] According to one embodiment, the step of querying the database based on the unique identifier to obtain the registered user information further includes:

[0046] Connect to the database server;

[0047] Use an SQL query statement to find all records in the user table whose unique identifiers match the input unique identifier;

[0048] Return the query result to the verification module;

[0049] If the number N of query results is greater than 0, it is determined that there is a user with the same unique identifier, otherwise it is determined as a new user. Here, N represents the number of records in the query result.

[0050] According to one embodiment, the step of determining that there is a user with the same unique identifier if the number N of query results is greater than 0, otherwise determining as a new user further includes:

[0051] Obtain the number N of query results;

[0052] Judge whether N is greater than 0;

[0053] Determine the user status based on the value of N. If N>0, mark it as registered, otherwise mark it as a new user;

[0054] Send the marking result to the registration process handling module. Here, N represents the number of records in the query result.

[0055] According to one embodiment, the step of determining the user status based on the value of N. If N>0, mark it as registered, otherwise mark it as a new user further includes:

[0056] Calculate the user status flag M, M=(N>0)?1:0;

[0057] Update the user status based on the value of M. If M = 1, the status is registered; otherwise, the status is new user.

[0058] Store the user status in the temporary cache.

[0059] Return the user status to the front end. Here, M represents the user status flag, and N represents the number of records in the query result.

[0060] According to one embodiment, the step of updating the user status based on the value of M, where if M = 1, the status is registered; otherwise, the status is new user, further includes:

[0061] Obtain the user status flag M.

[0062] Judge the value of M.

[0063] Set the final user status S based on the value of M, S = (M == 1)? Registered : New user;

[0064] Send S to the front end for display. Here, M represents the user status flag, and S represents the final user status.

[0065] According to one embodiment, the step of querying the database based on the unique identifier to obtain the registered user information further includes:

[0066] Transmit the unique identifier in an encrypted manner.

[0067] Connect to the database server for authentication.

[0068] Execute a query operation based on the unique identifier and return the matching result.

[0069] If the number of returned results T > 1, report an error and stop the registration process. Here, T represents the number of returned results.

[0070] According to one embodiment, the step of executing a query operation based on the unique identifier and returning the matching result further includes:

[0071] Generate a query request Q, Q = SELECT * FROM users WHERE unique_id = {uid};

[0072] Execute the Q request to obtain the result set R.

[0073] Judge the user status based on the result set R. If R is not empty, it is determined that the user is registered.

[0074] If the query returns empty, mark it as a new user. Here, R represents the query result set, Q represents the query request, and uid represents the user unique identifier.

[0075] According to one embodiment, the step of determining the user status based on the result set R, if R is not empty, and then determining that the user is registered further includes:

[0076] Check the number of rows C of the result set R;

[0077] Determine whether C is greater than 0;

[0078] Determine the user status based on the value of C. If C > 0, it is determined that the user is registered; otherwise, the user is determined to be a new user;

[0079] Return the user status to the processing module. Here, C represents the number of rows of the result set.

[0080] According to one embodiment, the step of determining the user status based on the value of C, if C > 0, it is determined that the user is registered; otherwise, the user is determined to be a new user further includes:

[0081] Read the number of rows C of the result set R;

[0082] Determine whether C is equal to 1;

[0083] Set the final user status based on the value of C. If C = 1, mark it as registered; otherwise, mark it as a new user;

[0084] Return the marked result to the front-end display. Here, C represents the number of rows of the result set.

[0085] In the above steps, for the three methods of direct matching, judging according to the number of queries, and judging according to the result set, the final verification result can combine the verification results obtained by the three methods. If the three verification results are all consistent, the verification result is output. If there is one result that is inconsistent with the other two, then S1 is executed again.

[0086] First of all, the system ensures the validity and uniqueness of the user registration information through multiple steps. These steps include obtaining user registration information, verifying the registration information based on a unique identifier, deciding whether to store the registration information, and feedbacking the registration result. Each step is to ensure the security of the system and the accuracy of the data.

[0087] In the first step, the system obtains the user's registration information, which at least includes the user's unique identifier. This unique identifier can be the user's ID number, mobile phone number, or other unique identifiers. At this stage, the user submits their registration information through a web form or a mobile application. For example, when the user fills in the registration form, enters their name, ID number, and mobile phone number, and clicks the registration button, the system starts to process the user's registration request. In the actual application of the time bank management system, the user may be a volunteer, storing time by providing services so as to exchange services when help is needed in the future.

[0088] In the second step, the system verifies the user's registration information based on the unique identifier to determine whether the user already exists in the system. This step is a crucial link to ensure that there are no duplicate registrations. Specifically, the system will query the user table in the database and determine whether the provided unique identifier (such as the ID card number) exists in the system by comparing it. In one embodiment, when the user submits the registration information, the system will initiate an SQL query statement, such as SELECT * FROM users WHERE id_card_number = provided ID card number;. If the query returns a result, it indicates that the user has already registered; otherwise, the user has not registered.

[0089] In the third step, if the user is not registered in the system, the user's registration information will be stored in the database. The system will insert all the user's information (such as name, ID card number, mobile phone number, etc.) into the user table in the database for subsequent management and use. Specifically, when the ID card number submitted by the user is verified and indeed not registered, the system will perform the following operations:

[0090] INSERT INTO users (name, id_card_number, phone_number) VALUES (submitted name, submitted ID card number, submitted mobile phone number); In this way, the system can effectively record the registration information of each new user.

[0091] In the fourth step, if the user is already registered in the system, information about duplicate registration will be fed back to the user. This is to let the user clearly know that they already have an account and avoid unnecessary operations and database redundancy. For example, if the system detects that the user provides an existing ID card number, an error message will be generated, such as "This ID card number has already been registered. Please check the information you entered or contact customer service." Such feedback can not only notify the user of the problem in a timely manner but also improve the user experience and make the user feel that the system is more intelligent and reliable.

[0092] The system of the present invention receives the user's registration information through a secure and efficient data interface. This process usually involves the user entering necessary personal information through a web page or a mobile application, including but not limited to name, contact information, ID card number, etc., and ensuring that this information can be correctly captured and recognized by the system. During this process, the user's unique identifier is crucial, which can be the ID card number, mobile phone number, or any other information that can uniquely identify the user's identity.

[0093] Then, based on the unique identifier provided by the user, the system conducts a preliminary verification of the user's registration information. This verification process is mainly to ensure that the information provided by the user is in the correct format and is true and reliable. For example, the system will check the legality of the mobile phone number, the validity of the ID number, etc. In addition, the system will query the database to determine whether the unique identifier already exists in the system. This is a crucial step in preventing duplicate registrations. Because if the same identifier has already been registered by other users, the system will immediately stop the registration process and send a duplicate registration prompt message to the user, informing the user that the account they attempted to register already exists.

[0094] If the system confirms that the user has not registered, it will store the user's registration information completely in the database. To ensure the security and reliability of user data, the entire storage process uses advanced encryption technology to ensure that user privacy is not leaked. Once the registration is successful, the user will receive a confirmation message and can officially use the various services provided by the Time Bank Management System.

[0095] In summary, through a strict and accurate unique identifier verification mechanism, the Time Bank Management System effectively solves the problem of duplicate user registrations, ensures the uniqueness and effectiveness of the system's user resources, and improves the stability and user experience of the system.

[0096] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another.

[0097] The present invention discloses a Time Bank Management System, including: a) obtaining the user's registration information, where the registration information at least includes the user's unique identifier; b) verifying the user's registration information based on the unique identifier to determine whether the user already exists in the system; c) if the user has not registered in the system, storing the user's registration information in the database; d) if the user has already registered in the system, feedbacking duplicate registration information to the user. Through the solution of the embodiments of the present disclosure, it is possible to solve the problem of how to verify the validity of user registration information to address the issue of duplicate registrations.

[0098] The preferred specific embodiments of the present invention have been described in detail above. It should be understood that those of ordinary skill in the art can make many modifications and variations based on the concept of the present invention without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art in this technical field based on the concept of the present invention through logical analysis, reasoning, or limited experiments on the basis of the prior art should fall within the protection scope determined by the claims.

Claims

1. A user registration method for a time bank management system, characterized in that: The method comprises the following steps: S1. Obtaining registration information of a user, where the registration information includes a unique identifier of the user; S2. Verify the user's registration information based on the unique identifier. If the verification result shows that the user is not registered in the system, execute S3. If the verification result is that the user has been registered in the system, execute S4; S3, storing the user's registration information in the database; S4, feeding back duplicate registration information to the user.

2. A user registration method for a time bank management system according to claim 1, characterized in that: The specific steps of S2 are: Encrypted query database based on the unique identifier to obtain registered user information; Compare the unique identifier with the existing identifiers in the registered user information to determine whether the unique identifier exists in the existing identifiers. If so, the verification result is that the user has been registered in the system. Otherwise, the verification result is that the user has not been registered in the system.

3. A user registration method for a time bank management system according to claim 1, characterized in that: The specific steps of S2 are: Connect to the database server and build an encrypted connection; Based on the unique identifier, the database is searched, and all records whose unique identifiers match the input unique identifier are searched through an SQL query statement to obtain a query result; If the number N of query results is greater than 0, the verification result is that the user has been registered in the system, otherwise, the verification result is that the user has not been registered in the system.

4. A user registration method for a time bank management system according to claim 3, characterized in that: If the number of query results N is greater than 0, the verification result is that the user has been registered in the system. Otherwise, the verification result is that the user has not been registered in the system. The specific steps are: The user status flag M is determined based on the number of query results N, and the user status is updated based on the user status flag M. When the user status flag M=1, the verification result is that the user has been registered in the system, and when the user status flag M=0, the verification result is that the user has not been registered in the system.

5. A user registration method for a time bank management system according to claim 4, characterized in that: User status flag M=(N>0)? 1:

0.

6. A user registration method for a time bank management system according to claim 5, characterized in that: The method further includes: after obtaining the verification result, setting and displaying the user's final state S based on the user state flag M.

7. A user registration method for a time bank management system according to claim 6, characterized in that: User final status S=(M=1)? Registered: New user.

8. The user registration method of a time bank management system according to claim 3, characterized in that: After obtaining the query results, if the number of query results N is greater than 1, an error is reported and the registration process is stopped.

9. A user registration method for a time bank management system according to claim 1, characterized in that: The specific steps of S2 are: Generate a query request Q based on the unique identifier; An encrypted connection is established for the database, and the query request Q is executed to obtain the result set R. If the result set R is not empty, the verification result is that the user has been registered in the system, otherwise the verification result is that the user has not been registered in the system.

10. A user registration method for a time bank management system according to claim 9, characterized in that: The specific judgment of whether the result set R is not empty is: Check the number of rows C in the result set R; Determine whether C is greater than 0; If C>0, the result set R is not empty, C is set as the user's final state, and the user's final state is displayed; Otherwise, the result set R is empty, C is set as the user's final state, and the user's final state is displayed.