Data verification method, device, equipment and storage medium

By targeted acquisition and comparison of data forms, combining the generation time and form type, and obtaining benchmark forms from the preset library, the problem of inefficient data verification in the existing technology is solved, and more efficient and accurate data verification is achieved.

CN114490692BActive Publication Date: 2025-03-18CHINA PING AN LIFE INSURANCE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210138076.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-15
Publication Date
2025-03-18
Estimated Expiration
2042-02-15

AI Technical Summary

Technical Problem

The existing data verification plan cannot check the data in a targeted manner, resulting in inefficient data verification and affecting the development of work tasks.

Method used

By receiving data verification requests, obtain the form to be checked and its generation time, classify it to determine the form type, obtain the benchmark form from the preset library based on the generation time and form type, select the corresponding verification fields, and compare the form to be checked and the benchmark form based on these fields. If it is inconsistent, further detection will be carried out.

Benefits of technology

It improves the efficiency and accuracy of data verification, avoids inconsistencies caused by changes in status of the form to be checked, and ensures the accuracy of data verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490692B_ABST
    Figure CN114490692B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and provides a data verification method, device, equipment and storage medium. The method can obtain the form to be verified and the generation time of the form to be verified according to the data verification request when receiving a data verification request; classify the form to be verified to obtain the form type of the form to be verified; obtain a reference form from a preset library based on the generation time and the form type; select a verification field corresponding to the form type; compare the form to be verified with the reference form based on the verification field; if the form to be verified is inconsistent with the reference form, the form to be verified is detected based on a preset change table to obtain a detection result, which can improve the efficiency of data verification. In addition, the present invention also relates to blockchain technology, and the detection result can be stored in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data verification method, device, equipment and storage medium. Background Art

[0002] In order to ensure the consistency of data, it is usually necessary to check the data. In the current data checking scheme, the data to be checked is usually checked and matched with a large amount of data in the database. Since the data cannot be checked specifically, the data checking efficiency is low, which is not conducive to the development of work tasks. Summary of the invention

[0003] In view of the above, it is necessary to provide a data verification method, device, equipment and storage medium that can improve data verification efficiency.

[0004] In one aspect, the present invention provides a data verification method, the data verification method comprising:

[0005] When a data verification request is received, obtaining the form to be verified and the time when the form to be verified is generated according to the data verification request;

[0006] Classifying the form to be checked to obtain the form type of the form to be checked;

[0007] Acquire a reference form from a preset library based on the generation time and the form type;

[0008] Selecting a check field corresponding to the form type;

[0009] Comparing the to-be-checked form with the reference form based on the check fields;

[0010] If the form to be checked is inconsistent with the reference form, the form to be checked is tested based on a preset change table to obtain a test result.

[0011] According to a preferred embodiment of the present invention, the step of obtaining the form to be checked and the time of generating the form to be checked according to the data checking request includes:

[0012] Parsing the message of the data verification request to obtain the data information carried in the message;

[0013] Extracting a form identifier and a path address from the data information;

[0014] Acquire a form corresponding to the form identifier from the path address as the form to be checked, and acquire a user who created the form to be checked from the path address;

[0015] Acquire a form generation log from a binding terminal of the creating user based on the form identifier and a preset event;

[0016] The generation time is extracted from the form generation log.

[0017] According to a preferred embodiment of the present invention, the detecting the to-be-checked form based on the preset change table to obtain the detection result includes:

[0018] Traversing the preset change table based on the form identifier to obtain a traversal result;

[0019] If the traversal result is that the preset change table contains the form identifier, obtaining a form record corresponding to the form identifier from the preset change table;

[0020] Locating a target field in the to-be-checked form that is inconsistent with the reference form;

[0021] Detecting whether the form record contains the target field;

[0022] If the form record contains the target field, the third information corresponding to the target field in the form to be checked is compared with the fourth information corresponding to the target field in the form record to obtain the detection result.

[0023] According to a preferred embodiment of the present invention, the classifying the form to be checked to obtain the form type of the form to be checked includes:

[0024] Get the type keyword for each preset type;

[0025] Extracting form words from the form to be checked;

[0026] Matching the form vocabulary with the type keyword, and counting the number of form vocabulary that successfully matches the type keyword;

[0027] The preset type with the largest number of words is determined as the form type.

[0028] According to a preferred embodiment of the present invention, the obtaining of a reference form from a preset library based on the generation time and the form type comprises:

[0029] Calculate the sum of the generation time and the preset time period to obtain a target time period;

[0030] Writing the target time period and the form type into a preset search instruction to obtain a query statement;

[0031] Run the query statement based on the preset library to obtain a form to be screened;

[0032] The form status of the form to be screened is acquired, and the form to be screened whose form status is a preset status is determined as the reference form.

[0033] According to a preferred embodiment of the present invention, comparing the to-be-checked form with the reference form based on the check fields comprises:

