[go: up one dir, main page]

CN111640006A - Bank payment and receipt method, device, terminal and storage medium - Google Patents

Bank payment and receipt method, device, terminal and storage medium Download PDF

Info

Publication number
CN111640006A
CN111640006A CN202010474288.1A CN202010474288A CN111640006A CN 111640006 A CN111640006 A CN 111640006A CN 202010474288 A CN202010474288 A CN 202010474288A CN 111640006 A CN111640006 A CN 111640006A
Authority
CN
China
Prior art keywords
payment
payment processing
processing
account
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.)
Granted
Application number
CN202010474288.1A
Other languages
Chinese (zh)
Other versions
CN111640006B (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202010474288.1A priority Critical patent/CN111640006B/en
Publication of CN111640006A publication Critical patent/CN111640006A/en
Application granted granted Critical
Publication of CN111640006B publication Critical patent/CN111640006B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/227Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer

Landscapes

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

Abstract

本发明涉及人工智能技术领域,提出一种银行代收付方法、装置、终端及存储介质,方法包括:接收商户业务系统的代付处理请求并解析得到每个代付处理企业的代付处理业务类型;基于代付处理业务类型调用配置代付处理额度接口对每个代付处理企业的第一账户进行额度配置处理;额度配置处理后根据每个代付处理企业的代付处理业务类型及代付处理业务类型的代付处理模式生成不同的代付处理指令并校验;校验通过后触发代付处理指令进行代付处理,将代付处理结果返回至商户业务系统。本发明按照代付处理企业的代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业进行定制化配置,提高了商户的资金周转率和使用率。

Figure 202010474288

The invention relates to the technical field of artificial intelligence, and proposes a method, device, terminal and storage medium for bank agency collection and payment. The method includes: receiving an agency payment processing request from a merchant business system and analysing to obtain the agency payment processing business of each agency payment processing enterprise Type; based on the type of the payment processing business, call the Configure Payment Processing Quota API to configure the quota for the first account of each payment processing company; The agency payment processing mode of the payment processing business type generates different agency payment processing instructions and verifies them; after the verification is passed, the agency payment processing instructions are triggered to perform agency payment processing, and the agency payment processing results are returned to the merchant business system. The invention configures the payment processing quota according to the attributes of the payment processing business type of the payment processing enterprise, and carries out customized configuration for the payment processing enterprise, thereby improving the capital turnover rate and utilization rate of the merchant.

Figure 202010474288

Description

银行代收付方法、装置、终端及存储介质Bank collection and payment method, device, terminal and storage medium

技术领域technical field

本发明涉及银行系统技术领域,具体涉及一种银行代收付方法、装置、终端及存储介质。The invention relates to the technical field of banking systems, in particular to a method, device, terminal and storage medium for bank collection and payment.

背景技术Background technique

在传统技术中,代付处理业务的银行代付处理通道包含人行大小额系统、人行超级网银系统、银联系统等,大小额系统及超级网银系统清算场次基本在一个小时内,现有技术中无法根据代付处理业务类型对应的业务模型进行跨日自动清算,需银行手工划转资金至银联清算专户,导致资金清算效率低下。In the traditional technology, the bank's payment processing channels for the agency payment processing business include the PBOC's small-value system, the PBOC's super online banking system, and the UnionPay system. It is impossible to perform automatic inter-day clearing according to the business model corresponding to the type of agency payment processing business, and the bank needs to manually transfer funds to the UnionPay clearing account, resulting in low fund clearing efficiency.

此外,在代付处理账户中资金不够的过程中,未考虑到商户业务系统中的多个账户之间进行资金调配,系统需要人工干预才能完成资金调配,导致代付处理效率低下,商户的资金使用率和周转率降低,无法实现专业的定制化配置。In addition, in the process of insufficient funds in the payment processing account, the allocation of funds among multiple accounts in the merchant's business system is not considered, and the system requires manual intervention to complete the allocation of funds, resulting in low payment processing efficiency and the merchant's funds. The utilization rate and turnover rate are reduced, and professional customized configuration cannot be achieved.

发明内容SUMMARY OF THE INVENTION

鉴于以上内容,有必要提出一种银行代收付方法、装置、终端及存储介质,通过根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,提高了商户资金周转率和使用率。In view of the above content, it is necessary to propose a method, device, terminal and storage medium for bank agency collection and payment. Professional customized configuration has been realized for payment processing enterprises, which has improved the capital turnover rate and utilization rate of merchants.

本发明的第一方面提供一种银行代收付方法,所述方法包括:A first aspect of the present invention provides a bank collection and payment method, the method includes:

接收商户业务系统的代付处理请求,其中,每个代付处理请求中携带有多个代付处理信息;Receive an agency payment processing request from the merchant's business system, wherein each agency payment processing request carries a plurality of agency payment processing information;

解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型;Analyzing the multiple payment processing information to obtain the payment processing business type of each payment processing enterprise;

基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理;Based on the payment processing business type of each agency payment processing enterprise, the interface for configuring the agency payment processing quota is invoked to perform quota configuration processing on the first account of each agency payment processing enterprise;

当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令;When receiving the successful message of quota configuration processing of each agency payment processing enterprise, different agency payment processing instructions are generated according to the agency payment processing business type of each agency payment processing enterprise and the agency payment processing mode of the agency payment processing business type ;

校验每个所述代付处理指令得到校验结果;Verifying each of the payment processing instructions to obtain a verification result;

当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统。When it is determined that the verification result is the verification passed, the agent payment processing instruction is triggered to perform agent payment processing, and the agent payment processing result is returned to the merchant business system.

优选的,所述基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the process of invoking the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise includes:

当确定所述代付处理企业的代付处理业务类型为先收后付服务类型时,获取所述商户的第二账户中的金额数值;When it is determined that the payment processing business type of the payment processing enterprise is the payment-before-pay service type, obtain the value of the amount in the second account of the merchant;

获取向所述代付处理企业代付处理的第一代付处理金额数值;Obtain the value of the first generation payment processing amount processed by the payment processing enterprise on behalf of the payment processing enterprise;

比对所述商户的第二账户中的金额数值与所述第一代付处理金额数值;Comparing the value of the amount in the second account of the merchant with the value of the first-generation payment processing amount;

当比对得到所述商户的第二账户中的金额数值大于或者等于所述第一代付处理金额数值时,调用所述配置代付处理额度接口从所述第二账户中配置与所述第一代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口第一账户。When the value of the amount in the second account of the merchant is greater than or equal to the value of the first agent payment processing amount, the interface for configuring agent payment processing limit is invoked to configure and the first agent payment processing amount from the second account. The amount equivalent to the value of the payment processing amount is applied to the first account of the interface corresponding to the first account of the payment processing enterprise.

优选的,所述银行代收付方法还包括:Preferably, the bank collection and payment method further includes:

当比对得到所述商户的第二账户中的金额数值小于所述第一代付处理金额数值时,向所述商户发送所述第二账户中的金额数值不足的通知消息,其中,所述通知消息包括所述代付处理企业的编号、所述代付处理企业的名称、所述代付处理企业的第一代付处理金额数值及所述第二账户余额。When it is found that the value of the amount in the second account of the merchant is less than the value of the first payment processing amount, a notification message that the value of the amount in the second account is insufficient is sent to the merchant, wherein the The notification message includes the serial number of the agency payment processing company, the name of the agency payment processing company, the value of the first agency payment processing amount of the agency payment processing company, and the balance of the second account.

优选的,所述基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the process of invoking the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise includes:

当确定所述代付处理企业的代付处理业务类型为垫资服务类型时,获取所述商户的第三账户信息和赎回指令;When it is determined that the payment processing business type of the payment processing enterprise is the type of advance service, acquiring the third account information and the redemption instruction of the merchant;

获取向所述代付处理企业代付处理的第二代付处理金额数值;Obtain the value of the second-generation payment processing amount processed by the payment processing company on behalf of the payment processing company;

基于所述赎回指令计算所述第三账户信息中的资金总额;Calculate the total amount of funds in the third account information based on the redemption instruction;

比对所述资金总额与所述第二代付处理金额数值;Comparing the total amount of funds with the value of the second-generation payment processing amount;

当比对得到所述资金总额大于或者等于所述第二代付处理金额数值时,将所述赎回指令和与所述第二代付处理资金总额等值的消费份额划过户至预设的第四账户;When it is found from the comparison that the total amount of funds is greater than or equal to the value of the second-generation payment processing amount, the redemption instruction and the consumption share equivalent to the second-generation payment processing funds are transferred to the preset account. the fourth account;

调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口第一账户。Calling an interface for configuring an agent payment processing quota to configure a quota equivalent to the value of the second agent payment processing amount from the preset fourth account to the first account of the interface corresponding to the first account of the agent payment processing enterprise.

优选的,所述银行代收付方法还包括:Preferably, the bank collection and payment method further includes:

当比对得到所述资金总额小于所述第二代付处理金额数值时,计算所述资金总额与所述第二代付处理金额数值之差得到缺少的资金;When the comparison shows that the total amount of funds is less than the value of the second-generation payment processing amount, calculating the difference between the total amount of funds and the second-generation payment processing amount value to obtain the missing funds;

启动资金处理程序从所述商户存在多余金额数值的账户中划出所述缺少的资金至所述预设的第四账户中;Start the fund processing program to transfer the lack of funds to the preset fourth account from the account of the merchant with the excess amount value;

当所述预设的第四账户接收到划出的缺少的资金到账时,调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。When the preset fourth account receives the debited and missing funds into the account, call the configuration agent payment processing quota interface to configure the second agent payment processing amount value from the preset fourth account, etc. The amount of the value is sent to the interface corresponding to the first account of the payment processing enterprise.

优选的,所述校验所述代付处理指令得到校验结果包括:Preferably, the verification result obtained by the verification of the proxy payment processing instruction includes:

解析所述代付处理指令,获取所述代付处理指令中的代付处理企业的第一账户;Parse the payment processing instruction, and obtain the first account of the payment processing enterprise in the payment processing instruction;

将所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户进行比对;comparing the first account of the payment processing company in the payment processing instruction with the first account of the payment processing company read from the payment processing request;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对一致,得到校验通过的结果;If the first account of the payment processing company in the payment processing instruction is consistent with the first account of the payment processing company read from the payment processing request, a result of verification is obtained;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对不一致,得到校验不通过的结果。If the first account of the payment processing company in the payment processing instruction is inconsistent with the first account of the payment processing company read from the payment processing request, a result of verification failure is obtained.

优选的,所述解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型包括:Preferably, the analysis of the plurality of agency payment processing information to obtain the agency payment processing business type of each agency payment processing enterprise includes:

根据预置的解析规则将每个代付处理信息分解成多个预设格式的字段信息;Decompose each payment processing information into multiple preset format field information according to the preset parsing rules;

识别所述多个字段信息得到每个代付处理企业的代付处理业务类型。Identifying the plurality of field information obtains the payment processing business type of each payment processing enterprise.

本发明的第二方面提供一种银行代收付装置,所述银行代收付装置包括:A second aspect of the present invention provides a bank agent collection and payment device, and the bank agent collection and payment device includes:

接收模块,用于接收商户业务系统的代付处理请求,其中,每个代付处理请求中携带有多个代付处理信息;The receiving module is used to receive an agency payment processing request from the merchant business system, wherein each agency payment processing request carries a plurality of agency payment processing information;

解析模块,用于解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型;a parsing module, configured to parse the multiple payment processing information to obtain the payment processing business type of each payment processing enterprise;

配置模块,用于基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理;The configuration module is used for invoking the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise;

生成模块,用于当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令;The generation module is used to generate different payment processing modes according to the payment processing business type of each payment processing enterprise and the payment processing mode of the payment processing business type when receiving the successful message of quota configuration processing of each payment processing enterprise. payment processing instructions;

校验模块,用于校验每个所述代付处理指令得到校验结果;a verification module, used for verifying each said payment processing instruction to obtain a verification result;

代付处理模块,用于当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统。An agency payment processing module, configured to trigger the agency payment processing instruction to perform agency payment processing when it is determined that the verification result is passed, and return the agency payment processing result to the merchant business system.

本发明的第三方面提供一种终端,所述终端包括处理器,所述处理器用于执行存储器中存储的计算机程序时实现所述银行代收付方法。A third aspect of the present invention provides a terminal, the terminal includes a processor, and the processor is configured to implement the bank collection and payment method when executing a computer program stored in a memory.

本发明的第四方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现所述银行代收付方法。A fourth aspect of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the bank collection and payment method is implemented.

综上所述,本发明所述的一种银行代收付方法、装置、终端及存储介质,一方面通过根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,便于所述商户的资金周转,提高了所述商户的资金周转率和使用率;另一方面在所述商户的权益帐户中没有足够资金支付商户的代付处理交易,资金处理程序将计算缺少的资金,并自动从其它存在多余金额数值的账户划出到与预设的垫付资金账号,由于资金处理的存在,系统无需人工干预即可完成商户的资金代付处理过程,保证了银行代付处理顺利且有序地完成,降低了人工成本;最后,由于每个代付处理业务类型的代付处理模式不同,根据不同的代付处理模式可以实现不同的代付处理清算,若代付处理业务类型为垫资服务类型,所述垫资服务类型对应的代付处理模式可以实现跨日清算对所述商户的账户进行代付处理清算,不需要银行手工划转资金至银联清算专户,提高了资金清算效率。To sum up, the method, device, terminal and storage medium for bank collection and payment according to the present invention, on the one hand, according to the payment processing business type of the payment processing enterprise, the payment is made according to the attribute of the payment processing business type. The processing quota configuration processing realizes professional customized configuration for the payment processing company, which facilitates the capital turnover of the merchant and improves the capital turnover rate and utilization rate of the merchant; on the other hand, in the merchant's equity account If there is insufficient funds to pay for the merchant's payment processing transaction, the funds processing program will calculate the missing funds and automatically transfer the funds from other accounts with excess value to the preset advance funds account. Due to the existence of funds processing, the system does not require manual labor. Intervention can complete the merchant's fund payment processing process, which ensures the smooth and orderly completion of the bank's payment processing and reduces labor costs; finally, due to the different payment processing modes of each type of payment processing business, according to different The agency payment processing mode can realize different agency payment processing and settlement. If the agency payment processing business type is the advance service type, the agency payment processing mode corresponding to the advance payment service type can realize inter-day clearing to the merchant's account. Payment processing and settlement does not require banks to manually transfer funds to the UnionPay settlement account, which improves the efficiency of fund settlement.

附图说明Description of drawings

图1是本发明实施例一提供的银行代收付方法的流程图。FIG. 1 is a flowchart of a method for collecting and paying on behalf of a bank provided by Embodiment 1 of the present invention.

图2是本发明实施例二提供的银行代收付装置的结构图。FIG. 2 is a structural diagram of a bank agent collection and payment device provided in Embodiment 2 of the present invention.

图3是本发明实施例三提供的终端的结构示意图。FIG. 3 is a schematic structural diagram of a terminal according to Embodiment 3 of the present invention.

如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above drawings.

具体实施方式Detailed ways

为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施例对本发明进行详细描述。需要说明的是,在不冲突的情况下,本发明的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments may be combined with each other under the condition of no conflict.

除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention.

实施例一Example 1

图1是本发明实施例一提供的银行代收付方法的流程图。FIG. 1 is a flowchart of a method for collecting and paying on behalf of a bank provided by Embodiment 1 of the present invention.

在本实施例中,所述银行代收付方法可以应用于终端中,对于需要进行银行代收付的终端,可以直接在终端上集成本发明的方法所提供的银行代收付的功能,或者以软件开发工具包(Software Development Kit,SKD)的形式运行在终端中。In this embodiment, the bank collection and payment method can be applied to a terminal. For a terminal that needs to perform bank collection and payment, the function of bank collection and payment provided by the method of the present invention can be directly integrated on the terminal, or It runs in the terminal in the form of a software development kit (Software Development Kit, SKD).

如图1所示,所述银行代收付方法具体包括以下步骤,根据不同的需求,该流程图中步骤的顺序可以改变,某些可以省略。As shown in FIG. 1 , the method for collecting and paying on behalf of a bank specifically includes the following steps. According to different requirements, the order of the steps in the flowchart can be changed, and some of the steps can be omitted.

S11:接收商户业务系统的代付处理请求,其中,每个代付处理请求中携带有多个代付处理信息。S11: Receive an agency payment processing request from the merchant business system, wherein each agency payment processing request carries a plurality of agency payment processing information.

本实施例中,代付处理业务是指银行按照与委托单位的协议,接收商户的委托代为办理指定款项的代付处理事宜,根据委托单位提供的清单,由银行代理委托单位发放款项的业务,主要包括代发工资、保险费、报销款等。In this embodiment, the entrusted payment processing business refers to the business in which the bank accepts the entrustment of the merchant to handle the entrusted payment processing matters of the designated funds according to the agreement with the entrusting unit, and according to the list provided by the entrusting unit, the bank acts as the entrusting unit to issue the money, It mainly includes salary payment, insurance premiums, reimbursement and so on.

S12:解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型。S12: Parse the multiple payment processing information to obtain the payment processing business type of each payment processing enterprise.

本实施例中,所述代付处理业务类型是指商户向每个代付处理企业的付款对应的业务类型,所述代付处理业务类型包括:先收后付服务类型和垫资服务类型,当获取所述多个代付处理信息时,解析每个所述代付处理信息得到每个代付处理企业对应的代付处理业务类型。In this embodiment, the said payment processing business type refers to the business type corresponding to the payment made by the merchant to each payment processing enterprise. When acquiring the plurality of agency payment processing information, analyze each agency payment processing information to obtain the agency payment processing business type corresponding to each agency payment processing enterprise.

优选的,所述解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型包括:Preferably, the analysis of the plurality of agency payment processing information to obtain the agency payment processing business type of each agency payment processing enterprise includes:

根据预置的解析规则将每个代付处理信息分解成多个预设格式的字段信息;Decompose each payment processing information into multiple preset format field information according to the preset parsing rules;

识别所述多个字段信息得到每个代付处理企业的代付处理业务类型。Identifying the plurality of field information obtains the payment processing business type of each payment processing enterprise.

本实施例中,每个所述代付处理信息中包括商户的商户性质、商户账户、代付处理企业名称、代付处理企业类型等信息,所述预置的解析规则是预先根据不同的代付处理信息对应的不同的规则预先设置的,根据所述预先设置的解析规则,将每个所述代付处理信息分解成多个预设格式的字段信息,从所述字段信息中识别得到每个代付处理企业对应的代付处理业务类型。In this embodiment, each of the agent payment processing information includes information such as the merchant nature of the merchant, the merchant account, the agent payment processing enterprise name, the agent payment processing enterprise type and other information, and the preset parsing rules are based on different agents If the different rules corresponding to the payment processing information are preset, according to the preset parsing rules, each of the payment processing information is decomposed into a plurality of field information in a preset format, and each field information is identified from the field information. The type of payment processing business corresponding to each payment processing company.

S13:基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理。S13: Based on the payment processing business type of each agency payment processing enterprise, the interface for configuring the agency payment processing quota is invoked to perform quota configuration processing on the first account of each agency payment processing enterprise.

本实施例中,每个代付处理企业对应的代付处理业务类型不同,每个代付处理业务类型对应不同的配置代付处理额度接口,根据不同的代付处理业务类型调用对应的配置代付处理额度的接口进行额度配置处理。In this embodiment, the types of payment processing services corresponding to each payment processing company are different, each type of payment processing service corresponds to a different configuration payment processing quota interface, and the corresponding configuration service is invoked according to different types of payment processing services. The interface for payment processing quota is used for quota configuration processing.

优选的,所述基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the process of invoking the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise includes:

当确定所述代付处理企业的代付处理业务类型为先收后付服务类型时,获取所述商户的第二账户中的金额数值;When it is determined that the payment processing business type of the payment processing enterprise is the payment-before-pay service type, obtain the value of the amount in the second account of the merchant;

获取向所述代付处理企业代付处理的第一代付处理金额数值;Obtain the value of the first generation payment processing amount processed by the payment processing enterprise on behalf of the payment processing enterprise;

比对所述商户的第二账户中的金额数值与所述第一代付处理金额数值;Comparing the value of the amount in the second account of the merchant with the value of the first-generation payment processing amount;

当比对得到所述商户的第二账户中的金额数值大于或者等于所述第一代付处理金额数值时,调用所述配置代付处理额度接口从所述第二账户中配置与所述第一代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。When the value of the amount in the second account of the merchant is greater than or equal to the value of the first agent payment processing amount, the interface for configuring agent payment processing limit is invoked to configure and the first agent payment processing amount from the second account. The amount equivalent to the value of the payment processing amount is applied to the interface corresponding to the first account of the payment processing enterprise.

本实施例中,所述先收后付服务类型是指商户先行准备代付处理资金至银行的第二账户,银行代付处理平台将所述第二账户中的金额数值与向所述代付处理企业代付处理的第一代付处理金额数值进行比对,根据比对结果确认是否对所述代付处理企业的第一账户对应的接口进行金额数值配置,当接收到所述代付处理企业的第一账户对应的接口返回的通过的消息时,确定所述代付处理企业的额度配置处理成功,可以确定所述商户第二账户中金额数值充足,同时计算出所述商户为所述代付处理企业代付处理后所述第二账户中的余额。In this embodiment, the service type of "pay first and pay later" means that the merchant prepares to pay and process funds to the second account of the bank in advance, and the bank's agency payment processing platform compares the value of the amount in the second account with the payment to the agency. Compare the amount value of the first-generation payment processing of the company's agency payment processing, and confirm whether to configure the amount value for the interface corresponding to the first-generation payment processing company's first account according to the comparison result. When receiving the agency payment processing When the passed message is returned by the interface corresponding to the first account of the enterprise, it is determined that the quota configuration process of the payment processing enterprise is successful, and it can be determined that the amount of money in the second account of the merchant is sufficient, and at the same time, it is calculated that the merchant is the The balance in the second account after the agency payment is processed by the company.

进一步的,所述方法还包括:Further, the method also includes:

当比对得到所述商户的第二账户中的金额数值小于所述第一代付处理金额数值时,确定对所述代付处理企业的第一账户的额度配置处理失败;When the value of the amount in the second account of the merchant is less than the value of the first payment processing amount, it is determined that the processing of the quota configuration for the first account of the payment processing enterprise fails;

向所述商户发送所述第二账户中的金额数值不足的通知消息,其中,所述通知消息包括所述代付处理企业的编号、所述代付处理企业的名称、所述代付处理企业的第一代付处理金额数值及所述第二账户余额。Send a notification message to the merchant that the amount in the second account is insufficient, wherein the notification message includes the number of the payment processing company, the name of the payment processing company, the payment processing company The value of the first-generation payment processing amount and the balance of the second account.

本实施例中,由于先收后付服务类型的基本属性是必须先行准备为代付处理企业代付处理的代付处理金额数值,若所述商户的第二账户中的金额数值小于向代付处理企业代付处理的第一代付处理金额数值时,不满足先收后付服务类型的基本属性,银行不支持为所述商户进行代付处理业务的服务,银行代收付系统会及时通知商户,告知所述商户的第二账户中的余额不足,不支持代付处理,同时将不支持代付处理失败原因告知商户,提高商户体验度。In this embodiment, since the basic attribute of the pay-before-pay service type is that the value of the payment processing amount for the payment processing company must be prepared in advance, if the value of the amount in the second account of the merchant is less than that of the payment processing company When processing the first-generation payment processing amount value of enterprise payment processing, it does not meet the basic attributes of the pay-before-pay service type, and the bank does not support the payment processing service for the merchant, and the bank's collection and payment system will notify in time. The merchant informs the merchant that the balance in the second account of the merchant is insufficient and does not support the payment processing, and at the same time informs the merchant of the reason for the failure of the non-supporting payment processing, so as to improve the experience of the merchant.

优选的,所述基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the process of invoking the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise includes:

当确定所述代付处理企业的代付处理业务类型为垫资服务类型时,获取所述商户的第三账户信息和赎回指令;When it is determined that the payment processing business type of the payment processing enterprise is the type of advance service, acquiring the third account information and the redemption instruction of the merchant;

获取向所述代付处理企业代付处理的第二代付处理金额数值;Obtain the value of the second-generation payment processing amount processed by the payment processing company on behalf of the payment processing company;

基于所述赎回指令计算所述第三账户信息中的资金总额;Calculate the total amount of funds in the third account information based on the redemption instruction;

比对所述资金总额与所述第二代付处理金额数值;Comparing the total amount of funds with the value of the second-generation payment processing amount;

当所述资金总额大于或者等于所述第二代付处理金额数值时,将所述赎回指令和与所述第二代付处理资金总额等值的资金总额过户至预设的第四账户;When the total amount of funds is greater than or equal to the value of the second-generation payment processing amount, transfer the redemption instruction and the total amount of funds equivalent to the second-generation payment processing funds to a preset fourth account;

调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。Calling an interface for configuring an agent payment processing limit to configure an interface corresponding to the first account of the agent payment processing enterprise from the preset fourth account with an amount equivalent to the value of the second agent payment processing amount.

本实施例中,所述垫资服务是指银行预先进行垫付,商户不用预先准备备付金,银行根据所述商户的第三账户信息中的赎回指令及所述赎回指令对应的基金份额计算商户的资金总额,将所述资金总额与向所述代付处理企业代付处理的第二代付处理金额数值进行比对,当所述资金总额大于或者等于所述第二代付处理金额数值时,将所述赎回指令和与所述第二代付处理资金总额等值的资金总额过户至预设的第四账户,调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口,对所述代付处理企业的第一账户对应的接口进行金额数值配置。In this embodiment, the fund advance service means that the bank makes advance payment in advance, and the merchant does not need to prepare the reserve fund in advance. Calculate the total amount of funds of the merchant, and compare the total amount of funds with the value of the second-generation payment processing amount processed by the agency payment processing enterprise. When the total amount of funds is greater than or equal to the second-generation payment processing amount value, transfer the redemption instruction and the total amount of funds equivalent to the second agent payment processing funds to the preset fourth account, and call the configuration agent payment processing quota interface from the preset fourth account. Configure an interface corresponding to the first account of the agency payment processing company with an amount equivalent to the value of the second agency payment processing amount, and configure the amount value for the interface corresponding to the first account of the agency payment processing company.

本实施例中,根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,便于所述商户的资金周转,提高了所述商户的资金周转率和使用率。In this embodiment, the payment processing quota configuration processing is performed according to the payment processing business type of the payment processing enterprise and the attribute of the payment processing business type, and professional customized configuration is realized for the payment processing enterprise, which is convenient for the merchants to The capital turnover improves the capital turnover rate and utilization rate of the merchant.

进一步的,所述方法还包括:Further, the method also includes:

当比对得到所述资金总额小于所述第二代付处理金额数值时,计算所述资金总额与所述第二代付处理金额数值之差得到缺少的资金;When the comparison shows that the total amount of funds is less than the value of the second-generation payment processing amount, calculating the difference between the total amount of funds and the second-generation payment processing amount value to obtain the missing funds;

启动资金处理程序从所述商户存在多余金额数值的账户中划出所述缺少的资金至所述预设的第四账户中;Start the fund processing program to transfer the lack of funds to the preset fourth account from the account of the merchant with the excess amount value;

当所述预设的第四账户接收到所述缺少的资金到账时,调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。When the preset fourth account receives the lack of funds into the account, the interface for configuring the payment processing amount is invoked to configure the value equivalent to the second generation payment processing amount from the preset fourth account to the interface corresponding to the first account of the payment processing company.

本实施例中,每个商户在多个银行渠道都开了账号,资金处理程序会自动计算每个银行渠道帐户是否有足够资金支付商户的代付处理交易,如果没有足够的资金支付所述商户的代付处理交易,资金处理程序将计算所述商户的代付处理交易缺少的资金,并自动从其它存在多余金额数值的账户划出到与预设的垫付资金账号,由于资金调拨的存在,系统无需人工干预即可完成商户的资金代付处理过程,保证了银行代付处理顺利且有序地完成,降低了人工成本。In this embodiment, each merchant has opened an account in multiple bank channels, and the fund processing program will automatically calculate whether each bank channel account has enough funds to pay the merchant's payment processing transaction, and if there is not enough funds to pay the merchant The fund processing program will calculate the missing funds for the merchant's payment processing transactions, and automatically transfer the funds from other accounts with excess amount values to the preset advance fund account. Due to the existence of fund transfer, The system can complete the merchant's fund payment processing process without manual intervention, which ensures the smooth and orderly completion of the bank's payment processing and reduces labor costs.

S14:当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令。S14: When receiving the successful message of quota configuration processing of each agency payment processing enterprise, generate different agency payments according to the agency payment processing business type of each agency payment processing enterprise and the agency payment processing mode of the agency payment processing business type Process instructions.

本实施例中,每个所述代付处理业务类型对应不同的代付处理模式,基于每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令,例如,所述垫资服务类型对应的代付处理模式可以实现跨日清算,根据所述垫资服务类型及跨日清算的代付处理模式生成所述垫资服务类型对应的代付处理指令。In this embodiment, each of the payment processing business types corresponds to a different payment processing mode, and different payment processing modes are generated based on the payment processing business type of each payment processing enterprise and the payment processing mode of the payment processing business type. For example, the payment processing mode corresponding to the payment advance service type can realize inter-day clearing, and the payment processing mode corresponding to the payment advance service type is generated according to the payment service type and the payment processing mode of the inter-day clearing. payment processing instructions.

S15:校验每个代付处理指令得到校验结果。S15: Verify each payment processing instruction to obtain a verification result.

本实施例中,银行在执行代付处理之前,需要校验每个代付处理指令中对应的代付处理企业的收款方是否正确。In this embodiment, before the bank performs the payment processing, it is necessary to verify whether the payee of the corresponding payment processing enterprise in each payment processing instruction is correct.

优选的,所述校验所述代付处理指令得到校验结果包括:Preferably, the verification result obtained by the verification of the proxy payment processing instruction includes:

解析所述代付处理指令,获取所述代付处理指令中的代付处理企业的第一账户;Parse the payment processing instruction, and obtain the first account of the payment processing enterprise in the payment processing instruction;

将所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户进行比对;comparing the first account of the payment processing company in the payment processing instruction with the first account of the payment processing company read from the payment processing request;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对一致,得到校验通过的结果;If the first account of the payment processing company in the payment processing instruction is consistent with the first account of the payment processing company read from the payment processing request, a result of verification is obtained;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对不一致,得到校验不通过的结果。If the first account of the payment processing company in the payment processing instruction is inconsistent with the first account of the payment processing company read from the payment processing request, a result of verification failure is obtained.

本实施例中,商户业务系统提交的代付处理请求中包括代付处理企业的第一账户,读取所述代付处理企业的第一账户,并将所述读取的代付处理企业的第一账户与所述代付处理指令中的代付处理企业的第一账户进行比对,根据比对结果确定是否触发代付处理指令,提高了银行代付处理的准确率。In this embodiment, the payment processing request submitted by the merchant business system includes the first account of the payment processing enterprise, reads the first account of the payment processing enterprise, and converts the read payment processing enterprise's first account. The first account is compared with the first account of the agency payment processing enterprise in the agency payment processing instruction, and whether the agency payment processing instruction is triggered is determined according to the comparison result, which improves the accuracy of bank agency payment processing.

S16:当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统。S16: When it is determined that the verification result is a verification pass, trigger the proxy payment processing instruction to perform proxy payment processing, and return the proxy payment processing result to the merchant business system.

本实施例中,在银行将所述商户的委托的代付处理业务执行完成时,记录执行代付处理业务的过程打包成文件包,将所述文件包以预设的返回方式至所述商户业务系统,其中,所述预设的返回方式可以为自动触发邮件发送,也可以以短信方式进行发送。In this embodiment, when the bank completes the execution of the entrusted payment processing service entrusted by the merchant, it records the process of executing the payment processing service and packages it into a file package, and sends the file package to the merchant in a preset return method. The business system, wherein the preset return mode may be automatically triggered to send an email, or may be sent by a short message.

优选的,在将代付处理结果返回至所述商户的业务系统之后,所述方法还包括:Preferably, after returning the payment processing result to the business system of the merchant, the method further includes:

获取所述代付处理结果中的所述商户的已执行代付处理的账户及已执行代付处理的代付处理企业对应的代付处理业务类型;Obtaining the account of the merchant that has performed the payment processing and the payment processing business type corresponding to the payment processing enterprise that has performed the payment processing in the payment processing result;

获取所述代付处理业务类型的代付处理模式;Obtain the payment processing mode of the payment processing business type;

采用所述代付处理模式对所述商户的已执行代付处理的账户进行代付处理清算。The payment processing and settlement are performed on the account of the merchant that has performed the payment processing by using the payment processing mode.

本实施例中,由于每个代付处理业务类型的代付处理模式不同,根据不同的代付处理模式可以实现不同的代付处理清算,若代付处理业务类型为先收后付服务类型时,对应的代付处理模式为实时清算所述商户的账户对所述代付处理企业进行代付处理;若代付处理业务类型为垫资服务类型时,对应的代付处理模式可以实现跨日清算所述商户的账户后对所述代付处理企业进行代付处理,不需要银行手工划转资金至银联清算专户,降低人工清算成本,提高了资金清算效率。In this embodiment, since the payment processing mode of each type of payment processing business is different, different payment processing and settlement can be implemented according to different payment processing modes. , the corresponding payment processing mode is to clear the account of the merchant in real time and perform payment processing on the payment processing enterprise; if the payment processing business type is the advance service type, the corresponding payment processing mode can realize cross-day payment processing. After the account of the merchant is cleared, the payment processing enterprise is performed on behalf of the payment processing company, and the bank does not need to manually transfer the funds to the UnionPay settlement account, thereby reducing the manual clearing cost and improving the fund clearing efficiency.

进一步的,所述方法还包括:Further, the method also includes:

当确定所述校验不通过时,不触发所述代付处理指令。When it is determined that the verification fails, the payment agent processing instruction is not triggered.

本实施例中,在将所述读取的代付处理企业的第一账户与所述代付处理指令中的代付处理企业的第一账户进行比对之后,若校验结果不通过,确定所述代付处理指令中的代付处理企业的第一账户不正确,银行需要重新修正所述代付处理指令中的代付处理企业的第一账户为所述商户提交的代付处理请求中的代付处理企业的第一账户。In this embodiment, after comparing the read first account of the payment processing company with the first account of the payment processing company in the payment processing instruction, if the verification result fails, determine The first account of the payment processing company in the payment processing instruction is incorrect, and the bank needs to re-amend the first account of the payment processing company in the payment processing instruction to be in the payment processing request submitted by the merchant. The first account of the payment processing company.

综上所述,本实施例所述的一种银行代收付方法,通过接收商户业务系统的代付处理请求,其中,每个代付处理请求中对应有多个代付处理信息;解析每个代付处理信息得到每个代付处理企业的代付处理业务类型;基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理;当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令;校验每个所述代付处理指令得到校验结果;当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统,本实施例一方面通过根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,便于所述商户的资金周转,提高了所述商户的资金周转率和使用率;另一方面在所述商户的权益帐户中没有足够资金支付商户的代付处理交易,资金处理程序将计算缺少的资金,并自动从其它存在多余金额数值的账户划出到与预设的垫付资金账号,由于资金调拨的存在,系统无需人工干预即可完成商户的资金代付处理过程,保证了银行代付处理顺利且有序地完成,降低了人工成本;最后,由于每个代付处理业务类型的代付处理模式不同,根据不同的代付处理模式可以实现不同的代付处理清算,若代付处理业务类型为垫资服务类型,所述垫资服务类型对应的代付处理模式可以实现跨日清算对所述商户的账户进行代付处理清算,不需要银行手工划转资金至银联清算专户,提高了资金清算效率。To sum up, the method for bank collection and payment described in this embodiment receives a payment processing request from a business system of a merchant, wherein each payment processing request corresponds to a plurality of payment processing information; Get the payment processing business type of each agency payment processing company based on the payment processing information; call the interface for configuring the payment processing quota based on the payment processing business type of each agency payment processing company. The account performs quota configuration processing; when receiving the successful message of the quota configuration processing of each agency payment processing enterprise, it is generated according to the agency payment processing business type of each agency payment processing enterprise and the agency payment processing mode of the agency payment processing business type. Different proxy payment processing instructions; verify each said proxy payment processing instruction to obtain a verification result; when it is determined that the verification result is passed, the proxy payment processing instruction is triggered to perform proxy payment processing, and the proxy payment processing instruction will be executed. The payment processing result is returned to the merchant business system. On the one hand, in this embodiment, according to the payment processing business type of the payment processing enterprise, the payment processing quota configuration processing is performed according to the attribute of the payment processing business type. A professional customized configuration is provided, which facilitates the capital turnover of the merchant, and improves the capital turnover rate and utilization rate of the merchant; The funds processing program will calculate the missing funds, and automatically transfer the funds from other accounts with excess value to the preset advance funds account. Due to the existence of funds transfer, the system can complete the merchant's fund payment processing process without manual intervention. , which ensures the smooth and orderly completion of the bank's agency payment processing and reduces labor costs; finally, due to the different agency payment processing modes for each agency payment processing business type, different agency payment processing modes can be realized according to different agency payment processing modes. Clearing, if the payment processing business type is the advance service type, the payment processing mode corresponding to the advance payment service type can realize inter-day settlement to perform payment processing and settlement on the merchant's account without the need for banks to manually transfer funds. To the UnionPay settlement account, the efficiency of fund settlement has been improved.

实施例二Embodiment 2

图2是本发明实施例二提供的银行代收付装置的结构图。FIG. 2 is a structural diagram of a bank agent collection and payment device provided in Embodiment 2 of the present invention.

在一些实施例中,所述银行代收付装置20可以包括多个由程序代码段所组成的功能模块。所述银行代收付装置20中的各个程序段的程序代码可以存储于终端的存储器中,并由所述至少一个处理器所执行,以执行(详见图1描述)银行代收付功能。In some embodiments, the bank agent collection and payment apparatus 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the bank collection and payment device 20 may be stored in the memory of the terminal and executed by the at least one processor to perform the bank collection and payment function (described in FIG. 1 for details).

本实施例中,所述银行代收付装置20根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:接收模块201、解析模块202、配置模块203、发送模块204、生成模块205、校验模块206及代付处理模块207。本发明所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机程序段,其存储在存储器中。在本实施例中,关于各模块的功能将在后续的实施例中详述。In this embodiment, the bank agent collection and payment device 20 can be divided into a plurality of functional modules according to the functions performed by the bank. The functional modules may include: a receiving module 201 , a parsing module 202 , a configuration module 203 , a sending module 204 , a generating module 205 , a checking module 206 and a payment processing module 207 . The modules referred to in the present invention refer to a series of computer program segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

接收模块201:用于接收商户业务系统的代付处理请求,其中,每个代付处理请求中携带有多个代付处理信息。Receiving module 201 : used for receiving an agency payment processing request from a merchant business system, wherein each agency payment processing request carries a plurality of agency payment processing information.

本实施例中,代付处理业务是指银行按照与委托单位的协议,接收商户的委托代为办理指定款项的代付处理事宜,根据委托单位提供的清单,由银行代理委托单位发放款项的业务,主要包括代发工资、保险费、报销款等。In this embodiment, the entrusted payment processing business refers to the business in which the bank accepts the entrustment of the merchant to handle the entrusted payment processing matters of the designated funds according to the agreement with the entrusting unit, and according to the list provided by the entrusting unit, the bank acts as the entrusting unit to issue the money, It mainly includes salary payment, insurance premiums, reimbursement and so on.

解析模块202:用于解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型。Parsing module 202: used to analyze the plurality of payment processing information to obtain the payment processing business type of each payment processing enterprise.

本实施例中,所述代付处理业务类型是指商户向每个代付处理企业的付款对应的业务类型,所述代付处理业务类型包括:先收后付服务类型和垫资服务类型,当获取所述多个代付处理信息时,解析每个所述代付处理信息得到每个代付处理企业对应的代付处理业务类型。In this embodiment, the said payment processing business type refers to the business type corresponding to the payment made by the merchant to each payment processing enterprise. When acquiring the plurality of agency payment processing information, analyze each agency payment processing information to obtain the agency payment processing business type corresponding to each agency payment processing enterprise.

优选的,所述解析模块202解析所述多个代付处理信息得到每个代付处理企业的代付处理业务类型包括:Preferably, the analysis module 202 analyzes the plurality of payment processing information to obtain the payment processing business type of each payment processing enterprise including:

根据预置的解析规则将每个代付处理信息分解成多个预设格式的字段信息;Decompose each payment processing information into multiple preset format field information according to the preset parsing rules;

识别所述多个字段信息得到每个代付处理企业的代付处理业务类型。Identifying the plurality of field information obtains the payment processing business type of each payment processing enterprise.

本实施例中,每个所述代付处理信息中包括商户的商户性质、商户账户、代付处理企业名称、代付处理企业类型等信息,所述预置的解析规则是预先根据不同的代付处理信息对应的不同的规则预先设置的,根据所述预先设置的解析规则,将每个所述代付处理信息分解成多个预设格式的字段信息,从所述字段信息中识别得到每个代付处理企业对应的代付处理业务类型。In this embodiment, each of the agent payment processing information includes information such as the merchant nature of the merchant, the merchant account, the agent payment processing enterprise name, the agent payment processing enterprise type and other information, and the preset parsing rules are based on different agents If the different rules corresponding to the payment processing information are preset, according to the preset parsing rules, each of the payment processing information is decomposed into a plurality of field information in a preset format, and each field information is identified from the field information. The type of payment processing business corresponding to each payment processing company.

配置模块203:用于基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理。Configuration module 203 : for invoking an interface for configuring an agency payment processing quota based on the payment processing business type of each agency payment processing enterprise, and performing quota configuration processing on the first account of each agency payment processing enterprise.

本实施例中,每个代付处理企业对应的代付处理业务类型不同,每个代付处理业务类型对应不同的配置代付处理额度接口,根据不同的代付处理业务类型调用对应的配置代付处理额度的接口进行额度配置处理。In this embodiment, the types of payment processing services corresponding to each payment processing company are different, each type of payment processing service corresponds to a different configuration payment processing quota interface, and the corresponding configuration service is invoked according to different types of payment processing services. The interface for payment processing quota is used for quota configuration processing.

优选的,所述配置模块203基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the configuration module 203 calls the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise, including:

当确定所述代付处理企业的代付处理业务类型为先收后付服务类型时,获取所述商户的第二账户中的金额数值;When it is determined that the payment processing business type of the payment processing enterprise is the payment-before-pay service type, obtain the value of the amount in the second account of the merchant;

获取向所述代付处理企业代付处理的第一代付处理金额数值;Obtain the value of the first generation payment processing amount processed by the payment processing enterprise on behalf of the payment processing enterprise;

比对所述商户的第二账户中的金额数值与所述第一代付处理金额数值;Comparing the value of the amount in the second account of the merchant with the value of the first-generation payment processing amount;

当比对得到所述商户的第二账户中的金额数值大于或者等于所述第一代付处理金额数值时,调用所述配置代付处理额度接口从所述第二账户中配置与所述第一代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。When the value of the amount in the second account of the merchant is greater than or equal to the value of the first agent payment processing amount, the interface for configuring agent payment processing limit is invoked to configure and the first agent payment processing amount from the second account. The amount equivalent to the value of the payment processing amount is applied to the interface corresponding to the first account of the payment processing enterprise.

本实施例中,所述先收后付服务类型是指商户先行准备代付处理资金至银行的第二账户,银行代付处理平台将所述第二账户中的金额数值与向所述代付处理企业代付处理的第一代付处理金额数值进行比对,根据比对结果确认是否对所述代付处理企业的第一账户对应的接口进行金额数值配置,当接收到所述代付处理企业的第一账户对应的接口返回的通过的消息时,确定所述代付处理企业的额度配置处理成功,可以确定所述商户第二账户中金额数值充足,同时计算出所述商户为所述代付处理企业代付处理后所述第二账户中的余额。In this embodiment, the service type of "pay first and pay later" means that the merchant prepares to pay and process funds to the second account of the bank in advance, and the bank's agency payment processing platform compares the value of the amount in the second account with the payment to the agency. Compare the amount value of the first-generation payment processing of the company's agency payment processing, and confirm whether to configure the amount value for the interface corresponding to the first-generation payment processing company's first account according to the comparison result. When receiving the agency payment processing When the passed message is returned by the interface corresponding to the first account of the enterprise, it is determined that the quota configuration process of the payment processing enterprise is successful, and it can be determined that the amount of money in the second account of the merchant is sufficient, and at the same time, it is calculated that the merchant is the The balance in the second account after the agency payment is processed by the company.

进一步的,在比对所述商户的第二账户中的金额数值与所述第一代付处理金额数值的过程中,当比对得到所述商户的第二账户中的金额数值小于所述第一代付处理金额数值时,确定对所述代付处理企业的第一账户的额度配置处理失败;Further, in the process of comparing the value of the amount in the second account of the merchant with the value of the first-generation payment processing amount, when the value of the amount in the second account of the merchant is less than the value of the first payment. When the value of the payment processing amount is determined, it is determined that the processing of the quota configuration of the first account of the payment processing enterprise has failed;

发送模块204:用于向所述商户发送所述第二账户中的金额数值不足的通知消息,其中,所述通知消息包括所述代付处理企业的编号、所述代付处理企业的名称、所述代付处理企业的第一代付处理金额数值及所述第二账户余额。Sending module 204: used to send a notification message that the amount in the second account is insufficient to the merchant, wherein the notification message includes the serial number of the payment processing company, the name of the payment processing company, The value of the first payment processing amount of the payment processing company and the balance of the second account.

本实施例中,由于先收后付服务类型的基本属性是必须先行准备为代付处理企业代付处理的代付处理金额数值,若所述商户的第二账户中的金额数值小于向代付处理企业代付处理的第一代付处理金额数值时,不满足先收后付服务类型的基本属性,银行不支持为所述商户进行代付处理业务的服务,银行代收付系统会及时通知商户,告知所述商户的第二账户中的余额不足,不支持代付处理,同时将不支持代付处理失败原因告知商户,提高商户体验度。In this embodiment, since the basic attribute of the pay-before-pay service type is that the value of the payment processing amount for the payment processing company must be prepared in advance, if the value of the amount in the second account of the merchant is less than that of the payment processing company When processing the first-generation payment processing amount value of enterprise payment processing, it does not meet the basic attributes of the pay-before-pay service type, and the bank does not support the payment processing service for the merchant, and the bank's collection and payment system will notify in time. The merchant informs the merchant that the balance in the second account of the merchant is insufficient and does not support the payment processing, and at the same time informs the merchant of the reason for the failure of the non-supporting payment processing, so as to improve the experience of the merchant.

优选的,所述配置模块203基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理包括:Preferably, the configuration module 203 calls the interface for configuring the payment processing quota based on the payment processing business type of each payment processing enterprise to perform quota configuration processing on the first account of each payment processing enterprise, including:

当确定所述代付处理企业的代付处理业务类型为垫资服务类型时,获取所述商户的第三账户信息和赎回指令;When it is determined that the payment processing business type of the payment processing enterprise is the type of advance service, acquiring the third account information and the redemption instruction of the merchant;

获取向所述代付处理企业代付处理的第二代付处理金额数值;Obtain the value of the second-generation payment processing amount processed by the payment processing company on behalf of the payment processing company;

基于所述赎回指令计算所述第三账户信息中的资金总额;Calculate the total amount of funds in the third account information based on the redemption instruction;

比对所述资金总额与所述第二代付处理金额数值;Comparing the total amount of funds with the value of the second-generation payment processing amount;

当比对得到所述资金总额大于或者等于所述第二代付处理金额数值时,将所述赎回指令和与所述第二代付处理资金总额等值的资金总额过户至预设的第四账户;When it is found that the total amount of funds is greater than or equal to the value of the second-generation payment processing amount, transfer the redemption instruction and the total amount of funds equivalent to the second-generation payment processing funds to the preset No. four accounts;

调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。Calling an interface for configuring an agent payment processing limit to configure an interface corresponding to the first account of the agent payment processing enterprise from the preset fourth account with an amount equivalent to the value of the second agent payment processing amount.

本实施例中,所述垫资服务是指银行预先进行垫付,商户不用预先准备备付金,银行根据所述商户的第三账户信息中的赎回指令及所述赎回指令对应的基金份额计算商户的资金总额,将所述资金总额与向所述代付处理企业代付处理的第二代付处理金额数值进行比对,当所述资金总额大于或者等于所述第二代付处理金额数值时,将所述赎回指令和与所述第二代付处理资金总额等值的资金总额过户至预设的第四账户,调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口,对所述代付处理企业的第一账户对应的接口进行金额数值配置。In this embodiment, the fund advance service means that the bank makes advance payment in advance, and the merchant does not need to prepare the reserve fund in advance. Calculate the total amount of funds of the merchant, and compare the total amount of funds with the value of the second-generation payment processing amount processed by the agency payment processing enterprise. When the total amount of funds is greater than or equal to the second-generation payment processing amount value, transfer the redemption instruction and the total amount of funds equivalent to the second agent payment processing funds to the preset fourth account, and call the configuration agent payment processing quota interface from the preset fourth account. Configure an interface corresponding to the first account of the agency payment processing company with an amount equivalent to the value of the second agency payment processing amount, and configure the amount value for the interface corresponding to the first account of the agency payment processing company.

本实施例中,根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,便于所述商户的资金周转,提高了所述商户的资金周转率和使用率。In this embodiment, the payment processing quota configuration processing is performed according to the payment processing business type of the payment processing enterprise and the attribute of the payment processing business type, and professional customized configuration is realized for the payment processing enterprise, which is convenient for the merchants to The capital turnover improves the capital turnover rate and utilization rate of the merchant.

进一步的,在比对所述资金总额与所述第二代付处理金额数值过程中,当所述资金总额小于所述第二代付处理金额数值时,计算所述资金总额与所述第二代付处理金额数值之差得到缺少的资金,启动资金处理程序从所述商户存在多余金额数值的账户中划出所述缺少的资金至所述预设的第四账户中。Further, in the process of comparing the total amount of funds and the value of the second generation payment processing amount, when the total amount of funds is less than the value of the second generation payment processing amount, calculate the total amount of funds and the second generation payment processing amount. The difference between the value of the payment processing amount to obtain the missing funds, and starting the fund processing program to transfer the missing funds from the account with the surplus value of the merchant to the preset fourth account.

所述配置模块203:还用于当所述预设的第四账户接收到所述缺少的资金到账时,调用配置代付处理额度接口从所述预设的第四账户中配置与所述第二代付处理金额数值等值的额度至所述代付处理企业的第一账户对应的接口。The configuration module 203 is further configured to, when the preset fourth account receives the lack of funds into the account, call an interface to configure the payment processing quota from the preset fourth account to configure and the said preset fourth account. The amount equivalent to the value of the second agency payment processing amount is applied to the interface corresponding to the first account of the agency payment processing enterprise.

本实施例中,每个商户在多个银行渠道都开了账号,资金处理程序会自动计算每个银行渠道帐户是否有足够资金支付商户的代付处理交易,如果没有足够的资金支付所述商户的代付处理交易,资金处理程序将计算所述商户的代付处理交易缺少的资金,并自动从其它存在多余金额数值的账户划出到与预设的垫付资金账号,由于资金调拨的存在,系统无需人工干预即可完成商户的资金代付处理过程,保证了银行代付处理顺利且有序地完成,降低了人工成本。In this embodiment, each merchant has opened an account in multiple bank channels, and the fund processing program will automatically calculate whether each bank channel account has enough funds to pay the merchant's payment processing transaction, and if there is not enough funds to pay the merchant The fund processing program will calculate the missing funds for the merchant's payment processing transactions, and automatically transfer the funds from other accounts with excess amount values to the preset advance fund account. Due to the existence of fund transfer, The system can complete the merchant's fund payment processing process without manual intervention, which ensures the smooth and orderly completion of the bank's payment processing and reduces labor costs.

生成模块205:用于当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令。Generating module 205: used to generate the payment processing mode according to the payment processing business type of each payment processing company and the payment processing mode of the payment processing business type when receiving the quota configuration processing success message of each payment processing enterprise. Different payment processing instructions.

本实施例中,每个所述代付处理业务类型对应不同的代付处理模式,基于每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令,例如,所述垫资服务类型对应的代付处理模式可以实现跨日清算,根据所述垫资服务类型及跨日清算的代付处理模式生成所述垫资服务类型对应的代付处理指令。In this embodiment, each of the payment processing business types corresponds to a different payment processing mode, and different payment processing modes are generated based on the payment processing business type of each payment processing enterprise and the payment processing mode of the payment processing business type. For example, the payment processing mode corresponding to the payment advance service type can realize inter-day clearing, and the payment processing mode corresponding to the payment advance service type is generated according to the payment service type and the payment processing mode of the inter-day clearing. payment processing instructions.

校验模块206:用于校验每个代付处理指令得到校验结果。Verification module 206: used for verifying each proxy payment processing instruction to obtain a verification result.

本实施例中,银行在执行代付处理之前,需要校验每个代付处理指令中对应的代付处理企业的收款方是否正确。In this embodiment, before the bank performs the payment processing, it is necessary to verify whether the payee of the corresponding payment processing enterprise in each payment processing instruction is correct.

优选的,所述校验模块206校验所述代付处理指令得到校验结果包括:Preferably, the verification module 206 verifies the payment processing instruction to obtain a verification result including:

解析所述代付处理指令,获取所述代付处理指令中的代付处理企业的第一账户;Parse the payment processing instruction, and obtain the first account of the payment processing enterprise in the payment processing instruction;

将所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户进行比对;comparing the first account of the payment processing company in the payment processing instruction with the first account of the payment processing company read from the payment processing request;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对一致,得到校验通过的结果;If the first account of the payment processing company in the payment processing instruction is consistent with the first account of the payment processing company read from the payment processing request, a result of verification is obtained;

若所述代付处理指令中的代付处理企业的第一账户与从所述代付处理请求中读取所述代付处理企业的第一账户比对不一致,得到校验不通过的结果。If the first account of the payment processing company in the payment processing instruction is inconsistent with the first account of the payment processing company read from the payment processing request, a result of verification failure is obtained.

本实施例中,商户业务系统提交的代付处理请求中包括代付处理企业的第一账户,读取所述代付处理企业的第一账户,并将所述读取的代付处理企业的第一账户与所述代付处理指令中的代付处理企业的第一账户进行比对,根据比对结果确定是否触发代付处理指令,提高了银行代付处理的准确率。In this embodiment, the payment processing request submitted by the merchant business system includes the first account of the payment processing enterprise, reads the first account of the payment processing enterprise, and converts the read payment processing enterprise's first account. The first account is compared with the first account of the agency payment processing enterprise in the agency payment processing instruction, and whether the agency payment processing instruction is triggered is determined according to the comparison result, which improves the accuracy of bank agency payment processing.

代付处理模块207:用于当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统。An agent payment processing module 207: used to trigger the agent payment processing instruction to perform agent payment processing when the verification result is determined to be passed, and return the agent payment processing result to the merchant business system.

本实施例中,在银行将所述商户的委托的代付处理业务执行完成时,记录执行代付处理业务的过程打包成文件包,将所述文件包以预设的返回方式至所述商户业务系统,其中,所述预设的返回方式可以为自动触发邮件发送,也可以以短信方式进行发送。In this embodiment, when the bank completes the execution of the entrusted payment processing service entrusted by the merchant, it records the process of executing the payment processing service and packages it into a file package, and sends the file package to the merchant in a preset return method. The business system, wherein the preset return mode may be automatically triggered to send an email, or may be sent by a short message.

优选的,在所述代付处理模块207将代付处理结果返回至所述商户的业务系统之后,获取所述代付处理结果中的所述商户的已执行代付处理的账户及已执行代付处理的代付处理企业对应的代付处理业务类型;获取所述代付处理业务类型的代付处理模式;采用所述代付处理模式对所述商户的已执行代付处理的账户进行代付处理清算。Preferably, after the proxy payment processing module 207 returns the proxy payment processing result to the business system of the merchant, it acquires the merchant's account in the proxy payment processing result that has performed proxy payment processing and the proxy payment process that has been executed. The type of the payment processing business corresponding to the payment processing company of the payment processing; obtain the payment processing mode of the payment processing business type; use the payment processing mode to perform the payment processing on the account of the merchant that has performed the payment processing. Payment processing and settlement.

本实施例中,由于每个代付处理业务类型的代付处理模式不同,根据不同的代付处理模式可以实现不同的代付处理清算,若代付处理业务类型为先收后付服务类型时,对应的代付处理模式为实时清算所述商户的账户对所述代付处理企业进行代付处理;若代付处理业务类型为垫资服务类型时,对应的代付处理模式可以实现跨日清算所述商户的账户后对所述代付处理企业进行代付处理,不需要银行手工划转资金至银联清算专户,降低人工清算成本,提高了资金清算效率。In this embodiment, since the payment processing mode of each type of payment processing business is different, different payment processing and settlement can be implemented according to different payment processing modes. , the corresponding payment processing mode is to clear the account of the merchant in real time and perform payment processing on the payment processing enterprise; if the payment processing business type is the advance service type, the corresponding payment processing mode can realize cross-day payment processing. After the account of the merchant is cleared, the payment processing enterprise is performed on behalf of the payment processing company, and the bank does not need to manually transfer the funds to the UnionPay settlement account, thereby reducing the manual clearing cost and improving the fund clearing efficiency.

所述代付处理模块207:还用于当确定所述校验不通过时,不触发所述代付处理指令。The proxy payment processing module 207 is further configured to not trigger the proxy payment processing instruction when it is determined that the verification fails.

本实施例中,在将所述读取的代付处理企业的第一账户与所述代付处理指令中的代付处理企业的第一账户进行比对之后,若校验结果不通过,确定所述代付处理指令中的代付处理企业的第一账户不正确,银行需要重新修正所述代付处理指令中的代付处理企业的第一账户为所述商户提交的代付处理请求中的代付处理企业的第一账户。In this embodiment, after comparing the read first account of the payment processing company with the first account of the payment processing company in the payment processing instruction, if the verification result fails, determine The first account of the payment processing company in the payment processing instruction is incorrect, and the bank needs to re-amend the first account of the payment processing company in the payment processing instruction to be in the payment processing request submitted by the merchant. The first account of the payment processing company.

综上所述,本实施例所述的一种银行代收付装置,通过接收商户业务系统的代付处理请求,其中,每个代付处理请求中对应有多个代付处理信息;解析每个代付处理信息得到每个代付处理企业的代付处理业务类型;基于每个代付处理企业的代付处理业务类型调用配置代付处理额度的接口对每个代付处理企业的第一账户进行额度配置处理;当接收到每个代付处理企业的额度配置处理成功消息时,根据每个代付处理企业的代付处理业务类型及所述代付处理业务类型的代付处理模式生成不同的代付处理指令;校验每个所述代付处理指令得到校验结果;当确定所述校验结果为校验通过时,触发所述代付处理指令进行代付处理,并将代付处理结果返回至所述商户业务系统,本实施例一方面通过根据代付处理企业的代付处理业务类型按照代付处理业务类型的属性进行代付处理额度配置处理,对代付处理企业实现了专业的定制化配置,便于所述商户的资金周转,提高了所述商户的资金周转率和使用率;另一方面在所述商户的权益帐户中没有足够资金支付商户的代付处理交易,资金处理程序将计算缺少的资金,并自动从其它存在多余金额数值的账户划出到与预设的垫付资金账号,由于资金调拨的存在,系统无需人工干预即可完成商户的资金代付处理过程,保证了银行代付处理顺利且有序地完成,降低了人工成本;最后,由于每个代付处理业务类型的代付处理模式不同,根据不同的代付处理模式可以实现不同的代付处理清算,若代付处理业务类型为垫资服务类型,所述垫资服务类型对应的代付处理模式可以实现跨日清算对所述商户的账户进行代付处理清算,不需要银行手工划转资金至银联清算专户,提高了资金清算效率。To sum up, a bank agent collection and payment device described in this embodiment receives an agent payment processing request from a merchant business system, wherein each agent payment processing request corresponds to a plurality of agent payment processing information; Get the payment processing business type of each agency payment processing company based on the payment processing information; call the interface for configuring the payment processing quota based on the payment processing business type of each agency payment processing company. The account performs quota configuration processing; when receiving the successful message of the quota configuration processing of each agency payment processing enterprise, it is generated according to the agency payment processing business type of each agency payment processing enterprise and the agency payment processing mode of the agency payment processing business type. Different proxy payment processing instructions; verify each said proxy payment processing instruction to obtain a verification result; when it is determined that the verification result is passed, the proxy payment processing instruction is triggered to perform proxy payment processing, and the proxy payment processing instruction will be executed. The payment processing result is returned to the merchant business system. On the one hand, in this embodiment, according to the payment processing business type of the payment processing enterprise, the payment processing quota configuration processing is performed according to the attribute of the payment processing business type. A professional customized configuration is provided, which facilitates the capital turnover of the merchant, and improves the capital turnover rate and utilization rate of the merchant; The funds processing program will calculate the missing funds, and automatically transfer the funds from other accounts with excess value to the preset advance funds account. Due to the existence of funds transfer, the system can complete the merchant's fund payment processing process without manual intervention. , which ensures the smooth and orderly completion of the bank's agency payment processing and reduces labor costs; finally, due to the different agency payment processing modes for each agency payment processing business type, different agency payment processing modes can be realized according to different agency payment processing modes. Clearing, if the payment processing business type is the advance service type, the payment processing mode corresponding to the advance payment service type can realize inter-day settlement to perform payment processing and settlement on the merchant's account without the need for banks to manually transfer funds. To the UnionPay settlement account, the efficiency of fund settlement has been improved.

实施例三Embodiment 3

参阅图3所示,为本发明实施例三提供的终端的结构示意图。在本发明较佳实施例中,所述终端3包括存储器31、至少一个处理器32、至少一条通信总线33及收发器34。Referring to FIG. 3 , it is a schematic structural diagram of a terminal according to Embodiment 3 of the present invention. In a preferred embodiment of the present invention, the terminal 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .

本领域技术人员应该了解,图3示出的终端的结构并不构成本发明实施例的限定,既可以是总线型结构,也可以是星形结构,所述终端3还可以包括比图示更多或更少的其他硬件或者软件,或者不同的部件布置。Those skilled in the art should understand that the structure of the terminal shown in FIG. 3 does not constitute a limitation of the embodiments of the present invention, and may be a bus-type structure or a star-shaped structure, and the terminal 3 may also include more More or less other hardware or software, or a different arrangement of components.

在一些实施例中,所述终端3是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的终端,其硬件包括但不限于微处理器、专用集成电路、可编程门阵列、数字处理器及嵌入式设备等。所述终端3还可包括客户设备,所述客户设备包括但不限于任何一种可与客户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、数码相机等。In some embodiments, the terminal 3 is a terminal that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit, a Programming gate arrays, digital processors, and embedded devices. The terminal 3 may also include client equipment, including but not limited to any electronic product that can perform human-computer interaction with the client through a keyboard, a mouse, a remote control, a touchpad, or a voice-activated device, for example, a personal Computers, Tablets, Smartphones, Digital Cameras, etc.

需要说明的是,所述终端3仅为举例,其他现有的或今后可能出现的电子产品如可适应于本发明,也应包含在本发明的保护范围以内,并以引用方式包含于此。It should be noted that the terminal 3 is only an example, and other existing or future electronic products that can be adapted to the present invention should also be included in the protection scope of the present invention, and are incorporated herein by reference.

在一些实施例中,所述存储器31用于存储程序代码和各种数据,例如安装在所述终端3中的银行代收付装置20,并在终端3的运行过程中实现高速、自动地完成程序或数据的存取。所述存储器31包括只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(ErasableProgrammable Read-Only Memory,EPROM)、一次可编程只读存储器(One-timeProgrammable Read-Only Memory,OTPROM)、电子擦除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。In some embodiments, the memory 31 is used to store program codes and various data, such as the bank payment and collection device 20 installed in the terminal 3 , and realizes high-speed and automatic completion during the operation of the terminal 3 access to programs or data. Described memory 31 comprises read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), CompactDisc Read-Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

