Information verification method and device, computer device and computer readable storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PING AN BANK CO LTD
- Filing Date
- 2022-11-04
- Publication Date
- 2026-07-03
AI Technical Summary
Existing technologies cannot effectively verify the reliability of user information, resulting in errors or invalid information being entered into the user information, which affects the progress of business processing.
By obtaining the verification information type for each channel, a verification rule base is determined, and the verification rule base is called to determine whether the user information is abnormal, and corresponding prompt information is generated to ensure the reliability of the information.
It enables unified verification of user information, ensuring the reliability and consistency of user information and improving the efficiency and accuracy of business processing.
Smart Images

Figure CN115905421B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information processing, and more particularly to an information verification method, apparatus, computer equipment, and computer-readable storage medium that can be used in financial technology or other related fields. Background Technology
[0002] With the rapid development of internet technology, various sectors typically provide online service platforms. Users can fill in the necessary information to quickly apply for various types of services through these platforms. As the number of users on these platforms continues to grow, they need to send and receive large amounts of user information for each type of service.
[0003] However, during the process of users filling in user information through the service platform, the platform cannot effectively verify the reliability of the information, resulting in anomalies such as incorrect or invalid information being entered, which in turn affects the processing progress of the current service. Furthermore, various types of services can reuse user information such as identity information, address information, and communication information. When the reliability of user information is abnormal, it may also affect the processing progress of various types of services. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to overcome the shortcomings of the prior art and provide an information verification method, apparatus, computer equipment and computer-readable storage medium to solve the problem of being unable to verify the reliability of user information.
[0005] Firstly, this application provides an information verification method, the method comprising:
[0006] Obtain the verification information type for each channel, and determine the verification rule base based on the verification information type;
[0007] In response to the received information verification request, obtain the user information requesting verification and the verification information type of the target channel;
[0008] The verification rule library is invoked to obtain the verification rules corresponding to the verification information type of the target channel, and the user information is judged to be abnormal based on the verification rules.
[0009] If the user information is normal, a first prompt message is generated to indicate that the user information is normal.
[0010] In conjunction with the first aspect, in a first possible implementation, obtaining the verification information type for each channel and determining the verification rule base based on the verification information type includes:
[0011] Obtain the verification information type for each channel, and determine the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type;
[0012] A verification rule base is determined based on the verification rules for each of the aforementioned verification information types.
[0013] In conjunction with the first possible implementation of the first aspect, in the second possible implementation, the step of obtaining the verification information type for each channel and determining the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type includes:
[0014] If the verification information obtained from the channel is of the address type, then the verification rules for the address type are generated based on the length rules, format rules, preset character rules, address filling rules, and address number of each region.
[0015] In conjunction with the first aspect, in the third possible implementation, after obtaining the verification information type for each channel and determining the verification rule base based on the verification information type, it further includes:
[0016] Obtain invalid information from the user invalid information database, and update the verification rule base based on the invalid information.
[0017] In conjunction with the third possible implementation of the first aspect, in the fourth possible implementation, the method further includes:
[0018] The user information is matched with invalid information in the verification rule base to determine whether the user information requesting verification includes the invalid information.
[0019] If the user information includes the invalid information, a second prompt message is generated to indicate that the user information is invalid.
[0020] In conjunction with the first aspect, in the fifth possible implementation, after calling the verification rule library to obtain the verification rules corresponding to the verification information type of the target channel, and determining whether the user information is abnormal based on the verification rules, it further includes:
[0021] If the user information is abnormal, a third prompt message is generated to indicate the abnormality.
[0022] In conjunction with the first aspect, in the sixth possible implementation, after generating a first prompt message indicating that the user information is normal, the method further includes:
[0023] Update the user information database based on the aforementioned user information;
[0024] Upon receiving an information retrieval request, the user information in the user information database is identified as the user information of the target channel.
[0025] Secondly, this application provides an information verification device, the device comprising:
[0026] The verification rule base acquisition module is used to obtain the verification information type for each channel and determine the verification rule base based on the verification information type.
[0027] The verification request and response module is used to respond to received information verification requests and obtain the user information requesting verification and the verification information type of the target channel.
[0028] The information anomaly judgment module is used to call the verification rule library, obtain the verification rule corresponding to the verification information type of the target channel, and judge whether the user information is abnormal based on the verification rule;
[0029] The "No Anomaly Prompt" module is used to generate a first prompt message indicating that the user information is normal if the user information is normal.
[0030] Thirdly, this application provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, the computer program implementing the information verification method as described in the first aspect when executed by the processor.
[0031] Fourthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the information verification method as described in the first aspect.
[0032] This application provides an information verification method, the method comprising: obtaining the verification information type of each channel, and determining a verification rule base based on the verification information type; responding to a received information verification request, obtaining the user information requesting verification and the verification information type of the target channel; calling the verification rule base to obtain the verification rule corresponding to the verification information type of the target channel, and determining whether the user information is abnormal based on the verification rule; if the user information is not abnormal, generating a first prompt message to indicate that the user information is not abnormal. By integrating all verification information types and determining the verification rule base, a unified verification rule is provided for verifying user information, ensuring the consistency of user information of the same type, thereby ensuring the reliability of the obtained user information. Attached Figure Description
[0033] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope of protection of the present invention. In the various drawings, similar components are numbered similarly.
[0034] Figure 1 A flowchart of the first information verification method provided by an embodiment of the present invention is shown;
[0035] Figure 2 A flowchart of the second information verification method provided in an embodiment of the present invention is shown;
[0036] Figure 3 The following diagram illustrates an application scenario of the user information database provided in this embodiment of the invention.
[0037] Figure 4 A schematic diagram of the information verification device provided in an embodiment of the present invention is shown. Detailed Implementation
[0038] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0039] The components of the embodiments of the invention described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0040] In the following, the terms “comprising,” “having,” and their cognates, which may be used in various embodiments of the invention, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as excluding, firstly, the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations thereof.
[0041] Furthermore, the terms "first," "second," and "third" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0042] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the invention pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be interpreted as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of the invention.
[0043] Example 1
[0044] Please see Figure 1 , Figure 1 A flowchart of the first information verification method provided by an embodiment of the present invention is shown. Figure 1 The information verification methods include:
[0045] S110, obtain the verification information type for each channel, and determine the verification rule base based on the verification information type.
[0046] To facilitate understanding of this application, this embodiment uses user information verification in banking services as an example. A channel refers to the server-side service that the service passes through during the transfer from the producer to the user. This can be an ATM (Automated Teller Machine), online banking, bank counters, or other services that help users complete banking transactions. Since user information such as names, addresses, and contact information received and sent through various channels overlaps, the verification information type for each channel can be obtained. Based on all the obtained verification information types, a verification rule base is determined. By integrating all verification information types and determining the verification rule base, a unified verification rule is provided for verifying user information, ensuring the reliability of the obtained user information. It should be understood that the verification information type is set according to actual needs and can be information types such as the user's name, address, occupation, email, mobile phone number, and ID number, etc., without limitation here.
[0047] As an example, obtaining the verification information type for each channel and determining the verification rule base based on the verification information type includes:
[0048] Obtain the verification information type for each channel, and determine the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type;
[0049] A verification rule base is determined based on the verification rules for each of the aforementioned verification information types.
[0050] Each verification information type has different length, format, and preset character requirements. Based on the length rules, format rules, and preset character rules for each verification information type, the verification rules for each verification information type are determined. Specifically, taking the user's mobile phone number as an example, the verification rules for the verification information type include: verifying whether the length of the user information is equal to 11 Arabic numerals, verifying whether the format of the user information is a number format, and verifying whether the first character of the user information is the preset character 1.
[0051] Similarly, taking the user's email address as the verification information type as an example, the verification rules for this information type include: verifying whether the length of the user information is equal to 100 characters, verifying whether the format of the user information is A@B.com, and verifying whether the user information includes the preset characters @ and .com, where A and B are arbitrary characters and are not limited here. The verification rules for each verification information type are integrated, and based on these rules, various verification rule libraries are obtained.
[0052] In an optional example, obtaining the verification information type for each channel and determining the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type includes:
[0053] If the verification information obtained from the channel is of the address type, then the verification rules for the address type are generated based on the length rules, format rules, preset character rules, address filling rules, and address number of each region.
[0054] Different business types require user addresses with varying degrees of precision. When the verification information type is address-based, it's necessary to generate address-type verification rules based on the address entry rules and the address number for each region. Specifically, the verification precision for address-type rules is the user's house number. The address entry rules require the address to be in the following order: province (autonomous region), city (autonomous prefecture), district (county / banner), street, road, and house number. It's important to understand that the address number for each region is set according to actual needs and can be based on the "National Administrative Division Code," without specific limitations here. By generating address-type verification rules and verifying user address information using these rules, the reliability of user information is prevented from being compromised by users entering different information for the same address.
[0055] Please see Figure 2 , Figure 2 A flowchart of the second information verification method provided by an embodiment of the present invention is shown.
[0056] As an example, after obtaining the verification information type for each channel and determining the verification rule base based on the verification information type, step S110 further includes:
[0057] S111, obtain invalid information from the user invalid information database, and update the verification rule base based on the invalid information.
[0058] During the process of users filling out user information when conducting banking business, there are instances where invalid information is entered. Specifically, taking a user's mobile phone number as an example, an invalid number (meaning a number that is not in use or does not exist) can be stored as invalid information in the invalid user information database. The invalid information in the database is then synchronized to the verification rule base, updating the rule base. When verifying user information, the invalid messages in the verification rule base can be directly called to check whether the user's entered information is invalid. Since a user's personal name, personal identification number, and other information are fixed, if the user enters information that is not their fixed personal name, personal identification number, etc., then the current user information is determined to be invalid. This can be determined through the real-name authentication system to identify the invalid information corresponding to the user, which will not be elaborated upon here.
[0059] In an optional example, the method further includes:
[0060] The user information is matched with invalid information in the verification rule base to determine whether the user information requesting verification includes the invalid information.
[0061] If the user information includes the invalid information, a second prompt message is generated to indicate that the user information is invalid.
[0062] The system retrieves invalid information from the validation rule base and matches the user information against it to determine if the requested user information includes invalid information. If the user information does not include invalid information, the system invokes validation rules from the validation rule base and determines if the requested user information conforms to those rules. If the user information includes invalid information, a second message is generated to indicate that the user information is invalid, prompting the user to re-enter valid user information.
[0063] S120: Respond to the received information verification request and obtain the user information requesting verification and the verification information type of the target channel.
[0064] When a user conducts banking business through a channel, the system responds to received information verification requests, obtains the user information requesting verification, and determines the verification information type for the target channel corresponding to the information verification request. For example, if a user applies for a mobile phone number change, the verification information types obtained from the target channel include the user's mobile phone number type, name type, and ID number type. Simultaneously, the system obtains the user information corresponding to each verification information type requested by the user.
[0065] Step 130: Call the verification rule library to obtain the verification rule corresponding to the verification information type of the target channel, and determine whether the user information is abnormal based on the verification rule.
[0066] Because the verification rule library integrates verification rules corresponding to all verification information types, when verifying user information, the verification rules corresponding to the target channel's verification information type in the verification rule library can be directly called to determine whether the user information is abnormal based on the verification rules. Specifically, taking the verification of a user's mobile phone number as an example, the verification rules determine whether the first digit of the mobile phone number is 1; whether any characters other than numbers appear in the mobile phone number; and whether the data length of the mobile phone number is 11 Arabic numerals. If the first digit of the mobile phone number is 1, no characters other than numbers appear, and the data length is 11 Arabic numerals, then the user information is determined to be normal. Similarly, if the first digit of the mobile phone number is not 1, and / or characters other than numbers appear, and / or the data length is not 11 Arabic numerals, then the user information is determined to be abnormal.
[0067] Step 140: If the user information is normal, generate a first prompt message to indicate that the user information is normal.
[0068] When user information meets the validation rules, it is determined to be abnormal, and a first notification message is generated. This first notification message informs the user that the information is normal and prompts the user to proceed to the next step. By integrating all validation information types and establishing a validation rule base, a unified validation rule is provided for validating user information, ensuring consistency of the same type of user information and thus guaranteeing the reliability of the obtained user information.
[0069] It's important to understand that the verification rules from the rule base can also be sent to the user terminal, and these rules can be updated periodically. This allows for direct determination of user information anomalies based on the verification rules stored on the user terminal, avoiding the need for the user terminal to frequently call external interfaces to retrieve the rule base's verification rules, thus minimizing performance impact.
[0070] As an example, after calling the verification rule library to obtain the verification rules corresponding to the verification information type of the target channel, and determining whether the user information is abnormal based on the verification rules, the method further includes:
[0071] If the user information is abnormal, a third prompt message is generated to indicate the abnormality.
[0072] If the length of the user information exceeds the character length specified in the length rule, and / or the character format of the user information does not conform to the character format specified in the format rule, or the user information does not include the preset characters specified in the preset character rule, then the user information is determined to be abnormal, and a third prompt message is generated. The third prompt message indicates the user information is abnormal, prompts the user to fill in the correct user information, and requests a new verification of the user information.
[0073] As an example, after generating a first prompt message indicating that the user information is normal, if the user information is normal, the method further includes:
[0074] Update the user information database based on the aforementioned user information;
[0075] Upon receiving an information retrieval request, the user information in the user information database is identified as the user information of the target channel.
[0076] Please see Figure 3 , Figure 3 The diagram illustrates an application scenario example of the user information database provided in an embodiment of the present invention.
[0077] As shown in the figure, when a user conducts banking business through target channel 210, they fill in the user information required for the banking business and send an information verification request to information platform 220. Information platform 220 responds to the information verification request, obtains the verification information type of the user information requested by target channel 210, and calls the verification rules of verification rule base 230 to determine whether the user information is abnormal based on the verification rules. If the user information is not abnormal, it is determined that the obtained user information is reliable, and the obtained user information is synchronized to user information database 240, updating user information database 240. The user information database 240 integrates the information of each user to obtain centralized, comprehensive, and reliable user information.
[0078] When a user conducts banking business again through the target channel 210, they can directly send an information retrieval request to the user information database 240. Upon receiving the request, the user information database 240 identifies the user information in its database as the target channel's user information. Since user information can be repeatedly verified when handling various types of business, different subsystems can interact using the user information stored in the user information database 240, directly accessing the user information there, thus improving the efficiency of various business transactions.
[0079] This application provides an information verification method, the method comprising: obtaining the verification information type of each channel, and determining a verification rule base based on the verification information type; responding to a received information verification request, obtaining the user information requesting verification and the verification information type of the target channel; calling the verification rule base to obtain the verification rule corresponding to the verification information type of the target channel, and determining whether the user information is abnormal based on the verification rule; if the user information is not abnormal, generating a first prompt message to indicate that the user information is not abnormal. By integrating all verification information types and determining the verification rule base, a unified verification rule is provided for verifying user information, ensuring the consistency of user information of the same type, thereby ensuring the reliability of the obtained user information.
[0080] Example 2
[0081] Please see Figure 4 , Figure 4 A schematic diagram of the information verification device provided in an embodiment of the present invention is shown. Figure 4 The information verification device 300 in the middle includes:
[0082] The verification rule base acquisition module 310 is used to obtain the verification information type of each channel and determine the verification rule base based on the verification information type;
[0083] The verification request response module 320 is used to respond to received information verification requests and obtain the user information requesting verification and the verification information type of the target channel.
[0084] The information anomaly judgment module 330 is used to call the verification rule library, obtain the verification rule corresponding to the verification information type of the target channel, and judge whether the user information is abnormal based on the verification rule;
[0085] The no-abnormality prompt module 340 is used to generate a first prompt message to indicate that the user information is normal if the user information is normal.
[0086] As an example, the validation rule base module 310 includes:
[0087] The verification rule determination submodule is used to obtain the verification information type of each channel, and determine the verification rules for each verification information type based on the length rules, format rules and preset character rules of the verification information type;
[0088] The verification rule base submodule is used to determine the verification rule base based on the verification rules for each of the verification information types.
[0089] In an optional example, the verification rule determination submodule is further configured to generate verification rules for the address type based on the length rules, format rules, preset character rules, address filling rules, and address number of each region if the verification information type of the obtained channel is an address type.
[0090] As an example, the information verification device 300 further includes:
[0091] The verification rule base update module is used to obtain invalid information from the user invalid information database and update the verification rule base based on the invalid information.
[0092] In an optional example, the information verification device 300 further includes:
[0093] The invalid information judgment module is used to match the user information with invalid information in the verification rule base to determine whether the user information requesting verification includes the invalid information;
[0094] An invalid prompt module is used to generate a second prompt message to indicate that the user information is invalid if the user information includes the invalid information.
[0095] As an example, the information verification device 300 further includes:
[0096] An error message module is used to generate a third message to indicate the error if the user information is abnormal.
[0097] As an example, the information verification device 300 further includes:
[0098] The user information database update module is used to update the user information database based on the user information.
[0099] The information retrieval module is used to respond to a received information retrieval request and determine the user information in the user information database as the user information of the target channel.
[0100] The information verification device 300 is used to perform the corresponding steps in the information verification method described above. The specific implementation of each function will not be described in detail here. In addition, the optional examples in Embodiment 1 are also applicable to the information verification device 300 in Embodiment 2.
[0101] This application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the information verification method as described in Embodiment 1.
[0102] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the information verification method as described in Embodiment 1.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0104] In addition, the functional modules or units in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0105] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0106] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.
Claims
1. An information checking method, characterized by, The method includes: Obtain the verification information type for each channel, and determine the verification rule base based on the verification information type; Obtain invalid information from the user invalid information database, and update the verification rule base based on the invalid information; In response to the received information verification request, obtain the user information requesting verification and the verification information type of the target channel; The verification rule library is invoked to obtain the verification rules corresponding to the verification information type of the target channel, and the user information is judged to be abnormal based on the verification rules. If the user information is normal, a first prompt message is generated to indicate that the user information is normal. The verification rules in the verification rule base are sent to the user terminal, and the verification rules sent to the user terminal are updated periodically. Based on the user information, the user information database is updated. In response to the received information retrieval request, the user information in the user information database is determined as the user information of the target channel, and each of the channels retrieves the user information.
2. The information verification method according to claim 1, characterized by, The step of obtaining the verification information type for each channel and determining the verification rule base based on the verification information type includes: Obtain the verification information type for each channel, and determine the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type; A verification rule base is determined based on the verification rules for each of the aforementioned verification information types.
3. The information verification method according to claim 2, characterized in that, The step of obtaining the verification information type for each channel and determining the verification rules for each verification information type based on the length rules, format rules, and preset character rules of the verification information type includes: If the verification information obtained from the channel is of the address type, then the verification rules for the address type are generated based on the length rules, format rules, preset character rules, address filling rules, and address number of each region.
4. The information verification method according to claim 1, characterized in that, The method further includes: The user information is matched with invalid information in the verification rule base to determine whether the user information requesting verification includes the invalid information. If the user information includes the invalid information, a second prompt message is generated to indicate that the user information is invalid.
5. The information verification method according to claim 1, characterized in that, After calling the verification rule library to obtain the verification rules corresponding to the verification information type of the target channel, and determining whether the user information is abnormal based on the verification rules, the method further includes: If the user information is abnormal, a third prompt message is generated to indicate the abnormality.
6. An information verification device, characterized in that, The device includes: The verification rule base acquisition module is used to obtain the verification information type for each channel and determine the verification rule base based on the verification information type. The verification rule base update module is used to obtain invalid information from the user invalid information database and update the verification rule base based on the invalid information; The verification request and response module is used to respond to received information verification requests and obtain the user information requesting verification and the verification information type of the target channel. The information anomaly judgment module is used to call the verification rule library, obtain the verification rule corresponding to the verification information type of the target channel, and judge whether the user information is abnormal based on the verification rule; An error-free prompt module is used to generate a first prompt message indicating that the user information is error-free if the user information is error-free; send the verification rules in the verification rule base to the user terminal, and update the verification rules sent to the user terminal periodically. The user information database update module is used to update the user information database based on the user information. The information retrieval module is used to respond to received information retrieval requests, determine the user information in the user information database as the user information of the target channel, and retrieve the user information for each of the channels.
7. A computer device, characterized in that, The computer device includes a memory and a processor. The memory stores a computer program, which, when executed by the processor, implements the information verification method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the information verification method as described in any one of claims 1 to 5.