[0034] Detecting whether the to-be-checked form and the reference form contain the check field;

[0035] If the to-be-checked form does not include the check field, and the reference form includes the check field, then obtaining a calculation formula for the check field, wherein the calculation formula includes a plurality of indicator fields;

[0036] If the form to be checked contains the multiple indicator fields, then obtaining indicator information corresponding to the multiple indicator fields from the form to be checked, and calculating the indicator information based on the calculation formula to obtain field information corresponding to the check field in the form to be checked;

[0037] Acquire information corresponding to the check field from the reference form as reference information, and compare the field information with the reference information;

[0038] If the field information is the same as the reference information, it is determined that the form to be checked is consistent with the reference form.

[0039] According to a preferred embodiment of the present invention, after detecting whether the to-be-checked form and the reference form contain the check field, the data checking method further comprises:

[0040] If the form to be checked does not include the check field, and the reference form does not include the check field, then detecting whether the form to be checked and the reference form include the plurality of indicator fields;

[0041] If both the to-be-checked form and the reference form contain the plurality of indicator fields, comparing the indicator information with the information corresponding to the plurality of indicator fields in the reference form;

[0042] If the indicator information is identical to the information corresponding to the plurality of indicator fields in the reference form, it is determined that the form to be checked is identical to the reference form.

[0043] On the other hand, the present invention further provides a data checking device, the data checking device comprising:

[0044] An acquisition unit, configured to acquire the form to be checked and the time when the form to be checked was generated according to the data check request when a data check request is received;

[0045] A classification unit, used for classifying the form to be checked to obtain the form type of the form to be checked;

[0046] The acquisition unit is further used to acquire a reference form from a preset library based on the generation time and the form type;

[0047] A selection unit, used for selecting a check field corresponding to the form type;

[0048] A comparison unit, configured to compare the to-be-checked form with the reference form based on the check fields;

[0049] The detection unit is used for detecting the form to be checked based on a preset change table to obtain a detection result if the form to be checked is inconsistent with the reference form.

[0050] On the other hand, the present invention further provides an electronic device, comprising:

[0051] a memory storing computer readable instructions; and

[0052] A processor executes the computer-readable instructions stored in the memory to implement the data verification method.

[0053] On the other hand, the present invention further proposes a computer-readable storage medium, in which computer-readable instructions are stored. The computer-readable instructions are executed by a processor in an electronic device to implement the data verification method.

[0054] It can be seen from the above technical solutions that the present invention can accurately identify the form type by classifying the form to be checked, and then accurately locate the reference form from the preset library in combination with the form type and the generation time. By locating the reference form, since there is no need to compare the form to be checked with all the forms in the preset library, the data verification efficiency is improved. The verification fields that need to be checked can be accurately located through the form type, and then the form to be checked and the reference form are compared based on the verification fields. Since there is no need to compare all fields in the form to be checked with all fields in the reference form, the data verification efficiency can be further improved. When the form to be checked is inconsistent with the reference form, the form to be checked is further detected based on the preset change table, which can avoid the inconsistency between the form to be checked and the reference form due to the state change of the form to be checked, thereby improving the accuracy of data verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1It is a flow chart of a preferred embodiment of the data checking method of the present invention.

[0056] Figure 2 It is a functional module diagram of a preferred embodiment of the data checking device of the present invention.

[0057] Figure 3 It is a structural schematic diagram of an electronic device of a preferred embodiment of the data verification method of the present invention. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] like Figure 1 FIG. 1 is a flow chart of a preferred embodiment of the data checking method of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0060] The data verification method can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0061] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0062] The data verification method is applied to one or more electronic devices, which are devices that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions, and whose hardware includes but is not limited to microprocessors, application specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0063] The electronic device may be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0064] The electronic device may include a network device and / or a user device. The network device includes, but is not limited to, a single network electronic device, an electronic device group consisting of multiple network electronic devices, or a cloud consisting of a large number of hosts or network electronic devices based on cloud computing.

[0065] The network where the electronic device is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0066] S10, when a data verification request is received, obtaining a form to be verified and a time when the form to be verified is generated according to the data verification request.

[0067] In at least one embodiment of the present invention, the data verification request may be triggered and generated periodically by a data system, wherein the data system has a need to verify the data.

[0068] The form to be checked refers to a form that needs to be checked for data, and there may be multiple forms to be checked. For example, the form to be checked may be a form that records compensation data.

[0069] The generation time refers to the time point when the form to be checked is generated.

[0070] In at least one embodiment of the present invention, the electronic device obtains the to-be-checked form and the time when the to-be-checked form is generated according to the data check request, including:

[0071] Parsing the message of the data verification request to obtain the data information carried in the message;

[0072] Extracting a form identifier and a path address from the data information;

