[go: up one dir, main page]

CN113656517B - Account checking file processing method and device, electronic equipment and storage medium - Google Patents

Account checking file processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113656517B
CN113656517B CN202111034544.6A CN202111034544A CN113656517B CN 113656517 B CN113656517 B CN 113656517B CN 202111034544 A CN202111034544 A CN 202111034544A CN 113656517 B CN113656517 B CN 113656517B
Authority
CN
China
Prior art keywords
reconciliation
file
result
write
zkettle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111034544.6A
Other languages
Chinese (zh)
Other versions
CN113656517A (en
Inventor
穆玉伟
赵新旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111034544.6A priority Critical patent/CN113656517B/en
Publication of CN113656517A publication Critical patent/CN113656517A/en
Application granted granted Critical
Publication of CN113656517B publication Critical patent/CN113656517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请提供一种对账文件处理方法、装置、电子设备及存储介质。该方法包括:通过zkettle工具获取对账文件;通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果;根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件;获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态。本申请能够实现充值交费中的自动对账,避免财务人员繁琐的手工对账,提高对账效率,保证对账准确性。

Figure 202111034544

The present application provides a reconciliation file processing method, device, electronic equipment and storage medium. The method comprises: obtaining a reconciliation file through a zkettle tool; analyzing and processing the reconciliation file through a preset script of the zkettle tool to obtain a reconciliation result; generating write-off files in different provinces according to the reconciliation result, and send the write-off file to the corresponding provincial server, to instruct each provincial server to generate a receipt file according to the write-off file; obtain the receipt file of each provincial server, and update it according to the receipt file of each provincial server The write-off status of the reconciliation file. This application can realize automatic account reconciliation in recharge and payment, avoid cumbersome manual account reconciliation by financial personnel, improve account reconciliation efficiency, and ensure account reconciliation accuracy.

Figure 202111034544

Description

一种对账文件处理方法、装置、电子设备及存储介质Reconciliation file processing method, device, electronic equipment and storage medium

技术领域technical field

本申请涉及计算机技术,尤其涉及一种对账文件处理方法、装置、电子设备及存储介质。The present application relates to computer technology, and in particular to a method, device, electronic equipment and storage medium for processing reconciliation files.

背景技术Background technique

随着在线服务越来越完善,用户可以通过手机或电脑在线上完成充值和交费,由于在线充值、交费的过程中会涉及到多个机构,例如第三方支付机构、不同的银行等等,因此,更需要确保线上自助充值交费的对账准确性。As online services become more and more perfect, users can complete recharge and payment online through mobile phones or computers, because the process of online recharge and payment will involve multiple institutions, such as third-party payment agencies, different banks, etc. Therefore, it is more necessary to ensure the accuracy of reconciliation of online self-service recharge and payment.

然而,目前的线上自助充值交费的对账方式,为财务人员手工对账的方式,这种对账方式不仅过程繁琐,效率低下,而且对账的准确性不能保证。However, the current online self-service recharge and payment reconciliation method is manual reconciliation by financial personnel. This method of reconciliation is not only cumbersome and inefficient, but also the accuracy of reconciliation cannot be guaranteed.

发明内容Contents of the invention

本申请提供一种对账文件处理方法、装置、电子设备及存储介质,用以实现充值交费中的自动对账,避免财务人员繁琐的手工对账,提高对账效率,保证对账准确性。This application provides a method, device, electronic device and storage medium for processing account reconciliation files, which are used to realize automatic account reconciliation in recharge and payment, avoid cumbersome manual account reconciliation by financial personnel, improve account reconciliation efficiency, and ensure account reconciliation accuracy .

第一方面,本申请实施例提供一种对账文件处理方法,包括:In the first aspect, the embodiment of the present application provides a method for processing reconciliation documents, including:

通过zkettle工具获取对账文件;Obtain the reconciliation file through the zkettle tool;

通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果;Analyzing and processing the reconciliation file through the preset script of the zkettle tool to obtain a reconciliation result;

根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件;Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a return receipt file according to the write-off files;

获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态。Obtain the receipt file of each provincial server, and update the write-off status of the reconciliation file according to the receipt file of each provincial server.

在可选的一种实施方式中,所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:In an optional implementation manner, the reconciliation file is analyzed and processed through the preset script of the zkettle tool to obtain a reconciliation result, including:

将所述对账文件导入分布式关系型数据库;Importing the reconciliation file into a distributed relational database;

通过所述zkettle工具调用所述分布式关系型数据库中的对账文件,并通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果。The reconciliation file in the distributed relational database is invoked by the zkettle tool, and the reconciliation file is analyzed and processed by the preset script of the zkettle tool to obtain a reconciliation result.

在可选的一种实施方式中,所述分布式关系型数据库中包括政企在线平台中的交费数据,所述对账文件包括支付平台的支付数据,所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:In an optional implementation, the distributed relational database includes the payment data in the government-enterprise online platform, the reconciliation file includes the payment data of the payment platform, and the preset through the zkettle tool Set up a script to analyze and process the reconciliation file, and obtain the reconciliation results, including:

通过所述zkettle工具的预设脚本将所述交费数据和所述支付数据进行匹配比对;Matching and comparing the payment data and the payment data through the preset script of the zkettle tool;

若所述交费数据和所述支付数据不匹配,确定所述对账结果为异常;If the payment data does not match the payment data, determine that the reconciliation result is abnormal;

若所述交费数据和所述支付数据匹配,确定所述对账结果为正常。If the payment data matches the payment data, it is determined that the reconciliation result is normal.

在可选的一种实施方式中,所述方法包括:In an optional embodiment, the method includes:

若所述对账结果为异常,获取所述比对文件中的异常数据;If the reconciliation result is abnormal, obtaining the abnormal data in the comparison file;

对所述异常数据进行标记处理,或/和输出与所述异常数据对应的第一提醒信息。Marking the abnormal data, or/and outputting first reminder information corresponding to the abnormal data.

在可选的一种实施方式中,所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:In an optional implementation manner, the reconciliation file is analyzed and processed through the preset script of the zkettle tool to obtain a reconciliation result, including:

按照所述预设脚本对应的多个进程节点对所述对账文件进行分析处理,得到初始对账结果;Analyzing and processing the reconciliation file according to a plurality of process nodes corresponding to the preset script to obtain an initial reconciliation result;

若所述多个进程节点中每一进程节点的执行结果为正常,将所述初始对账结果确定为所述对账结果。If the execution result of each process node in the plurality of process nodes is normal, the initial reconciliation result is determined as the reconciliation result.

在可选的一种实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

若所述多个进程节点中存在执行结果为异常的进程节点,将所述执行结果为异常的进程节点,确定为目标进程节点;If there is a process node whose execution result is abnormal among the plurality of process nodes, the process node whose execution result is abnormal is determined as the target process node;

输出与所述目标进程节点对应的第二提示信息。Outputting second prompt information corresponding to the target process node.

在可选的一种实施方式中,所述方法还包括:In an optional embodiment, the method also includes:

根据所述每一省份服务器的回执文件生成汇总文件,其中,所述汇总文件包括应收总额信息和实收总额信息;A summary file is generated according to the receipt file of the server in each province, wherein the summary file includes total receivable information and total payment information;

将所述汇总文件发送至资金平台文件服务器。Send the summary file to the fund platform file server.

第二方面,本申请实施例提供一种对账文件处理装置,所述装置包括:In a second aspect, an embodiment of the present application provides a device for processing reconciliation documents, the device comprising:

对账文件获取模块,用于通过zkettle工具获取对账文件;The reconciliation file acquisition module is used to obtain the reconciliation file through the zkettle tool;

对账结果获取模块,用于通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果;The reconciliation result acquisition module is used to analyze and process the reconciliation file through the preset script of the zkettle tool to obtain the reconciliation result;

销账文件发送模块,用于根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件;A write-off file sending module, configured to generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a receipt according to the write-off files document;

更新模块,用于获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态。An update module, configured to obtain the receipt file of each province server, and update the write-off status of the account reconciliation file according to the receipt file of each province server.

在可选的一种实施方式中,对账结果获取模块具体用于:In an optional implementation manner, the reconciliation result acquisition module is specifically used for:

将所述对账文件导入分布式关系型数据库;Importing the reconciliation file into a distributed relational database;

通过所述zkettle工具调用所述分布式关系型数据库中的对账文件,并通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果。The reconciliation file in the distributed relational database is invoked by the zkettle tool, and the reconciliation file is analyzed and processed by the preset script of the zkettle tool to obtain a reconciliation result.

在可选的一种实施方式中,所述分布式关系型数据库中包括政企在线平台中的交费数据,所述对账文件包括支付平台的支付数据,对账结果获取模块包括:In an optional embodiment, the distributed relational database includes the payment data in the government-enterprise online platform, the reconciliation file includes the payment data of the payment platform, and the reconciliation result acquisition module includes:

比对单元,用于通过所述zkettle工具的预设脚本将所述交费数据和所述支付数据进行匹配比对;A comparison unit, configured to match and compare the payment data and the payment data through the preset script of the zkettle tool;

异常确定单元,用于若所述交费数据和所述支付数据不匹配,确定所述对账结果为异常;An abnormality determining unit, configured to determine that the reconciliation result is abnormal if the payment data does not match the payment data;

正常确定单元,用于若所述交费数据和所述支付数据匹配,确定所述对账结果为正常。A normal determination unit, configured to determine that the reconciliation result is normal if the payment data matches the payment data.

在可选的一种实施方式中,所述对账文件处理装置,还包括:In an optional implementation manner, the reconciliation file processing device further includes:

异常数据获取模块,用于若所述对账结果为异常,获取所述比对文件中的异常数据;An abnormal data acquisition module, configured to obtain the abnormal data in the comparison file if the reconciliation result is abnormal;

异常处理模块,用于对所述异常数据进行标记处理,或/和输出与所述异常数据对应的第一提醒信息。The exception processing module is configured to mark the abnormal data, or/and output first reminder information corresponding to the abnormal data.

在可选的一种实施方式中,对账结果获取模块,还包括:In an optional implementation manner, the reconciliation result acquisition module also includes:

初始对账结果获取单元,用于按照所述预设脚本对应的多个进程节点对所述对账文件进行分析处理,得到初始对账结果;The initial reconciliation result acquisition unit is configured to analyze and process the reconciliation file according to a plurality of process nodes corresponding to the preset script to obtain an initial reconciliation result;

执行结果检测单元,用于若所述多个进程节点中每一进程节点的执行结果为正常,将所述初始对账结果确定为所述对账结果。The execution result detection unit is configured to determine the initial reconciliation result as the reconciliation result if the execution result of each process node in the plurality of process nodes is normal.

在可选的一种实施方式中,所述对账文件处理装置,还包括:In an optional implementation manner, the reconciliation file processing device further includes:

目标进程节点确定模块,用于若所述多个进程节点中存在执行结果为异常的进程节点,将所述执行结果为异常的进程节点,确定为目标进程节点;A target process node determining module, configured to determine the process node whose execution result is abnormal as the target process node if there is a process node whose execution result is abnormal among the plurality of process nodes;

第二提示信息输出模块,用于输出与所述目标进程节点对应的第二提示信息。A second prompt information output module, configured to output second prompt information corresponding to the target process node.

在可选的一种实施方式中,所述对账文件处理装置,还包括:In an optional implementation manner, the reconciliation file processing device further includes:

汇总文件生成模块,用于根据所述每一省份服务器的回执文件生成汇总文件,其中,所述汇总文件包括应收总额信息和实收总额信息;A summary file generating module, configured to generate a summary file according to the receipt file of each province server, wherein the summary file includes total receivable information and total payment information;

汇总文件发送模块,用于将所述汇总文件发送至资金平台文件服务器。The summary file sending module is used to send the summary file to the fund platform file server.

第三方面,本申请实施例提供一种电子设备,包括:存储器和处理器;In a third aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor;

存储器,用于存储所述处理器可执行指令的存储器;a memory for storing said processor-executable instructions;

其中,所述处理器被配置为执行上述实施例提供的方法。Wherein, the processor is configured to execute the method provided in the foregoing embodiments.

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现上述实施例提供的方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement the methods provided in the above-mentioned embodiments when executed by a processor .

第五方面,本申请实施例提供一种计算机程序产品,该计算机程序产品包括计算机程序,该计算机程序被处理器执行时实现上述实施例提供的方法。In a fifth aspect, the embodiments of the present application provide a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the method provided in the foregoing embodiments is implemented.

本申请提供的对账文件处理方法、装置、电子设备及存储介质,通过zkettle工具获取对账文件,并通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,由于zkettle工具能够可视化部署job定时任务,因此能够根据其预先设定的脚本自动对获取到的对账文件进行分析处理。再根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件,最后获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态,从而能够使各个省份服务器根据对账结果和各种省份的实际情况对对账文件中的数据进行销账处理,并根据省份服务器的反馈实时更新销账状态,提升了对账效率和对账准确性。The reconciliation file processing method, device, electronic equipment and storage medium provided by the present application obtain the reconciliation file through the zkettle tool, and analyze and process the reconciliation file through the preset script of the zkettle tool to obtain the reconciliation result , since the zkettle tool can visualize and deploy job timing tasks, it can automatically analyze and process the obtained reconciliation files according to its preset scripts. Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a receipt file according to the write-off files, and finally obtain each province Receipt file of the server, update the write-off status of the reconciliation file according to the receipt file of each province server, so that each provincial server can check the data in the reconciliation file according to the reconciliation result and the actual situation of various provinces Perform write-off processing, and update the write-off status in real time according to the feedback from the provincial server, improving the efficiency and accuracy of account reconciliation.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请实施例提供的对账文件处理方法的应用环境示意图;Fig. 1 is a schematic diagram of the application environment of the reconciliation file processing method provided by the embodiment of the present application;

图2为本申请实施例提供的一种对账文件处理方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for processing reconciliation files provided in an embodiment of the present application;

图3为本申请实施例提供的另一种对账文件处理方法的流程示意图;FIG. 3 is a schematic flow diagram of another method for processing reconciliation files provided in the embodiment of the present application;

图4为本申请实施例提供的一种GUI设计界面的界面示意图;FIG. 4 is an interface schematic diagram of a GUI design interface provided by an embodiment of the present application;

图5为本申请实施例提供的另一种GUI设计界面的界面示意图;FIG. 5 is an interface schematic diagram of another GUI design interface provided by the embodiment of the present application;

图6为本申请实施例提供的又一种GUI设计界面的界面示意图;FIG. 6 is an interface schematic diagram of another GUI design interface provided by the embodiment of the present application;

图7为根据图3实施例提供的步骤203的流程示意图;FIG. 7 is a schematic flowchart of step 203 provided according to the embodiment of FIG. 3;

图8为本申请实施例提供的再一种GUI设计界面的界面示意图;FIG. 8 is an interface schematic diagram of another GUI design interface provided by the embodiment of the present application;

图9为本申请实施例提供的一种对账文件处理装置的结构示意图;FIG. 9 is a schematic structural diagram of a reconciliation file processing device provided in an embodiment of the present application;

图10为本申请实施例提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

随着在线服务越来越完善,用户可以通过手机或电脑在线上完成充值和交费,由于在线充值、交费的过程中会多个机构、例如第三方支付机构、不同的银行等等,因此,更需要确保线上自助充值交费的对账准确性。As online services become more and more perfect, users can complete recharge and payment online through mobile phones or computers. Since online recharge and payment will involve multiple institutions, such as third-party payment agencies, different banks, etc., therefore , It is even more necessary to ensure the accuracy of reconciliation of online self-service recharge and payment.

然而,目前对线上自助充值交费的进行对账时,通常是由财务人员通过手工对账完成,这种对账方式不仅过程繁琐,效率低下,而且对账的准确性不能保证。However, at present, the reconciliation of online self-service recharge and payment is usually done by financial personnel through manual reconciliation. This method of reconciliation is not only cumbersome and inefficient, but also the accuracy of reconciliation cannot be guaranteed.

由于人工对账已经不能满足快速的时代发展,对账系统应用得以开发,目前的对账系统应用中,主要分为几个模块,文件获取、文件解析、对账处理等,文件的获取主要是主动获取或对方推送,大多数银行或第三方支付机构都要求接入方提供SSH文件传输协议(Secret File Transfer Protocol,SFTP)/文件传输协议(File Transfer Protocol,FTP)服务,定时将对账文件推送到服务器上面,技术上通过计算机编程语言(java)程序将服务器中的对账文件下载到本地带解析的目录中,然后完成文件的解析入库,与本地的订单数据做比对处理,一般以银行或第三方支付机构的订单为基准的对账逻辑,最后做对账的差异处理。随着业务量不断的增加,按现有的对账模式设计,会导致数据库的响应速度以及数据库服务器的性能出现瓶颈,影响正常业务。Since manual reconciliation can no longer meet the rapid development of the times, the application of the reconciliation system has been developed. The current application of the reconciliation system is mainly divided into several modules, such as file acquisition, file analysis, reconciliation processing, etc. The acquisition of files is mainly Actively obtained or pushed by the other party, most banks or third-party payment institutions require the access party to provide SSH File Transfer Protocol (Secret File Transfer Protocol, SFTP)/File Transfer Protocol (File Transfer Protocol, FTP) services, and regularly transfer the reconciliation files Push it to the server, and technically download the reconciliation file in the server to the local directory with analysis through the computer programming language (java) program, and then complete the analysis of the file and put it into the warehouse, and compare it with the local order data. The reconciliation logic is based on the order of the bank or third-party payment institution, and finally the difference in reconciliation is processed. With the continuous increase of business volume, according to the existing reconciliation model design, it will lead to bottlenecks in the response speed of the database and the performance of the database server, affecting normal business.

具体地,目前对账方案主要通java的定时任务,从上游渠道获取对账文件,程序逐行解析入库,在利用java程序连接数据库进行处理,以一方数据为基础进行比对,查找出差异记录。对账过程中处理相关数据。Specifically, the current reconciliation solution mainly uses java timing tasks to obtain reconciliation files from upstream channels, and the program is parsed line by line into the database, and the java program is used to connect to the database for processing. Record. Relevant data are processed during the reconciliation process.

然而,如果对账数据巨大,会对数据库的读写造成压力,对性能影响较大,而且对账逻辑扩展极为麻烦,并且随着对账数据的日积月累,数据库会遇到很大的挑战,在业务量大的情况下,对账服务器及数据库服务器负荷较高,影响整个对账流程。However, if the reconciliation data is huge, it will put pressure on the reading and writing of the database, which will have a great impact on performance, and the expansion of reconciliation logic is extremely troublesome, and as the reconciliation data accumulates over time, the database will encounter great challenges. In the case of a large business volume, the reconciliation server and the database server have a high load, which affects the entire reconciliation process.

本申请实施例提供一种对账文件处理方法、装置、电子设备及存储介质,旨在解决现有技术的如上技术问题,本申请实施例提供的对账文件处理方法、装置、电子设备及存储介质可以通过采用Zkettle工具来实现对账方案,利用zkettle可异步操作数据库的特性,可以减少应用测的压力,减少数据库连接,灵活的部署方式以及方便易用的流程式设计和灵活的数据转换过程也利于对账逻辑的扩展,进一步提升了对账效率。The embodiment of the present application provides a reconciliation file processing method, device, electronic device and storage medium, aiming to solve the above technical problems in the prior art. The reconciliation file processing method, device, electronic device and storage medium provided in the embodiment of the present application The medium can implement the account reconciliation solution by using the Zkettle tool. Using the characteristics of zkettle to operate the database asynchronously, it can reduce the pressure of application testing, reduce database connections, flexible deployment methods, convenient and easy-to-use process design and flexible data conversion process It is also conducive to the expansion of reconciliation logic and further improves the efficiency of reconciliation.

下面对申请实施例所涉及的专业术语进行解释:The technical terms involved in the application examples are explained below:

Zkettle:是一种数据仓库技术(Extract Transform Load,ETL)工具,它允许你管理来自不同数据库的数据,通过提供一个图形化的开发环境来描述你想做什么,相比于开源的kettle,政企自研的zkettle支持分布式部署,支持可视化脚本按计划部署,脚本短信预警,并增加了对天宫组件的支持。Zkettle: It is a data warehouse technology (Extract Transform Load, ETL) tool that allows you to manage data from different databases and describe what you want to do by providing a graphical development environment. Compared with the open source kettle, the government The company's self-developed zkettle supports distributed deployment, supports visual scripts to be deployed according to plan, and script SMS alerts, and adds support for Tiangong components.

分布式关系型数据库(Distributed Relational Database Servic,DRDS)是阿里巴巴自主研发,高度兼容MySQL协议和语法的分布式关系型数据库服务中间件。专注于解决单机关系型数据库扩展性问题,具备轻量(无状态)、灵活、稳定、高效等特性,与传统数据库相比,在分布式技术和分库键方面比较突出,具备轻量、灵活、稳定、高效等特性,本方案中用于对账数据的存储。Distributed Relational Database Service (DRDS) is a distributed relational database service middleware independently developed by Alibaba and highly compatible with MySQL protocol and syntax. Focusing on solving the scalability problem of stand-alone relational databases, it has the characteristics of light weight (stateless), flexibility, stability, and high efficiency. Compared with traditional databases, it is more prominent in distributed technology and sub-database keys, and has light weight and flexibility. , stability, high efficiency and other characteristics, it is used for the storage of reconciliation data in this solution.

kvStore:是兼容开源Redis协议标准的、提供持久化的内存数据库服务,基于高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。kvStore: It is compatible with the open source Redis protocol standard and provides persistent memory database services. Based on a highly reliable dual-machine hot standby architecture and a seamlessly scalable cluster architecture, it meets the business needs of high-reading and writing performance scenarios and elastic capacity changes. .

下面对本申请实施例的对账文件处理方法的应用环境进行说明,如图1所示,该应用环境可以包括支付公司、政企在线平台、DRDS数据库、省份系统以及资金平台。The following describes the application environment of the reconciliation file processing method of the embodiment of the present application. As shown in FIG. 1 , the application environment may include payment companies, government-enterprise online platforms, DRDS databases, provincial systems, and capital platforms.

其中,政企在线平台可以分别与支付公司、DRDS数据库、省份系统、资金平台建立通讯链路,以实现数据传输。其中,支付公司、政企在线平台、DRDS数据库、省份系统以及资金平台均可以为服务器。其中,支付公司可以向政企在线平台推送对账文件。政企在线平台可以向资金平台推送文件。政企在线平台和省份系统之间互传文件。政企在线平台还可以向DRDS数据库中写入数据,或者从DRDS数据库中提取数据。Among them, the government-enterprise online platform can respectively establish communication links with payment companies, DRDS databases, provincial systems, and capital platforms to realize data transmission. Among them, payment companies, government-enterprise online platforms, DRDS databases, provincial systems, and capital platforms can all be servers. Among them, the payment company can push the reconciliation file to the government-enterprise online platform. The government-enterprise online platform can push documents to the fund platform. Files are exchanged between the government-enterprise online platform and the provincial system. The government-enterprise online platform can also write data into the DRDS database, or extract data from the DRDS database.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below in conjunction with the accompanying drawings.

图2为本申请实施例提供的一种对账文件处理方法的流程示意图,如图2所示,本实施例提供的方法,包括:Fig. 2 is a schematic flow chart of a method for processing reconciliation files provided in the embodiment of the present application. As shown in Fig. 2, the method provided in the present embodiment includes:

101、通过zkettle工具获取对账文件。101. Obtain the reconciliation file through the zkettle tool.

示例性地,本实施例的执行主体可以是电子设备、或者终端设备、或者服务器、或者其他可以执行本实施例的装置或设备,不做限制。本实施例以执行主体为服务器进行说明,具体可以为图1中的政企在线平台的服务器。Exemplarily, the subject of execution of this embodiment may be an electronic device, or a terminal device, or a server, or other apparatuses or devices capable of executing this embodiment, without limitation. In this embodiment, the execution subject is described as a server, which may specifically be the server of the government-enterprise online platform in FIG. 1 .

在一些实施方式中,政企在线平台可以通过zkettle工具获取支付公司推送至政企在线平台的文件服务器中的对账文件。其中,对账文件可以包括支付公司或支付平台所记录的支付数据,例如用户通过微信、支付宝、银联等平台向商家支付的支付数据。具体地,支付数据可以包括支付金额、支付时间、支付平台、用户信息等等。In some embodiments, the government-enterprise online platform can use the zkettle tool to obtain the reconciliation file pushed by the payment company to the file server of the government-enterprise online platform. Wherein, the reconciliation file may include the payment data recorded by the payment company or the payment platform, such as the payment data that the user pays to the merchant through WeChat, Alipay, UnionPay and other platforms. Specifically, the payment data may include payment amount, payment time, payment platform, user information, and the like.

102、通过zkettle工具的预设脚本对对账文件进行分析处理,得到对账结果。102. Analyze and process the reconciliation file through the preset script of the zkettle tool to obtain the reconciliation result.

在一些实施方式中,政企在线平台可以通过zkettle工具的预设脚本对支付公司的支付数据和政企在线平台中记录的交费数据做对比分析,具体地,预设脚本可以用于将支付公司的支付数据和政企在线平台中记录的交费数据做一致性对比,若支付公司的支付数据和政企在线平台中记录的交费数据一致,则可以确定对账结果为正常。若支付公司的支付数据和政企在线平台中记录的交费数据不一致,则可以确定对账结果为异常。In some implementations, the government-enterprise online platform can compare and analyze the payment data of the payment company and the payment data recorded in the government-enterprise online platform through the preset script of the zkettle tool. Specifically, the preset script can be used to convert the payment The company's payment data is compared with the payment data recorded in the government-enterprise online platform. If the payment data of the payment company is consistent with the payment data recorded in the government-enterprise online platform, it can be determined that the reconciliation result is normal. If the payment data of the payment company is inconsistent with the payment data recorded in the government-enterprise online platform, it can be determined that the reconciliation result is abnormal.

在一些实施方式中,若政企在线平台确定对账结果为异常,可以进一步分析出异常数据,并将异常数据也记录到对账结果中。可选地,异常数据可以包括支付公司的支付数据和政企在线平台中记录的交费数据之间的差值、出现异常的支付公司、异常数据对应的地区、省份等。In some embodiments, if the government-enterprise online platform determines that the reconciliation result is abnormal, it can further analyze the abnormal data and record the abnormal data in the reconciliation result. Optionally, the abnormal data may include the difference between the payment data of the payment company and the payment data recorded in the government-enterprise online platform, the abnormal payment company, the region and province corresponding to the abnormal data, and the like.

103、根据对账结果生成不同省份的销账文件,并将销账文件发送至对应的省份服务器,以指示每一省份服务器根据销账文件生成回执文件。103. Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers, so as to instruct each provincial server to generate a receipt file according to the write-off files.

在一些实施方式中,政企在线平台可以根据对账结果生成省份的BSS(业务支撑系统)销账文件,并将各个省份对应的销账文件发送到对应省份的省份服务器中,以指示每一省份服务器根据其接收到的销账文件生成回执文件。其中,省份对应的销账文件可以包括该省份的应收金额等数据。其中,省份对应的回执文件可以包括可以反映该省份的应收金额和实收金额的情况的数据,例如该省份的应收金额和实收金额的差额,或者差额原因等。In some embodiments, the government-enterprise online platform can generate the BSS (Business Support System) write-off files of the provinces according to the reconciliation results, and send the write-off files corresponding to each province to the provincial servers of the corresponding provinces to instruct each The provincial server generates a receipt file according to the write-off file it receives. Wherein, the write-off file corresponding to the province may include data such as the receivable amount of the province. Wherein, the receipt file corresponding to the province may include data that can reflect the situation of the receivable amount and the actual amount received in the province, such as the difference between the receivable amount and the actual amount received in the province, or the reason for the difference.

作为一种示例,例如省份为四川的服务器可以实时记录本省份在最近一个月的实收金额,然后根据其实收金额与销账文件中的最近一个月的应收金额进行销账处理,并根据销账处理结果生成回执文件,例如回执文件可以包括最近一个月实收金额和应收金额之间的偏差、偏差的程度等数据。As an example, for example, the server whose province is Sichuan can record the actual amount received in the province in the last month in real time, and then perform write-off processing according to the amount received and the amount receivable in the latest month in the write-off file, and according to A return receipt file is generated as a result of the write-off processing. For example, the return receipt file may include data such as the deviation between the amount received in the last month and the amount receivable, and the degree of deviation.

104、获取每一省份服务器的回执文件,根据每一省份服务器的回执文件更新对账文件的销账状态。104. Obtain the receipt file of the server in each province, and update the write-off status of the reconciliation file according to the receipt file of the server in each province.

在一些实时方式中,政企在线平台可以向每一省份服务器发送用于获取回执文件的请求,以指示省份服务器反馈回执文件,从而获得每一省份服务器的回执文件,再根据每一省份服务器的回执文件更新对账文件的销账状态。具体地,可以将用于反映对账文件的销账状态的数据更新后保存到政企在线平台的文件服务器中,或者将用于反映对账文件的销账状态的数据显示在政企在线平台的显示器上,并实时更新。In some real-time methods, the government-enterprise online platform can send a request for obtaining the receipt file to each provincial server to instruct the provincial server to feed back the receipt file, thereby obtaining the receipt file of each provincial server, and then according to the The receipt file updates the write-off status of the reconciliation file. Specifically, the data used to reflect the write-off status of the reconciliation file can be updated and saved to the file server of the government-enterprise online platform, or the data used to reflect the write-off status of the reconciliation file can be displayed on the government-enterprise online platform on the display and update in real time.

在本实施例中,通过zkettle工具获取对账文件,并通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,由于zkettle工具能够可视化部署job定时任务,因此能够根据其预先设定的脚本自动对获取到的对账文件进行分析处理。再根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件,最后获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态,从而能够使各个省份服务器根据对账结果和各种省份的实际情况对对账文件中的数据进行销账处理,并根据省份服务器的反馈实时更新销账状态,提升了对账效率和对账准确性。此外,通过采用zkettle工具,可以通过可视化部署job定时任务,将对账文件定时导入数据库中,使用zkettle异步操作数据库,可以减少应用测的压力,减少数据库连接,灵活的部署方式以及方便易用的流程式设计和灵活的数据转换过程也利于对账逻辑的扩展,解决了单机数据库容量瓶颈以及数据库扩展困难。In this embodiment, the reconciliation file is obtained through the zkettle tool, and the reconciliation file is analyzed and processed through the preset script of the zkettle tool to obtain the reconciliation result. Since the zkettle tool can deploy job timing tasks visually, It can automatically analyze and process the obtained reconciliation files according to its pre-set scripts. Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a receipt file according to the write-off files, and finally obtain each province Receipt file of the server, update the write-off status of the reconciliation file according to the receipt file of each province server, so that each provincial server can check the data in the reconciliation file according to the reconciliation result and the actual situation of various provinces Perform write-off processing, and update the write-off status in real time according to the feedback from the provincial server, improving the efficiency and accuracy of account reconciliation. In addition, by using the zkettle tool, you can deploy job timing tasks visually, import reconciliation files into the database regularly, and use zkettle to operate the database asynchronously, which can reduce the pressure of application testing, reduce database connections, flexible deployment methods, and easy-to-use The process-based design and flexible data conversion process are also conducive to the expansion of reconciliation logic, which solves the bottleneck of stand-alone database capacity and the difficulty of database expansion.

图3为本申请实施例提供的另一种对账文件处理方法的流程示意图,如图3所示,本实施例提供的方法,包括:Fig. 3 is a schematic flowchart of another method for processing reconciliation files provided in the embodiment of the present application. As shown in Fig. 3, the method provided in the present embodiment includes:

201、通过zkettle工具获取对账文件。201. Obtain the reconciliation file through the zkettle tool.

202、将对账文件导入分布式关系型数据库。202. Import the reconciliation file into the distributed relational database.

在一些实施方式中,政企在线平台可以使用zkettle获取支付公司推送至文件服务器中的对账文件,并导入分布式关系型数据库(以下简称DRDS数据库)中,将支付公司的数据与政企在线平台中的交费数据做比对分析以及对异常数据的处理,得到的对账结果,并装换为对账数据存储到DRDS数据库中,其中,对转数据可以为对账结果对应的表格。In some embodiments, the government-enterprise online platform can use zkettle to obtain the reconciliation file pushed by the payment company to the file server, and import it into a distributed relational database (hereinafter referred to as DRDS database), and link the payment company's data with the government-enterprise online The payment data in the platform is compared and analyzed and the abnormal data is processed, and the reconciliation results obtained are converted into reconciliation data and stored in the DRDS database. The reconciliation data can be the table corresponding to the reconciliation results.

203、通过zkettle工具调用分布式关系型数据库中的对账文件,并通过zkettle工具的预设脚本对对账文件进行分析处理,得到对账结果。203. Call the reconciliation file in the distributed relational database through the zkettle tool, and analyze and process the reconciliation file through the preset script of the zkettle tool to obtain a reconciliation result.

在一些实施方式中,分布式关系型数据库中包括政企在线平台中的交费数据,对账文件包括支付平台的支付数据,步骤203的具体实施方式包括:通过zkettle工具的预设脚本将交费数据和支付数据进行匹配比对,若交费数据和支付数据不匹配,确定对账结果为异常;若交费数据和支付数据匹配,确定对账结果为正常。In some implementations, the distributed relational database includes the payment data in the government-enterprise online platform, and the reconciliation file includes the payment data of the payment platform. The specific implementation of step 203 includes: using the preset script of the zkettle tool to transfer the If the payment data and payment data do not match, the reconciliation result is determined to be abnormal; if the payment data and payment data match, the reconciliation result is determined to be normal.

可选地,若交费数据和支付数据不一致时,可以确定交费数据和支付数据不匹配;若交费数据和支付数据一致时,可以确定交费数据和支付数据匹配。Optionally, if the payment data is inconsistent with the payment data, it can be determined that the payment data and the payment data do not match; if the payment data and the payment data are consistent, it can be determined that the payment data and the payment data match.

可选地,若交费数据和支付数据之间的差值在指定范围内,可以确定交费数据和支付数据匹配。否则,确定交费数据和支付数据不匹配。Optionally, if the difference between the payment data and the payment data is within a specified range, it may be determined that the payment data and the payment data match. Otherwise, it is determined that the payment data does not match the payment data.

在本实施方式中,通过比对不同平台的数据进行对账,可保证对账的准确性。In this embodiment, the accuracy of the reconciliation can be ensured by comparing the data of different platforms for reconciliation.

在一些实施方式中,若对账结果为异常,获取比对文件中的异常数据;对异常数据进行标记处理,或/和输出与异常数据对应的第一提醒信息。In some implementations, if the reconciliation result is abnormal, obtain the abnormal data in the comparison file; mark the abnormal data, or/and output the first reminder information corresponding to the abnormal data.

作为一种示例,可以对异常数据进行亮高处理并显示,或者采用特定颜色或者特定的显示方式对异常数据进行显示。As an example, abnormal data may be highlighted and displayed, or displayed in a specific color or in a specific display manner.

作为另一种示例,输出与异常数据对应的第一提醒信息,具体可以是向用户的移动终端发送短信息,以向用户提示那些对账数据为异常。As another example, outputting the first reminder information corresponding to the abnormal data may specifically send a short message to the user's mobile terminal, so as to remind the user that the account reconciliation data is abnormal.

204、根据对账结果生成不同省份的销账文件,并将销账文件发送至对应的省份服务器,以指示每一省份服务器根据销账文件生成回执文件。204. Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers, so as to instruct each provincial server to generate a receipt file according to the write-off files.

作为一种示例,如图4所示,用户可以在zkettle工具的图形化的图形用户界面(Graphical User Interface,GUI)设计界面中预先设置关于销账文件生成过程的脚本,其中,关于销账文件生成过程的脚本可以对应有多个进程节点,例如校验支付任务、生成对账数据、生成BSS文件、文件上传等进程节点。当上述多个进程节点中任意一个进程节点出现故障时,可以向用户发送短信,以提醒用户故障点位置。具体地,关于销账文件生成的具体过程可以依次为:开始(Start)→设置变量_自动→判断支付任务→检验支付任务→生成对账数据→生成BSS文件→文件上传→BSS文件上传成功→插入日志→更新任务→成功。其中,若检验支付任务、生成对账数据、生成BSS文件、文件上传出现故障,如支付任务失败、生成对账数据失败、生成BSS文件失败、BSS文件上传失败时,可以发送短信以提醒用户,并在出现故障的进程节点中止作业。其中,设置变量_自动可以是设置进程节点的开启或关闭的变量等。As an example, as shown in Figure 4, the user can pre-set a script about the write-off file generation process in the graphical user interface (Graphical User Interface, GUI) design interface of the zkettle tool, wherein, about the write-off file The script of the generation process can correspond to multiple process nodes, such as process nodes such as verifying payment tasks, generating reconciliation data, generating BSS files, and uploading files. When any one of the multiple process nodes fails, a short message can be sent to the user to remind the user of the location of the failure point. Specifically, the specific process of generating the write-off file can be as follows: Start→Set variable_automatic→Judging payment task→Check payment task→Generate reconciliation data→Generate BSS file→File upload→BSS file uploaded successfully→ Insert log → update task → success. Among them, if there is a failure in checking payment tasks, generating reconciliation data, generating BSS files, or uploading files, such as payment task failure, reconciliation data generation failure, BSS file generation failure, and BSS file upload failure, a text message can be sent to remind the user. And abort the job on the failed process node. Wherein, setting the variable_automatically may be a variable for setting the process node on or off, or the like.

其中,政企在线平台可以采用kvstore作为分省开关,可以根据不同省份定制不同的对账方案。Among them, the government-enterprise online platform can use kvstore as a provincial switch, and can customize different reconciliation schemes according to different provinces.

205、获取每一省份服务器的回执文件,根据每一省份服务器的回执文件更新对账文件的销账状态。205. Obtain the receipt file of the server in each province, and update the write-off status of the reconciliation file according to the receipt file of the server in each province.

作为一种示例,如图5所示,用户可以在zkettle工具的图形化的GUI设计界面中预先设置关于根据回执文件更新销账状态过程的脚本,其中,关于根据回执文件更新销账状态过程的脚本可以对应有多个进程节点,例如检验CBSS(集中业务支撑系统)上传任务、检验BSS上传任务、回执文件下载、调用HTTP接口、调用异常订单接口等进程节点。当上述多个进程节点中任意一个进程节点出现故障时,可以向用户发送短信,以提醒用户故障点位置。具体地,关于根据回执文件更新销账状态的具体过程可以依次为:开始(Start)→设置变量_自动→判断CBSS和BSS上传任务→检验CBSS上传任务→检验BSS上传任务→回执文件下载→回执文件入库→检查回执文件→调用HTTP接口→调用异常订单接口→获取回执任务成功→插入日志→更新任务→成功,其中,若检验CBSS上传任务、检验BSS上传任务、回执文件下载、调用HTTP接口、调用异常订单接口出现故障,可以发送短信以提醒用户,并在出现故障的进程节点中止作业。其中,设置变量_自动可以为设置各进程节点开启或关闭的变量。其中,检验CBSS上传任务可以是校验CBSS文件上传是否成功。检验BSS上传任务可以是校验BSS文件上传是否成功。As an example, as shown in Figure 5, the user can preset a script about the process of updating the write-off status according to the receipt file in the graphical GUI design interface of the zkettle tool, wherein, about the process of updating the write-off status according to the receipt file Scripts can correspond to multiple process nodes, such as checking CBSS (Centralized Business Support System) upload tasks, checking BSS upload tasks, downloading receipt files, calling HTTP interfaces, calling abnormal order interfaces and other process nodes. When any one of the above multiple process nodes fails, a short message can be sent to the user to remind the user of the location of the failure point. Specifically, the specific process of updating the write-off status according to the receipt file can be followed in sequence: Start→Set variable_automatic→Judge CBSS and BSS upload tasks→Check CBSS upload tasks→Check BSS upload tasks→Receipt file download→Receipt File storage→check the receipt file→call the HTTP interface→call the abnormal order interface→get the receipt task successfully→insert the log→update the task→success, among them, if you check the CBSS upload task, check the BSS upload task, download the receipt file, and call the HTTP interface 1. If there is a failure in calling the abnormal order interface, a short message can be sent to remind the user, and the job will be terminated at the failed process node. Wherein, the setting variable_auto can be a variable for setting each process node to be turned on or off. Wherein, checking the CBSS upload task may be checking whether the upload of the CBSS file is successful. Checking the BSS upload task may be checking whether the BSS file upload is successful.

206、根据每一省份服务器的回执文件生成汇总文件,其中,汇总文件包括应收总额信息和实收总额信息。206. Generate a summary file according to the receipt file of the server in each province, where the summary file includes information on the total amount receivable and the total amount received.

207、将汇总文件发送至资金平台文件服务器。207. Send the summary file to the file server of the fund platform.

其中,资金平台文件服务器可以对全国的支付数据进行统计和记录。Among them, the fund platform file server can collect and record the national payment data.

作为一种示例,如图6所示,用户可以在zkettle工具的图形化的GUI设计界面中预先设置关于生成汇总文件过程的脚本,其中,汇总文件也可以称资金平台文件或资金平台所需文件,关于生成汇总文件过程的脚本可以对应有多个进程节点,例如检验销账任务、生成资金平台数据、生成资金平台文件、文件上传等进程节点。当上述多个进程节点中任意一个进程节点出现故障时,可以向用户发送短信,以提醒用户故障点位置。具体地,关于生成汇总文件的具体过程可以依次为:开始(Start)→设置上传变量→判断销账任务→生成资金平台数据→生成资金平台文件→文件上传→上传日志参数→插入日志→更新任务→成功,其中,若验销账任务出现故障可以校验销账日志,若生成资金平台数据出现故障可以生成数据日志,若生成资金平台文件出现故障可以生成文件日志,若文件上传出现故障可以生成文件上传日志,然后将出现故障的进程节点通过短信发送给用户,并在出现故障的进程节点中止作业。其中,判断销账任务可以是用于检测销账任务是正常销账或异常销账。As an example, as shown in Figure 6, the user can pre-set the script on the process of generating the summary file in the graphical GUI design interface of the zkettle tool, where the summary file can also be called the fund platform file or the required file of the fund platform , the script about the process of generating the summary file can correspond to multiple process nodes, such as process nodes such as checking account write-off tasks, generating fund platform data, generating fund platform files, and file uploads. When any one of the multiple process nodes fails, a short message can be sent to the user to remind the user of the location of the failure point. Specifically, the specific process of generating summary files can be followed in sequence: Start→Set upload variables→Judge write-off tasks→Generate fund platform data→Generate fund platform files→File upload→Upload log parameters→Insert logs→Update tasks →Success, among them, if there is a failure in the account verification task, you can verify the write-off log, if there is a failure in generating the fund platform data, you can generate a data log, if there is a failure in generating the fund platform file, you can generate a file log, and if a file upload fails, you can generate File upload log, and then send the faulty process node to the user via SMS, and terminate the job on the faulty process node. Wherein, judging the write-off task may be used to detect whether the write-off task is a normal write-off or an abnormal write-off.

在一些实施方式中,如图7所示,上述步骤203的具体实施方式包括如下子步骤:In some implementations, as shown in Figure 7, the specific implementation of the above step 203 includes the following sub-steps:

2031、按照预设脚本对应的多个进程节点对对账文件进行分析处理,得到初始对账结果。2031. Analyze and process the reconciliation file according to multiple process nodes corresponding to the preset script, and obtain an initial reconciliation result.

2032、若多个进程节点中每一进程节点的执行结果为正常,将初始对账结果确定为对账结果。2032. If the execution result of each process node in the plurality of process nodes is normal, determine the initial reconciliation result as the reconciliation result.

2033、若多个进程节点中存在执行结果为异常的进程节点,将执行结果为异常的进程节点,确定为目标进程节点。2033. If there is a process node whose execution result is abnormal among the plurality of process nodes, determine the process node whose execution result is abnormal as the target process node.

2034、输出与目标进程节点对应的第二提示信息。作为一种示例,如图8所示,用户可以在zkettle工具的图形化的GUI设计界面中设置预设脚本,例如在设置对对账文件进行分析处理过程的预设脚本时,可以通过图形设置多个进程节点。当预设脚本被执行时,可以按照其对应的多个进行节点依次执行。其中,当某个进程节点出现故障时,可以发送第二提示信息(如短信)到用户的移动终端,以提醒用户,若一个进程接地那没有出现故障可以自动进入下一个进程节点。其中,进程节点可以包括文件下载解析、复制数据到快照表、政企订单统计和更改title(标题)表、对账流程、调用超文本传输协议(Hyper Text TransferProtocol,HTTP)接口等、请求HttpClient。其中,HttpClient为客户端编程工具包。具体地,对对账文件进行分析处理的整个过程可以依次为:开始(Start)→生成后续所需统一参数→入库task表→文件下载解析→复制数据到快照表→政企订单统计和更改title表→对账流程→请求HttpClient→调用HTTP接口→设置变量5→更改title表记录2→成功。其中,文件下载解析、复制数据到快照表、政企订单统计和更改title表、对账流程、请求HttpClient、更改title表记录2出现故障、以及调用HTTP接口失败时可以发送短信以提醒,并且故障短信可以在记录日志2中记录,然后根据记录日志2来设置变量以对title表的属性复制,从而更改记录title表记录,并将更改后title表记录通过短信给用户,然后中止作业。2034. Output second prompt information corresponding to the target process node. As an example, as shown in Figure 8, the user can set a preset script in the graphical GUI design interface of the zkettle tool, for example, when setting a preset script for analyzing and processing the reconciliation file, you can set Multiple process nodes. When the preset script is executed, it can be executed sequentially according to its corresponding multiple progress nodes. Wherein, when a process node breaks down, a second prompt message (such as a short message) can be sent to the user's mobile terminal to remind the user that if a process is grounded, it can automatically enter the next process node if there is no failure. Among them, the process node can include file download and analysis, copy data to snapshot table, government and enterprise order statistics and change title (title) table, reconciliation process, call Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP) interface, etc., request HttpClient. Among them, HttpClient is a client programming toolkit. Specifically, the whole process of analyzing and processing the reconciliation file can be followed in turn: Start → generate subsequent unified parameters → storage task table → file download and analysis → copy data to snapshot table → government and enterprise order statistics and changes title table→reconciliation process→request HttpClient→call HTTP interface→set variable 5→change title table record 2→success. Among them, file download analysis, copy data to snapshot table, government and enterprise order statistics and change title table, account reconciliation process, request HttpClient, change title table record 2 failure, and call HTTP interface failure can send SMS to remind, and failure The short message can be recorded in the record log 2, and then set variables according to the record log 2 to copy the attributes of the title table, thereby changing the record of the title table record, and sending the changed title table record to the user through a text message, and then aborting the job.

可选地,第一提示信息和第二提示信息包括但不限于短信信息、语音信息、图像信息等。Optionally, the first prompt information and the second prompt information include but are not limited to short message information, voice information, image information, and the like.

在本实施例中,通过使用zkettle获取支付公司推送至文件服务器中的对账文件,并导入DRDS数据库中,将支付公司的数据与政企在线平台中的交费数据做比对分析以及对异常数据的处理。再使用zkettle调用DRDS数据库中比对后的对账数据,并生成省BSS销账文件,推送到各省文件服务器中,供省分做销账获取各省推送的销账回执文件,使用zkettle调用销账接口,更新交费销账状态。最后按省份生成资金平台所需文件(如应收总额和实收总额文件),并推送到资金平台文件服务器。从而能够利用zkettle工具和DRDS数据库将稳定、有序地将各省份的支付数据进行对账处理,提升了对账效率。其中,通过zkettle工具可视化部署job,将对账文件定时导入DRDS中,使用zkettle异步操作数据库,可以减少应用测的压力,减少数据库连接,灵活的部署方式以及方便易用的流程式设计和灵活的数据转换过程也利于对账逻辑的扩展。同时DRDS支持分库分表、平滑扩容、服务升降配、透明读写分离和分布式事务等特性,降低了数据库服务器的压力,解决了单机数据库容量瓶颈以及数据库扩展困难。In this embodiment, by using zkettle to obtain the reconciliation file pushed by the payment company to the file server, and import it into the DRDS database, compare and analyze the payment company's data with the payment data in the government-enterprise online platform and analyze the abnormal processing of data. Then use zkettle to call the compared reconciliation data in the DRDS database, and generate a provincial BSS write-off file, which is pushed to the file server of each province for the province to do write-off to obtain the write-off receipt file pushed by each province, and use zkettle to call the write-off Interface to update the payment write-off status. Finally, the documents required by the fund platform (such as the total amount receivable and the total amount received) are generated by province and pushed to the fund platform file server. In this way, the payment data of each province can be reconciled in a stable and orderly manner by using the zkettle tool and the DRDS database, which improves the reconciliation efficiency. Among them, the job is deployed visually through the zkettle tool, and the reconciliation files are regularly imported into DRDS. Using zkettle to operate the database asynchronously can reduce the pressure of application testing, reduce database connections, flexible deployment methods, and convenient and easy-to-use process design and flexible The data conversion process is also conducive to the expansion of reconciliation logic. At the same time, DRDS supports features such as sub-database and sub-table, smooth expansion, service upgrade and upgrade, transparent read-write separation, and distributed transactions, which reduces the pressure on the database server and solves the bottleneck of stand-alone database capacity and the difficulty of database expansion.

图9为本申请实施例提供的一种对账文件处理装置的结构示意图,如图9所示,该装置包括:Fig. 9 is a schematic structural diagram of a reconciliation file processing device provided in the embodiment of the present application. As shown in Fig. 9, the device includes:

对账文件获取模块31,用于通过zkettle工具获取对账文件。The reconciliation file obtaining module 31 is used to obtain the reconciliation file through the zkettle tool.

对账结果获取模块32,用于通过zkettle工具的预设脚本对对账文件进行分析处理,得到对账结果。The reconciliation result acquisition module 32 is used to analyze and process the reconciliation file through the preset script of the zkettle tool to obtain the reconciliation result.

销账文件发送模块33,用于根据对账结果生成不同省份的销账文件,并将销账文件发送至对应的省份服务器,以指示每一省份服务器根据销账文件生成回执文件。The write-off file sending module 33 is configured to generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each provincial server to generate a receipt file according to the write-off files.

更新模块34,用于获取每一省份服务器的回执文件,根据每一省份服务器的回执文件更新对账文件的销账状态。The update module 34 is configured to obtain the receipt file of each provincial server, and update the write-off status of the reconciliation file according to the receipt file of each provincial server.

在一些实施方式中,对账结果获取模块32具体用于:In some embodiments, the reconciliation result acquisition module 32 is specifically used for:

将对账文件导入分布式关系型数据库。Import the reconciliation file into the distributed relational database.

通过zkettle工具调用分布式关系型数据库中的对账文件,并通过zkettle工具的预设脚本对对账文件进行分析处理,得到对账结果。The reconciliation file in the distributed relational database is invoked through the zkettle tool, and the reconciliation file is analyzed and processed through the preset script of the zkettle tool to obtain the reconciliation result.

在一些实施方式中,分布式关系型数据库中包括政企在线平台中的交费数据,对账文件包括支付平台的支付数据,对账结果获取模块32包括:In some embodiments, the distributed relational database includes the payment data in the government-enterprise online platform, the reconciliation file includes the payment data of the payment platform, and the reconciliation result acquisition module 32 includes:

比对单元,用于通过zkettle工具的预设脚本将交费数据和支付数据进行匹配比对。The comparison unit is used to match and compare the payment data and payment data through the preset script of the zkettle tool.

异常确定单元,用于若交费数据和支付数据不匹配,确定对账结果为异常。The abnormality determination unit is configured to determine that the reconciliation result is abnormal if the payment data does not match the payment data.

正常确定单元,用于若交费数据和支付数据匹配,确定对账结果为正常。The normal determination unit is configured to determine that the reconciliation result is normal if the payment data matches the payment data.

在一些实施方式中,对账文件处理装置,还包括:In some embodiments, the reconciliation file processing device further includes:

异常数据获取模块,用于若对账结果为异常,获取比对文件中的异常数据。The abnormal data obtaining module is used to obtain the abnormal data in the comparison file if the reconciliation result is abnormal.

异常处理模块,用于对异常数据进行标记处理,或/和输出与异常数据对应的第一提醒信息。The exception processing module is configured to mark the abnormal data, or/and output the first reminder information corresponding to the abnormal data.

在一些实施方式中,对账结果获取模块32,还包括:In some embodiments, the reconciliation result acquisition module 32 also includes:

初始对账结果获取单元,用于按照预设脚本对应的多个进程节点对对账文件进行分析处理,得到初始对账结果。The initial reconciliation result acquisition unit is configured to analyze and process the reconciliation file according to a plurality of process nodes corresponding to the preset script to obtain the initial reconciliation result.

执行结果检测单元,用于若多个进程节点中每一进程节点的执行结果为正常,将初始对账结果确定为对账结果。The execution result detection unit is configured to determine the initial reconciliation result as the reconciliation result if the execution result of each process node in the plurality of process nodes is normal.

在一些实施方式中,对账文件处理装置,还包括:In some embodiments, the reconciliation file processing device further includes:

目标进程节点确定模块,用于若多个进程节点中存在执行结果为异常的进程节点,将执行结果为异常的进程节点,确定为目标进程节点。The target process node determining module is used to determine the process node whose execution result is abnormal as the target process node if there is a process node whose execution result is abnormal among the plurality of process nodes.

第二提示信息输出模块,用于输出与目标进程节点对应的第二提示信息。The second prompt information output module is configured to output second prompt information corresponding to the target process node.

在一些实施方式中,对账文件处理装置,还包括:In some embodiments, the reconciliation file processing device further includes:

汇总文件生成模块,用于根据每一省份服务器的回执文件生成汇总文件,其中,汇总文件包括应收总额信息和实收总额信息。The summary file generation module is used to generate a summary file according to the receipt file of each provincial server, wherein the summary file includes information on the total amount receivable and the total amount received.

汇总文件发送模块,用于将汇总文件发送至资金平台文件服务器。The summary file sending module is used to send the summary file to the fund platform file server.

示例性地,本实施例可以参见上述方法实施例,其原理和技术效果类似,不再赘述。Exemplarily, this embodiment may refer to the foregoing method embodiment, and its principles and technical effects are similar, so details are not repeated here.

图10是本申请实施例提供的一种电子设备的结构示意图,如图10所示,电子设备包括存储器43和处理器42。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 10 , the electronic device includes a memory 43 and a processor 42 .

存储器43,用于存储处理器42可执行指令的存储器。The memory 43 is used for storing instructions executable by the processor 42 .

处理器42被配置为执行上述实施例提供的方法。The processor 42 is configured to execute the methods provided in the foregoing embodiments.

电子设备还包括接收器40和发送器41。接收器40用于接收外部设备发送的指令和数据,发送器41用于向外部设备发送指令和数据。The electronic device also includes a receiver 40 and a transmitter 41 . The receiver 40 is used to receive instructions and data sent by the external device, and the transmitter 41 is used to send instructions and data to the external device.

其中,该电子设备可以是移动电话,计算机、平板电脑等等。Wherein, the electronic device may be a mobile phone, a computer, a tablet computer or the like.

具体地,该电子设备还可以包括以下一个或多个组件:处理组件,电源组件,多媒体组件,输入/输出(I/O)接口。处理组件可以相当于上述实施例的处理器42,Specifically, the electronic device may further include one or more of the following components: a processing component, a power supply component, a multimedia component, and an input/output (I/O) interface. The processing component may be equivalent to the processor 42 of the above-mentioned embodiment,

处理组件通常控制电子设备的整体操作,诸如与显示和记录操作相关联的操作。处理组件可以包括一个或多个处理器来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件可以包括一个或多个模块,便于处理组件和其他组件之间的交互。例如,处理组件可以包括多媒体模块,以方便多媒体组件和处理组件之间的交互。The processing components typically control the overall operations of the electronic device, such as those associated with display and recording operations. The processing component may include one or more processors to execute instructions to complete all or part of the steps of the above method. Additionally, a processing component may include one or more modules to facilitate interaction between the processing component and other components. For example, the processing component may include a multimedia module to facilitate interaction between the multimedia component and the processing component.

存储器被配置为存储各种类型的数据以支持在电子设备的操作。这些数据的示例包括用于在电子设备上操作的任何应用程序或方法的指令等。存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器等。The memory is configured to store various types of data to support operations at the electronic device. Examples of such data include, among other things, instructions for any application or method operating on the electronic device. The memory can be realized by any type of volatile or non-volatile storage devices or their combination, 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, etc.

电源组件为电子设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电子设备生成、管理和分配电力相关联的组件。Power components provide power to various components of electronic equipment. Power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic devices.

多媒体组件包括在所述电子设备和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The multimedia component includes a screen providing an output interface between said electronic device and a user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.

I/O接口为处理组件和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface provides an interface between the processing component and the peripheral interface module, and the above peripheral interface module can be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由电子设备的处理器执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory including instructions, which can be executed by a processor of an electronic device to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现上述实施例提供的方法。An embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement the methods provided in the foregoing embodiments when executed by a processor.

本申请实施例提供了一种计算机程序产品,计算机程序产品包括:计算机程序,计算机程序存储在可读存储介质中,电子设备的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得电子设备执行上述任一实施例提供的方案。An embodiment of the present application provides a computer program product, the computer program product includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, at least one The processor executes the computer program so that the electronic device executes the solutions provided by any of the foregoing embodiments.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1.一种对账文件处理方法,其特征在于,包括:1. A method for processing reconciliation documents, characterized in that, comprising: 通过zkettle工具获取对账文件;Obtain the reconciliation file through the zkettle tool; 通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果;Analyzing and processing the reconciliation file through the preset script of the zkettle tool to obtain a reconciliation result; 根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件;Generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a return receipt file according to the write-off files; 获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态;Obtain the receipt file of each provincial server, and update the write-off status of the reconciliation file according to the receipt file of each provincial server; 所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:The described reconciliation file is analyzed and processed through the preset script of the zkettle tool to obtain a reconciliation result, including: 按照所述预设脚本对应的多个进程节点对所述对账文件进行分析处理,得到初始对账结果;Analyzing and processing the reconciliation file according to a plurality of process nodes corresponding to the preset script to obtain an initial reconciliation result; 若所述多个进程节点中每一进程节点的执行结果为正常,将所述初始对账结果确定为所述对账结果;If the execution result of each process node in the plurality of process nodes is normal, the initial reconciliation result is determined as the reconciliation result; 若所述多个进程节点中存在执行结果为异常的进程节点,将所述执行结果为异常的进程节点,确定为目标进程节点;If there is a process node whose execution result is abnormal among the plurality of process nodes, the process node whose execution result is abnormal is determined as the target process node; 输出与所述目标进程节点对应的第二提示信息。Outputting second prompt information corresponding to the target process node. 2.根据权利要求1所述的方法,其特征在于,所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:2. The method according to claim 1, characterized in that, the said reconciliation file is analyzed and processed by said preset script of said zkettle tool to obtain a reconciliation result, comprising: 将所述对账文件导入分布式关系型数据库;Importing the reconciliation file into a distributed relational database; 通过所述zkettle工具调用所述分布式关系型数据库中的对账文件,并通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果。The reconciliation file in the distributed relational database is invoked by the zkettle tool, and the reconciliation file is analyzed and processed by the preset script of the zkettle tool to obtain a reconciliation result. 3.根据权利要求2所述的方法,其特征在于,所述分布式关系型数据库中包括政企在线平台中的交费数据,所述对账文件包括支付平台的支付数据,所述通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果,包括:3. The method according to claim 2, wherein the distributed relational database includes payment data in the government-enterprise online platform, the reconciliation file includes the payment data of the payment platform, and the said payment data through the said The preset script of the zkettle tool analyzes and processes the reconciliation file to obtain the reconciliation results, including: 通过所述zkettle工具的预设脚本将所述交费数据和所述支付数据进行匹配比对;Matching and comparing the payment data and the payment data through the preset script of the zkettle tool; 若所述交费数据和所述支付数据不匹配,确定所述对账结果为异常;If the payment data does not match the payment data, determine that the reconciliation result is abnormal; 若所述交费数据和所述支付数据匹配,确定所述对账结果为正常。If the payment data matches the payment data, it is determined that the reconciliation result is normal. 4.根据权利要求3所述的方法,其特征在于,所述方法包括:4. The method according to claim 3, characterized in that the method comprises: 若所述对账结果为异常,获取比对文件中的异常数据;If the reconciliation result is abnormal, obtain the abnormal data in the comparison file; 对所述异常数据进行标记处理,或/和输出与所述异常数据对应的第一提醒信息。Marking the abnormal data, or/and outputting first reminder information corresponding to the abnormal data. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:5. The method according to any one of claims 1-4, characterized in that the method further comprises: 根据所述每一省份服务器的回执文件生成汇总文件,其中,所述汇总文件包括应收总额信息和实收总额信息;A summary file is generated according to the receipt file of the server in each province, wherein the summary file includes total receivable information and total payment information; 将所述汇总文件发送至资金平台文件服务器。Send the summary file to the fund platform file server. 6.一种对账文件处理装置,其特征在于,所述装置包括:6. A reconciliation file processing device, characterized in that the device comprises: 对账文件获取模块,用于通过zkettle工具获取对账文件;The reconciliation file acquisition module is used to obtain the reconciliation file through the zkettle tool; 对账结果获取模块,用于通过所述zkettle工具的预设脚本对所述对账文件进行分析处理,得到对账结果;The reconciliation result acquisition module is used to analyze and process the reconciliation file through the preset script of the zkettle tool to obtain the reconciliation result; 销账文件发送模块,用于根据所述对账结果生成不同省份的销账文件,并将所述销账文件发送至对应的省份服务器,以指示每一省份服务器根据所述销账文件生成回执文件;A write-off file sending module, configured to generate write-off files in different provinces according to the reconciliation results, and send the write-off files to corresponding provincial servers to instruct each province server to generate a receipt according to the write-off files document; 更新模块,用于获取每一省份服务器的回执文件,根据所述每一省份服务器的回执文件更新所述对账文件的销账状态;An update module, configured to obtain the receipt file of each provincial server, and update the write-off status of the reconciliation file according to the receipt file of each provincial server; 所述对账结果获取模块,包括:The reconciliation result acquisition module includes: 初始对账结果获取单元,用于按照所述预设脚本对应的多个进程节点对所述对账文件进行分析处理,得到初始对账结果;The initial reconciliation result acquisition unit is configured to analyze and process the reconciliation file according to a plurality of process nodes corresponding to the preset script to obtain an initial reconciliation result; 执行结果检测单元,用于若所述多个进程节点中每一进程节点的执行结果为正常,将所述初始对账结果确定为所述对账结果;An execution result detection unit, configured to determine the initial reconciliation result as the reconciliation result if the execution result of each process node in the plurality of process nodes is normal; 目标进程节点确定模块,若所述多个进程节点中存在执行结果为异常的进程节点,将所述执行结果为异常的进程节点,确定为目标进程节点;The target process node determination module, if there is a process node whose execution result is abnormal among the plurality of process nodes, determine the process node whose execution result is abnormal as the target process node; 第二提示信息输出模块,用于输出与所述目标进程节点对应的第二提示信息。A second prompt information output module, configured to output second prompt information corresponding to the target process node. 7.一种电子设备,其特征在于,包括:存储器和处理器;7. An electronic device, comprising: a memory and a processor; 存储器,用于存储所述处理器可执行指令的存储器;a memory for storing said processor-executable instructions; 其中,所述处理器被配置为执行如权利要求1-4任一项所述的方法。Wherein, the processor is configured to execute the method according to any one of claims 1-4. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1-4任一项所述的方法。8. A computer-readable storage medium, characterized in that, computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any one of claims 1-4 when executed by a processor the method described.
CN202111034544.6A 2021-09-03 2021-09-03 Account checking file processing method and device, electronic equipment and storage medium Active CN113656517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111034544.6A CN113656517B (en) 2021-09-03 2021-09-03 Account checking file processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111034544.6A CN113656517B (en) 2021-09-03 2021-09-03 Account checking file processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113656517A CN113656517A (en) 2021-11-16
CN113656517B true CN113656517B (en) 2023-06-06

Family

ID=78493521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111034544.6A Active CN113656517B (en) 2021-09-03 2021-09-03 Account checking file processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113656517B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887546A (en) * 2010-06-28 2010-11-17 深圳市拜特科技股份有限公司 Method for realizing audit verification of account, audit verification of account system and revenue audit system
CN102281521A (en) * 2010-06-10 2011-12-14 中国电信股份有限公司 Telecom charging operating network system and charging method thereof
WO2017020740A1 (en) * 2015-08-06 2017-02-09 阿里巴巴集团控股有限公司 Inventory data reconciliation method and device
CN206162712U (en) * 2016-09-14 2017-05-10 广州地铁设计研究院有限公司 Automatic fare collection suitable for intercity accessible district interconnection that pays of urban rail transit
CN107045703A (en) * 2017-01-18 2017-08-15 银联国际有限公司 Cross-border transaction clearance based on digital signature
CN107332713A (en) * 2017-08-10 2017-11-07 上海新炬网络技术有限公司 A kind of traffic failure engine of positioning implementation method based on script
CN109727108A (en) * 2018-12-26 2019-05-07 金交恒通有限公司 All-purpose card interconnects allocation settlement system
CN110060140A (en) * 2019-03-15 2019-07-26 深圳壹账通智能科技有限公司 Mass data account checking method, device, medium and computer equipment
CN112464049A (en) * 2020-12-11 2021-03-09 中国联合网络通信集团有限公司 Method, device and equipment for downloading detailed number list
CN112506978A (en) * 2020-12-15 2021-03-16 中国联合网络通信集团有限公司 Big data real-time processing method, device and equipment
CN112541752A (en) * 2019-09-23 2021-03-23 北京轻享科技有限公司 Expense processing method and device for vehicle rental platform, computer equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281521A (en) * 2010-06-10 2011-12-14 中国电信股份有限公司 Telecom charging operating network system and charging method thereof
CN101887546A (en) * 2010-06-28 2010-11-17 深圳市拜特科技股份有限公司 Method for realizing audit verification of account, audit verification of account system and revenue audit system
WO2017020740A1 (en) * 2015-08-06 2017-02-09 阿里巴巴集团控股有限公司 Inventory data reconciliation method and device
CN206162712U (en) * 2016-09-14 2017-05-10 广州地铁设计研究院有限公司 Automatic fare collection suitable for intercity accessible district interconnection that pays of urban rail transit
CN107045703A (en) * 2017-01-18 2017-08-15 银联国际有限公司 Cross-border transaction clearance based on digital signature
CN107332713A (en) * 2017-08-10 2017-11-07 上海新炬网络技术有限公司 A kind of traffic failure engine of positioning implementation method based on script
CN109727108A (en) * 2018-12-26 2019-05-07 金交恒通有限公司 All-purpose card interconnects allocation settlement system
CN110060140A (en) * 2019-03-15 2019-07-26 深圳壹账通智能科技有限公司 Mass data account checking method, device, medium and computer equipment
CN112541752A (en) * 2019-09-23 2021-03-23 北京轻享科技有限公司 Expense processing method and device for vehicle rental platform, computer equipment and medium
CN112464049A (en) * 2020-12-11 2021-03-09 中国联合网络通信集团有限公司 Method, device and equipment for downloading detailed number list
CN112506978A (en) * 2020-12-15 2021-03-16 中国联合网络通信集团有限公司 Big data real-time processing method, device and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种专用充电平台方案的关键技术实现;周山虎 等;电气技术;第22卷(第3期);98-103 *
人民银行与商业银行电子对账系统设计;葛电虹;华南金融电脑(第08期);44-45 *

Also Published As

Publication number Publication date
CN113656517A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
US12019621B2 (en) Bot extensibility infrastructure
US10158479B2 (en) Systems and methods for generating, uploading and executing code blocks within distributed network nodes
US12008315B2 (en) Automatic generation and population of digital interfaces based on adaptively processed image data
US9524230B2 (en) Testing coordinator
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
EP2732388B1 (en) Method for associating third party content with online document signing
JP6426732B2 (en) User support experience with automatically generated virtual environment
EP3907631B1 (en) Applet processing method and apparatus, device and storage medium
CN113807955B (en) Information auditing methods and related equipment
CN112163946A (en) Accounting processing method and device based on distributed transaction system
CN103339636A (en) Creation of signatures for authenticating applications
US8996588B2 (en) Mechanism for facilitating dynamic management of assets in an on-demand services environment
US10877869B1 (en) Method and system for implementing a code review tool
US20220043774A1 (en) Systems, methods, and storage media for transferring data files
CN113779132A (en) Data import method and device, computer equipment and storage medium
WO2020238860A1 (en) Distributed file batch processing method and apparatus, and readable storage medium
CN113656517B (en) Account checking file processing method and device, electronic equipment and storage medium
CN118890599A (en) A 5G message-based intelligent interactive system and method for State Grid power business
EP4220406B1 (en) Action undo service based on cloud platform
US11714677B2 (en) Materialization of an analytical workspace
US12001408B2 (en) Techniques for efficient migration of key-value data
Munro Learn FileMaker Pro 2024: The Comprehensive Guide to Building Custom Databases
US10972551B1 (en) Building mobile applications on stateful backend systems
US11966887B1 (en) Bridging network transaction platforms to unify cross-platform transfers
US20240168800A1 (en) Dynamically executing data source agnostic data pipeline configurations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant