[go: up one dir, main page]

CN113297846A - Account checking processing method and device - Google Patents

Account checking processing method and device Download PDF

Info

Publication number
CN113297846A
CN113297846A CN202110686365.4A CN202110686365A CN113297846A CN 113297846 A CN113297846 A CN 113297846A CN 202110686365 A CN202110686365 A CN 202110686365A CN 113297846 A CN113297846 A CN 113297846A
Authority
CN
China
Prior art keywords
data
reconciliation data
reconciliation
bank
enterprise
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.)
Pending
Application number
CN202110686365.4A
Other languages
Chinese (zh)
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202110686365.4A priority Critical patent/CN113297846A/en
Publication of CN113297846A publication Critical patent/CN113297846A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Probability & Statistics with Applications (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a reconciliation processing method and a device, wherein the method comprises the following steps: acquiring the bank account checking data and the remark information in the enterprise account checking data within a preset time period; according to the bank reconciliation data and the remark information in the enterprise reconciliation data, determining first reconciliation data in the bank reconciliation data and second reconciliation data in the enterprise reconciliation data corresponding to the first reconciliation data, wherein the similarity between the remark information of the first reconciliation data and the remark information of the second reconciliation data meets a preset threshold value; and matching according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result. Based on the method, the bank can simultaneously acquire the account checking data of the bank and the account checking data of the enterprise in real time, and screen the account checking data to realize account checking processing, so that the efficiency of the account checking processing can be improved.

Description

对账处理方法及装置Reconciliation processing method and device

技术领域technical field

本申请涉及互联网技术领域,尤其涉及一种对账处理方法及装置。The present application relates to the field of Internet technologies, and in particular, to a method and device for reconciliation processing.

背景技术Background technique

加强银行与企业间的账务核对是中国人民银行对各商业银行的要求,这有助于银行及时发现企业的金融风险,进而尽快通知相关企业,使其采取相应的防控措施;另一方面,对企业来说,及时掌握自身账务的状态也有助于企业的经营、管理以及安全防控。Strengthening the accounting check between banks and enterprises is a requirement of the People's Bank of China for commercial banks, which helps banks to detect financial risks of enterprises in a timely manner, and then notify relevant enterprises as soon as possible, so that they can take corresponding prevention and control measures; on the other hand , For enterprises, grasping the status of their own accounts in a timely manner is also helpful for the operation, management and safety prevention and control of enterprises.

现有技术中,银行财务系统和企业财务系统分别按照自己的方式进行记账,在进行对账处理时,银行财务系统按一定的频次(月、季度等)生成余额对账单(该账户在某个时间点账号的余额),将该对账单发送到企业财务系统,由企业进行核对,企业核对完成后将对账结果反馈给银行财务系统,由银行财务系统记录对帐结果。In the prior art, the financial system of the bank and the financial system of the enterprise carry out bookkeeping according to their own methods. When performing reconciliation processing, the financial system of the bank generates a balance statement at a certain frequency (monthly, quarterly, etc.). The account balance at each time point), send the statement to the enterprise financial system, and the enterprise will check it. After the enterprise check is completed, the reconciliation result will be fed back to the bank's financial system, and the bank's financial system will record the reconciliation result.

以上方案中,由于企业财务系统和银行财务系统的记账方式存在差异,导致企业财务系统和银行财务系统中记录的账目难以进行一对一的匹配,从而造成对账处理的效率较低的技术问题。In the above scheme, due to the differences in the accounting methods of the enterprise financial system and the bank financial system, it is difficult to match the accounts recorded in the enterprise financial system and the bank financial system one-to-one, resulting in a technology with low efficiency in reconciliation processing. question.

发明内容SUMMARY OF THE INVENTION

本申请提供一种对账处理方法及装置,用以解决现有技术中对账处理的效率较低的技术问题。The present application provides an account reconciliation processing method and device, which are used to solve the technical problem of low efficiency of account reconciliation processing in the prior art.

第一方面,本申请实施例提供一种对账处理方法,包括:获取预设时间段内银行对账数据和企业对账数据中的备注信息;根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,所述第一对账数据和所述第二对账数据的备注信息之间的相似度满足预设的阈值;根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果。In a first aspect, an embodiment of the present application provides a reconciliation processing method, including: acquiring remark information in bank reconciliation data and enterprise reconciliation data within a preset time period; Remark information in the reconciliation data, determine the first reconciliation data in the bank reconciliation data and the second reconciliation data in the corresponding enterprise reconciliation data, the first reconciliation data and the second reconciliation data The similarity between the remarks information meets a preset threshold; and according to the first reconciliation data and its corresponding second reconciliation data, a matching process is performed to obtain a matching result.

可选地,如上所述的方法,所述根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,包括:提取每条银行对账数据和企业对账数据中备注信息的关键词;根据每条银行对账数据和企业对账数据对应的关键词,确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据中备注信息的关键词之间的语义相似度满足预设的阈值。Optionally, in the above method, the first reconciliation data in the bank reconciliation data and the corresponding enterprise reconciliation are determined according to the bank reconciliation data and the remark information in the enterprise reconciliation data. The second reconciliation data in the data includes: extracting keywords of remark information in each piece of bank reconciliation data and enterprise reconciliation data; The first reconciliation data and the corresponding second reconciliation data, wherein the semantic similarity between the keywords of the remark information in the first reconciliation data and the second reconciliation data satisfies a preset threshold.

可选地,如上所述的方法,所述根据每条银行对账数据和企业对账数据对应的关键词,确定所述第一对账数据及其对应的所述第二对账数据,包括:将每条银行对账数据和企业对账数据对应的关键词转化为词向量;通过计算每条银行对账数据对应的词向量和每条企业对账数据对应的词向量之间的夹角,获得每条银行对账数据对应的关键词和每条企业对账数据对应的关键词之间的语义相似度;确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据对应的关键词之间的语义相似度满足预设的阈值。Optionally, in the method described above, determining the first reconciliation data and the corresponding second reconciliation data according to the keywords corresponding to each piece of bank reconciliation data and enterprise reconciliation data, including: : Convert the keywords corresponding to each bank reconciliation data and enterprise reconciliation data into word vectors; by calculating the angle between the word vector corresponding to each bank reconciliation data and the word vector corresponding to each enterprise reconciliation data , obtain the semantic similarity between the keywords corresponding to each piece of bank reconciliation data and the keywords corresponding to each piece of enterprise reconciliation data; determine the first reconciliation data and its corresponding second reconciliation data, Wherein, the semantic similarity between the keywords corresponding to the first reconciliation data and the second reconciliation data satisfies a preset threshold.

