Form file processing method and device, electronic equipment and storage medium
By automating the customer source information and form-to-customer information comparison processing of form files, the problem of accurate and efficient form verification in the existing technology is solved, and more efficient and accurate form verification is achieved.
Patent Information
- Application Number
- CN202411603235.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-04
AI Technical Summary
In the prior art, the verification accuracy of form files is low and the verification efficiency is low. Especially in a multi-channel environment, it requires manual verification, which is prone to errors and takes time.
By obtaining the form file sent by the user, mapping the template based on the preset form information, determining the customer source information and form customer information corresponding to the form content in the preset database, and comparing and processing it to obtain the comparison result information, and characterizing that the status of the form file is the correct state or the state to be verified.
It achieves the accuracy and efficiency of form verification, reduces the time and error rate of manual verification, and ensures the consistency of cross-channel form content.
Smart Images

Figure CN119558286A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a form file processing method, device, electronic device and storage medium. Background Art
[0002] At present, there are many banking channels, involving many types of forms such as receipts and remittance applications. The form content involves dozens of items. Information such as the payer / payee's amount, account number, branch, currency, remittance type, etc. not only needs to be manually checked in detail, but the form can be viewed / downloaded / printed on different channels. Therefore, the forms need to be repeatedly verified one by one on different channels.
[0003] In the prior art, the correctness of the form is usually verified manually.
[0004] However, in the prior art, since there are dozens or even dozens of items in the form, and the contents of the items involve accounts, amounts, currencies, etc. with many digits, manual comparison is time-consuming and prone to errors, which leads to low accuracy and efficiency of form verification. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for processing a form file, so as to achieve the effect of improving the accuracy and efficiency of form verification.
[0006] In a first aspect, an embodiment of the present application provides a method for processing a form file, comprising:
[0007] Acquire a form file submitted by a user; wherein the form file includes form content;
[0008] Based on a preset form information mapping template, determine the customer source information corresponding to the form content in a preset database; and determine the form-to-customer information corresponding to the form content;
[0009] The customer source information and the form customer information are compared to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
[0010] In a possible implementation, the customer source information and the form customer information are compared to obtain comparison result information, including:
[0011] Obtaining the associated customer source information and form-to-customer information through the transaction serial number of the form-to-customer information and the transaction serial number of the customer source information;
[0012] According to the preset sorting rule information, sort the fields in the customer source information and the form-to-customer information, and calculate the sorted fields to obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information;
[0013] Compare the unique value of each field in the customer source information with the unique value of each field in the customer information of the form;
[0014] If the unique values are all the same, comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0015] In a possible implementation, the customer source information and the form customer information are compared to obtain comparison result information, including:
[0016] Generate a form-to-customer information set according to the customer source information and the form-to-customer information; wherein both the form-to-customer information and the customer source information correspond to a transaction serial number;
[0017] According to the form-to-customer information set, the customer source information and the form-to-customer information are compared to obtain comparison result information.
[0018] In a possible implementation, the comparing the customer source information with the form-based customer information set to obtain the comparison result information includes:
[0019] Obtain the user's initial landing channel information;
[0020] In the form-to-customer information set, different landing channel information of the same transaction number is screened, and the different landing channel information is compared with the initial landing channel information to determine the missing channel of the form content;
[0021] Determine comparison result information according to the missing channel; wherein the comparison result information indicates that the state of the form file is a pending verification state.
[0022] In a possible implementation, the comparing the customer source information with the form-based customer information set to obtain the comparison result information includes:
[0023] In the form-to-customer information set, a target form-to-customer information set with the same transaction number under different channels is obtained by deduplicating the transaction number and channel;
[0024] For the target form-to-customer information set, determine the unique value of each field of the form-to-customer information under different channels, and compare the unique values of different channels;
[0025] If the unique values are all the same, it is determined that the form content and customer source information of each channel are consistent, and comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0026] In a possible implementation manner, determining the form-to-customer information corresponding to the form content includes:
[0027] Obtaining a form service log of the form data;
[0028] The form service log is parsed and processed, and based on the form information mapping template, the form-to-customer information corresponding to the form content is obtained.
[0029] In a possible implementation, the method further includes:
[0030] Based on a preset time period, generating a form report according to the comparison result information;
[0031] If it is detected that the form report contains comparison result information of a state to be verified, an alarm prompt information is generated.
[0032] In a second aspect, an embodiment of the present application provides a form file processing device, including:
[0033] An acquisition module, used to acquire a form file submitted by a user; wherein the form file includes form content;
[0034] A first determination module, configured to determine the customer source information corresponding to the form content in a preset database based on a preset form information mapping template;
[0035] A second determination module is used to determine the form-to-customer information corresponding to the form content;
[0036] The comparison module is used to compare the customer source information and the form customer information to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
[0037] In a possible implementation, the comparison module is specifically used for:
[0038] Obtaining the associated customer source information and form-to-customer information through the transaction serial number of the form-to-customer information and the transaction serial number of the customer source information;
[0039] According to the preset sorting rule information, sort the fields in the customer source information and the form-to-customer information, and calculate the sorted fields to obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information;
[0040] Compare the unique value of each field in the customer source information with the unique value of each field in the customer information of the form;
[0041] If the unique values are all the same, comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0042] In a possible implementation, the comparison module includes:
[0043] A generating unit, configured to generate a form-to-customer information set according to the customer source information and the form-to-customer information; wherein the form-to-customer information and the customer source information both correspond to a transaction sequence number;
[0044] The comparison unit is used to compare the customer source information and the form-based customer information set to obtain comparison result information.
[0045] In a possible implementation manner, the comparison unit is specifically used for:
[0046] Obtain the user's initial landing channel information;
[0047] In the form-to-customer information set, different landing channel information of the same transaction number is screened, and the different landing channel information is compared with the initial landing channel information to determine the missing channel of the form content;
[0048] According to the missing channel, comparison result information is determined; wherein the comparison result information indicates that the state of the form file is a pending verification state.
[0049] In a possible implementation manner, the comparison unit is specifically used for:
[0050] In the form-to-customer information set, a target form-to-customer information set with the same transaction number under different channels is obtained by deduplicating the transaction number and channel;
[0051] For the target form-to-customer information set, determine the unique value of each field of the form-to-customer information under different channels, and compare the unique values of different channels;
[0052] If the unique values are all the same, it is determined that the form content and customer source information of each channel are consistent, and comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0053] In a possible implementation manner, the second determining module is specifically configured to:
[0054] Obtaining a form service log of the form data;
[0055] The form service log is parsed and processed, and based on the form information mapping template, the form-to-customer information corresponding to the form content is obtained.
[0056] In a possible implementation manner, the device is further specifically used for:
[0057] Based on a preset time period, generating a form report according to the comparison result information;
[0058] If it is detected that the form report contains comparison result information of a state to be verified, an alarm prompt information is generated.
[0059] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0060] The memory stores computer-executable instructions;
[0061] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0062] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0063] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0064] The form file processing method, device, electronic device and storage medium provided in the embodiment of the present application obtain the form file submitted by the user; wherein the form file includes the form content. Based on the preset form information mapping template, the customer source information corresponding to the form content is determined in the preset database; and the form-to-customer information corresponding to the form content is determined. The customer source information and the form-to-customer information are compared and processed to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or a state to be verified. In this scheme, based on the form information mapping template, the customer source information of the transaction source involving the form is screened, and the channel form-to-customer information is screened, and the customer source information and the form-to-customer information are compared to realize automatic one-by-one comparison, so as to solve the problems of time-consuming, low accuracy and incomplete cross-channel verification of manual item-by-item verification and comparison, so as to achieve the effect of improving the accuracy and efficiency of form verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0066] Figure 1 A flowchart of a method for processing a form file provided in an embodiment of the present application Figure 1 ;
[0067] Figure 2 Schematic diagram of another form file processing method provided in the embodiment of the present application Figure 2 ;
[0068] Figure 3 A schematic diagram of the architecture of a form file processing method provided by this application;
[0069] Figure 4 A schematic diagram of the structure of a form file processing device provided in an embodiment of the present application;
[0070] Figure 5 A schematic diagram of the structure of another form file processing device provided in an embodiment of the present application;
[0071] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0072] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0073] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0074] At present, there are many banking channels, involving many types of forms such as receipts and remittance applications. The form content involves dozens of items. Information such as the payer / payee's amount, account number, branch, currency, remittance type, etc. not only needs to be manually checked in detail, but the form can be viewed / downloaded / printed on different channels. Therefore, the forms need to be repeatedly verified one by one on different channels.
[0075] In one example, the correctness of the form is usually verified manually. However, in the prior art, since the form contains dozens of items, and the items involve accounts, amounts, currencies, etc. with many digits, manual comparison is time-consuming and prone to errors, which leads to low accuracy and efficiency of form verification.
[0076] In one example, the fields submitted by a bank transaction customer are complex and the meanings of the many numerical values submitted are different. After circulating through the bank's huge system links, it is difficult to detect problems such as mismatched entry assignments caused by program problems, such as incorrect cross-assignment of foreign exchange amounts and foreign exchange purchase amounts.
[0077] In one example, a bank involves many channels, and the system module flow is long and complex. Changes in the intermediate transaction logic often have an impact on the final customer receipt, application form and other form contents. In practice, it tends to verify the correctness of the main processes such as transaction entry and exit, and reconciliation, and the form verification at the end of the channel is easily overlooked.
[0078] In combination with the above scenarios, it can be seen that in the prior art, there are technical problems such as low accuracy and low efficiency of form verification.
[0079] The form file processing method provided in the present application solves the technical problems of low accuracy and low efficiency of form verification.
[0080] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0081] Figure 1A flowchart of a form file processing method provided for this application Figure 1 ,like Figure 1 As shown, the method includes:
[0082] S101. Obtain a form file submitted by a user; wherein the form file includes form content.
[0083] For example, the execution subject of this embodiment may be an electronic device, or a terminal device, or a form file processing device or device, or other devices or equipment that can execute this embodiment, and there is no limitation to this. In this embodiment, the execution subject is introduced as an electronic device.
[0084] First, the form file submitted by the user is obtained, wherein the form file includes form content, and the form file can be a cross-terminal file or a non-cross-terminal file.
[0085] S102: Based on a preset form information mapping template, determine the customer source information corresponding to the form content in a preset database; and determine the form-to-customer information corresponding to the form content.
[0086] Exemplarily, the preset form information mapping template is the Response return part of the reviewed interface file of the form service. For each item in the form, the customer-uploaded field with the same business meaning is found in the reviewed interface file of the transaction entry service through the business meaning field, forming a mapping template between the customer source information between the interfaces and the form-to-customer information.
[0087] In this step, based on the preset form information mapping template, in the preset channel access service layer, the preset database will store all the data sent by the customer, and all the customer source information in the form information mapping template will be filtered out from the database, and the customer source information and channels will be saved together. The form service log is parsed, and all the form customer information in the form information mapping template is filtered out from the content that meets the relevant transaction sequence number in the mapping interface, and the customer information and channels are saved together.
[0088] S103: Compare the customer source information and the form customer information to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
[0089] For example, the customer source information and the customer form information are sorted and processed separately, and unique values are calculated and generated, and the unique values are compared to determine consistency, so as to verify the amount, account number, currency, etc. For example, the customer form information can verify the channel number and compare the actual channel to find unverified channels; for the same transaction, the consistency of the form content of each channel can be verified across the terminals.
[0090] The form file processing method provided in the embodiment of the present application obtains the form file submitted by the user; wherein the form file includes the form content. Based on the preset form information mapping template, the customer source information corresponding to the form content is determined in the preset database; and the form-to-customer information corresponding to the form content is determined. The customer source information and the form-to-customer information are compared and processed to obtain the comparison result information; wherein the comparison result information represents that the state of the form file is a correct state, or a state to be verified. In this scheme, based on the form information mapping template, the customer source information of the transaction source involving the form is screened, and the channel form-to-customer information is screened, and the customer source information and the form-to-customer information are compared to realize the automation of one-by-one comparison, solve the problems of long time-consuming, low accuracy, and incomplete cross-channel verification of manual item-by-item verification and comparison, so as to achieve the effect of improving the accuracy and efficiency of form verification. In addition, the application is universal and is applicable to high-quality and efficient verification of reports such as electronic receipts, remittance applications, loan transaction orders, etc.
[0091] Figure 2 A flowchart of a form file processing method provided for this application Figure 2 ,like Figure 2 As shown, in this embodiment Figure 1 Based on the embodiment, the method is described in detail, and the method comprises:
[0092] S201. Obtain a form file submitted by a user; wherein the form file includes form content.
[0093] For example, this step can be referred to Figure 1 Step 101 in the above is not described in detail.
[0094] S202: Based on a preset form information mapping template, determine the customer source information corresponding to the form content in a preset database.
[0095] For example, Figure 3 A schematic diagram of the structure of a form file processing method provided in this application, such as Figure 3 As shown, it includes: mapping template layer, channel customer information layer, form information layer, data processing comparison layer, database DB, interface document, mapping templates between interfaces, corporate banking, online banking, counter, mobile banking, and self-service form printing.
[0096] according to Figure 3It can be seen that at the mapping template layer, according to the interface identifier A of the customer channel entry service maintained by the user, the corresponding relationship between the service interface identifier A′ of the form and the form landing channel information Q is generated, and the interface A′ is automatically searched in the interface document first, and the return Response part of the interface (that is, the form content X′) is parsed. For each field of the form content X′, the business meaning field in the interface is used to find the request field set X with the same meaning in the request part of the A interface, and finally a mapping template between the customer source information X and the form-to-customer information X′ is formed.
[0097] At the channel customer information layer, the electronic device can read the form content actually submitted by the user from the preset transaction library, and filter and save all customer source information K related to the form content according to X in the mapping template. For a single transaction, the customer source information only needs to be obtained once.
[0098] Therefore, the interface document is used to map the form to customer information and customer source information, and to achieve content comparison, so as to solve the problem of difficult-to-find form content errors caused by program problems (such as incorrect cross-field assignment, program logic errors, query call errors, etc.), thereby improving the quality of the form.
[0099] S203: Obtain a form service log of the form data.
[0100] Exemplarily, the electronic device may obtain a form service log of the form data.
[0101] S204: parse and process the form service log, and obtain the form-to-customer information corresponding to the form content based on the form information mapping template.
[0102] For example, Figure 3 As shown, at the form information layer, the electronic device can parse the form service log, and according to X' in the form information mapping template, filter and save the corresponding relationship K' and channel information of all form-to-customer information related to the form content from the form service log. Since the form can be viewed / printed / downloaded from channels such as counters, online banking, and self-service counters, it is necessary to regularly parse and obtain the transaction form-to-customer information and form landing channel information during the test cycle.
[0103] S205: Compare the customer source information and the form customer information to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
[0104] Step 205 includes multiple implementations:
[0105] The first implementation method of step 205 is: obtaining the associated customer source information and form-to-customer information through the transaction serial number of the form-to-customer information and the transaction serial number of the customer source information; sorting the fields in the customer source information and the form-to-customer information according to the preset sorting rule information, calculating the sorted fields to obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information; comparing the unique value of each field in the customer source information with the unique value of each field in the form-to-customer information; if the unique values are the same, obtaining comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state.
[0106] Step 205 includes: generating a form-to-customer information set according to the customer source information and the form-to-customer information; wherein both the form-to-customer information and the customer source information correspond to a transaction serial number; and comparing the customer source information and the form-to-customer information according to the form-to-customer information set to obtain comparison result information.
[0107] The second implementation method of step 205: obtain the user's initial landing channel information; in the form-to-customer information set, filter different landing channel information with the same transaction number, and compare the different landing channel information with the initial landing channel information to determine the missing channels of the form content; determine the comparison result information based on the missing channels; wherein the comparison result information indicates that the status of the form file is a pending verification status.
[0108] The third implementation method of step 205: in the form-to-customer information set, through the transaction number and channel deduplication processing, obtain the target form-to-customer information set with the same transaction number under different channels; for the target form-to-customer information set, determine the unique value of each field of the form-to-customer information under different channels, and compare the unique values of different channels; if the unique values are the same, it is determined that the form content and customer source information of each channel are consistent, and the comparison result information is obtained; wherein, the comparison result information indicates that the status of the form file is a correct status.
[0109] For example, Figure 3 As shown, in the data processing and comparison layer, the electronic device can sort and process the customer source information and the form-to-customer information separately, calculate and generate unique values, and compare the unique values to determine consistency, thereby verifying such as amount, account number, currency, etc. For example, the customer form information can verify the number of channels and compare the actual channels to find unverified channels; for the same transaction, the consistency of the form content of each channel can be verified across the terminals. Furthermore, a form-to-customer information set can be generated based on the customer source information and the form-to-customer information, and the customer source information and the form-to-customer information can be compared based on the form-to-customer information set to obtain comparison result information, and both the form-to-customer information and the customer source information correspond to transaction numbers.
[0110] In the first implementation, the associated customer source information and form-to-customer information are directly obtained through the transaction sequence number of the form-to-customer information and the transaction sequence number of the customer source information. According to the preset sorting rule information, for example, from large to small, or from small to large, the fields in the customer source information and the form-to-customer information are sorted, and the sorted fields are calculated to obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information, for example, the unique value is an MD5 value, etc. Finally, the unique value of each field in the customer source information is compared with the unique value of each field in the form-to-customer information. If the unique values are the same, it indicates that the form-to-customer information containing the amount, currency, institution, etc. is consistent with the source information of the original customer initiating the transaction, and the information has not been modified, and then the comparison result information is obtained, and the comparison result information indicates that the state of the form file is a correct state. Alternatively, if there are different unique values, it is determined that the comparison result information indicates that the state of the form file is a pending verification state.
[0111] In the second implementation, the user's initial landing channel information in the preset mapping template layer is obtained. In the form-to-customer information set, different landing channel information with the same transaction number is screened, and the different landing channel information is sorted and processed, and the different landing channel information is compared with the initial landing channel information to determine the missing channels of the form content. Finally, the comparison result information is determined based on the missing channels; wherein the comparison result information indicates that the state of the form file is a pending verification state. Alternatively, if there is no missing channel, the comparison result information indicates that the state of the form file is a correct state.
[0112] In the third implementation, in the form-to-customer information set, the target form-to-customer information set with the same transaction number under different channels is obtained by deduplication of the transaction number and channel. For the target form-to-customer information set, the fields of the form-to-customer information under different channels can be sorted and processed, and the unique values of the fields of the form-to-customer information under different channels can be determined, and the unique values of different channels can be compared. If the unique values are the same, it is determined that the form content and customer source information of each channel are consistent, and the information of each channel is correct, and the comparison result information is obtained, and the comparison result information indicates that the state of the form file is correct.
[0113] Therefore, we can compare the customer source information and the form customer information after sorting and processing, verify the correctness of the form content, the number of form channel coverage, and the consistency of cross-channel forms, and ensure the accuracy and efficiency of form verification.
[0114] S206: Generate a form report based on a preset time period and the comparison result information.
[0115] For example, the electronic device can generate a form report based on the comparison result information based on a preset time period, and then provide test guidance for the correctness of the report content, the comprehensiveness of channel coverage, and the consistency of cross-end verification. The preset time period can be automatically set or user-defined, and there is no limitation on this. For example, the time period can be 10 minutes, or 24 hours, etc.
[0116] S207: If it is detected that the form report contains comparison result information in a state to be verified, an alarm prompt message is generated.
[0117] For example, if the electronic device detects that the form report contains the comparison result information of the status to be verified, it can generate an alarm prompt information, and then regularly generate reports to promptly alarm the problem. Therefore, during the test cycle, based on the operation log of the form service layer, the channels that have been verified in the form in the actual test can be accumulated, and automatically compared with the channels that should be covered, and alarm prompts can be issued for the channels that are omitted and not covered in the test.
[0118] The form file processing method provided in the embodiment of the present application obtains the form file submitted by the user; wherein the form file includes the form content. Based on the preset form information mapping template, the customer source information corresponding to the form content is determined in the preset database. The form service log of the form data is obtained. The form service log is parsed and processed, and the form-to-customer information corresponding to the form content is obtained based on the form information mapping template. The customer source information and the form-to-customer information are compared and processed to obtain the comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or a state to be verified. Based on the preset time period, a form report is generated according to the comparison result information. If it is detected that the form report contains the comparison result information of the state to be verified, an alarm prompt information is generated. In this scheme, based on the form information mapping template, the customer source information of the transaction source involving the form is screened, and the channel form-to-customer information is screened, and the customer source information and the form-to-customer information are compared to realize the automation of one-by-one comparison, solve the problems of long time consumption, low accuracy, and incomplete cross-channel verification of manual item-by-item verification and comparison, so as to achieve the effect of improving the accuracy and efficiency of form verification. Moreover, the application is universal and applicable to high-quality and efficient verification of reports such as electronic receipts, remittance applications, loan transaction orders, etc.
[0119] Figure 4 A schematic diagram of a structure of a form file processing device provided in this application, such as Figure 4 As shown, the form file processing device 40 provided in this embodiment includes:
[0120] The acquisition module 41 is used to acquire the form file submitted by the user; wherein the form file includes form content.
[0121] The first determining module 42 is used to determine the customer source information corresponding to the form content in a preset database based on a preset form information mapping template.
[0122] The second determining module 43 is used to determine the form-to-customer information corresponding to the form content.
[0123] The comparison module 44 is used to compare the customer source information and the form customer information to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
[0124] Figure 5 A schematic diagram of the structure of another form file processing device provided in an embodiment of the present application, Figure 4 Based on the embodiment shown, Figure 5 As shown, the comparison module 44 is specifically used for:
[0125] Obtain the associated customer source information and form-to-customer information through the transaction sequence number of the form-to-customer information and the transaction sequence number of the customer source information;
[0126] According to the preset sorting rule information, sort the fields in the customer source information and the form-to-customer information, calculate the sorted fields, and obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information;
[0127] Compare the unique values of each field in the customer source information with the unique values of each field in the form customer information;
[0128] If the unique values are all the same, comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0129] In a possible implementation, the comparison module 44 includes:
[0130] A generating unit 441 is used to generate a form-to-customer information set according to the customer source information and the form-to-customer information; wherein both the form-to-customer information and the customer source information correspond to a transaction sequence number;
[0131] The comparison unit 442 is used to compare the customer source information and the form-to-customer information according to the form-to-customer information set to obtain comparison result information.
[0132] In a possible implementation, the comparison unit 442 is specifically configured to:
[0133] Obtain the user's initial landing channel information;
[0134] In the form-to-customer information set, filter different landing channel information with the same transaction number, and compare the different landing channel information with the initial landing channel information to determine the missing channels in the form content;
[0135] According to the missing channel, comparison result information is determined; wherein the comparison result information indicates that the state of the form file is a pending verification state.
[0136] In a possible implementation, the comparison unit 442 is specifically configured to:
[0137] In the form-to-customer information set, the target form-to-customer information set with the same transaction number under different channels is obtained by deduplication through transaction number and channel;
[0138] For the target form-to-customer information set, determine the unique values of each field of the form-to-customer information under different channels, and compare the unique values of different channels;
[0139] If the unique values are all the same, it is determined that the form content and customer source information of each channel are consistent, and comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
[0140] In a possible implementation, the second determining module 43 is specifically configured to:
[0141] Get the form service log of form data;
[0142] The form service log is parsed and processed, and based on the form information mapping template, the form-to-customer information corresponding to the form content is obtained.
[0143] In a possible implementation, the device is further specifically used for:
[0144] Generate a form report based on the preset time period and the comparison result information;
[0145] If it is detected that the form report contains comparison result information in a state to be verified, an alarm prompt message is generated.
[0146] The device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be described in detail here.
[0147] Figure 6 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the device 50 also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.
[0148] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0149] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0150] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0151] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0152] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0153] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0154] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0155] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0156] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0157] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated, and the components shown as units 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0160] If the function 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 technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0161] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0162] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for processing a form file, characterized in that: include: Acquire a form file submitted by a user; wherein the form file includes form content; Based on a preset form information mapping template, determine the customer source information corresponding to the form content in a preset database; and determine the form-to-customer information corresponding to the form content; The customer source information and the form customer information are compared to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
2. The method according to claim 1, characterized in that The customer source information and the form customer information are compared to obtain comparison result information, including: Obtaining the associated customer source information and form-to-customer information through the transaction serial number of the form-to-customer information and the transaction serial number of the customer source information; According to the preset sorting rule information, sort the fields in the customer source information and the form-to-customer information, and calculate the sorted fields to obtain the unique value of each field in the customer source information and the unique value of each field in the form-to-customer information; Compare the unique value of each field in the customer source information with the unique value of each field in the customer information of the form; If the unique values are all the same, comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
3. The method according to claim 1, characterized in that The customer source information and the form customer information are compared to obtain comparison result information, including: Generate a form-to-customer information set according to the customer source information and the form-to-customer information; wherein both the form-to-customer information and the customer source information correspond to a transaction serial number; According to the form-to-customer information set, the customer source information and the form-to-customer information are compared to obtain comparison result information.
4. The method according to claim 3, characterized in that The step of comparing the customer source information with the form-based customer information set to obtain comparison result information includes: Obtain the user's initial landing channel information; In the form-to-customer information set, different landing channel information of the same transaction number is screened, and the different landing channel information is compared with the initial landing channel information to determine the missing channel of the form content; According to the missing channel, comparison result information is determined; wherein the comparison result information indicates that the state of the form file is a pending verification state.
5. The method according to claim 3, characterized in that: The step of comparing the customer source information with the form-based customer information set to obtain comparison result information includes: In the form-to-customer information set, a target form-to-customer information set with the same transaction number under different channels is obtained by deduplicating the transaction number and channel; For the target form-to-customer information set, determine the unique value of each field of the form-to-customer information under different channels, and compare the unique values of different channels; If the unique values are all the same, it is determined that the form content and customer source information of each channel are consistent, and comparison result information is obtained; wherein the comparison result information indicates that the state of the form file is a correct state.
6. The method according to claim 1, characterized in that The step of determining the form-to-customer information corresponding to the form content includes: Obtaining a form service log of the form data; The form service log is parsed and processed, and based on the form information mapping template, the form-to-customer information corresponding to the form content is obtained.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Based on a preset time period, generating a form report according to the comparison result information; If it is detected that the form report contains comparison result information of a state to be verified, an alarm prompt information is generated.
8. A form file processing device, characterized in that: include: An acquisition module, used to acquire a form file submitted by a user; wherein the form file includes form content; A first determination module, configured to determine the customer source information corresponding to the form content in a preset database based on a preset form information mapping template; A second determination module is used to determine the form-to-customer information corresponding to the form content; The comparison module is used to compare the customer source information and the form customer information to obtain comparison result information; wherein the comparison result information indicates that the state of the form file is a correct state, or is a state to be verified.
9. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.