[0073] Acquire a form corresponding to the form identifier from the path address as the form to be checked, and acquire a user who created the form to be checked from the path address;

[0074] Acquire a form generation log from a binding terminal of the creating user based on the form identifier and a preset event;

[0075] The generation time is extracted from the form generation log.

[0076] The data information stores a mapping relationship between the first label and the form identifier, a mapping relationship between the second label and the path address, and the like.

[0077] The form identifier may be the number of the form to be checked, and the path address stores multiple forms and the creator of each form.

[0078] The preset event may be a generated event.

[0079] The form identifier and the path address can be accurately obtained through the data information, and then based on the form identifier, the form to be checked and the creating user can be accurately obtained from the path address, and the form generation log can be accurately obtained through the form identifier and the preset event, thereby improving the accuracy of the generation time.

[0080] S11, classifying the form to be checked to obtain the form type of the form to be checked.

[0081] In at least one embodiment of the present invention, the form type refers to the type corresponding to the information recorded in the form to be checked. For example, the form type may include, but is not limited to: a capture form type, a reinsurance form type, a claim apportionment form type, or a financial form type, etc.

[0082] In at least one embodiment of the present invention, the electronic device classifies the form to be checked, and the form type of the form to be checked includes:

[0083] Get the type keyword for each preset type;

[0084] Extracting form words from the form to be checked;

[0085] Matching the form vocabulary with the type keyword, and counting the number of form vocabulary that successfully matches the type keyword;

[0086] The preset type with the largest number of words is determined as the form type.

[0087] The preset types may include, but are not limited to: order capture form type, reinsurance form type, compensation spread form type, and financial form type, etc. Accordingly, the type keyword refers to a keyword that is exclusive to the preset type. For example, in the compensation spread form type, the type keyword may include compensation spread, etc.

[0088] The form vocabulary refers to the label information in the form to be checked. For example, the form vocabulary may include compensation and the like.

[0089] By matching the form vocabulary with the type keyword, the number of form vocabulary that successfully matches the type keyword can be accurately counted, so that the form type to which the to-be-checked form belongs can be accurately determined based on the number of vocabulary.

[0090] S12: Acquire a reference form from a preset library based on the generation time and the form type.

[0091] In at least one embodiment of the present invention, the preset library may refer to a database recording various form information.

[0092] The reference form refers to a specific form whose form state is in a preset state and corresponds to the generation time and the form type.

[0093] In at least one embodiment of the present invention, the electronic device acquiring a reference form from a preset library based on the generation time and the form type comprises:

[0094] Calculate the sum of the generation time and the preset time period to obtain a target time period;

[0095] Writing the target time period and the form type into a preset search instruction to obtain a query statement;

[0096] Run the query statement based on the preset library to obtain a form to be screened;

[0097] The form status of the form to be screened is acquired, and the form to be screened whose form status is a preset status is determined as the reference form.

[0098] The preset period refers to the time it takes for the form to be synchronized to the preset library when the user triggers the generation of the form. The preset period may be determined by the electronic device after intercepting a certain number of forms for statistics.

[0099] The preset search instruction may be a SQL statement, and the preset search instruction does not include a query object.

[0100] The preset status can be set according to actual needs, and the preset status may include, but is not limited to: payment valid, payment in full, exemption from payment, payment in full with a reduced amount, extension, death claim, suspension, self-payment valid, self-payment in full and self-payment suspension, etc.

[0101] By generating the target time period through the preset time period, and then querying the preset library in combination with the target time period and the form type, it is possible to avoid the inability to obtain the benchmark form corresponding to the form to be checked due to the fact that it takes a certain amount of time to synchronize the form to the preset library, thereby improving the accuracy of obtaining the benchmark form. The query statement is directly generated through the preset search instruction. Since there is no need to rebuild the preset search instruction, the efficiency of obtaining the benchmark form is improved.

[0102] S13, selecting a check field corresponding to the form type.

[0103] In at least one embodiment of the present invention, the check field refers to a specific field in the to-be-checked form that needs to be checked for data, for example, the check field may be the risk coverage, ceded amount, reinsurance premium, handling fee, and loss amortization fee, etc. It is understandable that the check fields corresponding to different form types may overlap.

[0104] In at least one embodiment of the present invention, the electronic device may select a check field corresponding to the form type from a type field check table.

[0105] S14: comparing the form to be checked with the reference form based on the check fields.

[0106] In at least one embodiment of the present invention, the electronic device comparing the to-be-checked form with the reference form based on the check field comprises:

[0107] Detecting whether the to-be-checked form and the reference form contain the check field;

[0108] If the to-be-checked form does not include the check field, and the reference form includes the check field, then obtaining a calculation formula for the check field, wherein the calculation formula includes a plurality of indicator fields;