可选地,如上所述的方法,所述提取每条银行对账数据和企业对账数据中备注信息的关键词,包括:对每条银行对账数据和企业对账数据中的备注信息进行分词处理,获得银行对账数据和企业对账数据对应的分词,所述分词携带词性标注;根据停用词库,去除所述每条银行对账数据和企业对账数据对应的分词中的停用词;根据当前每条银行对账数据和企业对账数据对应的分词,基于TextRank算法,获得每条银行对账数据和企业对账数据中备注信息的关键词。Optionally, in the above-mentioned method, the extracting the keywords of the remarks information in each piece of bank reconciliation data and the enterprise reconciliation data includes: performing remarks on each piece of bank reconciliation data and the remarks information in the enterprise reconciliation data. Word segmentation processing, to obtain the word segmentation corresponding to the bank reconciliation data and the enterprise reconciliation data, and the word segmentation carries a part-of-speech tag; according to the stop thesaurus, remove the stop words in the word segmentation corresponding to each bank reconciliation data and the enterprise reconciliation data. Words: According to the word segmentation corresponding to each current bank reconciliation data and enterprise reconciliation data, and based on the TextRank algorithm, the keywords of the remark information in each bank reconciliation data and enterprise reconciliation data are obtained.

可选地,如上所述的方法,所述第一对账数据和/或所述第二对账数据分别包括多条对账数据,其中,所述对账数据包括发生额数据和借贷方向信息,则所述根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果,包括:根据所述发生额数据和借贷方向信息,分别计算所述第一对账数据对应的收支总和以及所述第二对账数据对应的收支总和,所述收支总和包括收入总和和支出总和;若银行的收入总和与企业的收入总和相等,且银行的支出总和与企业的支出总和相等,则确定匹配成功;否则,确定匹配失败。Optionally, in the above method, the first reconciliation data and/or the second reconciliation data respectively include multiple pieces of reconciliation data, wherein the reconciliation data includes amount data and loan direction information , then performing matching processing according to the first reconciliation data and its corresponding second reconciliation data to obtain a matching result includes: calculating the first pair according to the amount data and the loan direction information respectively. The sum of income and expenditure corresponding to the account data and the sum of income and expenditure corresponding to the second reconciliation data, the sum of income and expenditure includes the sum of income and the sum of expenditure; If it is equal to the total expenditure of the enterprise, it is determined that the matching is successful; otherwise, it is determined that the matching fails.

可选地,如上所述的方法,所述获取预设时间段内银行对账数据和企业对账数据中的备注信息之后,还包括:从所述银行对账数据和企业对账数据中过滤掉无效的对账数据,其中,所述无效的对账数据为未产生余额变化的场景对应的对账数据。Optionally, in the method described above, after acquiring the remark information in the bank reconciliation data and the enterprise reconciliation data within a preset time period, the method further includes: filtering the bank reconciliation data and the enterprise reconciliation data. Invalid reconciliation data is deleted, wherein the invalid reconciliation data is reconciliation data corresponding to a scenario where no balance change occurs.

可选地,如上所述的方法,所述方法还包括:若匹配结果为匹配失败,则向用户推送所述第一对账数据及其对应的第二对账数据。Optionally, in the above method, the method further includes: if the matching result is that the matching fails, pushing the first reconciliation data and the corresponding second reconciliation data to the user.

第二方面,本申请实施例提供一种对账处理装置,包括:获取模块,用于获取预设时间段内银行对账数据和企业对账数据中的备注信息;确定模块,用于根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,所述第一对账数据和所述第二对账数据的备注信息之间的相似度满足预设的阈值;匹配模块,用于根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果。In a second aspect, the embodiments of the present application provide an account reconciliation processing device, including: an acquisition module for acquiring remark information in bank reconciliation data and enterprise reconciliation data within a preset time period; a determination module for The bank reconciliation data and the remarks in the enterprise reconciliation data are determined, and the first reconciliation data in the bank reconciliation data and the second reconciliation data in the corresponding enterprise reconciliation data are determined. The similarity between the remark information of the account data and the second account reconciliation data meets a preset threshold; the matching module is configured to perform matching processing according to the first account reconciliation data and its corresponding second account reconciliation data , get matching results.

第三方面,本申请实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present application provides an electronic device, including:

至少一个处理器;以及at least one processor; and

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如第一方面所述的对账处理方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the reconciliation processing method according to the first aspect .

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面所述的对账处理方法。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 when the computer-executable instructions are executed by a processor, are used to implement the method described in the first aspect reconciliation processing method.

第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如第一方面所述的对账处理方法。In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the account reconciliation processing method described in the first aspect when the computer program is executed by a processor.

本申请实施例提供的对账处理方法及装置,通过获取银行对账数据和企业对账数据中的备注信息,根据所述备注信息确定第一对账数据和第二对账数据,对第一对账数据和第二对账数据进行匹配处理,获得匹配结果。基于该方法,银行可实时的同时获取银行对账数据和企业对账数据,并筛选出对账数据,以实现对账处理,所以,能够提高对账处理的效率。The reconciliation processing method and device provided by the embodiments of the present application, by acquiring the remark information in the bank reconciliation data and the enterprise reconciliation data, and determining the first reconciliation data and the second reconciliation data according to the remark information. The reconciliation data and the second reconciliation data are matched to obtain a matching result. Based on this method, the bank can simultaneously acquire bank reconciliation data and enterprise reconciliation data in real time, and filter out the reconciliation data to realize reconciliation processing, so the efficiency of reconciliation processing can be improved.

附图说明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为本申请提供的一种应用场景示意图;1 is a schematic diagram of an application scenario provided by the present application;

图2为本申请实施例提供的对账处理方法的流程示意图;FIG. 2 is a schematic flowchart of an account reconciliation processing method provided by an embodiment of the present application;

图3为多对多明细匹配示意图;Fig. 3 is a schematic diagram of many-to-many detailed matching;

图4为一对一明细匹配示意图;4 is a schematic diagram of one-to-one detailed matching;

图5为自然语言处理过程图;Fig. 5 is a natural language processing process diagram;

图6为本申请实施例三提供的对账处理装置的结构示意图;6 is a schematic structural diagram of an account reconciliation processing device provided in Embodiment 3 of the present application;

图7为本申请实施例四提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application.

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

具体实施方式Detailed ways

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

首先对本申请所涉及的名词进行解释:First, the terms involved in this application are explained:

对账:即核对账目,是指在会计核算中,为保证账簿记录正确可靠,对账簿中的有关数据进行检查和核对的工作;Reconciliation: that is, reconciling the accounts, which refers to the work of checking and verifying the relevant data in the account books in order to ensure the correctness and reliability of the records in the account books;

自然语言处理:是指计算机科学领域与人工智能领域中的一个重要方向,它研究能实现人与计算机之间用自然语言进行有效通信的各种理论和方法;Natural language processing: refers to an important direction in the field of computer science and artificial intelligence, which studies various theories and methods that can realize effective communication between humans and computers using natural language;

分词:是指根据句子的意思将句子分成一个个独立的词语;Participle: refers to dividing a sentence into separate words according to the meaning of the sentence;

