Positive feedback closed-loop processing method and device for electronic receipts and medium
By setting the fault detection anchor point and error code matching, determining the SFTP status and field missing, the positive feedback closed-loop processing of electronic return orders is realized, and the problem of low traceability and processing efficiency of electronic return orders in the existing technology is solved, and the system is improved intelligence and reliability.
Patent Information
- Application Number
- CN202411079209.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-26
Smart Images

Figure CN119026048A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of enterprise payment management, and in particular to a positive feedback closed-loop processing method, device and medium for electronic receipts. Background Art
[0002] An electronic receipt is a voucher for information related to payment and receipt after an account transaction provided by the bank system to customers in the form of an electronic document. When financial personnel use bank electronic receipts to enter accounts, the voucher is automatically generated through the mapping relationship between the business (object) data of the electronic receipt and the corporate accounting voucher. The electronic receipt is a transaction voucher with certain legal effect provided to customers after the bank confirms the validity of the transaction. Its appearance has greatly facilitated financial personnel to check the validity of bank statements.
[0003] However, when the electronic voucher function is abnormal, the financial staff finds that the electronic voucher provided by the bank cannot be found on the bank receipt when printing the bank receipt. The existing technology cannot determine whether the electronic voucher cannot be found when printing the bank receipt because of the abnormality of the financial system or the bank's failure to provide the corresponding electronic transaction voucher. Summary of the invention
[0004] The embodiments of the present application provide a positive feedback closed-loop processing method, device and medium for electronic receipts, which solve the technical problems of abnormal tracing and low processing efficiency of electronic receipts in the prior art.
[0005] In a first aspect, an embodiment of the present application provides a positive feedback closed-loop processing method for an electronic receipt, characterized in that the method includes: obtaining an electronic voucher processing flow, and setting a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; based on the electronic receipt error ledger, obtaining an electronic receipt error code through electronic receipt error matching; wherein the electronic receipt error code includes: a system-level electronic receipt error code and a bank-level electronic receipt error code; according to the system-level electronic receipt error code, determining the SFTP status type through SFTP status determination, and matching the corresponding configuration update logic for processing based on the SFTP status type to achieve normal use of SFTP; based on the bank-level electronic receipt error code, determining the field missing change of the return status of the electronic receipt, and based on the determination result, matching the corresponding field missing response logic for processing to achieve normal field missing change status; performing a detailed query on the electronic receipt, and determining the electronic receipt number through warehousing detail correction based on the result of the detailed query.
[0006] In one implementation of the present application, a fault detection anchor point is set for the electronic voucher processing flow to obtain an electronic receipt error ledger, specifically including: based on the electronic voucher processing flow, the electronic receipt processing flow is determined through electronic receipt server association matching; a node of the electronic receipt processing flow is set as a fault detection anchor point, and based on the fault detection anchor point, the electronic receipt data is obtained by querying the electronic receipt data stream; the electronic receipt data is screened for abnormal fields to obtain an electronic receipt error ledger.
[0007] In one implementation of the present application, based on the electronic receipt error ledger, the electronic receipt error code is obtained through electronic receipt error matching, which specifically includes: obtaining the historical abnormal data of the electronic receipt, and feature-classifying the historical abnormal data of the electronic receipt to obtain a set of abnormal items of the electronic receipt; granularly marking the set of abnormal items of the electronic receipt to determine a comparison table of abnormal numbers of the electronic receipt; based on the comparison table of abnormal numbers of the electronic receipt, matching the abnormal items in the electronic receipt error ledger to obtain the electronic receipt error code.
[0008] In one implementation of the present application, the SFTP status type is determined through SFTP status judgment according to the system-level electronic receipt error code, and based on the SFTP status type, the corresponding processing logic is matched for processing to achieve normal use of SFTP, specifically including: based on the system-level electronic receipt error code, the abnormal state of the electronic receipt is determined by setting the access mode for SFTP; wherein the abnormal state of the electronic receipt includes: file list display, file list cannot be displayed; when the abnormal state of the electronic receipt is file list display, a file upload test is performed on a preset root directory, and when the result of the upload test is normal, the SFTP status is determined to be usable; when the result of the upload test is abnormal, the SFTP status is determined to be unusable, and the preset server parameters are updated and configured; when the abnormal state of the electronic receipt is file list cannot be displayed, the SFTP status is determined to be unusable, and the SFTP is reconfigured.
[0009] In one implementation of the present application, based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the field missing change judgment, the corresponding field missing countermeasures are matched to achieve a normal field missing change status, specifically including: based on the bank-level electronic receipt error code, the electronic receipt number is obtained by querying the return details; the bank reads the historical detail data, and when the return status of the electronic receipt number is able to be written back, the field missing change status is judged to be the missing state released; when the return status of the electronic receipt number is unable to be written back, the field missing change status is judged to be the missing state unchanged, and a preset message that does not contain the return details is uploaded to the preset bank flow inspection system.
[0010] In one implementation of the present application, the electronic receipt number is determined based on the results of the detailed query and by correcting the incoming details, specifically including: determining the current electronic receipt number status based on the results of the detailed query; wherein the current electronic receipt number status includes: incomplete number, complete number; under the condition of incomplete number, re-query the preset incoming electronic receipt number in detail to determine the electronic receipt number.
[0011] In one implementation of the present application, based on the system-level electronic receipt error code, the abnormal status of the electronic receipt is determined by setting the access method for SFTP, specifically including: determining the SFTP access parameters through a preset SFTP connection program; performing SFTP login access on the error parameters corresponding to the system-level electronic receipt error code according to the SFTP access parameters; based on the SFTP login access, determining the abnormal status of the electronic receipt through the SFTP login display.
[0012] In one implementation of the present application, after the electronic receipt number is determined by correcting the incoming inventory details based on the results of the detail query, the method also includes: updating the node of the incoming inventory detail correction through the detail query to obtain a preliminary incoming inventory detail correction method; and correcting the electronic receipt number of the electronic receipt based on the preliminary incoming inventory detail correction method.
[0013] In a second aspect, the embodiment of the present application further provides a positive feedback closed-loop processing device for an electronic receipt, characterized in that the device comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: obtain the electronic voucher processing flow, and set a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; based on the electronic receipt error ledger, obtain an electronic receipt error code through electronic receipt error matching; wherein the electronic receipt error code includes: system level Electronic receipt error code, bank-level electronic receipt error code; according to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and based on the SFTP status type, match the corresponding configuration update logic for processing to achieve normal use of SFTP; based on the bank-level electronic receipt error code, determine the field missing change of the return status of the electronic receipt, and based on the judgment result, match the corresponding field missing response logic for processing to achieve normal field missing change status; perform detailed query on the electronic receipt, and according to the result of the detailed query, determine the electronic receipt number through the warehousing details correction.
[0014] In a third aspect, an embodiment of the present application further provides a non-volatile computer storage medium for positive feedback closed-loop processing of an electronic receipt, storing computer executable instructions, characterized in that the computer executable instructions are set to: obtain an electronic voucher processing flow, and set a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; based on the electronic receipt error ledger, obtain an electronic receipt error code through electronic receipt error matching; wherein the electronic receipt error code includes: a system-level electronic receipt error code and a bank-level electronic receipt error code; according to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and based on the SFTP status type, match the corresponding configuration update logic for processing to achieve normal use of SFTP; based on the bank-level electronic receipt error code, determine the field missing change of the return status of the electronic receipt, and based on the judgment result, match the corresponding field missing response logic for processing to achieve normal field missing change status; perform a detailed query on the electronic receipt, and determine the electronic receipt number through the warehousing details correction based on the result of the detailed query.
[0015] The embodiments of the present application provide a positive feedback closed-loop processing method, device and medium for electronic receipts, which solve the technical problems of electronic receipt anomaly tracing and low processing efficiency in the prior art by processing the anomalies corresponding to the system-level electronic receipt error code and the bank-level electronic receipt error code in real time and making detailed corrections to the incoming electronic receipt with missing numbers, realize the real-time processing of the electronic receipt flow and the number repair of the incoming electronic receipt with missing numbers, can correct possible problems in advance, improve the intelligence of the matching process, and improve the reliability and smoothness of the system operation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A flow chart of a positive feedback closed-loop processing method for an electronic receipt provided in an embodiment of the present application;
[0018] Figure 2 A schematic diagram of the internal structure of a positive feedback closed-loop processing device for an electronic receipt provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0020] The embodiments of the present application provide a positive feedback closed-loop processing method, device and medium for electronic receipts, which solve the technical problems of electronic receipt anomaly tracing and low processing efficiency in the prior art by processing the anomalies corresponding to the system-level electronic receipt error code and the bank-level electronic receipt error code in real time and making detailed corrections to the incoming electronic receipt with missing numbers, realize the real-time processing of the electronic receipt flow and the number repair of the incoming electronic receipt with missing numbers, can correct possible problems in advance, improve the intelligence of the matching process, and improve the reliability and smoothness of the system operation process.
[0021] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0022] Figure 1 This is a flow chart of a positive feedback closed loop processing method for an electronic receipt provided in an embodiment of the present application. Figure 1 As shown, the embodiment of the present application provides a positive feedback closed-loop processing method for an electronic receipt, which specifically includes the following steps:
[0023] Step 101: Obtain the electronic voucher processing flow, and set a fault detection anchor point for the electronic voucher processing flow to obtain the electronic receipt error ledger.
[0024] Specifically, it includes: based on the electronic voucher processing flow, the electronic receipt processing flow is determined through the electronic receipt server association matching; the node of the electronic receipt processing flow is set as the fault detection anchor point, and according to the fault detection anchor point, the electronic receipt data is obtained by querying the electronic receipt data stream; the electronic receipt data is screened for abnormal fields to obtain the electronic receipt error ledger.
[0025] This application sets a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger, thereby tracing the problem in the electronic receipt processing link, improving the efficiency of abnormal troubleshooting in the electronic receipt processing flow, and providing a data basis for closed-loop processing of abnormal problems.
[0026] In the implementation of this application, detailed explanation is given through the following Example 1.
[0027] Example 1: From the bank-side data source to the electronic receipt file storage in the imaging system, the following processing steps are performed: the commercial bank's electronic receipt server generates the electronic receipt file data source, the direct connection system downloads the electronic receipt file from the bank to the local temporary directory, the bank and the enterprise associate the electronic receipt file according to the detailed records of the electronic receipt file to be obtained, upload the matched electronic receipt file list to the electronic receipt SFTP server agreed with the business system, and return the content or file path of the electronic receipt file to the business system, the business system downloads the electronic receipt file from the public SFTP relative path of the electronic receipt file in the return message, and uploads the successfully downloaded file to the imaging system, and the electronic voucher data is stored from the bank-side data source to the imaging system on the business system side.
[0028] In the above process, abnormal problems may occur in each process and node. The processing process of electronic receipt files is relatively complicated. The processes involved are blind boxes for customers, and each process cannot be guaranteed to be problem-free. At the same time, the processing logic of electronic receipt files of different banks is also different, which brings a huge workload to the troubleshooting of problems.
[0029] In order to solve the problem of tracing the abnormal problems in the above process, a mechanism with unique error codes is defined, an error code ledger is established, and predefined fault check anchor points are set in the processing procedures of each bank and each processing link.
[0030] The node of the electronic receipt processing flow is set as the fault detection anchor point, and the electronic receipt data is obtained by querying the electronic receipt data flow according to the fault detection anchor point.
[0031] The electronic receipt data is screened for abnormal fields to obtain the electronic receipt error ledger; at this point, the electronic receipt error ledger is the process or node abnormality obtained by the fault detection anchor point.
[0032] The error code and prompt information defined by the anchor point are displayed on the preset business system front end with the granularity of detailed records. The system operation and maintenance personnel will feedback the electronic receipt error ledger based on the above detailed records to the system developers. The developers can then locate the program processing to a certain process or node where an exception occurs based on the error code.
[0033] Step 102: Based on the electronic receipt error ledger, obtain the electronic receipt error code through electronic receipt error matching.
[0034] Among them, the electronic receipt error codes include: system-level electronic receipt error codes and bank-level electronic receipt error codes.
[0035] Specifically, it includes: obtaining the historical abnormal data of the electronic receipt, and performing feature classification on the historical abnormal data of the electronic receipt to obtain the set of abnormal items of the electronic receipt; marking the set of abnormal items of the electronic receipt to determine the comparison table of abnormal numbers of the electronic receipt; matching the abnormal items of the electronic receipt error ledger based on the comparison table of abnormal numbers of the electronic receipt to obtain the error code of the electronic receipt.
[0036] The present application obtains the electronic receipt error code by matching the electronic receipt error, realizes the definition of electronic receipt anomalies at the system level and the bank level, improves the efficiency of locating and processing electronic receipt anomalies, and reduces the analysis time.
[0037] In the examples of the present application, detailed explanation is given by the following Example 2.
[0038] Example 2: First, based on the historical abnormal data of electronic receipts, the abnormal items that may occur are classified to obtain a set of electronic receipt abnormal items, which is used to characterize the types of existing electronic receipt abnormalities.
[0039] Then, the set of electronic receipt exception items is numbered through granular marking; at this point, each electronic receipt error code corresponds to an electronic receipt exception.
[0040] In order to meet the overall architecture of electronic vouchers, electronic receipts are divided into system-level electronic receipt error codes and bank-level electronic receipt error codes.
[0041] The error code P-S0000001 is a system-level electronic receipt error code, indicating that the local SFTP connection of the electronic receipt is abnormal. After the electronic receipt file is obtained from the bank, the file needs to be uploaded to the electronic receipt public SFTP for temporary storage and interaction with the business system. This problem usually occurs when writing files to this SFTP.
[0042] The error code is P-S01EXT01, which is a bank-level electronic receipt error code. It indicates that the ICBC historical details do not have an electronic receipt number. The reason is that when querying details from the bank, the bank returns the detail point OnlySequence (i.e., the bank transaction sequence number) value in the electronic receipt number SlipNo field of the detail. This information is subsequently used for electronic receipt query. If the field information is missing, this error will occur.
[0043] Step 103: According to the system-level electronic receipt error code, the SFTP status type is determined through SFTP status judgment, and based on the SFTP status type, the corresponding configuration update logic is matched for processing to achieve normal use of SFTP.
[0044] In one implementation of the present application, the SFTP status type is determined through SFTP status judgment according to the system-level electronic receipt error code, and based on the SFTP status type, the corresponding processing logic is matched for processing to achieve normal use of SFTP, specifically including: based on the system-level electronic receipt error code, the abnormal state of the electronic receipt is determined by setting the access mode for SFTP; wherein the abnormal state of the electronic receipt includes: file list display, file list cannot be displayed; when the abnormal state of the electronic receipt is file list display, a file upload test is performed on a preset root directory, and when the result of the upload test is normal, the SFTP status is determined to be usable; when the result of the upload test is abnormal, the SFTP status is determined to be unusable, and the preset server parameters are updated and configured; when the abnormal state of the electronic receipt is file list cannot be displayed, the SFTP status is determined to be unusable, and the SFTP is reconfigured.
[0045] Based on the system-level electronic receipt error code, the abnormal status of the electronic receipt is determined by setting the access method for SFTP, specifically including: determining the SFTP access parameters through the preset SFTP connection program; performing SFTP login access on the error reporting parameters corresponding to the system-level electronic receipt error code according to the SFTP access parameters; based on the SFTP login access, determining the abnormal status of the electronic receipt through the SFTP login display.
[0046] The present application determines the SFTP status type according to the system-level electronic receipt error code through SFTP status judgment, and matches the corresponding configuration update logic for processing based on the SFTP status type to achieve normal use of SFTP, and realizes real-time analysis and exception processing of exceptions corresponding to system-level electronic receipt error codes, thereby improving the efficiency of tracing and processing of electronic receipt exceptions.
[0047] In the examples of the present application, this is explained in detail through the following Example 3.
[0048] Example 3: Taking the exception corresponding to the error code P-S0000001 as the object, first check whether the SFTP parameters in the error are correct.
[0049] Check SFTP connectivity by opening the SFTP connection program WinSCP.exe and setting the access parameters in sequence. If the access mode is SFTP, the server IP, port, user name, password, etc. in the error message should also be included, and the program should be logged in.
[0050] If the file list can be displayed normally, you can try to upload files to the root directory. If everything is normal, it means that SFTP is available. At this time, you should check whether the password configured in the system is correct. Otherwise, if an abnormality occurs, you need to check the server parameters and update the configuration.
[0051] If the file list cannot be displayed (wrong parameters, network failure, firewall, etc.), or files cannot be uploaded (insufficient folder permissions), it means that the SFTP service is not normal or the configuration in the system is incorrect. In this case, the SFTP server should be reconfigured.
[0052] Step 104: Based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the judgment result, the corresponding field missing response logic is matched for processing to achieve a normal field missing change status.
[0053] In one implementation of the present application, based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the field missing change judgment, the corresponding field missing countermeasures are matched to achieve a normal field missing change status, specifically including: based on the bank-level electronic receipt error code, the electronic receipt number is obtained by querying the return details; the bank reads the historical detail data, and when the return status of the electronic receipt number is able to be written back, the field missing change status is judged to be the missing state released; when the return status of the electronic receipt number is unable to be written back, the field missing change status is judged to be the missing state unchanged, and a preset message that does not contain the return details is uploaded to the preset bank flow inspection system.
[0054] This application determines the field missing changes in the return status of the electronic receipt based on the bank-level electronic receipt error code, and based on the determination result, matches the corresponding field missing response logic for processing to achieve a normal field missing change status, and realizes instant analysis and exception processing of the anomalies corresponding to the bank-level electronic receipt error code, thereby improving the efficiency of tracing and processing of electronic receipt anomalies.
[0055] In the examples of the present application, a detailed explanation is given by the following Example 4.
[0056] Example 4: Take the exception corresponding to the error code P-S01EXT01 as the object.
[0057] First, try to read the historical details from the bank again and observe whether the electronic receipt number SlipNo in the detailed record is returned.
[0058] If SlipNo can be written back after returning to reread the details, the problem will automatically disappear later, that is, the missing state of the field will be changed to missing state.
[0059] If the information is still not found after rereading, you need to find a message without OnlySequence and submit it to the bank. The bank needs to investigate the reason why there is no electronic receipt download serial number.
[0060] Step 105: Query the electronic receipt in detail, and determine the electronic receipt number by revising the incoming details based on the query result.
[0061] Specifically including: determining the current electronic receipt number status according to the result of the detailed query; wherein, the current electronic receipt number status includes: incomplete number, complete number; under the condition of incomplete number, re-enquiring the preset electronic receipt number in the warehouse in detail to determine the electronic receipt number.
[0062] After the electronic receipt number is determined by correcting the incoming inventory details according to the result of the detail query, the method also includes: updating the node of the incoming inventory detail correction through the detail query to obtain a preliminary incoming inventory detail correction method; and correcting the electronic receipt number of the electronic receipt according to the preliminary incoming inventory detail correction method.
[0063] The present application conducts a detailed query on the electronic receipt and, based on the result of the detailed query, determines the electronic receipt number by correcting the incoming details, thereby realizing real-time processing of the electronic receipt process and repairing the numbers of incoming electronic receipts with missing numbers. It can correct possible problems in advance, improve the intelligence of the matching process, and improve the reliability and smoothness of the system operation process.
[0064] In the examples of the present application, this is explained in detail through the following Example 5.
[0065] Example 5: The electronic receipt matching depends on the original host serial number (electronic receipt number) returned by the detailed query. If, before obtaining the electronic receipt based on the query details, it is found that the electronic receipt number of the query details is incomplete, re-initiate the detailed query of the account and date, and then record the electronic receipt number of the detailed query return result.
[0066] The above is an embodiment of the method proposed in this application. Based on the same inventive concept, this application embodiment also provides a positive feedback closed-loop processing device for electronic receipts, whose structure is as follows: Figure 2 shown.
[0067] Figure 2 This is a schematic diagram of the internal structure of a positive feedback closed-loop processing device for an electronic receipt provided in an embodiment of the present application. Figure 2 As shown, the device includes:
[0068] at least one processor 201;
[0069] and, a memory 202 communicatively connected to the at least one processor;
[0070] The memory 202 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 201 to enable at least one processor 201 to:
[0071] Obtain the electronic voucher processing flow, and set a fault detection anchor point for the electronic voucher processing flow to obtain the electronic receipt error ledger; based on the electronic receipt error ledger, obtain the electronic receipt error code through electronic receipt error matching; wherein, the electronic receipt error code includes: system-level electronic receipt error code, bank-level electronic receipt error code; according to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and match the corresponding configuration update logic based on the SFTP status type to achieve normal use of SFTP; based on the bank-level electronic receipt error code, determine the field missing change of the return status of the electronic receipt, and based on the judgment result, match the corresponding field missing response logic to process, so as to achieve normal field missing change status; perform detailed query on the electronic receipt, and determine the electronic receipt number through warehousing details correction according to the result of the detailed query.
[0072] Some embodiments of the present application provide corresponding Figure 1 A non-volatile computer storage medium of a positive feedback closed-loop processing method for an electronic receipt stores computer executable instructions, and the computer executable instructions are set as follows:
[0073] Obtain the electronic voucher processing flow, and set a fault detection anchor point for the electronic voucher processing flow to obtain the electronic receipt error ledger; based on the electronic receipt error ledger, obtain the electronic receipt error code through electronic receipt error matching; wherein, the electronic receipt error code includes: system-level electronic receipt error code, bank-level electronic receipt error code; according to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and match the corresponding configuration update logic based on the SFTP status type to achieve normal use of SFTP; based on the bank-level electronic receipt error code, determine the field missing change of the return status of the electronic receipt, and based on the judgment result, match the corresponding field missing response logic to process, so as to achieve normal field missing change status; perform detailed query on the electronic receipt, and determine the electronic receipt number through warehousing details correction according to the result of the detailed query.
[0074] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the IoT device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0075] The system and medium provided in the embodiments of the present application correspond one-to-one to the method. Therefore, the system and medium also have similar beneficial technical effects to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the system and medium will not be repeated here.
[0076] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0077] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0078] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0080] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0081] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0082] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0083] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0084] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A positive feedback closed loop processing method for an electronic receipt, characterized in that: The method comprises: Obtaining an electronic voucher processing flow, and setting a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; Based on the electronic receipt error ledger, an electronic receipt error code is obtained through electronic receipt error matching; wherein the electronic receipt error code includes: a system-level electronic receipt error code and a bank-level electronic receipt error code; According to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and match the corresponding configuration update logic based on the SFTP status type for processing to achieve normal use of SFTP; Based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the judgment result, the corresponding field missing response logic is matched for processing to achieve the normal state of the field missing change; A detailed query is performed on the electronic receipt, and based on the result of the detailed query, the electronic receipt number is determined by correcting the incoming details.
2. A positive feedback closed loop processing method for electronic receipt according to claim 1, characterized in that: The electronic voucher processing flow is provided with a fault detection anchor point to obtain an electronic receipt error record, specifically including: Based on the electronic voucher processing flow, the electronic receipt processing flow is determined through association matching on the electronic receipt server; The node of the electronic receipt processing flow is set as the fault detection anchor point, and the electronic receipt data is obtained by querying the electronic receipt data stream according to the fault detection anchor point; The electronic receipt data is screened for abnormal fields to obtain an electronic receipt error ledger.
3. The positive feedback closed loop processing method of an electronic receipt according to claim 1, characterized in that: Based on the electronic receipt error ledger, the electronic receipt error code is obtained through electronic receipt error matching, specifically including: Acquire historical abnormal data of electronic receipts, and perform feature classification on the historical abnormal data of electronic receipts to obtain a set of abnormal items of electronic receipts; The electronic receipt abnormality item set is granularly marked to determine an electronic receipt abnormality number comparison table; Based on the electronic receipt exception number comparison table, the electronic receipt error ledger is matched with the exception items to obtain the electronic receipt error code.
4. The positive feedback closed loop processing method of an electronic receipt according to claim 1, characterized in that: According to the system-level electronic receipt error code, the SFTP status type is determined through SFTP status determination, and based on the SFTP status type, the corresponding processing logic is matched for processing to achieve normal use of SFTP, specifically including: Based on the system-level electronic receipt error code, the abnormal state of the electronic receipt is determined by setting the access mode for SFTP; wherein the abnormal state of the electronic receipt includes: the file list is displayed, and the file list cannot be displayed; When the abnormal state of the electronic receipt is file list display, a file upload test is performed on the preset root directory, and when the result of the upload test is normal, the SFTP state is determined to be usable; If the result of the upload test is abnormal, the SFTP status is determined to be unusable, and the preset server parameters are updated and configured; When the abnormal status of the electronic receipt is that the file list cannot be displayed, the SFTP status is determined to be unusable, and the SFTP is reconfigured.
5. The positive feedback closed loop processing method of an electronic receipt according to claim 1, characterized in that: Based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged to have a field missing change, and based on the field missing change judgment, a corresponding field missing countermeasure is matched to achieve a normal field missing change status, specifically including: Based on the bank-level electronic receipt error code, the electronic receipt number is obtained by returning the detailed information to query; Obtain the historical detailed data read by the bank, and when the return status of the electronic receipt number is capable of being written back, determine that the missing change status of the field is the missing status release; When the return status of the electronic receipt number is unable to be written back, the field missing change status is determined to be unchanged, and a preset message that does not contain return details is uploaded to a preset bank flow checking system.
6. A positive feedback closed loop processing method for electronic receipt according to claim 1, characterized in that: According to the result of the detailed query, the electronic receipt number is determined by correcting the incoming details, including: According to the result of the detailed query, the current electronic receipt number status is determined; wherein the current electronic receipt number status includes: incomplete number and complete number; Under the condition that the number is incomplete, the detailed query is re-performed on the preset electronic receipt number that has been stored to determine the electronic receipt number.
7. A positive feedback closed loop processing method for electronic receipt according to claim 4, characterized in that: Based on the system-level electronic receipt error code, the abnormal state of the electronic receipt is determined by setting the access mode for SFTP, specifically including: Determine SFTP access parameters through the preset SFTP connection program; According to the SFTP access parameter, perform SFTP login access on the error reporting parameter corresponding to the error code of the unified electronic receipt; Based on the SFTP login access, the abnormal state of the electronic receipt is determined through the SFTP login display.
8. The positive feedback closed loop processing method of an electronic receipt according to claim 1, characterized in that: After determining the electronic receipt number by amending the incoming details according to the result of the detailed query, the method further includes: By means of the detailed query, the node of the inventory entry detail correction is updated to obtain the method for correcting the preliminary inventory entry details; According to the method for correcting the preliminary warehousing details, the electronic receipt number is corrected for the electronic receipt.
9. A positive feedback closed loop processing device for electronic receipts, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Obtaining an electronic voucher processing flow, and setting a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; Based on the electronic receipt error ledger, an electronic receipt error code is obtained through electronic receipt error matching; wherein the electronic receipt error code includes: a system-level electronic receipt error code and a bank-level electronic receipt error code; According to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and match the corresponding configuration update logic based on the SFTP status type for processing to achieve normal use of SFTP; Based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the judgment result, the corresponding field missing response logic is matched for processing to achieve the normal state of the field missing change; A detailed query is performed on the electronic receipt, and based on the result of the detailed query, the electronic receipt number is determined by correcting the incoming details.
10. A non-volatile computer storage medium for positive feedback closed-loop processing of an electronic receipt, storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Obtaining an electronic voucher processing flow, and setting a fault detection anchor point for the electronic voucher processing flow to obtain an electronic receipt error ledger; Based on the electronic receipt error ledger, an electronic receipt error code is obtained through electronic receipt error matching; wherein the electronic receipt error code includes: a system-level electronic receipt error code and a bank-level electronic receipt error code; According to the system-level electronic receipt error code, determine the SFTP status type through SFTP status judgment, and match the corresponding configuration update logic based on the SFTP status type for processing to achieve normal use of SFTP; Based on the bank-level electronic receipt error code, the return status of the electronic receipt is judged for field missing changes, and based on the judgment result, the corresponding field missing response logic is matched for processing to achieve the normal state of the field missing change; A detailed query is performed on the electronic receipt, and based on the result of the detailed query, the electronic receipt number is determined by correcting the incoming details.