[0109] If the form to be checked contains the multiple indicator fields, then obtaining indicator information corresponding to the multiple indicator fields from the form to be checked, and calculating the indicator information based on the calculation formula to obtain field information corresponding to the check field in the form to be checked;

[0110] Acquire information corresponding to the check field from the reference form as reference information, and compare the field information with the reference information;

[0111] If the field information is the same as the reference information, it is determined that the form to be checked is consistent with the reference form.

[0112] The multiple indicator fields refer to indicators that can generate the check fields based on the calculation formula. For example, the check field is: risk insurance amount, and the calculation formula is: risk insurance amount = insurance amount * liability risk coefficient of the insurance policy type - reserve, then the multiple indicator fields may include insurance amount, liability risk coefficient of the insurance policy type, reserve, etc.

[0113] Through the above implementation, when the form to be checked does not include the check field and the reference form includes the check field, the field information can be accurately generated using the calculation formula, thereby improving the comparison accuracy between the form to be checked and the reference form.

[0114] In at least one embodiment of the present invention, after detecting whether the to-be-checked form and the reference form include the check field, the data checking method further includes:

[0115] If the form to be checked does not include the check field, and the reference form does not include the check field, then detecting whether the form to be checked and the reference form include the plurality of indicator fields;

[0116] If both the to-be-checked form and the reference form contain the plurality of indicator fields, comparing the indicator information with the information corresponding to the plurality of indicator fields in the reference form;

[0117] If the indicator information is identical to the information corresponding to the plurality of indicator fields in the reference form, it is determined that the form to be checked is identical to the reference form.

[0118] Through the above implementation, when the form to be checked does not include the check field and the base form does not include the check field, the form to be checked and the base form can be directly compared based on the multiple indicator fields without calculating and generating the check field, thereby improving comparison efficiency.

[0119] In at least one embodiment of the present invention, after detecting whether the to-be-checked form and the reference form include the check field, the data checking method further includes:

[0120] If the to-be-checked form and the reference form do not include the check field, comparing the first information corresponding to the check field in the to-be-checked form with the second information corresponding to the check field in the reference form;

[0121] If the first information is the same as the second information, it is determined that the form to be checked is consistent with the reference form.

[0122] S15: If the form to be checked is inconsistent with the reference form, the form to be checked is tested based on a preset change table to obtain a test result.

[0123] It should be emphasized that in order to further ensure the privacy and security of the above test results, the above test results can also be stored in a blockchain node.

[0124] In at least one embodiment of the present invention, the preset change table stores change information of each form, wherein the change information includes: specific data change, state change, etc.

[0125] The detection result may include: the form to be checked is inconsistent with the reference form, and the form to be checked is consistent with the reference form.

[0126] In at least one embodiment of the present invention, the electronic device detects the to-be-checked form based on the preset change table, and the detection result obtained includes:

[0127] Traversing the preset change table based on the form identifier to obtain a traversal result;

[0128] If the traversal result is that the preset change table contains the form identifier, obtaining a form record corresponding to the form identifier from the preset change table;

[0129] Locating a target field in the to-be-checked form that is inconsistent with the reference form;

[0130] Detecting whether the form record contains the target field;

[0131] If the form record contains the target field, the third information corresponding to the target field in the form to be checked is compared with the fourth information corresponding to the target field in the form record to obtain the detection result.

[0132] Through the above implementation, when the form to be checked is inconsistent with the reference form, the form to be checked can be further checked based on the preset change table, which can avoid the inconsistency between the form to be checked and the reference form due to changes to the form to be checked, thereby improving the accuracy of the detection result.

[0133] In at least one embodiment of the present invention, after detecting whether the form record contains the target field, the data verification method further includes:

[0134] If the form record does not contain the target field, detecting whether the form record contains the status change information of the form to be checked;

[0135] Generate prompt information according to the state change information and the form identifier;

[0136] A trigger system for obtaining the data verification request;

[0137] The prompt information is sent to the trigger system.

[0138] Through the above implementation, when the form record does not include the target field, the prompt information is generated based on the status change information, which can avoid the failure to capture the corresponding reference form due to the status change in the form to be checked.

[0139] It can be seen from the above technical solutions that the present invention can accurately identify the form type by classifying the form to be checked, and then accurately locate the reference form from the preset library in combination with the form type and the generation time. By locating the reference form, since there is no need to compare the form to be checked with all the forms in the preset library, the data verification efficiency is improved. The verification fields that need to be checked can be accurately located through the form type, and then the form to be checked and the reference form are compared based on the verification fields. Since there is no need to compare all fields in the form to be checked with all fields in the reference form, the data verification efficiency can be further improved. When the form to be checked is inconsistent with the reference form, the form to be checked is further detected based on the preset change table, which can avoid the inconsistency between the form to be checked and the reference form due to the state change of the form to be checked, thereby improving the accuracy of data verification.

