Information verification method and device, computer device and storage medium
Patent Information
- Application Number
- CN202310001638.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2043-01-03
AI Technical Summary
然而,申请信息校验后需要进入后续统一审批过程,由各自渠道分别校验,由于录入方式和校验的方式各有差别,会导致审批时效率下降的问题
[0040]The aforementioned information verification method, apparatus, computer equipment, storage medium, and computer program product receive application information to be verified, which is a voucher for requesting resource borrowing services, entered from at least one information entry source. It then obtains corresponding verification configuration information based on the source identifier of the information entry source, determines verification rules for verifying each sub-application information within the application information based on the verification configuration information, and performs basic data verification on each sub-application information according to the verification rules, including information format verification, information completeness verification, and information legality verification. Compared to the traditional method of verifying information through different application channels using their respective verification methods, this solution improves the efficiency of information verification by receiving application information from different information entry sources and determining the verification configuration information corresponding to the information entry source for basic data verification of the application information.
Smart Images

Figure CN116011029B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technology, and in particular to an information verification method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the continuous development of information technology and the arrival of the information age, a resource borrowing service voucher has been provided to address people's increasing demand for product access. This voucher allows for the execution of resource borrowing transactions and the acquisition of corresponding resources. Before using the voucher, an application is required to obtain the voucher and verify the application information. Currently, there are multiple channels for applying for resource borrowing service vouchers, each with its own specific information entry method. The current method for verifying application information is typically performed through different application channels using their respective verification methods. However, after verification, the application information needs to enter a unified approval process, with each channel verifying the information separately. The differences in entry and verification methods lead to decreased efficiency during the approval process.
[0003] Therefore, the current method for verifying the application information of the voucher used in resource borrowing business has the drawback of low efficiency. Summary of the Invention
[0004] Therefore, it is necessary to provide an information verification method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the efficiency of information verification in order to address the above-mentioned technical problems.
[0005] Firstly, this application provides an information verification method, the method comprising:
[0006] Receive application information to be verified based on at least one information entry source, and obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing service voucher;
[0007] Obtain the corresponding verification configuration information based on the source identifier, and determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information; wherein, the verification rules corresponding to the same information type of sub-application information entered from different information input sources are the same;
[0008] According to the verification rules, basic data verification is performed on each sub-application information in the application information; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification.
[0009] In one embodiment, the method further includes:
[0010] For the resource borrowing business system, obtain the source identifier corresponding to each information entry source from multiple information entry sources;
[0011] For each information entry source, based on the various information types of sub-application information that can be entered provided by the information entry source, a verification rule corresponding to each information type of sub-application information is generated. Based on the multiple verification rules, the verification configuration information corresponding to the information entry source is obtained. The source identifier of the information entry source and the verification configuration information are associated and stored.
[0012] Among them, the verification configuration information corresponding to different information input sources has the same verification rules for sub-application information of the same information type.
[0013] In one embodiment, the method further includes:
[0014] For a new information entry source corresponding to the resource borrowing business system, obtain the source identifier and information entry template of the new information entry source; the information entry template is used to indicate the information type into which sub-application information can be entered;
[0015] Generate corresponding verification rules based on the sub-application information of each information type in the information entry template, obtain new verification configuration information based on the verification rules, associate the source identifier of the information entry source with the new verification configuration information and store it.
[0016] In one embodiment, the method further includes:
[0017] Upon detecting modification information for the target verification rule, verification configuration information containing the target verification rule is determined as the verification configuration information to be modified; the target verification rule is the verification rule corresponding to the sub-application information of the target information type.
[0018] Modify the target verification rule in the verification configuration information to be modified according to the modification information, and save the modified verification configuration information.
[0019] In one embodiment, the method further includes:
[0020] A new verification rule for sub-application information of known information type is detected, and the source identifier of the information entry source to be updated is obtained; the sub-application information of the information entry source to be updated includes the sub-application information of the known information type.
[0021] Obtain the verification configuration information corresponding to the source identifier of the information input source to be updated, use it as the verification configuration information to be updated, add the newly added verification rule to the verification configuration information to be updated, and save the verification configuration information after adding the verification rule.
[0022] In one embodiment, the step of performing basic data verification on each sub-application information in the application information according to the verification rules includes:
[0023] For each sub-application information in the application information, according to the verification rules, if the sub-application information conforms to the corresponding information format and matches the qualified sub-application information stored in the source database, it is determined that the sub-application information has passed the information format verification and information legality verification.
[0024] For each information entry source's application information, if the number of sub-application information that passes the information format verification and information legality verification is greater than or equal to the number of sub-application information in the verification configuration information corresponding to the information entry source, and the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the verification configuration information corresponding to the information entry source, then the application information is determined to have passed the information integrity verification.
[0025] In one embodiment, the sub-application information includes the phone number of the user applying for the resource borrowing service usage certificate;
[0026] The step of verifying each sub-application information in the application information according to the verification rules in the verification configuration information, confirming that the sub-application information conforms to the corresponding information format, and that the sub-application information matches the qualified sub-application information stored in the source database, and determining that the sub-application information passes the information format verification and information legality verification, includes:
[0027] According to the verification rules, if the phone number is found to meet the following verification rules, then the phone number is determined to have passed the information format verification and information legality verification: the phone number is all numbers, the number length of the phone number is a preset length, and the number issuer corresponding to the phone number exists in the source database and the phone number conforms to the encoding rules corresponding to the number issuer.
[0028] In one embodiment, after performing basic data verification on each sub-application information in the application information according to the verification rules, the method further includes:
[0029] The target application information that has passed the basic data verification is sent to the approval system corresponding to the resource borrowing business system; the approval system is used to determine whether to allow the user corresponding to the application information to apply for a resource borrowing business usage certificate based on the target application information.
[0030] In one embodiment, after performing basic data verification on each sub-application information in the application information according to the verification rules, the method further includes:
[0031] If an unqualified application information that fails the basic data verification is detected, the target information input source corresponding to the unqualified application information is determined from the at least one information input source;
[0032] Based on the source identifier corresponding to the target information input source, generate corresponding verification failure information and return the verification failure information to the target information input source.
[0033] Secondly, this application provides an information verification device, the device comprising:
[0034] The receiving module is used to receive application information to be verified based on at least one information entry source, and to obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing service voucher;
[0035] The determination module is used to obtain the corresponding verification configuration information based on the source identifier, and determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information; wherein, the verification rules corresponding to the same information type of sub-application information entered from different information input sources are the same.
[0036] The verification module is used to perform basic data verification on each sub-application information in the application information according to the verification rules; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification.
[0037] Thirdly, this application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0038] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0039] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0040] The aforementioned information verification method, apparatus, computer equipment, storage medium, and computer program product receive application information to be verified, which is a voucher for requesting resource borrowing services, entered from at least one information entry source. It then obtains corresponding verification configuration information based on the source identifier of the information entry source, determines verification rules for verifying each sub-application information within the application information based on the verification configuration information, and performs basic data verification on each sub-application information according to the verification rules, including information format verification, information completeness verification, and information legality verification. Compared to the traditional method of verifying information through different application channels using their respective verification methods, this solution improves the efficiency of information verification by receiving application information from different information entry sources and determining the verification configuration information corresponding to the information entry source for basic data verification of the application information. Attached Figure Description
[0041] Figure 1 This is a diagram illustrating the application environment of the information verification method in one embodiment;
[0042] Figure 2 This is a flowchart illustrating an information verification method in one embodiment;
[0043] Figure 3 This is a flowchart illustrating the step of adding a new information input source in one embodiment;
[0044] Figure 4 This is a flowchart illustrating the steps for modifying or adding verification rules in one embodiment.
[0045] Figure 5 This is a flowchart illustrating the verification steps in one embodiment;
[0046] Figure 6 This is a flowchart illustrating the information verification method in another embodiment;
[0047] Figure 7 This is a structural block diagram of an information verification device in one embodiment;
[0048] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0050] The information verification method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with approval system 104 via a network. Terminal 102 can also communicate with different information entry channels, each of which can be a different information entry source. Terminal 102 can receive application information for resource borrowing service vouchers sent from different information entry sources. Terminal 102 obtains the verification configuration information corresponding to the information entry source and performs basic data verification on the application information based on the verification configuration information. Terminal 102 can send the verified application information to approval system 104, which can approve the application information and determine whether it is allowed to apply for resource borrowing service vouchers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, and tablets. Approval system 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0051] In one embodiment, such as Figure 2 As shown, an information verification method is provided, which is applied to... Figure 1 Taking the terminal in the example, the explanation includes the following steps:
[0052] Step S202: Receive application information to be verified based on at least one information entry source, and obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing business usage certificate.
[0053] The application information can be used to apply for a resource borrowing service voucher. When a user possesses a resource borrowing service voucher, they can borrow resources according to certain rules, obtain a certain number of resources, and must return the corresponding resources within a certain timeframe. The information entry source can be one of the initiating parties, and there can be multiple information entry sources, such as hardware devices and web-based sources. Specifically, entry via hardware devices includes entering information through a mobile application or through a teller entering an application form from the back-end system; entry via web-based sources includes entering information on the application page for the resource borrowing service voucher. Because different information entry sources may call different verification interfaces or have subtle differences in verification rules, the application form data entered through different channels may be inconsistent, meaning that the verification methods for application information initiated by different information entry sources will differ. The terminal needs to determine different verification methods based on the different information entry sources. These different information entry sources can also correspond to different source identifiers. Therefore, after receiving application information to be verified from at least one information entry source, the terminal can obtain the source identifier of the information entry source. Each information entry source can correspond to a source identifier. The terminal can determine the source identifier of the information entry source based on the application request sent by the information entry source, which includes the application information and the attribute information of the information entry source. For example, the terminal can query the identifier database with the aforementioned attribute information, so that the terminal can obtain the source identifier corresponding to the information entry source that sent the aforementioned application information from multiple source identifiers in the identifier database.
[0054] Step S204: Obtain the corresponding verification configuration information based on the source identifier, and determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information; wherein, the verification rules for sub-application information of the same information type entered from different information input sources are the same.
[0055] Different information entry sources use different methods to enter user application information for resource borrowing services, such as using different entry templates, leading to different formats for similar information. Therefore, different verification rules are needed to verify each item in the application information for different information entry sources. These verification rules can be stored in verification configuration information. After obtaining the source identifier of the information entry source, the terminal can retrieve the corresponding verification configuration information based on that identifier. The verification configuration information corresponds one-to-one with the source identifier. The application information can include multiple sub-application information, and the verification configuration information can include multiple verification rules for each sub-application information of its corresponding information entry source. The terminal can determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information.
[0056] Specifically, different information entry sources refer to different information entry application channels. After the terminal receives the entry information from the channel and triggers the access information, it begins verification. After receiving the entry information from the channel, the terminal can read the verification configuration information used for verification according to different channels, and then load different basic data verification rules according to the verification configuration information. For example, the terminal can configure to read different verification configuration information in the form of variable configuration. The above-mentioned information entry sources can include mobile phones, web pages, and HTML5 (HyperText Markup Language 5), etc. The verification configuration information of each information entry source can be as follows: [{"id":"mobile_banking","conf":" / ... / mobile_banking_config.conf"},{"id":"online_page","conf":" / ... / online_page_config.conf"},{"id":"ies_flow","conf":" / ... / ies_flow_config.conf"},{"id":"h5_apply","conf":" / ... / h5_apply_config.conf"},...]. Here, "id" represents the source identifier of the information entry source, and "conf" represents the verification configuration information corresponding to the information entry source, which includes various verification rules. The terminal can obtain the verification configuration information of different information entry sources based on different key and value values. The verification configuration information of each information entry source can be set in the terminal using preset values, allowing the terminal to find the corresponding verification configuration information based on the aforementioned source identifier.
[0057] Furthermore, for sub-application information of the same information type entered from different information entry sources, the terminal can perform verification using the same verification rules. For example, for telephone numbers, the format of the telephone numbers entered from different information entry sources may be different, but the composition of the telephone numbers is the same. The terminal can verify the key components of the telephone number to achieve verification of sub-application information of the same information type from different information entry sources.
[0058] Step S206: According to the verification rules, perform basic data verification on each sub-application information in the application information; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification.
[0059] The application information mentioned above may include multiple sub-application information. The terminal's verification of the sub-application information can be a basic data verification, used to verify at least two of the following: information format, information completeness, and information legality of each sub-application information. After obtaining the verification rules corresponding to the information input source, the terminal can perform basic data verification on each sub-application information in the application information. Specifically, after the terminal obtains the verification configuration information, it performs access verification and begins matching different sub-application information based on the verification configuration information to determine the verification rules for each sub-application information. For example, the sub-application information may include basic data verifications such as phone number verification and residential address verification in personal information. Thus, the terminal can perform basic data verification on each sub-application information based on the verification rules for each sub-application information.
[0060] After the terminal performs basic data verification on the aforementioned sub-application information, it can obtain two results: verification passed and verification failed. Specifically, when all sub-applications corresponding to an information entry source pass the basic data verification, the basic data verification of the application information corresponding to that information entry source is determined to be passed; when any sub-application information corresponding to an information entry source fails its corresponding basic data verification, the basic data verification of the application information corresponding to that information entry source is determined to be failed.
[0061] The terminal can process the application information based on whether it passes the aforementioned basic data verification. For example, in some embodiments, for target application information that passes the basic data verification, the terminal can send the target application information that has passed the basic data verification to the approval system corresponding to the resource borrowing business system. The approval system can then determine whether to allow the user corresponding to the application information to apply for a resource borrowing business usage certificate based on the target application information. For example, the approval system can perform a credit assessment on the user's target application information to determine whether to allow them to apply for a resource borrowing business usage certificate, and return the corresponding application result to the terminal. The terminal can then return the application result to the information entry source.
[0062] In some embodiments, there may be multiple information input sources. For target application information that fails the basic data verification, when the terminal detects unqualified application information that fails the basic data verification, it can determine the target information input source corresponding to the unqualified application information from at least one information input source. That is, the terminal needs to determine the application source corresponding to the unqualified application information. The terminal can then generate corresponding verification failure information based on the source identifier corresponding to the target information input source and return the verification failure information to the target information input source. The user can then view the verification failure information in the target information input source. The verification failure information may include the sub-application information item that failed verification, as well as information such as the reason why the sub-application information failed verification.
[0063] In the aforementioned information verification method, the method receives application information to be verified, which is used to apply for a resource borrowing service voucher, entered from at least one information entry source. It then obtains the corresponding verification configuration information based on the source identifier of the information entry source, determines the verification rules for verifying each sub-application information within the application information based on the verification configuration information, and performs basic data verification on each sub-application information according to the verification rules, including information format verification, information completeness verification, and information legality verification. Compared to the traditional method of verifying information through different application channels using their respective verification methods, this solution improves the efficiency of information verification by receiving application information from different information entry sources and determining the verification configuration information corresponding to the information entry source for basic data verification of the application information.
[0064] In one embodiment, the method further includes: for multiple information entry sources corresponding to the resource borrowing business system, obtaining the source identifier corresponding to each information entry source; for each information entry source, generating verification rules corresponding to each type of sub-application information based on the multiple information types of sub-application information that can be entered provided by the information entry source, obtaining the verification configuration information corresponding to the information entry source based on the multiple verification rules, associating the source identifier and verification configuration information of the information entry source and storing them; wherein, in the verification configuration information corresponding to different information entry sources, the verification rules corresponding to the sub-application information of the same information type are the same.
[0065] In this embodiment, the terminal can pre-generate and store corresponding verification configuration information based on the verification methods of each information entry source. The aforementioned multiple information entry sources can be information entry sources within the resource borrowing service system. The terminal can obtain the source identifiers corresponding to each of the aforementioned information entry sources, thus obtaining multiple source identifiers. When a user applies for a resource borrowing service usage certificate from different information entry sources, they need to use the application template corresponding to the information entry source and input the corresponding multiple sub-application information according to the format corresponding to the application template. The application template includes multiple inputtable sub-application information items, and these items have multiple information types. Furthermore, there can be multiple information entry sources. For each information entry source, the terminal can generate verification rules corresponding to each information type of sub-application information based on the multiple information types of the inputtable sub-application information provided by that information entry source. Since each information entry source can correspond to multiple types of sub-application information, each information entry source can have multiple verification rules. The terminal can obtain the verification configuration information corresponding to the information entry source based on multiple verification rules. Furthermore, the terminal can associate the source identifier and verification configuration information of the information entry source. Among the verification configuration information corresponding to different information entry sources, the verification rules for sub-application information of the same information type are the same. That is, the terminal can use the same verification rules to verify sub-application information of the same information type. For example, the terminal can use the same verification rules to uniformly verify the phone number in the application information. In addition, the terminal can store the associated source identifier and verification configuration information, so that the terminal can subsequently find the corresponding verification configuration information based on the source identifier.
[0066] Through this embodiment, the terminal can generate and store corresponding verification configuration information in advance based on the information type of the sub-application information that can be entered from the information entry source. Thus, the terminal can verify the application information of different information entry sources by searching for the corresponding verification configuration information, thereby improving the efficiency of information verification.
[0067] In one embodiment, the method further includes: for a new information entry source corresponding to the resource borrowing business system, obtaining the source identifier and information entry template of the new information entry source; the information entry template is used to indicate the information type into which sub-application information can be entered; generating corresponding verification rules based on the sub-application information of each information type in the information entry template; obtaining new verification configuration information based on the verification rules; associating the source identifier of the information entry source with the new verification configuration information and storing it.
[0068] In this embodiment, after the terminal completes the pre-storing of multiple verification configuration information corresponding to multiple information entry sources, it can also detect whether there are any newly added information entry sources. For a new information entry source corresponding to the resource borrowing business system, the terminal can obtain the source identifier and information entry template of the new information entry source. The information entry template can be used to indicate the information type for which sub-application information can be entered. The terminal can generate corresponding verification rules based on the sub-application information of each information type in the information entry template. The terminal can generate multiple verification rules. Based on the generated verification rules, the terminal can obtain new verification configuration information and associate the source identifier of the newly added information entry source with the new verification configuration information for storage, thereby realizing the addition of information entry sources.
[0069] Specifically, the process for adding the above-mentioned new information entry source can be as follows: Figure 3 As shown, Figure 3 This is a flowchart illustrating the step of adding a new information entry source in one embodiment. The information entry source can also be referred to as an information entry channel. In existing technologies, adding an information entry channel requires both adding the new channel and verifying the corresponding information, resulting in high code redundancy in the information verification section. Furthermore, after the application information is provided to the approval system, inconsistencies arise because different channels maintain their own verification modules, leading to inconsistent verification of data of the same type across different channels. For example, a mobile phone number in channel A might be formatted as +86xxxx, while in channel B it might be formatted as xxxx, which would pass verification, resulting in non-standard data. In this embodiment, when adding a new channel, only the configuration file for that channel needs to be added, i.e., the aforementioned verification configuration information, and verification item matching is performed. For example, it checks whether there are existing verification items in the system with the same information type as the verification items in the newly added verification configuration information. After matching, if a corresponding verification already exists, the existing data verification is reused, i.e., the existing verification rules are used to verify the newly added verification items that match, thereby ensuring consistency of verification information of the same type across different channels.
[0070] Through this embodiment, the terminal can generate and store corresponding verification configuration information based on the information type of the sub-application information that can be entered from the newly added information entry source. Thus, the terminal can verify the application information of different information entry sources by searching for the corresponding verification configuration information, thereby improving the efficiency of information verification.
[0071] In one embodiment, the method further includes: detecting modification information for the target verification rule, determining verification configuration information containing the target verification rule as the verification configuration information to be modified; the target verification rule is the verification rule corresponding to the sub-application information of the target information type; modifying the target verification rule in the verification configuration information to be modified according to the modification information, and saving the modified verification configuration information.
[0072] In this embodiment, the verification rules in the aforementioned verification configuration information can also be modified. For example, at the information entry source, if relevant personnel modify the input sub-application information corresponding to that information entry source, the information entry source can trigger the verification rule modification information. When the terminal detects the modification information targeting the target verification rule, it can determine the verification configuration information containing the target verification rule as the verification configuration information to be modified. The aforementioned target verification rule is the verification rule corresponding to the sub-application information of the target information type. The terminal can modify the target verification rule in the verification configuration information to be modified based on the aforementioned modification information and save the modified verification configuration information, thereby completing the modification and update of the verification configuration information.
[0073] In addition, in some embodiments, the terminal can also detect newly added verification rule information of the information entry source, such as the information entry source adding verification for sub-application information of a certain known information type. In this case, the terminal can detect the newly added verification rule for the sub-application information of the known information type, and the terminal can obtain the source identifier of the information entry source to be updated. The information entry source to be updated can be the information entry source corresponding to the newly added verification rule. Furthermore, the sub-application information that can be entered by the aforementioned information entry source to be updated may include the sub-application information of the known information type. The terminal can obtain the verification configuration information corresponding to the source identifier of the information entry source to be updated, as the verification configuration information to be updated, and add the newly added verification rule to the verification configuration information to be updated, thereby obtaining the updated verification configuration information. The terminal can save the verification configuration information after adding the verification rule. The verification configuration information after adding the verification rule may include the sub-application information after adding the verification rule.
[0074] Specifically, the process for adding new validation rules and modifying validation rules can be as follows: Figure 4 As shown, Figure 4This is a flowchart illustrating the steps for modifying or adding verification rules in one embodiment. The aforementioned verification rules are also referred to as basic verifications. In existing technologies, adding or modifying verification rules requires modifying the basic information verification for each channel, resulting in high code redundancy and a large amount of repetitive work. In this embodiment, adding or modifying verification rules only requires modifying the configuration file corresponding to the verification rule for the information entry channel to perform verification item matching. For example, it checks whether an existing verification rule exists that corresponds to the added or modified verification rule. The information type of the sub-application information corresponding to the existing verification rule is the same as the information type of the sub-application information of the added or modified verification rule. If the terminal detects the existence of an existing verification rule, it can modify the original verification rule to achieve synchronous updates across different information entry channels; if the terminal detects no existing verification rule, it adds the corresponding verification rule and updates the verification rules for different information entry channels by updating the verification configuration information.
[0075] Through the above embodiments, the terminal can synchronously update the verification configuration information in the terminal when it detects that the information input source has added verification rules or modified the verification rules. Then, the terminal can use the various verification rules in the updated verification configuration information to apply for verification of the resource borrowing service usage certificate, thereby improving the efficiency of information verification.
[0076] In one embodiment, basic data verification is performed on each sub-application information in the application information according to the verification rules, including: for each sub-application information in the application information, according to the verification rules, if the sub-application information conforms to the corresponding information format and matches the qualified sub-application information stored in the source database, the sub-application information is determined to have passed the information format verification and information legality verification; for the application information of each information entry source, if the number of sub-application information that has passed the information format verification and information legality verification is greater than or equal to the number of sub-application information in the verification configuration information corresponding to the information entry source, and the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the verification configuration information corresponding to the information entry source, the application information is determined to have passed the information integrity verification.
[0077] In this embodiment, the aforementioned basic data verification includes at least two of the following: information format verification, information integrity verification, and information legality verification. After receiving the application information, the terminal can check whether each sub-application information conforms to the corresponding information format based on the corresponding verification rules. If it does, the terminal determines that the application information has passed the information format verification. The terminal can also establish a communication connection with a source database, which can store multiple qualified sub-application information. The terminal can check whether each sub-application information matches the qualified sub-application information stored in the source database. If they match, the terminal determines that the sub-application information has passed the information legality verification.
[0078] When the terminal passes the above information format and legality checks, it can also perform an information completeness check on the application information. For each information entry source's application information, the terminal can detect whether the number of sub-application information that has passed the above information format and legality checks is greater than or equal to the number of sub-application information in the corresponding verification configuration information of the information entry source, and detect whether the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the corresponding verification configuration information of the information entry source. If the terminal detects that the number of sub-application information that has passed the above information format and legality checks is greater than or equal to the number of sub-application information in the corresponding verification configuration information of the information entry source, and that the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the corresponding verification configuration information of the information entry source, then the terminal can determine that the application information has passed the information completeness check. The terminal can determine the application information that has passed the information completeness check as the application information that has passed the basic data check.
[0079] Through this embodiment, the terminal can perform information integrity verification after determining that the application information has passed the information format verification and information legality verification based on the corresponding verification rules, thereby improving the verification efficiency of application information.
[0080] In one embodiment, for each sub-application information in the application information, according to the verification rules in the verification configuration information, the sub-application information is verified to conform to the corresponding information format, and the sub-application information matches the qualified sub-application information stored in the source database, and the sub-application information is determined to pass the information format verification and information legality verification, including: according to the verification rules, if the telephone number is detected to meet the following verification rules, the telephone number is determined to pass the information format verification and information legality verification: the telephone number is all numbers, the length of the telephone number is a preset length, and the number issuer corresponding to the telephone number exists in the source database and the telephone number conforms to the encoding rules corresponding to the number issuer.
[0081] In this embodiment, the sub-application information includes the phone number of the user applying for the resource borrowing service usage certificate. For this sub-application information, the terminal can perform information format verification and information legality verification on the phone number using the verification rules corresponding to the phone number. The phone number verification rules include whether the phone number is all numbers, whether the phone number's length is a preset length, whether the number issuer corresponding to the phone number exists in the source data, and whether the phone number conforms to the encoding rules corresponding to the number issuer. If the terminal detects, according to the above verification rules, that the phone number meets the following conditions: the phone number is all numbers, the phone number's length is a preset length, the number issuer corresponding to the phone number exists in the source database, and the phone number conforms to the encoding rules corresponding to the number issuer, then the terminal can determine that the phone number passes the information format verification and information legality verification.
[0082] Specifically, such as Figure 5 As shown, Figure 5 This is a flowchart illustrating the verification steps in one embodiment. Information verification rules can form a verification rule library for use by different information verification needs. Basic data verification for application information may include, for example, verification of ID numbers, identity, and email addresses. Taking phone number verification as an example, after receiving application information from the information entry channel, the terminal can read the corresponding verification configuration information for that channel and initialize the phone number, embedding the application information into the terminal's verification module. Phone number verification begins; the terminal can determine if the phone number is entirely numeric. If it passes, the checked flag is set to 1. If the data remains unchanged, this verification can be skipped on subsequent entries, and the next step can proceed. If it fails, the terminal can return an error message to the business personnel, who can then modify the information and restart receiving application information from the information entry channel.
[0083] The terminal can also determine whether the length of the phone number is 11. If it passes, the checked flag is set to 1 and the process continues to the next step. If it fails, the terminal returns an error message to the business personnel, who then make the corrections and restart receiving application information from the information entry channel.
[0084] The terminal can also determine whether the phone number matches a legitimate operator. Phone numbers matching a legitimate operator are considered qualified sub-application information, and the terminal first retrieves the legitimate operator information from the cache. Specifically, the terminal can retrieve the legitimate operator information from the qualified sub-application information cached in the source database. If the legitimate operator information exists in the terminal's cache, the terminal directly reads the cached information and verifies it against the current phone number. If the legitimate operator information does not exist in the cache, the terminal needs to re-call the operator interface to retrieve the legitimate operator information and then perform verification. If the legitimate operator information verification of the phone number passes, the terminal can check whether all verification items in the basic verification of the phone number have passed. If they pass, the message is archived for message integrity assessment, and the verification module ends. If the verification fails, the terminal can set the verified flag of this verification to 0, return an error message to the corresponding information input source, and the verification module ends.
[0085] Through this embodiment, the terminal can perform corresponding verification on each sub-application information based on the verification rules of the information input source corresponding to each sub-application information, thereby improving the efficiency of information verification.
[0086] In one embodiment, such as Figure 6 As shown, Figure 6 This is a flowchart illustrating the information verification method in another embodiment. In this embodiment, the aforementioned application information can be used to apply for a resource borrowing service voucher. The terminal can receive application information from the information entry source for applying for a resource borrowing service voucher. The application information includes the aforementioned sub-application information, applicant information, and other information. After receiving application information from different information entry sources, the terminal can read the corresponding verification configuration information according to the information entry source and perform basic data verification matching based on the verification configuration information, that is, matching each sub-application information in the application information with each verification rule in the verification configuration information. After matching, the terminal can use the matched verification rules to perform basic data verification on the corresponding sub-application information, including information format verification, information legality verification, and information completeness verification. After verification, the terminal can return the verification result to the corresponding information entry source. For example, if the verification fails, the terminal returns a verification failure message to the corresponding information entry source, thereby reminding the business personnel to make modifications; if the information completeness verification passes, the terminal can return a verification pass message to the corresponding information entry source. Furthermore, the terminal can push the verified application information and completeness assessment results to the approval system. The approval system can then determine whether to allow the user to apply for a resource borrowing service voucher based on the application information and completeness assessment results, and return the corresponding approval result to the terminal. The terminal can then return the approval result to the corresponding information input source.
[0087] Through the above embodiments, after receiving application information from different information entry sources, the terminal determines the verification configuration information corresponding to the information entry source and performs basic data verification on the application information, thereby improving the efficiency of information verification. Furthermore, it solves the problem of low data entry efficiency and high error rates among frontline staff across different channels, greatly facilitating data entry for business personnel and meeting the timeliness requirements for reporting, ensuring both efficiency and quality of data entry. From the perspective of developers' secondary development, unified data verification also makes development more convenient and efficient, improving code reusability and development efficiency.
[0088] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0089] Based on the same inventive concept, this application also provides an information verification device for implementing the information verification method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more information verification device embodiments provided below can be found in the limitations of the information verification method described above, and will not be repeated here.
[0090] In one embodiment, such as Figure 7 As shown, an information verification device is provided, including: a receiving module 500, a determining module 502, and a verification module 504, wherein:
[0091] The receiving module 500 is used to receive application information to be verified based on at least one information entry source, and to obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing business usage certificate.
[0092] The determination module 502 is used to obtain the corresponding verification configuration information based on the source identifier, and to determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information; wherein, the verification rules corresponding to the sub-application information of the same information type entered from different information input sources are the same.
[0093] The verification module 504 is used to perform basic data verification on each sub-application information in the application information according to the verification rules; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification.
[0094] In one embodiment, the above apparatus further includes: a configuration module, configured to obtain a source identifier corresponding to each information entry source for multiple information entry sources corresponding to the resource borrowing business system; for each information entry source, generate verification rules corresponding to each type of sub-application information based on the multiple information types of sub-application information that can be entered provided by the information entry source, obtain verification configuration information corresponding to the information entry source based on the multiple verification rules, associate the source identifier and verification configuration information of the information entry source and store them; wherein, in the verification configuration information corresponding to different information entry sources, the verification rules corresponding to the sub-application information of the same information type are the same.
[0095] In one embodiment, the above apparatus further includes: a channel addition module, used to obtain the source identifier and information entry template of a new information entry source for a new information entry source corresponding to the resource borrowing business system; the information entry template is used to indicate the information type into which sub-application information can be entered; generate corresponding verification rules according to the sub-application information of each information type in the information entry template, obtain new verification configuration information based on the verification rules, and associate and store the source identifier of the information entry source with the new verification configuration information.
[0096] In one embodiment, the above apparatus further includes: a modification module, configured to detect modification information for a target verification rule, determine verification configuration information containing the target verification rule as the verification configuration information to be modified; the target verification rule is the verification rule corresponding to the sub-application information of the target information type; modify the target verification rule in the verification configuration information to be modified according to the modification information, and save the modified verification configuration information.
[0097] In one embodiment, the above apparatus further includes: a rule addition module, configured to detect newly added verification rules for sub-application information of known information types, obtain the source identifier of the information entry source to be updated; the enterable sub-application information of the information entry source to be updated includes sub-application information of known information types; obtain the verification configuration information corresponding to the source identifier of the information entry source to be updated as the verification configuration information to be updated, add the newly added verification rules to the verification configuration information to be updated, and save the verification configuration information after adding the verification rules.
[0098] In one embodiment, the verification module 504 is specifically used to, for each sub-application information in the application information, according to the verification rules, determine that the sub-application information passes the information format verification and information legality verification if the verification of the sub-application information conforms to the corresponding information format and matches the qualified sub-application information stored in the source database; for the application information of each information entry source, if the number of sub-application information that passes the information format verification and information legality verification is greater than or equal to the number of sub-application information in the verification configuration information corresponding to the information entry source, and the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the verification configuration information corresponding to the information entry source, determine that the application information passes the information integrity verification.
[0099] In one embodiment, the verification module 504 is specifically used to determine that the phone number passes the information format verification and information legality verification if the phone number is found to meet the following verification rules: the phone number is all numbers, the length of the phone number is a preset length, and the number issuer corresponding to the phone number exists in the source database and the phone number conforms to the encoding rules corresponding to the number issuer.
[0100] In one embodiment, the above apparatus further includes: an upload module, configured to send the target application information that has passed the basic data verification to the approval system corresponding to the resource borrowing business system; the approval system is configured to determine whether to allow the user corresponding to the application information to apply for a resource borrowing business usage certificate based on the target application information.
[0101] In one embodiment, the above apparatus further includes: a return module, configured to detect unqualified application information that fails basic data verification, determine the target information input source corresponding to the unqualified application information from at least one information input source, generate corresponding verification failure information according to the source identifier corresponding to the target information input source, and return the verification failure information to the target information input source.
[0102] Each module in the aforementioned information verification device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0103] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements an information verification method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0104] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0105] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the information verification method described above.
[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the information verification method described above.
[0107] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the information verification method described above.
[0108] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0109] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0110] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0111] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An information verification method, characterized in that, The method includes: Receive application information to be verified based on at least one information entry source, and obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing service voucher; The corresponding verification configuration information is obtained based on the source identifier, and verification rules for verifying each sub-application information in the application information are determined based on the verification configuration information. Different information entry sources use the same verification rules for sub-application information of the same information type. Furthermore, when generating the verification configuration information, if a verification rule for the same information type already exists in the system, that existing verification rule is reused. The verification rules are stored in a verification rule library for multiple information entry sources to share and access. According to the verification rules, basic data verification is performed on each sub-application information in the application information; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification. The step of performing basic data verification on each sub-application information in the application information according to the verification rules includes: For each sub-application information in the application information, according to the verification rules, if the sub-application information conforms to the corresponding information format and matches the qualified sub-application information stored in the source database, it is determined that the sub-application information has passed the information format verification and information legality verification. For each information entry source's application information, if the number of sub-application information that passes the information format verification and information legality verification is greater than or equal to the number of sub-application information in the verification configuration information corresponding to the information entry source, and the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the verification configuration information corresponding to the information entry source, then the application information is determined to have passed the information integrity verification.
2. The method according to claim 1, characterized in that, The method further includes: For the resource borrowing business system, obtain the source identifier corresponding to each information entry source from multiple information entry sources; For each information entry source, based on the various information types of sub-application information that can be entered provided by the information entry source, a verification rule corresponding to each information type of sub-application information is generated. Based on the multiple verification rules, the verification configuration information corresponding to the information entry source is obtained. The source identifier of the information entry source and the verification configuration information are associated and stored. Among them, the verification configuration information corresponding to different information input sources has the same verification rules for sub-application information of the same information type.
3. The method according to claim 2, characterized in that, The method further includes: For a new information entry source corresponding to the resource borrowing business system, obtain the source identifier and information entry template of the new information entry source; the information entry template is used to indicate the information type into which sub-application information can be entered; Generate corresponding verification rules based on the sub-application information of each information type in the information entry template, obtain new verification configuration information based on the verification rules, associate the source identifier of the information entry source with the new verification configuration information and store it.
4. The method according to claim 2, characterized in that, The method further includes: Upon detecting modification information for the target verification rule, verification configuration information containing the target verification rule is determined as the verification configuration information to be modified; the target verification rule is the verification rule corresponding to the sub-application information of the target information type. Modify the target verification rule in the verification configuration information to be modified according to the modification information, and save the modified verification configuration information.
5. The method according to claim 2, characterized in that, The method further includes: A new verification rule for sub-application information of known information type is detected, and the source identifier of the information entry source to be updated is obtained; the sub-application information of the information entry source to be updated includes the sub-application information of the known information type. Obtain the verification configuration information corresponding to the source identifier of the information input source to be updated, use it as the verification configuration information to be updated, add the newly added verification rule to the verification configuration information to be updated, and save the verification configuration information after adding the verification rule.
6. The method according to claim 1, characterized in that, The sub-application information includes the phone number of the user applying for the resource borrowing service voucher; The step of verifying each sub-application information in the application information according to the verification rules in the verification configuration information, confirming that the sub-application information conforms to the corresponding information format, and that the sub-application information matches the qualified sub-application information stored in the source database, and determining that the sub-application information passes the information format verification and information legality verification, includes: According to the verification rules, if the phone number is found to meet the following verification rules, then the phone number is determined to have passed the information format verification and information legality verification: the phone number is all numbers, the number length of the phone number is a preset length, and the number issuer corresponding to the phone number exists in the source database and the phone number conforms to the encoding rules corresponding to the number issuer.
7. The method according to claim 1, characterized in that, After performing basic data verification on each sub-application information in the application information according to the verification rules, the process further includes: The target application information that has passed the basic data verification is sent to the approval system corresponding to the resource borrowing business system; the approval system is used to determine whether to allow the user corresponding to the application information to apply for a resource borrowing business usage certificate based on the target application information.
8. The method according to claim 1, characterized in that, After performing basic data verification on each sub-application information in the application information according to the verification rules, the process further includes: If an unqualified application information that fails the basic data verification is detected, the target information input source corresponding to the unqualified application information is determined from the at least one information input source; Based on the source identifier corresponding to the target information input source, generate corresponding verification failure information and return the verification failure information to the target information input source.
9. An information verification device, characterized in that, The device includes: The receiving module is used to receive application information to be verified based on at least one information entry source, and to obtain the source identifier of the information entry source; the application information is information used to apply for a resource borrowing service voucher; The determination module is used to obtain the corresponding verification configuration information according to the source identifier, and determine the verification rules for verifying each sub-application information in the application information based on the verification configuration information; wherein, different information entry sources use the same verification rules for sub-application information of the same information type, and when generating the verification configuration information, if a verification rule for the same information type already exists in the system, the existing verification rule is reused; the verification rules are stored in a verification rule library for multiple information entry sources to share and call. The verification module is used to perform basic data verification on each sub-application information in the application information according to the verification rules; the basic data verification includes at least two of the following: information format verification, information completeness verification, and information legality verification. The verification module is specifically used to verify each sub-application information in the application information according to the verification rules. If the verification of the sub-application information conforms to the corresponding information format and matches the qualified sub-application information stored in the source database, the sub-application information is determined to have passed the information format verification and information validity verification. For each information entry source's application information, if the number of sub-application information that has passed the information format verification and information validity verification is greater than or equal to the number of sub-application information in the verification configuration information corresponding to the information entry source, and the types of multiple sub-application information in the application information correspond to the types of multiple sub-application information in the verification configuration information corresponding to the information entry source, the application information is determined to have passed the information completeness verification.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and system for performing unified verification on various types of service application data
CN112527820A