停用词:是指没有用或没有意义的词,它们对文本的主题作用不大,比如助动词,语气词等;Stop words: are words that are useless or meaningless, they do not contribute much to the subject of the text, such as auxiliary verbs, modal particles, etc.;

关键词提取:是指从文本中提取出具有代表性的词语。Keyword extraction: refers to extracting representative words from text.

加强银行与企业间的账务核对是中国人民银行对各商业银行的要求,这有助于银行及时发现企业的金融风险,进而尽快通知相关企业,使其采取相应的防控措施;另一方面,对企业来说,及时掌握自身账务的状态也有助于企业的经营、管理以及安全防控。Strengthening the accounting check between banks and enterprises is a requirement of the People's Bank of China for commercial banks, which helps banks to detect financial risks of enterprises in a timely manner, and then notify relevant enterprises as soon as possible, so that they can take corresponding prevention and control measures; on the other hand , For enterprises, grasping the status of their own accounts in a timely manner is also helpful for the operation, management and safety prevention and control of enterprises.

如图1为本申请提供的一种应用场景示意图,图中包括企业财务系统1和银行财务系统2,示例性地,企业每产生一笔账目,企业财务系统1便向银行财务系统2发送账目信息,然后,银行财务系统2和企业财务系统1分别按照自己的方式对该笔账目进行记录。现有技术中,对账处理方法包括:当到了预设的某个时间点时,银行财务系统生成客户对账单,并将该客户对账单通过短信、微信等渠道分发给企业财务系统,由企业相关负责人员进行对账,具体地:将企业财务系统记录的账目中的发生额和余额与对应的银行财务系统记录的账目中的发生额和余额分别进行对比,若发生额和余额这两个要素都是一致的,则确定该笔账目无误;否则,确定该笔账目有误,并将其单独记录下来。在企业完成对帐后,将对账结果反馈给银行,若反馈的对账结果有误,则银行针对有误的账目,与企业进行沟通核查;若反馈的对账结果无误,则将对账结果记录,以完成对账处理。FIG. 1 is a schematic diagram of an application scenario provided for this application, which includes an enterprise financial system 1 and a bank financial system 2. Exemplarily, every time an enterprise generates an account, the enterprise financial system 1 sends the account to the bank financial system 2 information, and then, the bank financial system 2 and the enterprise financial system 1 respectively record the account in their own way. In the prior art, the account reconciliation processing method includes: when a preset time point is reached, the bank financial system generates a customer statement, and distributes the customer statement to the enterprise financial system through channels such as SMS and WeChat, and the enterprise Relevant responsible personnel conduct reconciliation, specifically: compare the amount and balance in the accounts recorded in the enterprise financial system with the amount and balance in the accounts recorded in the corresponding bank financial system. If the elements are consistent, the account is determined to be correct; otherwise, the account is determined to be incorrect and recorded separately. After the company completes the reconciliation, the reconciliation result will be fed back to the bank. If the reconciliation result fed back is incorrect, the bank will communicate with the company to verify the incorrect account; if the feedback reconciliation result is correct, the reconciliation will be conducted Results are recorded to complete the reconciliation process.

然而,由于企业财务系统和银行财务系统的记账方式存在差异,导致企业财务系统和银行财务系统中记录的账目难以进行一对一的匹配,从而造成对账处理的效率较低的技术问题。However, due to the differences in the accounting methods of the enterprise financial system and the bank financial system, it is difficult to match the accounts recorded in the enterprise financial system and the bank financial system one-to-one, resulting in a technical problem of low efficiency in reconciliation processing.

本申请提供的对账处理方法及装置,旨在解决现有技术的如上技术问题。The account reconciliation processing method and device provided by the present application aim to solve the above technical problems in the prior art.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific examples. 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. The embodiments of the present application will be described below with reference to the accompanying drawings.

实施例一Example 1

图2为本申请实施例提供的对账处理方法的流程示意图。如图2所示,该方法包括:FIG. 2 is a schematic flowchart of an account reconciliation processing method provided by an embodiment of the present application. As shown in Figure 2, the method includes:

S101、获取预设时间段内银行对账数据和企业对账数据中的备注信息。S101. Acquire remark information in bank reconciliation data and enterprise reconciliation data within a preset time period.

其中,备注信息用于标明对账数据中的发生额去向。Among them, the remark information is used to indicate the whereabouts of the balance in the reconciliation data.

实际应用中,银行财务系统和企业财务系统分别按照自己的方式进行记账,针对银行财务系统中的一条对账数据,企业可根据需要将其分为多条对账数据进行记录,所以可能会出现银行财务系统的对账数据与企业财务系统的对账数据为多对多(包含一对多)的情况。在一个示例中,银行财务系统的对账数据为一条,与其对应的企业财务系统的对账数据为多条,即企业财务系统中的多条对账数据中的发生额的总和与银行财务系统中的一条对账数据中的发生额相等。因此,本实施方式中,需要获取预设时间段内的多条对账数据,再进行对账处理。其中,发生额包括收入金额和支出金额。In practical applications, the financial system of the bank and the financial system of the enterprise conduct bookkeeping according to their own methods. For a piece of reconciliation data in the financial system of the bank, the enterprise can record it into multiple pieces of reconciliation data as needed, so it may be The reconciliation data of the bank's financial system and the reconciliation data of the enterprise's financial system are many-to-many (including one-to-many). In one example, there is one piece of reconciliation data in the bank's financial system, and there are multiple pieces of reconciliation data in the corresponding enterprise financial system, that is, the sum of the amount of the reconciliation data in the enterprise's financial system and the bank's financial system The balances in one of the reconciliation data are equal. Therefore, in this embodiment, it is necessary to acquire multiple pieces of reconciliation data within a preset time period, and then perform reconciliation processing. Among them, the amount incurred includes the amount of income and the amount of expenses.

本实施方式中,通过对账处理装置分别从银行财务系统和企业财务系统获取预设时间段内的银行对账数据和企业对账数据,然后,获取各对账数据中的备注信息,以供后续步骤使用。In this embodiment, the bank reconciliation data and the enterprise reconciliation data within a preset time period are respectively obtained from the bank financial system and the enterprise financial system by the reconciliation processing device, and then the remark information in each reconciliation data is obtained for the purpose of Use in subsequent steps.