[0140] like Figure 2 , which is a functional module diagram of a preferred embodiment of the data checking device of the present invention. The data checking device 11 includes an acquisition unit 110, a classification unit 111, a selection unit 112, a comparison unit 113, a detection unit 114, a determination unit 115, a generation unit 116 and a sending unit 117. The module / unit referred to in the present invention refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and can complete a fixed function, which is stored in the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.

[0141] When receiving a data verification request, the acquisition unit 110 acquires the form to be verified and the time when the form to be verified was generated according to the data verification request.

[0142] In at least one embodiment of the present invention, the data verification request may be triggered and generated periodically by a data system, wherein the data system has a need to verify the data.

[0143] The form to be checked refers to a form that needs to be checked for data, and there may be multiple forms to be checked. For example, the form to be checked may be a form that records compensation data.

[0144] The generation time refers to the time point when the form to be checked is generated.

[0145] In at least one embodiment of the present invention, the obtaining unit 110 obtains the to-be-checked form and the generation time of the to-be-checked form according to the data checking request, including:

[0146] Parsing the message of the data verification request to obtain the data information carried in the message;

[0147] Extracting a form identifier and a path address from the data information;

[0148] Acquire a form corresponding to the form identifier from the path address as the form to be checked, and acquire a user who created the form to be checked from the path address;

[0149] Acquire a form generation log from a binding terminal of the creating user based on the form identifier and a preset event;

[0150] The generation time is extracted from the form generation log.

[0151] The data information stores a mapping relationship between the first label and the form identifier, a mapping relationship between the second label and the path address, and the like.

[0152] The form identifier may be the number of the form to be checked, and the path address stores multiple forms and the creator of each form.

[0153] The preset event may be a generated event.

[0154] The form identifier and the path address can be accurately obtained through the data information, and then based on the form identifier, the form to be checked and the creating user can be accurately obtained from the path address, and the form generation log can be accurately obtained through the form identifier and the preset event, thereby improving the accuracy of the generation time.

[0155] The classification unit 111 classifies the form to be checked to obtain the form type of the form to be checked.

[0156] In at least one embodiment of the present invention, the form type refers to the type corresponding to the information recorded in the form to be checked. For example, the form type may include, but is not limited to: a capture form type, a reinsurance form type, a claim apportionment form type, or a financial form type, etc.

[0157] In at least one embodiment of the present invention, the classification unit 111 classifies the form to be checked, and the form type of the form to be checked includes:

[0158] Get the type keyword for each preset type;

[0159] Extracting form words from the form to be checked;

[0160] Matching the form vocabulary with the type keyword, and counting the number of form vocabulary that successfully matches the type keyword;

[0161] The preset type with the largest number of words is determined as the form type.

[0162] The preset types may include, but are not limited to: order capture form type, reinsurance form type, compensation spread form type, and financial form type, etc. Accordingly, the type keyword refers to a keyword that is exclusive to the preset type. For example, in the compensation spread form type, the type keyword may include compensation spread, etc.

[0163] The form vocabulary refers to the label information in the form to be checked. For example, the form vocabulary may include compensation and the like.

[0164] By matching the form vocabulary with the type keyword, the number of form vocabulary that successfully matches the type keyword can be accurately counted, so that the form type to which the to-be-checked form belongs can be accurately determined based on the number of vocabulary.

[0165] The acquisition unit 110 acquires a reference form from a preset library based on the generation time and the form type.

[0166] In at least one embodiment of the present invention, the preset library may refer to a database recording various form information.

[0167] The reference form refers to a specific form whose form state is in a preset state and corresponds to the generation time and the form type.

[0168] In at least one embodiment of the present invention, the acquiring unit 110 acquires the reference form from the preset library based on the generation time and the form type, including:

[0169] Calculate the sum of the generation time and the preset time period to obtain a target time period;

[0170] Writing the target time period and the form type into a preset search instruction to obtain a query statement;

[0171] Run the query statement based on the preset library to obtain a form to be screened;

[0172] The form status of the form to be screened is acquired, and the form to be screened whose form status is a preset status is determined as the reference form.

[0173] The preset period refers to the time it takes for the form to be synchronized to the preset library when the user triggers the generation of the form. The preset period may be determined by the electronic device after intercepting a certain number of forms for statistics.

[0174] The preset search instruction may be a SQL statement, and the preset search instruction does not include a query object.

[0175] The preset status can be set according to actual needs, and the preset status may include, but is not limited to: payment valid, payment in full, exemption from payment, payment in full with a reduced amount, extension, death claim, suspension, self-payment valid, self-payment in full and self-payment suspension, etc.

[0176] By generating the target time period through the preset time period, and then querying the preset library in combination with the target time period and the form type, it is possible to avoid the inability to obtain the benchmark form corresponding to the form to be checked due to the fact that it takes a certain amount of time to synchronize the form to the preset library, thereby improving the accuracy of obtaining the benchmark form. The query statement is directly generated through the preset search instruction. Since there is no need to rebuild the preset search instruction, the efficiency of obtaining the benchmark form is improved.

[0177] The selection unit 112 selects a check field corresponding to the form type.

[0178] In at least one embodiment of the present invention, the check field refers to a specific field in the to-be-checked form that needs to be checked for data, for example, the check field may be the risk coverage, ceded amount, reinsurance premium, handling fee, and loss amortization fee, etc. It is understandable that the check fields corresponding to different form types may overlap.

[0179] In at least one embodiment of the present invention, the selection unit 112 may select a check field corresponding to the form type from a type field check table.

[0180] The comparing unit 113 compares the to-be-checked form with the reference form based on the check fields.

[0181] In at least one embodiment of the present invention, the comparing unit 113 compares the to-be-checked form with the reference form based on the check fields, including:

[0182] Detecting whether the to-be-checked form and the reference form contain the check field;

[0183] If the to-be-checked form does not include the check field, and the reference form includes the check field, then obtaining a calculation formula for the check field, wherein the calculation formula includes a plurality of indicator fields;

[0184] If the form to be checked contains the multiple indicator fields, then obtaining indicator information corresponding to the multiple indicator fields from the form to be checked, and calculating the indicator information based on the calculation formula to obtain field information corresponding to the check field in the form to be checked;

[0185] Acquire information corresponding to the check field from the reference form as reference information, and compare the field information with the reference information;

[0186] If the field information is the same as the reference information, it is determined that the form to be checked is consistent with the reference form.

[0187] The multiple indicator fields refer to indicators that can generate the check fields based on the calculation formula. For example, the check field is: risk insurance amount, and the calculation formula is: risk insurance amount = insurance amount * liability risk coefficient of the insurance policy type - reserve, then the multiple indicator fields may include insurance amount, liability risk coefficient of the insurance policy type, reserve, etc.

[0188] Through the above implementation, when the form to be checked does not include the check field and the reference form includes the check field, the field information can be accurately generated using the calculation formula, thereby improving the comparison accuracy between the form to be checked and the reference form.

[0189] In at least one embodiment of the present invention, after detecting whether the to-be-checked form and the reference form include the check field, if the to-be-checked form does not include the check field and the reference form does not include the check field, the detection unit 114 detects whether the to-be-checked form and the reference form include the plurality of indicator fields;

[0190] If both the to-be-checked form and the reference form contain the plurality of indicator fields, the comparison unit 113 compares the indicator information with information corresponding to the plurality of indicator fields in the reference form;

[0191] If the indicator information is identical to the information corresponding to the plurality of indicator fields in the reference form, the determining unit 115 determines that the form to be checked is identical to the reference form.

[0192] Through the above implementation, when the form to be checked does not include the check field and the base form does not include the check field, the form to be checked and the base form can be directly compared based on the multiple indicator fields without calculating and generating the check field, thereby improving comparison efficiency.

[0193] In at least one embodiment of the present invention, after detecting whether the to-be-checked form and the reference form include the check field, if the to-be-checked form and the reference form do not include the check field, the comparison unit 113 compares the first information corresponding to the check field in the to-be-checked form with the second information corresponding to the check field in the reference form;

[0194] If the first information is the same as the second information, the determining unit 115 determines that the form to be checked is consistent with the reference form.

[0195] If the form to be checked is inconsistent with the reference form, the detection unit 114 detects the form to be checked based on a preset change table to obtain a detection result.

[0196] It should be emphasized that in order to further ensure the privacy and security of the above test results, the above test results can also be stored in a blockchain node.

[0197] In at least one embodiment of the present invention, the preset change table stores change information of each form, wherein the change information includes: specific data change, status change, etc.

[0198] The detection result may include: the form to be checked is inconsistent with the reference form, and the form to be checked is consistent with the reference form.

[0199] In at least one embodiment of the present invention, the detection unit 114 detects the to-be-checked form based on the preset change table, and the detection result obtained includes:

[0200] Traversing the preset change table based on the form identifier to obtain a traversal result;

[0201] If the traversal result is that the preset change table contains the form identifier, obtaining a form record corresponding to the form identifier from the preset change table;

[0202] Locating a target field in the to-be-checked form that is inconsistent with the reference form;

[0203] Detecting whether the form record contains the target field;

[0204] If the form record contains the target field, the third information corresponding to the target field in the form to be checked is compared with the fourth information corresponding to the target field in the form record to obtain the detection result.

[0205] Through the above implementation, when the form to be checked is inconsistent with the reference form, the form to be checked can be further checked based on the preset change table, which can avoid the inconsistency between the form to be checked and the reference form due to changes to the form to be checked, thereby improving the accuracy of the detection result.

[0206] In at least one embodiment of the present invention, after detecting whether the form record contains the target field, if the form record does not contain the target field, the detection unit 114 detects whether the form record contains the state change information of the form to be checked;

[0207] The generating unit 116 generates prompt information according to the state change information and the form identifier;

[0208] The acquisition unit 110 acquires a triggering system of the data verification request;

[0209] The sending unit 117 sends the prompt information to the trigger system.

[0210] Through the above implementation, when the form record does not include the target field, the prompt information is generated based on the status change information, which can avoid the failure to capture the corresponding reference form due to the status change in the form to be checked.

[0211] It can be seen from the above technical solutions that the present invention can accurately identify the form type by classifying the form to be checked, and then accurately locate the reference form from the preset library in combination with the form type and the generation time. By locating the reference form, since there is no need to compare the form to be checked with all the forms in the preset library, the data verification efficiency is improved. The verification fields that need to be checked can be accurately located through the form type, and then the form to be checked and the reference form are compared based on the verification fields. Since there is no need to compare all fields in the form to be checked with all fields in the reference form, the data verification efficiency can be further improved. When the form to be checked is inconsistent with the reference form, the form to be checked is further detected based on the preset change table, which can avoid the inconsistency between the form to be checked and the reference form due to the state change of the form to be checked, thereby improving the accuracy of data verification.

[0212] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device of a preferred embodiment of the data verification method of the present invention.

[0213] In one embodiment of the present invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and computer-readable instructions stored in the memory 12 and executable on the processor 13, such as a data checking program.

[0214] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation on the electronic device 1. The electronic device 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the electronic device 1 may also include input and output devices, network access devices, buses, etc.

[0215] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect various parts of the entire electronic device 1, and executes the operating system of the electronic device 1 and various installed applications, program codes, etc.

[0216] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer-readable instructions in the electronic device 1. For example, the computer-readable instructions may be divided into an acquisition unit 110, a classification unit 111, a selection unit 112, a comparison unit 113, a detection unit 114, a determination unit 115, a generation unit 116, and a sending unit 117.

[0217] The memory 12 can be used to store the computer-readable instructions and / or modules, and the processor 13 implements various functions of the electronic device 1 by running or executing the computer-readable instructions and / or modules stored in the memory 12, and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. The memory 12 can include non-volatile and volatile memories, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0218] The memory 12 may be an external memory and / or an internal memory of the electronic device 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0219] If the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the above-mentioned various method embodiments can be implemented.

[0220] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0221] The blockchain referred to in the present invention is a new application mode of computer technologies such as distributed data verification, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the blockchain underlying platform, platform product service layer, and application service layer.

[0222] Combination Figure 1 The memory 12 in the electronic device 1 stores computer-readable instructions to implement a data verification method, and the processor 13 can execute the computer-readable instructions to implement:

[0223] When a data verification request is received, obtaining the form to be verified and the time when the form to be verified is generated according to the data verification request;

[0224] Classifying the form to be checked to obtain the form type of the form to be checked;

[0225] Acquire a reference form from a preset library based on the generation time and the form type;

[0226] Selecting a check field corresponding to the form type;

[0227] Comparing the to-be-checked form with the reference form based on the check fields;

[0228] If the form to be checked is inconsistent with the reference form, the form to be checked is tested based on a preset change table to obtain a test result.

[0229] Specifically, the specific implementation method of the processor 13 for the above-mentioned computer readable instructions can refer to Figure 1 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0230] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0231] The computer-readable storage medium stores computer-readable instructions, wherein the computer-readable instructions are used to implement the following steps when executed by the processor 13:

[0232] When a data verification request is received, obtaining the form to be verified and the time when the form to be verified is generated according to the data verification request;

[0233] Classifying the form to be checked to obtain the form type of the form to be checked;

[0234] Acquire a reference form from a preset library based on the generation time and the form type;

[0235] Selecting a check field corresponding to the form type;

[0236] Comparing the to-be-checked form with the reference form based on the check fields;

[0237] If the form to be checked is inconsistent with the reference form, the form to be checked is tested based on a preset change table to obtain a test result.