在一些实施例中,所述至少一个处理器32可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述至少一个处理器32是所述终端3的控制核心(Control Unit),利用各种接口和线路连接整个终端3的各个部件,通过运行或执行存储在所述存储器31内的程序或者模块,以及调用存储在所述存储器31内的数据,以执行终端3的各种功能和处理数据。In some embodiments, the at least one processor 32 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one Or a combination of multiple central processing units (Central Processing Units, CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The at least one processor 32 is the control core (Control Unit) of the terminal 3, and uses various interfaces and lines to connect the various components of the entire terminal 3, and by running or executing programs or modules stored in the memory 31, And call the data stored in the memory 31 to execute various functions of the terminal 3 and process data.

在一些实施例中,所述至少一条通信总线33被设置为实现所述存储器31以及所述至少一个处理器32等之间的连接通信。In some embodiments, the at least one communication bus 33 is configured to enable connection communication between the memory 31 and the at least one processor 32 and the like.

尽管未示出,所述终端3还可以包括给各个部件供电的电源(比如电池),优选的,电源可以通过电源管理装置与所述至少一个处理器32逻辑相连,从而通过电源管理装置实现管理充电、放电、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述终端3还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。Although not shown, the terminal 3 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 32 through a power management device, so as to achieve management through the power management device Charge, discharge, and power management functions. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The terminal 3 may further include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only used for illustration, and are not limited by this structure in the scope of the patent application.

上述以软件功能模块的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分。The above-mentioned integrated units implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a terminal, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present invention. part.

在进一步的实施例中,结合图2,所述至少一个处理器32可执行所述终端3的操作装置以及安装的各类应用程序(如所述的银行代收付装置20)、程序代码等,例如,上述的各个模块。In a further embodiment, referring to FIG. 2 , the at least one processor 32 can execute the operating device of the terminal 3 and various types of installed application programs (such as the bank payment and collection device 20 ), program codes, etc. , for example, the various modules above.

所述存储器31中存储有程序代码,且所述至少一个处理器32可调用所述存储器31中存储的程序代码以执行相关的功能。例如,图2中所述的各个模块是存储在所述存储器31中的程序代码,并由所述至少一个处理器32所执行,从而实现所述各个模块的功能以达到银行代收付的目的。Program codes are stored in the memory 31, and the at least one processor 32 can call the program codes stored in the memory 31 to perform related functions. For example, each module described in FIG. 2 is a program code stored in the memory 31 and executed by the at least one processor 32, thereby realizing the functions of the various modules to achieve the purpose of bank collection and payment .

在本发明的一个实施例中,所述存储器31存储多个指令,所述多个指令被所述至少一个处理器32所执行以实现银行代收付的功能。In an embodiment of the present invention, the memory 31 stores a plurality of instructions, and the plurality of instructions are executed by the at least one processor 32 to implement the function of bank collection and payment.

具体地,所述至少一个处理器32对上述指令的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above instruction by the at least one processor 32, reference may be made to the description of the relevant steps in the embodiment corresponding to FIG. 1 , and details are not described herein.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division manners in actual implementation.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and range of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or, and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method for receiving and paying on behalf of a bank, the method comprising:
receiving payment withholding processing requests of a merchant service system, wherein each payment withholding processing request carries a plurality of payment withholding processing information;
analyzing the plurality of generation payment processing information to obtain a generation payment processing service type of each generation payment processing enterprise;
calling an interface for configuring a payment-for-delivery processing limit based on the payment-for-delivery processing service type of each payment-for-delivery processing enterprise to perform limit configuration processing on a first account of each payment-for-delivery processing enterprise;
when receiving the successful message of quota configuration processing of each agent payment processing enterprise, generating different agent payment processing instructions according to the agent payment processing service type of each agent payment processing enterprise and the agent payment processing mode of the agent payment processing service type;
verifying each payment substitute processing instruction to obtain a verification result;
and when the verification result is confirmed to be passed, triggering the payment withholding processing instruction to carry out payment withholding processing, and returning the payment withholding processing result to the merchant service system.
2. The method for bank payment processing according to claim 1, wherein the calling the interface for configuring the payment processing credit based on the payment processing business type of each payment processing enterprise to perform credit configuration processing on the first account of each payment processing enterprise comprises:
when the type of the payment-for-generation processing business of the payment-for-generation processing enterprise is determined to be a first-receiving-and-later-paying service type, acquiring a sum value in a second account of the merchant;
acquiring a first generation payment processing amount value of the generation payment processing enterprise;
comparing the amount value in the second account of the merchant with the first generation payment processing amount value;
and when the sum value in the second account of the merchant is larger than or equal to the first generation payment processing sum value, calling the configured generation payment processing sum value interface to configure a sum value equivalent to the first generation payment processing sum value from the second account to an interface corresponding to the first account of the generation payment processing enterprise.
3. A bank payment method according to claim 2, wherein the bank payment method further comprises:
and when the comparison result shows that the amount value in the second account of the merchant is smaller than the first generation payment processing amount value, the first account sends a notification message that the amount value in the second account is insufficient to the merchant, wherein the notification message comprises the number of the generation payment processing enterprise, the name of the generation payment processing enterprise, the first generation payment processing amount value of the generation payment processing enterprise and the balance of the second account.
4. The method for bank payment processing according to claim 1, wherein the calling the interface for configuring the payment processing credit based on the payment processing business type of each payment processing enterprise to perform credit configuration processing on the first account of each payment processing enterprise comprises:
when the type of the payment-for-generation processing business of the payment-for-generation processing enterprise is determined to be a bedding service type, acquiring third account information and a redemption instruction of the merchant;
acquiring a second generation payment processing amount value of the generation payment processing enterprise;
calculating a total amount of funds in the third account information based on the redemption instruction;
comparing the total amount of the fund with the second generation payment processing amount value;
when the total fund amount is larger than or equal to the second-generation payment processing amount value through comparison, drawing the redemption instruction and the consumption share equivalent to the second-generation payment processing total fund amount into a preset fourth account;
and calling a configured withholding amount interface to configure an amount equivalent to the value of the second withholding amount from the preset fourth account to an interface first account corresponding to the first account of the withholding enterprise.
5. A bank payment method according to claim 4, wherein the bank payment method further comprises:
when the total amount of the fund is smaller than the second-generation payment processing amount value through comparison, calculating the difference between the total amount of the fund and the second-generation payment processing amount value to obtain the missing fund;
starting a fund processing program to draw the lacking fund from the account of the merchant with the surplus amount value into the preset fourth account;
and when the preset fourth account receives the missing fund to be paid, calling a configuration payment-for-delivery processing amount interface to configure an amount equivalent to the numerical value of the second generation payment processing amount to an interface corresponding to the first account of the payment-for-delivery processing enterprise from the preset fourth account.
6. A method for receiving and paying a bank as claimed in claim 1, wherein said verifying said payment-for-delivery processing instruction to obtain a verification result comprises:
analyzing the payment agency processing instruction, and acquiring a first account of a payment agency processing enterprise in the payment agency processing instruction;
comparing the first account of the payment-for-delivery processing enterprise in the payment-for-delivery processing instruction with the first account of the payment-for-delivery processing enterprise read from the payment-for-delivery processing request;
if the first account of the payment-for-delivery processing enterprise in the payment-for-delivery processing instruction is consistent with the first account of the payment-for-delivery processing enterprise read from the payment-for-delivery processing request in comparison, obtaining a result of passing verification;
and if the comparison between the first account of the payment agency processing enterprise in the payment agency processing instruction and the first account of the payment agency processing enterprise read from the payment agency processing request is inconsistent, obtaining a result that the verification fails.
7. The method of bank collect-payment according to claim 1, wherein the parsing the plurality of collect-payment processing information to obtain the collect-payment processing business type of each collect-payment processing enterprise comprises:
decomposing each payment-for-delivery processing information into a plurality of field information in a preset format according to a preset analysis rule;
and identifying the plurality of field information to obtain the type of the payment agency processing service of each payment agency processing enterprise.
8. A bank payment and receipt apparatus, comprising:
the receiving module is used for receiving payment withholding processing requests of the merchant service system, wherein each payment withholding processing request carries a plurality of payment withholding processing information;
the analysis module is used for analyzing the plurality of generation payment processing information to obtain the generation payment processing service type of each generation payment processing enterprise;
the configuration module is used for calling an interface for configuring the credit line of the payment-for-delivery processing based on the type of the payment-for-delivery processing service of each payment-for-delivery processing enterprise to configure the credit line of the first account of each payment-for-delivery processing enterprise;
the generation module is used for generating different generation payment processing instructions according to the generation payment processing service type of each generation payment processing enterprise and the generation payment processing mode of the generation payment processing service type when receiving the credit line configuration processing success message of each generation payment processing enterprise;
the verification module is used for verifying each payment substitute processing instruction to obtain a verification result;
and the payment-replacing processing module is used for triggering the payment-replacing processing instruction to perform payment-replacing processing when the verification result is determined to be passed, and returning the payment-replacing processing result to the merchant service system.
9. A terminal, characterized in that the terminal comprises a processor for implementing a bank payment method according to any one of claims 1 to 7 when executing a computer program stored in a memory.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of bank payment/receipt according to any one of claims 1 to 7.
CN202010474288.1A 2020-05-29 2020-05-29 Bank payment method and device, terminal and storage medium Expired - Fee Related CN111640006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010474288.1A CN111640006B (en) 2020-05-29 2020-05-29 Bank payment method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010474288.1A CN111640006B (en) 2020-05-29 2020-05-29 Bank payment method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111640006A true CN111640006A (en) 2020-09-08
CN111640006B CN111640006B (en) 2023-05-02

Family

ID=72331538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010474288.1A Expired - Fee Related CN111640006B (en) 2020-05-29 2020-05-29 Bank payment method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111640006B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112598406A (en) * 2020-12-21 2021-04-02 中国工商银行股份有限公司 Automatic payment substituting method based on protocol, acquiring bank server and system
CN113535762A (en) * 2021-07-14 2021-10-22 北京数码视讯支付技术有限公司 Secure account payment substitution method and device
CN115034892A (en) * 2022-06-28 2022-09-09 中国工商银行股份有限公司 Fund write-off methods, apparatus, electronic equipment, media and program products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413241A (en) * 2013-07-12 2013-11-27 广州银联网络支付有限公司 Bank reception and payment system
CN108038684A (en) * 2017-12-28 2018-05-15 泰康保险集团股份有限公司 A kind of method of payment, device, medium and electronic equipment
CN110020839A (en) * 2018-12-04 2019-07-16 阿里巴巴集团控股有限公司 Method for processing business, apparatus and system
CN110633970A (en) * 2019-09-19 2019-12-31 深圳前海环融联易信息科技服务有限公司 Digital asset sorting method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413241A (en) * 2013-07-12 2013-11-27 广州银联网络支付有限公司 Bank reception and payment system
CN108038684A (en) * 2017-12-28 2018-05-15 泰康保险集团股份有限公司 A kind of method of payment, device, medium and electronic equipment
CN110020839A (en) * 2018-12-04 2019-07-16 阿里巴巴集团控股有限公司 Method for processing business, apparatus and system
CN110633970A (en) * 2019-09-19 2019-12-31 深圳前海环融联易信息科技服务有限公司 Digital asset sorting method and device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112598406A (en) * 2020-12-21 2021-04-02 中国工商银行股份有限公司 Automatic payment substituting method based on protocol, acquiring bank server and system
CN113535762A (en) * 2021-07-14 2021-10-22 北京数码视讯支付技术有限公司 Secure account payment substitution method and device
CN113535762B (en) * 2021-07-14 2024-01-26 北京数码视讯支付技术有限公司 Secure account payment method and device
CN115034892A (en) * 2022-06-28 2022-09-09 中国工商银行股份有限公司 Fund write-off methods, apparatus, electronic equipment, media and program products

Also Published As

Publication number Publication date
CN111640006B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN113379523A (en) Bill generation method, device, medium and electronic equipment
CN114240652B (en) A business system rule generation method and device
EP2492862A1 (en) Enterprise resource planning (ERP) integrator system and method
CN107220895B (en) Virtual resource transfer value statistical method and device
CN113723959A (en) Account cancellation management method, system, device, equipment and medium
CN111640006B (en) Bank payment method and device, terminal and storage medium
CN110730097B (en) Internet technology architecture construction method and device, electronic equipment and medium
US11870697B2 (en) Methods and systems for parallel processing of batch communications during data validation
CN114881739B (en) Order event processing method and device, electronic device and storage medium
CN111008895A (en) A repayment method, device, equipment and storage medium for internet finance
CN120579969A (en) Payment service processing method, device, equipment and medium based on process engine
WO2006124135A2 (en) Centralized payment processing system
CN111861735A (en) Information processing method, device, system and medium for financing
CN111949337A (en) Accounting processing method, device, terminal and storage medium
CN108694588B (en) Virtual resource request method and terminal device
CN116167770A (en) A transaction concurrent processing method and device for a bank's high-frequency hotspot pool account
CN115760447A (en) A method, device, equipment and medium for processing abnormal accounting data
CN114169873A (en) Payment method, payment device, computing equipment and storage medium
CN112950364A (en) Repayment method, device, equipment and storage medium
CN111626873A (en) Data processing method and device, storage medium and electronic terminal
CN115660660A (en) Payment processing method and device, computer equipment and storage medium
CN114219442A (en) Data processing method, apparatus, equipment and medium
CN112529692A (en) Merchant risk auditing method, device and equipment and readable storage medium
CN113822765A (en) Data processing method, device, system, medium and electronic equipment
CN115456802B (en) An insurance event processing system based on digital currency

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230502