实际应用中,在获取预设时间段内银行对账数据和企业对账数据中的备注信息后,还会对所述对账数据进行过滤,在一个示例中,所述获取预设时间段内银行对账数据和企业对账数据中的备注信息之后,还包括:从所述银行对账数据和企业对账数据中过滤掉无效的对账数据,其中,所述无效的对账数据为未产生余额变化的场景对应的对账数据。比如,在一个场景下,企业财务系统在记账的过程中,记录了一条有误的对账数据,这条有误的对账数据即为无效的对账数据。本实施方式中,通过对无效的对账数据进行过滤,可以减小后续步骤的工作量,从而提高对账处理效率。In practical applications, after obtaining the remark information in the bank reconciliation data and the enterprise reconciliation data within a preset time period, the reconciliation data will also be filtered. After the remark information in the bank reconciliation data and the enterprise reconciliation data, the method further includes: filtering out invalid reconciliation data from the bank reconciliation data and the enterprise reconciliation data, wherein the invalid reconciliation data is an invalid reconciliation data. Reconciliation data corresponding to scenarios that generate balance changes. For example, in one scenario, the enterprise financial system records an erroneous reconciliation data during the accounting process, and the erroneous reconciliation data is invalid reconciliation data. In this embodiment, by filtering invalid reconciliation data, the workload of subsequent steps can be reduced, thereby improving the efficiency of reconciliation processing.

S102、根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,所述第一对账数据和所述第二对账数据的备注信息之间的相似度满足预设的阈值。S102. Determine the first reconciliation data in the bank reconciliation data and the second reconciliation data in the corresponding enterprise reconciliation data according to the bank reconciliation data and the remark information in the enterprise reconciliation data, and The similarity between the remark information of the first reconciliation data and the second reconciliation data satisfies a preset threshold.

其中,第一对账数据和第二对账数据具备对应关系,即对账处理的对象就是第一对帐数据和第二对帐数据。其中,预设的阈值根据经验数据确定,其大小可以为0.6。The first reconciliation data and the second reconciliation data have a corresponding relationship, that is, the objects of reconciliation processing are the first reconciliation data and the second reconciliation data. Wherein, the preset threshold is determined according to empirical data, and its size may be 0.6.

本实施方式中,可根据银行对账数据和企业对账数据中的备注信息之间的相似度确定第一对账数据和第二对账数据。具体地,在一个示例中,针对一组数据,可以采用自然语言处理模型获得银行对账数据和企业对账数据中的备注信息之间的相似度,当该相似度的值大于等于预设的阈值时,将该组对账数据分别确定为第一对账数据和第二对账数据;否则,将该组数据筛选出去,即后续不再对它们进行对账处理;或者,还可以采用其它方法确定银行对账数据和企业对账数据之间的相似度,本实施方式中对此不作限定。In this embodiment, the first reconciliation data and the second reconciliation data may be determined according to the similarity between the bank reconciliation data and the remark information in the enterprise reconciliation data. Specifically, in an example, for a set of data, a natural language processing model can be used to obtain the similarity between the bank reconciliation data and the remark information in the enterprise reconciliation data, when the value of the similarity is greater than or equal to a preset value When the threshold is reached, the group of reconciliation data is determined as the first reconciliation data and the second reconciliation data respectively; otherwise, the group of data is filtered out, that is, they will not be reconciled subsequently; The method determines the similarity between the bank reconciliation data and the enterprise reconciliation data, which is not limited in this embodiment.

S103、根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果。S103. Perform matching processing according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result.

其中,匹配处理指的就是对账处理。Among them, the matching processing refers to the reconciliation processing.

在一个示例中,可以根据发生额数据和借贷方向信息进行匹配处理,具体地,所述第一对账数据和/或所述第二对账数据分别包括多条对账数据,例如图3所示,为多对多明细匹配示意图,企业端明细和银行端明细分别为第一对账数据和第二对账数据,两者包含的明细数量不同,即为多对多的关系。其中,所述对账数据包括发生额数据和借贷方向信息,则所述根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果,包括:根据所述发生额数据和借贷方向信息,分别计算所述第一对账数据对应的收支总和以及所述第二对账数据对应的收支总和,所述收支总和包括收入总和和支出总和;若银行的收入总和与企业的支出总和相等,且银行的收入总和与企业的支出总和相等,则确定匹配成功;否则,确定匹配失败。本示例中,给出了银行财务系统的对账数据与企业财务系统的对账数据为多对多(包含一对多或多对一)的情况下对账处理的一种方法,可通过比较预设时间段内银行的收入总和与企业的收入总和与银行的支出总和与企业的支出总和,来确定账目是否有误。In one example, the matching process may be performed according to the amount data and the loan direction information. Specifically, the first reconciliation data and/or the second reconciliation data respectively include multiple pieces of reconciliation data, for example, as shown in FIG. 3 . As shown, it is a schematic diagram of many-to-many detail matching. The enterprise-side detail and the bank-side detail are the first reconciliation data and the second reconciliation data, respectively. The number of details contained in the two is different, which is a many-to-many relationship. Wherein, the reconciliation data includes amount data and loan direction information, and performing matching processing according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result includes: according to the Occurrence data and loan direction information, respectively calculate the sum of income and expenditure corresponding to the first reconciliation data and the sum of income and expenditure corresponding to the second reconciliation data, and the sum of income and expenditure includes the sum of income and the sum of expenditure; if the bank The sum of the income of the bank is equal to the sum of the expenditure of the enterprise, and the sum of the income of the bank is equal to the sum of the expenditure of the enterprise, then it is determined that the matching is successful; otherwise, it is determined that the matching fails. In this example, a method for reconciliation processing in the case where the reconciliation data of the bank financial system and the reconciliation data of the enterprise financial system are many-to-many (including one-to-many or many-to-one) is given. The sum of the income of the bank and the sum of the income of the enterprise and the sum of the sum of the expenditure of the bank and the sum of the expenditure of the enterprise within a preset time period is used to determine whether the accounts are wrong.

在另一个示例中,例如图4所示,为一对一明细匹配示意图,企业端明细和银行端明细分别为第一对账数据和第二对账数据,两者包含的明细数量相同且为一一对应的关系。针对银行财务系统的对账数据与企业财务系统的对账数据为一对一的情况,可以根据发生额数据和/或余额数据进行匹配处理。具体地,若第一对账数据和第二对账数据中的发生额数据和/或余额数据是一致的,则确定匹配成功;否则,确定匹配失败。In another example, as shown in Figure 4, it is a schematic diagram of one-to-one detail matching, the enterprise-side detail and the bank-side detail are the first reconciliation data and the second reconciliation data, respectively, and both contain the same number of details and are One-to-one correspondence. In the case where the reconciliation data of the bank's financial system and the reconciliation data of the enterprise's financial system are one-to-one, matching processing can be performed according to the amount data and/or the balance data. Specifically, if the amount data and/or balance data in the first reconciliation data and the second reconciliation data are consistent, it is determined that the matching is successful; otherwise, it is determined that the matching fails.

本实施方式中,通过对预设时间段内的对账数据进行匹配,可提高对账处理的准确性。In this embodiment, by matching the reconciliation data within a preset time period, the accuracy of the reconciliation process can be improved.

在上述实施方式的基础上,所述方法还包括:若匹配结果为匹配失败,则向用户推送所述第一对账数据及其对应的第二对账数据。本实施方式中,通过在匹配失败后将对应的数据发送企业,可以支持企业后续基于该数据继续进行对账处理,以及时发现有问题的数据,并采取相应措施。Based on the above embodiment, the method further includes: if the matching result is that the matching fails, pushing the first reconciliation data and the corresponding second reconciliation data to the user. In this embodiment, by sending the corresponding data to the enterprise after the matching fails, it can support the enterprise to continue to perform account reconciliation processing based on the data in the future, find the data in question in time, and take corresponding measures.

本实施例中,通过获取银行对账数据和企业对账数据中的备注信息,根据所述备注信息确定第一对账数据和第二对账数据,对第一对账数据和第二对账数据进行匹配处理,获得匹配结果。基于该方法,银行可实时的同时获取银行对账数据和企业对账数据,并筛选出对账数据,以实现对账处理,所以,能够提高对账处理的效率。In this embodiment, the remark information in the bank reconciliation data and the enterprise reconciliation data is obtained, the first reconciliation data and the second reconciliation data are determined according to the remark information, and the first reconciliation data and the second reconciliation data are determined. The data is subjected to matching processing to obtain matching results. Based on this method, the bank can simultaneously acquire bank reconciliation data and enterprise reconciliation data in real time, and filter out the reconciliation data to realize reconciliation processing, so the efficiency of reconciliation processing can be improved.

实施例二Embodiment 2

本申请实施例二提供一种对账处理方法,主要涉及第一对账数据和第二对帐数据的获取方式。具体示例如下:The second embodiment of the present application provides an account reconciliation processing method, which mainly relates to an acquisition method of the first account reconciliation data and the second account reconciliation data. Specific examples are as follows:

在一个示例中,可根据对账数据中的备注信息中的关键词确定对账数据,具体地,在实施例一的基础上,所述根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,包括:提取每条银行对账数据和企业对账数据中备注信息的关键词;根据每条银行对账数据和企业对账数据对应的关键词,确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据中备注信息的关键词之间的语义相似度满足预设的阈值。In one example, the reconciliation data can be determined according to the keywords in the remarks information in the reconciliation data. Specifically, on the basis of Embodiment 1, the reconciliation data is based on the bank reconciliation data and the enterprise reconciliation data. Remark information in the bank reconciliation data, determine the first reconciliation data in the bank reconciliation data and the second reconciliation data in the corresponding enterprise reconciliation data, including: extracting each piece of bank reconciliation data and remark information in the enterprise reconciliation data according to the keywords corresponding to each bank reconciliation data and enterprise reconciliation data, determine the first reconciliation data and the corresponding second reconciliation data, wherein the first reconciliation data The semantic similarity with the keywords of the remark information in the second reconciliation data satisfies a preset threshold.

实际应用中,举例来说,上述实施例一中介绍的备注信息之间的相似度即为备注信息的关键词之间的语义相似度,相应地,同样采用自然语言处理模型获得关键词之间的语义相似度。In practical applications, for example, the similarity between the remarks information introduced in the above embodiment 1 is the semantic similarity between the keywords of the remarks information. Correspondingly, the natural language processing model is also used to obtain the similarity between the keywords. semantic similarity.

其中,提取每条银行对账数据和企业对账数据中备注信息的关键词可以包括多种方式,例如,可以采用TextRank算法进行提取,具体地,所述提取每条银行对账数据和企业对账数据中备注信息的关键词,包括:对每条银行对账数据和企业对账数据中的备注信息进行分词处理,获得银行对账数据和企业对账数据对应的分词,所述分词携带词性标注;根据停用词库,去除所述每条银行对账数据和企业对账数据对应的分词中的停用词;根据当前每条银行对账数据和企业对账数据对应的分词,基于TextRank算法,获得每条银行对账数据和企业对账数据中备注信息的关键词。在一个示例中,提取关键词的流程大致如下:第一步,对原始文本进行分词处理,可选的,分词处理包括:针对一条备注信息,首先将其分割为一个个独立的句子,然后将各个句子分割成词语(即分词),再对分割获得的词语进行词性标注;下一步,去除分割获得的词语中的停用词;最后一步,利用例如不限于TextRank算法计算去除停用词后的各词语的权重大小,并将获得的权重大小由大到小进行排序,选择权重高的前N个词语作为关键词。其中,对N的取值不限。需要说明的是,还可以采用其它方式提取关键词,本实施例中对关键词的提取方式不作限定。Wherein, extracting the keywords of remark information in each piece of bank reconciliation data and enterprise reconciliation data may include various methods. For example, TextRank algorithm can be used to extract. Keywords for remark information in account data, including: performing word segmentation on each piece of bank reconciliation data and remark information in enterprise reconciliation data to obtain word segments corresponding to bank reconciliation data and enterprise reconciliation data, and the word segments carry part of speech Labeling; according to the stop word database, remove the stop words in the word segmentation corresponding to each bank reconciliation data and enterprise reconciliation data; according to the word segmentation corresponding to each current bank reconciliation data and enterprise reconciliation data, based on TextRank Algorithm to obtain the keywords of the remarks in each bank reconciliation data and enterprise reconciliation data. In an example, the process of extracting keywords is roughly as follows: the first step is to perform word segmentation processing on the original text. Optionally, the word segmentation processing includes: for a piece of remark information, firstly divide it into individual sentences, and then divide it into individual sentences. Each sentence is divided into words (that is, word segmentation), and then the words obtained by segmentation are marked with parts of speech; in the next step, stop words in the words obtained by segmentation are removed; The weight of each word is sorted, and the obtained weight is sorted from large to small, and the top N words with high weight are selected as keywords. Among them, the value of N is not limited. It should be noted that other methods may also be used to extract keywords, and the method for extracting keywords is not limited in this embodiment.

在根据对账数据对应的关键词确定第一对账数据和第二对账数据时,可包括多种方式,在一个示例中,针对一组对账数据,包括一条银行对账数据和一条企业对账数据,若这两条对账数据中都包括一个关键词,则采用自然语言处理模型获得这两个关键词之间的语义相似度,若该语义相似度的值大于等于预设的阈值时,将该组对账数据分别确定为第一对账数据和第二对账数据;否则,将该组对账数据筛选出去,即后续不再对它们进行对账处理;或者,还可以采用其它方法确定银行对账数据和企业对账数据之间的相似度,本实施方式中对此不作限定。本实施方式中,根据对账数据中备注信息的关键词之间的语义相似度确定第一对账数据和第二对账数据,可提高对账数据筛选的准确度,进而提高对账处理的效率。When determining the first reconciliation data and the second reconciliation data according to the keywords corresponding to the reconciliation data, various methods may be included. In an example, a set of reconciliation data includes a bank reconciliation data and an enterprise reconciliation data Reconciliation data, if both of the two reconciliation data include a keyword, the natural language processing model is used to obtain the semantic similarity between the two keywords, if the value of the semantic similarity is greater than or equal to a preset threshold When the set of reconciliation data is determined as the first reconciliation data and the second reconciliation data, respectively; otherwise, the set of reconciliation data is filtered out, that is, the reconciliation processing will not be performed on them in the future; Other methods determine the similarity between bank reconciliation data and enterprise reconciliation data, which is not limited in this embodiment. In this embodiment, the first reconciliation data and the second reconciliation data are determined according to the semantic similarity between the keywords of the remark information in the reconciliation data, which can improve the screening accuracy of the reconciliation data, thereby improving the efficiency of reconciliation processing. efficiency.

实际应用中,获得关键词之间的语义相似度包括多种方式,在一个示例中,在上述实施方式的基础上,所述根据每条银行对账数据和企业对账数据对应的关键词,确定所述第一对账数据及其对应的所述第二对账数据,包括:将每条银行对账数据和企业对账数据对应的关键词转化为词向量;通过计算每条银行对账数据对应的词向量和每条企业对账数据对应的词向量之间的夹角,获得每条银行对账数据对应的关键词和每条企业对账数据对应的关键词之间的语义相似度;确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据对应的关键词之间的语义相似度满足预设的阈值。In practical applications, there are various ways to obtain the semantic similarity between keywords. Determining the first reconciliation data and the corresponding second reconciliation data includes: converting keywords corresponding to each bank reconciliation data and enterprise reconciliation data into word vectors; calculating each bank reconciliation The angle between the word vector corresponding to the data and the word vector corresponding to each enterprise reconciliation data, to obtain the semantic similarity between the keywords corresponding to each bank reconciliation data and the keywords corresponding to each enterprise reconciliation data ; Determine the first reconciliation data and its corresponding second reconciliation data, wherein the semantic similarity between the keywords corresponding to the first reconciliation data and the second reconciliation data satisfies the predetermined set threshold.

其中,词向量是对关键词进行表示的一种方法,本实施方式中,是基于词向量来计算语义相似度的,所以,本实施方式中先将关键词转化为词向量,再计算关键词之间的语义相似度。需要说明的是,可以采用开源的词向量计算工具Word2vec将关键词转化为词向量,或者,还可以采用其它工具进行处理,本实施例中对此不作限定。在一个示例中,如图5所示,为自然语言处理过程图,S102的流程大致如下:首先通过文本预处理提取出关键词,然后对提取出的关键词进行词向量计算,即将提取出的关键词转化为词向量;最后,对词向量进行语义相似度计算,根据语义相似度计算结果,获得第一对账数据和第二对账数据。The word vector is a method for representing keywords. In this embodiment, the semantic similarity is calculated based on the word vector. Therefore, in this embodiment, the keyword is first converted into a word vector, and then the keyword is calculated. semantic similarity between them. It should be noted that the open-source word vector computing tool Word2vec may be used to convert keywords into word vectors, or other tools may be used for processing, which is not limited in this embodiment. In an example, as shown in FIG. 5 , which is a natural language processing process diagram, the process of S102 is roughly as follows: first, keywords are extracted through text preprocessing, and then word vector calculation is performed on the extracted keywords. The keywords are converted into word vectors; finally, the semantic similarity calculation is performed on the word vectors, and the first reconciliation data and the second reconciliation data are obtained according to the semantic similarity calculation results.

本实施方式中,先将关键词转化为词向量,再计算关键词之间的语义相似度,可使得语义相似度的计算结果更为准确,进而可提高对账处理的效率。In this embodiment, the keywords are first converted into word vectors, and then the semantic similarity between the keywords is calculated, which can make the calculation result of the semantic similarity more accurate, thereby improving the efficiency of account reconciliation processing.

本实施例中,通过根据对账数据中的备注信息中的关键词确定第一对账数据和第二对帐数据,可提高对账数据筛选的准确度,进而提高对账处理的效率。In this embodiment, by determining the first reconciliation data and the second reconciliation data according to the keywords in the remark information in the reconciliation data, the accuracy of screening the reconciliation data can be improved, thereby improving the efficiency of reconciliation processing.

实施例三Embodiment 3

图6为本申请实施例三提供的对账处理装置的结构示意图,如图6所示,本实施例提供的对账处理装置包括:获取模块21,确定模块22及匹配模块23。FIG. 6 is a schematic structural diagram of an account reconciliation processing apparatus provided in Embodiment 3 of the present application. As shown in FIG. 6 , the account reconciliation processing apparatus provided in this embodiment includes an acquisition module 21 , a determination module 22 and a matching module 23 .

其中,获取模块21,用于获取预设时间段内银行对账数据和企业对账数据中的备注信息。确定模块22,用于根据所述银行对账数据和所述企业对账数据中的备注信息,确定银行对账数据中的第一对账数据及其对应的企业对账数据中的第二对账数据,所述第一对账数据和所述第二对账数据的备注信息之间的相似度满足预设的阈值。匹配模块23,用于根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果。Wherein, the obtaining module 21 is configured to obtain the remark information in the bank reconciliation data and the enterprise reconciliation data within a preset time period. The determining module 22 is configured to determine the first reconciliation data in the bank reconciliation data and the second pair in the corresponding enterprise reconciliation data according to the bank reconciliation data and the remark information in the enterprise reconciliation data Account data, the similarity between the remark information of the first account reconciliation data and the second account reconciliation data satisfies a preset threshold. The matching module 23 is configured to perform matching processing according to the first reconciliation data and its corresponding second reconciliation data to obtain a matching result.

可选地,确定模块22,具体用于:提取每条银行对账数据和企业对账数据中备注信息的关键词;根据每条银行对账数据和企业对账数据对应的关键词,确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据中备注信息的关键词之间的语义相似度满足预设的阈值。Optionally, the determination module 22 is specifically configured to: extract the keywords of the remark information in each piece of bank reconciliation data and the enterprise reconciliation data; The first reconciliation data and the corresponding second reconciliation data, wherein the semantic similarity between the keywords of the remark information in the first reconciliation data and the second reconciliation data satisfies a preset the threshold value.

可选地,确定模块22,还具体用于:将每条银行对账数据和企业对账数据对应的关键词转化为词向量;通过计算每条银行对账数据对应的词向量和每条企业对账数据对应的词向量之间的夹角,获得每条银行对账数据对应的关键词和每条企业对账数据对应的关键词之间的语义相似度;确定所述第一对账数据及其对应的所述第二对账数据,其中,所述第一对账数据和所述第二对账数据对应的关键词之间的语义相似度满足预设的阈值。Optionally, the determination module 22 is also specifically used to: convert the keywords corresponding to each piece of bank reconciliation data and enterprise reconciliation data into word vectors; The angle between the word vectors corresponding to the reconciliation data, to obtain the semantic similarity between the keywords corresponding to each bank reconciliation data and the keywords corresponding to each enterprise reconciliation data; determine the first reconciliation data and the corresponding second reconciliation data, wherein the semantic similarity between the keywords corresponding to the first reconciliation data and the second reconciliation data satisfies a preset threshold.

可选地,确定模块22,还具体用于:对每条银行对账数据和企业对账数据中的备注信息进行分词处理,获得银行对账数据和企业对账数据对应的分词,所述分词携带词性标注;根据停用词库,去除所述每条银行对账数据和企业对账数据对应的分词中的停用词;根据当前每条银行对账数据和企业对账数据对应的分词,基于TextRank算法,获得每条银行对账数据和企业对账数据中备注信息的关键词。Optionally, the determination module 22 is also specifically configured to: perform word segmentation processing on each piece of bank reconciliation data and remark information in the enterprise reconciliation data, and obtain the word segmentation corresponding to the bank reconciliation data and the enterprise reconciliation data, the word segmentation. Carry part-of-speech tagging; according to the stop word database, remove the stop words in the word segmentation corresponding to each bank reconciliation data and enterprise reconciliation data; according to the current word segmentation corresponding to each bank reconciliation data and enterprise reconciliation data, Based on the TextRank algorithm, the keywords of the remarks in each bank reconciliation data and enterprise reconciliation data are obtained.

可选地,所述第一对账数据和/或所述第二对账数据分别包括多条对账数据,其中,所述对账数据包括发生额数据和借贷方向信息,则所述根据所述第一对账数据及其对应的第二对账数据,进行匹配处理,获得匹配结果,匹配模块23,具体用于:根据所述发生额数据和借贷方向信息,分别计算所述第一对账数据对应的收支总和以及所述第二对账数据对应的收支总和,所述收支总和包括收入总和和支出总和;若银行的收入总和与企业的收入总和相等,且银行的支出总和与企业的支出总和相等,则确定匹配成功;否则,确定匹配失败。Optionally, the first reconciliation data and/or the second reconciliation data respectively include multiple pieces of reconciliation data, wherein the reconciliation data includes amount data and loan direction information, the The first reconciliation data and its corresponding second reconciliation data are matched, and a matching result is obtained. The matching module 23 is specifically configured to: calculate the first pair according to the amount data and the loan direction information respectively. The sum of income and expenditure corresponding to the account data and the sum of income and expenditure corresponding to the second reconciliation data, the sum of income and expenditure includes the sum of income and the sum of expenditure; If it is equal to the total expenditure of the enterprise, it is determined that the matching is successful; otherwise, it is determined that the matching fails.

可选地,如上所述的装置,还包括:过滤模块24。所述过滤模块24,具体用于:从所述银行对账数据和企业对账数据中过滤掉无效的对账数据,其中,所述无效的对账数据为未产生余额变化的场景对应的对账数据。Optionally, the above-mentioned apparatus further includes: a filtering module 24 . The filtering module 24 is specifically configured to: filter out invalid reconciliation data from the bank reconciliation data and the enterprise reconciliation data, wherein the invalid reconciliation data is the pair corresponding to the scenario where no balance change occurs. account data.

可选地,如上所述的装置,还包括:发送模块25。所述发送模块25,具体用于:若匹配结果为匹配失败,则向用户推送所述第一对账数据及其对应的第二对账数据。Optionally, the above apparatus further includes: a sending module 25 . The sending module 25 is specifically configured to: if the matching result is that the matching fails, push the first reconciliation data and the corresponding second reconciliation data to the user.

本实施例提供的对账处理装置可以执行前述方法实施例一和实施例二的技术方案,其实现原理和技术效果类似,此处不再赘述。The account reconciliation processing apparatus provided in this embodiment can execute the technical solutions of the first and second embodiments of the foregoing method, and the implementation principles and technical effects thereof are similar, and details are not repeated here.

实施例四Embodiment 4

图7为本申请实施例四提供的一种电子设备的结构示意图。如图7所示,该电子设备包括:存储器31和处理器32。FIG. 7 is a schematic structural diagram of an electronic device according to Embodiment 4 of the present application. As shown in FIG. 7 , the electronic device includes: a memory 31 and a processor 32 .

存储器31被配置为存储处理器可执行指令。存储器31可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 31 is configured to store processor-executable instructions. Memory 31 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

存储器31和处理器32之间通过电路互联。具体地,各个部件利用总线互相连接,并且可以被安装在公共主板上或者根据需要以其它方式安装。处理器可以对电子设备内执行的指令进行处理。The memory 31 and the processor 32 are interconnected by circuits. Specifically, the various components are interconnected using a bus, and may be mounted on a common motherboard or in other ways as desired. The processor may process instructions executed within the electronic device.

实施例五Embodiment 5

本申请实施例五提供了一种计算机可读存储介质。The fifth embodiment of the present application provides a computer-readable storage medium.

当该存储介质中的指令由处理器执行,使得电子设备能够执行上述对账处理方法。When the instructions in the storage medium are executed by the processor, the electronic device can execute the above method for reconciliation processing.

实施例六Embodiment 6

本申请实施例六提供了一种计算机程序产品。该计算机程序产品包括计算机程序,该计算机程序被处理器执行时实现上述对账处理方法。Embodiment 6 of the present application provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the above-mentioned reconciliation processing method.

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

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that 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 (11)