[0238] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0239] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0240] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0241] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The multiple units or devices mentioned can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0242] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A data verification method, characterized in that: The data verification method comprises: When a data verification request is received, obtaining the form to be verified and the time when the form to be verified is generated according to the data verification request, wherein the time when the form to be verified is generated refers to the time point; Classifying the form to be checked to obtain the form type of the form to be checked; Obtaining a reference form from a preset library based on the generation time and the form type, including: calculating the sum of the generation time and the preset time period to obtain a target time period; writing the target time period and the form type into a preset search instruction to obtain a query statement; running the query statement based on the preset library to obtain a form to be screened; obtaining the form status of the form to be screened, and determining the form to be screened whose form status is a preset state as the reference form, wherein the reference form refers to a specific form whose form status is in a preset state and corresponds to the generation time and the form type; Selecting a check field corresponding to the form type; Comparing the to-be-checked form with the reference form based on the check fields; If the form to be checked is inconsistent with the reference form, the form to be checked is detected based on a preset change table to obtain a detection result, including: traversing the preset change table based on the form identifier corresponding to the form to be checked to obtain a traversal result; if the traversal result is that the preset change table contains the form identifier, obtaining a form record corresponding to the form identifier from the preset change table; locating a target field in the form to be checked that is inconsistent with the reference form; detecting whether the form record contains the target field; if the form record contains the target field, comparing the third information corresponding to the target field in the form to be checked with the fourth information corresponding to the target field in the form record to obtain the detection result.

2. The data checking method according to claim 1, characterized in that: The step of obtaining the form to be checked and the time of generating the form to be checked according to the data checking request includes: Parsing the message of the data verification request to obtain the data information carried in the message; Extracting a form identifier and a path address from the data information; Acquire a form corresponding to the form identifier from the path address as the form to be checked, and acquire a user who created the form to be checked from the path address; Acquire a form generation log from a binding terminal of the creating user based on the form identifier and a preset event; The generation time is extracted from the form generation log.

3. The data checking method according to claim 1, characterized in that: The form types of the forms to be checked are classified to obtain the forms to be checked, including: Get the type keyword for each preset type; Extracting form words from the form to be checked; Matching the form vocabulary with the type keyword, and counting the number of form vocabulary that successfully matches the type keyword; The preset type with the largest number of words is determined as the form type.

4. The data checking method according to claim 1, characterized in that: The comparing the to-be-checked form with the reference form based on the check fields comprises: Detecting whether the to-be-checked form and the reference form contain the check field; If the to-be-checked form does not include the check field, and the reference form includes the check field, then obtaining a calculation formula for the check field, wherein the calculation formula includes a plurality of indicator fields; If the form to be checked contains the multiple indicator fields, then obtaining indicator information corresponding to the multiple indicator fields from the form to be checked, and calculating the indicator information based on the calculation formula to obtain field information corresponding to the check field in the form to be checked; Acquire information corresponding to the check field from the reference form as reference information, and compare the field information with the reference information; If the field information is the same as the reference information, it is determined that the form to be checked is consistent with the reference form.

5. The data checking method according to claim 4, characterized in that: After detecting whether the to-be-checked form and the reference form contain the check field, the data checking method further includes: If the form to be checked does not include the check field, and the reference form does not include the check field, then detecting whether the form to be checked and the reference form include the plurality of indicator fields; If both the to-be-checked form and the reference form contain the plurality of indicator fields, comparing the indicator information with the information corresponding to the plurality of indicator fields in the reference form; If the indicator information is identical to the information corresponding to the plurality of indicator fields in the reference form, it is determined that the form to be checked is identical to the reference form.

6. A data checking device, characterized in that: The data checking device comprises: an acquisition unit, configured to, when receiving a data verification request, acquire the form to be verified and the time at which the form to be verified was generated according to the data verification request, wherein the time at which the form to be verified was generated; A classification unit, used for classifying the form to be checked to obtain the form type of the form to be checked; The acquisition unit is further used to acquire a reference form from a preset library based on the generation time and the form type, including: calculating the sum of the generation time and the preset time period to obtain a target time period; writing the target time period and the form type into a preset search instruction to obtain a query statement; running the query statement based on the preset library to obtain a form to be screened; acquiring the form status of the form to be screened, and determining the form to be screened whose form status is a preset state as the reference form, wherein the reference form refers to a specific form whose form status is in a preset state and corresponds to the generation time and the form type; A selection unit, used for selecting a check field corresponding to the form type; A comparison unit, configured to compare the to-be-checked form with the reference form based on the check fields; A detection unit is used to detect the form to be checked based on a preset change table to obtain a detection result if the form to be checked is inconsistent with the reference form, including: traversing the preset change table based on the form identifier corresponding to the form to be checked to obtain a traversal result; if the traversal result is that the preset change table contains the form identifier, obtaining a form record corresponding to the form identifier from the preset change table; locating a target field in the form to be checked that is inconsistent with the reference form; detecting whether the form record contains the target field; if the form record contains the target field, comparing third information corresponding to the target field in the form to be checked with fourth information corresponding to the target field in the form record to obtain the detection result.

7. An electronic device, characterized in that: The electronic device comprises: a memory storing computer-readable instructions; and A processor executes computer-readable instructions stored in the memory to implement the data verification method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in an electronic device to implement the data verification method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Transaction information checking method and device, storage medium and server

    CN109583689A

  • Index data analysis method and device, equipment and storage medium

    CN113283675A

  • Financial data processing method and device, storage medium and electronic equipment

    CN113806400A