1. A reconciliation processing method is characterized by comprising the following steps:
acquiring the bank account checking data and the remark information in the enterprise account checking data within a preset time period;
according to the bank reconciliation data and the remark information in the enterprise reconciliation data, determining first reconciliation data in the bank reconciliation data and second reconciliation data in the enterprise reconciliation data corresponding to the first reconciliation data, wherein the similarity between the remark information of the first reconciliation data and the remark information of the second reconciliation data meets a preset threshold value;
and matching according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result.
2. The method of claim 1, wherein determining the first reconciliation data in the bank reconciliation data and the second reconciliation data in the corresponding enterprise reconciliation data according to the bank reconciliation data and the remark information in the enterprise reconciliation data comprises:
extracting key words of remark information in each piece of bank account checking data and enterprise account checking data;
and determining the first reconciliation data and the second reconciliation data corresponding to the first reconciliation data according to the key words corresponding to each piece of bank reconciliation data and enterprise reconciliation data, wherein the semantic similarity between the key words of the remark information in the first reconciliation data and the second reconciliation data meets a preset threshold value.
3. The method of claim 2, wherein the determining the first reconciliation data and the second reconciliation data corresponding thereto according to the key word corresponding to each piece of bank reconciliation data and enterprise reconciliation data comprises:
converting the key words corresponding to each piece of bank account checking data and enterprise account checking data into word vectors;
obtaining semantic similarity between the key words corresponding to each bank reconciliation data and the key words corresponding to each enterprise reconciliation data by calculating an included angle between the word vector corresponding to each bank reconciliation data and the word vector corresponding to each enterprise reconciliation data;
and determining the first account checking data and the second account checking data corresponding to the first account checking data, wherein the semantic similarity between keywords corresponding to the first account checking data and the second account checking data meets a preset threshold value.
4. The method of claim 2, wherein the extracting the keyword of the remark information in each of the bank reconciliation data and the enterprise reconciliation data comprises:
performing word segmentation processing on remark information in each piece of bank account checking data and enterprise account checking data to obtain words corresponding to the bank account checking data and the enterprise account checking data, wherein the words carry part-of-speech labels;
removing stop words in the participles corresponding to each piece of bank account checking data and enterprise account checking data according to the stop word bank;
and obtaining keywords of remark information in each piece of bank reconciliation data and the enterprise reconciliation data based on a TextRank algorithm according to the present segmentation corresponding to each piece of bank reconciliation data and the enterprise reconciliation data.
5. The method according to claim 1, wherein the first reconciliation data and/or the second reconciliation data respectively include a plurality of pieces of reconciliation data, wherein the reconciliation data includes occurrence data and loan direction information, and the matching processing is performed according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result, including:
respectively calculating a total sum of income and expenditure corresponding to the first reconciliation data and a total sum of income and expenditure corresponding to the second reconciliation data according to the occurrence data and the loan direction information, wherein the total sum of income and expenditure comprises a total sum of income and a total sum of expenditure;
if the income sum of the bank is equal to the income sum of the enterprise and the expenditure sum of the bank is equal to the expenditure sum of the enterprise, the matching is determined to be successful; otherwise, determining that the matching fails.
6. The method according to claim 1, wherein after acquiring the remark information in the bank reconciliation data and the enterprise reconciliation data within the preset time period, the method further comprises:
and filtering invalid reconciliation data from the bank reconciliation data and the enterprise reconciliation data, wherein the invalid reconciliation data is reconciliation data corresponding to a scene without balance change.
7. The method of claim 1, further comprising:
and if the matching result is that the matching fails, pushing the first account checking data and the corresponding second account checking data to the user.
8. A reconciliation processing apparatus, comprising:
the acquisition module is used for acquiring the remark information in the bank account checking data and the enterprise account checking data within a preset time period;
the determining module is used for determining first reconciliation data in the bank reconciliation data and second reconciliation data in the enterprise reconciliation data corresponding to the first reconciliation data according to the bank reconciliation data and the remark information in the enterprise reconciliation data, wherein the similarity between the remark information of the first reconciliation data and the remark information of the second reconciliation data meets a preset threshold value;
and the matching module is used for performing matching processing according to the first reconciliation data and the corresponding second reconciliation data to obtain a matching result.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the reconciliation processing method of any of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the reconciliation processing method of any of claims 1-7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the reconciliation processing method according to any one of claims 1 to 7.
CN202110686365.4A 2021-06-21 2021-06-21 Account checking processing method and device Pending CN113297846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110686365.4A CN113297846A (en) 2021-06-21 2021-06-21 Account checking processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110686365.4A CN113297846A (en) 2021-06-21 2021-06-21 Account checking processing method and device

Publications (1)

Publication Number Publication Date
CN113297846A true CN113297846A (en) 2021-08-24

Family

ID=77328964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110686365.4A Pending CN113297846A (en) 2021-06-21 2021-06-21 Account checking processing method and device

Country Status (1)

Country Link
CN (1) CN113297846A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117993723A (en) * 2024-04-03 2024-05-07 中国汽车技术研究中心有限公司 Business process information system based on data integration and operation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040064375A1 (en) * 2002-09-30 2004-04-01 Randell Wayne L. Method and system for generating account reconciliation data
CN102968716A (en) * 2012-11-26 2013-03-13 深圳中兴网信科技有限公司 Account checking system and account checking method
CN105631737A (en) * 2015-12-18 2016-06-01 金蝶软件(中国)有限公司 Account checking method and account checking system
CN107833122A (en) * 2017-10-17 2018-03-23 安徽广行通信科技股份有限公司 A kind of reconciliation processing method
CN111798296A (en) * 2020-06-15 2020-10-20 远光软件股份有限公司 Automatic reconciliation method, automatic reconciliation device, and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040064375A1 (en) * 2002-09-30 2004-04-01 Randell Wayne L. Method and system for generating account reconciliation data
CN102968716A (en) * 2012-11-26 2013-03-13 深圳中兴网信科技有限公司 Account checking system and account checking method
CN105631737A (en) * 2015-12-18 2016-06-01 金蝶软件(中国)有限公司 Account checking method and account checking system
CN107833122A (en) * 2017-10-17 2018-03-23 安徽广行通信科技股份有限公司 A kind of reconciliation processing method
CN111798296A (en) * 2020-06-15 2020-10-20 远光软件股份有限公司 Automatic reconciliation method, automatic reconciliation device, and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117993723A (en) * 2024-04-03 2024-05-07 中国汽车技术研究中心有限公司 Business process information system based on data integration and operation method
CN117993723B (en) * 2024-04-03 2024-07-09 中国汽车技术研究中心有限公司 Business process information system and operation method based on data integration

Similar Documents

Publication Publication Date Title
US20240046684A1 (en) System for Information Extraction from Form-Like Documents
US9514417B2 (en) Cloud-based plagiarism detection system performing predicting based on classified feature vectors
US11880435B2 (en) Determination of intermediate representations of discovered document structures
CN110377759A (en) Event relation map construction method and device
CN111899090B (en) Enterprise associated risk early warning method and system
US11880394B2 (en) System and method for machine learning architecture for interdependence detection
Malik et al. Accurate information extraction for quantitative financial events
CN114626731A (en) Risk identification method, apparatus, electronic device, and computer-readable storage medium
CN106095972B (en) Information classification method and device
CN113220885B (en) Text processing method and system
WO2023071120A1 (en) Method for recognizing proportion of green assets in digital assets and related product
CN111723870A (en) Data set acquisition method, device, equipment and medium based on artificial intelligence
CN106528616A (en) Language error correcting method and system for use in human-computer interaction process
CN116186543B (en) A financial data processing system and method based on image recognition
CN111143533B (en) Customer service method and system based on user behavior data
CN112380321A (en) Primary and secondary database distribution method based on bill knowledge graph and related equipment
CN113297846A (en) Account checking processing method and device
CN115587190A (en) Construction method and device of knowledge graph in power field and electronic equipment
CN109299007A (en) An automatic recommendation method for defect fixers
US20250209543A1 (en) Artificial intelligence driven system for accelerated software application content generation
KR102710397B1 (en) Apparatus and method for analysis of transaction brief data using corpus for machine learning based on financial mydata and computer program for the same
CN117009529A (en) SWIFT message intelligent classification method, SWIFT message intelligent classification device, SWIFT message intelligent classification equipment and storage medium
CN116521878A (en) Work order classification method and device
CN114780602A (en) Data tracing analysis method and device, computer equipment and storage medium
CN109472277A (en) Method, apparatus, and storage medium for lender classification

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