[go: up one dir, main page]

CN110807627B - A cross-unit electricity bill settlement method, device and system - Google Patents

A cross-unit electricity bill settlement method, device and system Download PDF

Info

Publication number
CN110807627B
CN110807627B CN201911056767.5A CN201911056767A CN110807627B CN 110807627 B CN110807627 B CN 110807627B CN 201911056767 A CN201911056767 A CN 201911056767A CN 110807627 B CN110807627 B CN 110807627B
Authority
CN
China
Prior art keywords
accounting
payment
settlement
unit
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911056767.5A
Other languages
Chinese (zh)
Other versions
CN110807627A (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.)
Guowang Xiongan Finance Technology Group Co ltd
State Grid Corp of China SGCC
State Grid Digital Technology Holding Co Ltd
State Grid Huitong Jincai Beijing Information Technology Co Ltd
Original Assignee
Guowang Xiongan Finance Technology Group Co ltd
State Grid Corp of China SGCC
State Grid Digital Technology Holding Co Ltd
State Grid Huitong Jincai Beijing Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guowang Xiongan Finance Technology Group Co ltd, State Grid Corp of China SGCC, State Grid Digital Technology Holding Co Ltd, State Grid Huitong Jincai Beijing Information Technology Co Ltd filed Critical Guowang Xiongan Finance Technology Group Co ltd
Priority to CN201911056767.5A priority Critical patent/CN110807627B/en
Publication of CN110807627A publication Critical patent/CN110807627A/en
Application granted granted Critical
Publication of CN110807627B publication Critical patent/CN110807627B/en
Active 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • 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/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a cross-unit electric charge settlement method, which comprises the following steps: receiving the electric charge combined settlement requests of all accounting units, and generating payment orders according to the electric charge combined settlement requests; paying the amount to be paid in the payment order according to a target payment mode to obtain a payment running water; determining an accounting main body according to each accounting unit contained in the payment running water in the settlement period; determining the total amount of accounting corresponding to the accounting main body according to the amount of accounting in the payment flowing water in the settlement period; and transferring the total amount of the accounting to an agreement account corresponding to the accounting main body. In the method, the payment for the electric charge of a plurality of accounting units can be realized at one time, and when the payment is finished, the accounting total amount is transferred to the corresponding accounting main body in the settlement period, so that the settlement efficiency is improved compared with the settlement of a single accounting unit.

Description

一种跨单位电费结算方法、装置及系统A cross-unit electricity bill settlement method, device and system

技术领域technical field

本发明涉及支付结算技术领域,尤其涉及一种跨单位电费结算方法、装置及系统。The invention relates to the technical field of payment and settlement, in particular to a method, device and system for cross-unit electricity bill settlement.

背景技术Background technique

现有的电费结算支持微信、支付宝、银行卡等支付方式,但是,无论采用那种支付方式都需要核算单位在各个支付机构单独开户并签署协议才可以完成结算。The existing electricity bill settlement supports payment methods such as WeChat, Alipay, and bank cards. However, no matter which payment method is adopted, the accounting unit needs to open an account and sign an agreement in each payment institution to complete the settlement.

发明人对现有的接结算方式进行研究发现,现有的结算过程只能针对单户支付,单核算单位结算,而实际中同一用户可能存在需要对多个核算单位进行支付,需要重复执行上述的结算过程,结算效率低。The inventors have studied the existing settlement methods and found that the existing settlement process can only be used for single-account payment and single-accounting unit settlement. settlement process, the settlement efficiency is low.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供了一种跨单位电费结算方法、装置及系统,用以解决现有的结算过程只能针对单户支付,单核算单位结算,而实际中同一用户可能存在需要对多个核算单位进行支付,需要重复执行上述的结算过程,结算效率低的问题。具体方案如下:In view of this, the present invention provides a cross-unit electricity bill settlement method, device and system, to solve the problem that the existing settlement process can only be paid for a single household and settled by a single accounting unit. For payment by an accounting unit, the above-mentioned settlement process needs to be repeated, and the settlement efficiency is low. The specific plans are as follows:

一种跨单位电费结算方法,包括:A cross-unit electricity bill settlement method, comprising:

接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;Receive the electricity bill consolidated settlement request from each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request;

依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;Pay the amount to be paid in the payment order according to the target payment method, and obtain the payment flow;

依据结算周期内支付流水中包含的各个核算单位确定核算主体;Determine the accounting subject according to each accounting unit included in the payment flow during the settlement period;

依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;Determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period;

将核算总金额转账给对应核算主体的协议账户上。Transfer the total accounting amount to the agreement account of the corresponding accounting subject.

上述的方法,可选的,接收各个用户的电费合并结算请求,依据所述电费合并结算请求生成支付订单,包括:In the above method, optionally, receiving the electricity bill consolidated settlement request from each user, and generating a payment order according to the electricity bill consolidated settlement request, including:

依据所述电费合并结算请求,生成销售订单;generating a sales order according to the electricity bill consolidated settlement request;

将所述销售订单与订单号建立关联,生成支付订单。Associate the sales order with the order number to generate a payment order.

上述的方法,可选的,依据目标支付方式对所述支付订单中待支付金额进行支付之前,还包括:The above method, optionally, before paying the amount to be paid in the payment order according to the target payment method, further includes:

获取所述支付订单中的订单号;Obtain the order number in the payment order;

判断所述订单号是否满足预设的订单规则。It is judged whether the order number satisfies a preset order rule.

上述的方法,可选的,依据结算周期内支付流水中包含的各个核算单位确定核算主体,包括:The above method, optionally, determines the accounting subject according to each accounting unit included in the payment flow in the settlement period, including:

获取结算周期内支付流水中各个核算单位的核算标识;Obtain the accounting identification of each accounting unit in the payment flow during the settlement period;

依据所述核算标识,确定所述各个核算单位的核算主体。According to the accounting identification, the accounting subject of each accounting unit is determined.

上述的方法,可选的,依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额,包括:In the above method, optionally, the total accounting amount corresponding to the accounting subject is determined according to the accounting amount in the payment flow in the settlement period, including:

在所述结算周期内,获取所述支付流水中所述核算主体包含的各个核算单位的核算金额;During the settlement period, obtain the accounting amount of each accounting unit included in the accounting subject in the payment flow;

将各个核算金额进行累加求和并扣除手续费,得到核算总金额。Accumulate and sum each accounting amount and deduct the handling fee to obtain the total accounting amount.

一种跨单位电费结算装置,包括:A cross-unit electricity bill settlement device, comprising:

接收和生成模块,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;The receiving and generating module is used to receive the electricity bill consolidated settlement request of each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request;

支付模块,用于依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;a payment module, configured to pay the amount to be paid in the payment order according to the target payment method, and obtain the payment flow;

第一确定模块,用于依据结算周期内支付流水中包含的各个核算单位确定核算主体;The first determination module is used to determine the accounting subject according to each accounting unit included in the payment flow in the settlement period;

第二确定模块,用于依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;a second determining module, configured to determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period;

转账模块,用于将核算总金额转账给对应核算主体的协议账户上。The transfer module is used to transfer the total accounting amount to the agreement account of the corresponding accounting subject.

上述的装置,可选的,所述支付模块中依据目标支付方式对所述支付订单中待支付金额进行支付之前,还包括:The above device, optionally, before the payment module pays the amount to be paid in the payment order according to the target payment method, further comprising:

第一获取单元,用于获取所述支付订单中的订单号;a first obtaining unit, used to obtain the order number in the payment order;

判断单元,用于判断所述订单号是否满足预设的订单规则。A judging unit for judging whether the order number satisfies a preset order rule.

上述的装置,可选的,所述第一确定模块包括:In the above device, optionally, the first determining module includes:

第二获取单元,用于获取结算周期内支付流水中各个核算单位的核算标识;The second obtaining unit is used to obtain the accounting identification of each accounting unit in the payment flow in the settlement period;

确定单元,用于依据所述核算标识,确定所述各个核算单位的核算主体。A determining unit, configured to determine the accounting subject of each accounting unit according to the accounting identification.

上述的装置,可选的,所述第二确定模块包括:In the above device, optionally, the second determining module includes:

第三获取单元,用于在所述结算周期内,获取所述支付流水中所述核算主体包含的各个核算单位的核算金额;a third obtaining unit, configured to obtain, within the settlement period, the accounting amount of each accounting unit included in the accounting subject in the payment flow;

累加扣除单元,用于将各个核算金额进行累加求和并扣除手续费,得到核算总金额。The accumulative deduction unit is used to accumulate and sum each accounting amount and deduct the handling fee to obtain the total accounting amount.

一种跨单位电费结算系统,包括:商户协议模块、支付机构接入模块、结算模块和支付模块,其中:A cross-unit electricity bill settlement system, comprising: a merchant agreement module, a payment institution access module, a settlement module and a payment module, wherein:

所述商户协议模块,用于将各个核算单位与支付模块建立商户协议;The merchant agreement module is used to establish a merchant agreement between each accounting unit and the payment module;

所述支付机构接入模块,用于为所述支付模块提供第三方支付机构对接端口;the payment institution access module, configured to provide a third-party payment institution docking port for the payment module;

所述结算模块,用于依据结算周期内的流水信息确定核算主体和核算总金额;The settlement module is used to determine the accounting subject and the total accounting amount according to the flow information in the settlement period;

所述支付模块,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单,依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水,获取所述结算模块中的核算主体和核算总金额,将核算总金额转账给对应核算主体的协议账户上。The payment module is configured to receive the electricity bill consolidated settlement request from each accounting unit, generate a payment order according to the electricity bill consolidated settlement request, pay the amount to be paid in the payment order according to the target payment method, obtain the payment flow, and obtain all the information. According to the accounting subject and the total accounting amount in the settlement module, transfer the total accounting amount to the agreement account of the corresponding accounting subject.

与现有技术相比,本发明包括以下优点:Compared with the prior art, the present invention includes the following advantages:

本发明公开了一种跨单位电费结算方法,包括:接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;依据结算周期内支付流水中包含的各个核算单位确定核算主体;依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;将核算总金额转账给对应核算主体的协议账户上。上述的方法中,可以实现一次为多个核算单位的电费进行支付,当支付完成时,在所述结算周期内,将核算总金额转账给对应的核算主体,相较于单核算单位结算,提高了结算效率。The invention discloses a cross-unit electricity bill settlement method, which includes: receiving electricity bills consolidated settlement requests from various accounting units, generating a payment order according to the electricity bill consolidated settlement requests; paying the amount to be paid in the payment order according to a target payment method , obtain the payment flow; determine the accounting subject according to each accounting unit included in the payment flow in the settlement period; determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period; transfer the total accounting amount to On the agreement account of the corresponding accounting subject. In the above method, it is possible to pay the electricity charges for multiple accounting units at one time, and when the payment is completed, the total accounting amount is transferred to the corresponding accounting entity within the settlement period, which is more efficient than settlement by a single accounting unit. settlement efficiency.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative effort.

图1为本申请实施例公开的一种跨单位电费结算系统结构框图;1 is a structural block diagram of a cross-unit electricity bill settlement system disclosed in an embodiment of the present application;

图2为本申请实施例公开的一种跨单位电费结算方法流程图;FIG. 2 is a flowchart of a method for cross-unit electricity bill settlement disclosed in an embodiment of the present application;

图3为本申请实施例公开的一种跨单位电费结算装置结构框图。FIG. 3 is a structural block diagram of a cross-unit electricity bill settlement apparatus disclosed in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明公开了一种跨单位电费结算方法、装置及系统,应用在电费结算过程中,由于不同的省份结算可能存在不同的缴费规则,如预付费、后付费、费控用户;并且要对接不同的支付机构就会导致有不同的实现方式和流程;不同省份间的对账规则亦存在巨大差异;不同省份的结算规则也存在差异。因此,现有的结算过程只能针对单户支付,单核算单位结算,而实际中同一用户可能存在需要对多个核算单位进行支付,需要重复执行上述的结算过程,结算效率低,基于上述的问题,本发明提供了一种跨单位电费结算系统,所述结算系统的执行流程如图1所示,包括:商户协议模块101、支付机构接入模块102、结算模块103和支付模块104,其中:The invention discloses a cross-unit electricity fee settlement method, device and system, which are applied in the electricity fee settlement process. Different payment rules may exist for settlement in different provinces, such as prepaid, postpaid, and fee control users; Different payment institutions will lead to different implementation methods and processes; there are also huge differences in the reconciliation rules between different provinces; there are also differences in the settlement rules in different provinces. Therefore, the existing settlement process can only be used for single-account payment and single-accounting unit settlement. In practice, the same user may need to pay for multiple accounting units, and the above-mentioned settlement process needs to be repeated, resulting in low settlement efficiency. Problem, the present invention provides a cross-unit electricity bill settlement system. The execution flow of the settlement system is shown in FIG. 1, including: a merchant agreement module 101, a payment institution access module 102, a settlement module 103 and a payment module 104, wherein :

所述商户协议模块101,用于将各个核算单位与支付模块建立商户协议;The merchant agreement module 101 is used to establish a merchant agreement between each accounting unit and the payment module;

本发明实施例中,在实现跨单位电费结算之前,需要将各个结算单位与所述支付模块建立商户协议,建立过程如下:由所述支付模块来给核算单位分配一个商户,其中,所述核算单位以商户的形式存在所述支付模块中,且以商户的身份够买一些服务类产品,比如购买电费代收产品。购买产品后就会产生与用户、服务类产品相关的一个协议,叫做商户协议。比如该协议记录了,购买产品的时间、商户、产品的类型、结算的账户等等。分配商户并购买产品产生协议后,商户便可开始对接所述支付模块的支付功能,通过后台、前台(app/h5)等多种方式一起与所述支付模块进行技术对接;In the embodiment of the present invention, before realizing cross-unit electricity bill settlement, it is necessary to establish a merchant agreement between each settlement unit and the payment module. The establishment process is as follows: the payment module assigns a merchant to the accounting unit, wherein the accounting The unit exists in the payment module in the form of a merchant, and can buy some service products as a merchant, such as purchasing electricity bill collection products. After purchasing the product, an agreement related to the user and service products will be generated, which is called the merchant agreement. For example, the agreement records the time of purchasing the product, the merchant, the type of the product, the account for settlement, and so on. After allocating merchants and purchasing products to generate an agreement, the merchant can start to connect the payment function of the payment module, and perform technical connection with the payment module through various methods such as the background and the front desk (app/h5);

所述支付机构接入模块102,用于为所述支付模块提供第三方支付机构对接端口;The payment institution access module 102 is configured to provide a third-party payment institution docking port for the payment module;

本发明实施例中,所述支付机构接入模块用于为所述支付模块提供第三方支付机构对接端口,通过所述对接端口为所述支付模块提供了基础的第三方支付机 构对接功能,其中包含各种银行卡、支付宝、微信、交费赢等等。In the embodiment of the present invention, the payment institution access module is configured to provide the payment module with a third-party payment institution docking port, and the payment module is provided with a basic third-party payment institution docking function through the docking port, wherein Including various bank cards, Alipay, WeChat, pay to win, etc.

进一步的,通过对应的对接端口还可以与各个核算单位的支付、查询、退款、对账服务等等功能进行技术对接。Further, through the corresponding docking port, it is also possible to perform technical docking with functions such as payment, inquiry, refund, and account reconciliation services of various accounting units.

所述结算模块103,用于依据结算周期内的流水信息确定核算主体和核算总金额;The settlement module 103 is used to determine the accounting subject and the total accounting amount according to the flow information in the settlement period;

本发明实施例中,在结算周期内,所述流水信息包括:支付订单号、用户id、交易时间、支付金额、支付方式、支付状态、银行卡号等信息。比如某一条流水记录,XXXX用户在XXX时间下用尾号为XXXX的工商银行卡支付了以XX元,依据银行卡号和/或用户ID等信息可以确定所述结算周期内包含的各个核算主体,针对每一个核算主体,在完成商户代收功能后,还需将代收的支付金额转帐到商户的协议账户上,对每一个核算主体中包含的各个支付金额进行累加,费在转账之前还要计算出需要扣掉的手续费等费用,得到核算总金额。In the embodiment of the present invention, during the settlement period, the flow information includes: payment order number, user id, transaction time, payment amount, payment method, payment status, bank card number and other information. For example, for a certain flow record, XXXX user paid XX yuan with the ICBC card ending in XXXX at XXX time. According to the bank card number and/or user ID and other information, each accounting subject included in the settlement cycle can be determined. For each accounting subject, after completing the merchant's collection function, it is necessary to transfer the payment amount collected on behalf of the merchant to the merchant's agreement account, and accumulate each payment amount contained in each accounting subject. Calculate the fees and other expenses that need to be deducted, and get the total amount of accounting.

进一步的,所述结算模块103同时要兼容多种不同代收产品的结算功能,并要做到稳定、快速等特点。Further, the settlement module 103 should be compatible with the settlement functions of a variety of different collection products at the same time, and should be stable and fast.

所述支付模块103,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单,依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水,获取所述结算模块中的核算主体和核算总金额,将核算总金额转账给对应核算主体的协议账户上。The payment module 103 is configured to receive the electricity bill consolidated settlement request from each accounting unit, generate a payment order according to the electricity bill consolidated settlement request, pay the amount to be paid in the payment order according to the target payment method, obtain the payment flow, and obtain The accounting subject and the total accounting amount in the settlement module transfer the total accounting amount to the agreement account corresponding to the accounting subject.

本发明实施例中,所述支付模块104用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单,在各个支付方式中选取目标支付方式,依据所述目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水,获取所述结算模块102中的核算主体和核算总金额,将核算总金额转账给对应核算主体的协议账户上。In the embodiment of the present invention, the payment module 104 is configured to receive the electricity bill consolidated settlement request from each accounting unit, generate a payment order according to the electricity bill consolidated settlement request, select a target payment method from each payment method, and select the target payment method according to the target payment method. Pay the amount to be paid in the payment order, obtain the payment flow, obtain the accounting subject and the total accounting amount in the settlement module 102, and transfer the total accounting amount to the agreement account corresponding to the accounting subject.

本发明实施例中,针对上述的结算系统,某营销核算单位在所述支付模块103开通商户并签订协议的前提下,用户在该核算单位下完成交费下单,跳转到支付网关,由支付网关来完成与各个支付机构的对接、包含支付、查询、退款等功能。在支付完成后统一接收支付机构的通知回调,并处理后通知电费业务端执行后续业务。通常以核算主体为单位、根据商户协议模块的协议规则计算交费笔数、金额、手续费等,生成结算单并进行审批付款,其中,所述协议规则包含商户名称、商户号、产品编号、资金结算账号、手续费计算方式、手续费结算方式、结算周期等。In the embodiment of the present invention, for the above settlement system, on the premise that a marketing accounting unit opens a merchant and signs an agreement in the payment module 103, the user completes the payment and places an order under the accounting unit, and then jumps to the payment gateway. Payment gateway to complete the docking with various payment institutions, including payment, query, refund and other functions. After the payment is completed, the notification callback from the payment institution is uniformly received, and after processing, the electricity bill service end is notified to execute the follow-up service. Usually, the accounting subject is the unit, according to the agreement rules of the merchant agreement module to calculate the number of payment transactions, the amount, the handling fee, etc., to generate a settlement document and to approve the payment, wherein the agreement rules include the merchant name, merchant number, product number, Fund settlement account number, fee calculation method, fee settlement method, settlement cycle, etc.

本发明实施例中,基于上述的结算系统,电费下单的支付流程包括:通过缴费APP生成下单请求到支付机构,生成销售订单,为所述销售订单添加订单号等信息生成支付订单,将订单号反馈给所述缴费APP,依据所述订单号请求支付列表,获取所述支付列表并返回到所述缴费APP,选取目标支付方式,发起支付,进行支付,生成支付流水,调用目标支付方式预下单,返回支付订单号调用目标支付方式SDK并展示支付列表,所述目标支付方式SDK发起支付请求,将支付结果反馈给所述目标支付方式SDK并展示,依据所述支付结果进行销账和修改支付订单等处理。In the embodiment of the present invention, based on the above settlement system, the payment process for placing an electricity bill includes: generating an order request to a payment institution through a payment APP, generating a sales order, adding information such as an order number to the sales order to generate a payment order, The order number is fed back to the payment APP, the payment list is requested according to the order number, the payment list is obtained and returned to the payment APP, the target payment method is selected, the payment is initiated, the payment is made, the payment flow is generated, and the target payment method is called Pre-order, return the payment order number to call the target payment method SDK and display the payment list, the target payment method SDK initiates a payment request, feeds back the payment result to the target payment method SDK and displays it, and writes off the account according to the payment result and modification of payment orders, etc.

基于上述的结算系统,本发明实施例中提供了一种跨单位电费结算方法,所述结算方法的执行流程如图2所示,包括步骤:Based on the above settlement system, an embodiment of the present invention provides a cross-unit electricity bill settlement method. The execution flow of the settlement method is shown in FIG. 2 , including the steps:

S201、接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;S201. Receive a combined electricity bill settlement request from each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request;

本发明实施例中,针对当前用户,可以对多个核算单位的电费进行支付,当所述当前用户通过电费缴费APP选定多个核算单位的电费进行结算时,会产生电费合并结算请求,接收所述电费合并结算请求,其中,所述电费合并结算请求中包含:核算单位的名称、核算金额、请求提交的时间等,首先依据所述电费合并结算请求生成,销售订单,将所述销售订单发送给所述支付模块103,其中,所述支付模块103依据所述销售订单生成订单号,并将所述订单号与所述销售订单建立关联,生成支付订单。In this embodiment of the present invention, for the current user, the electricity charges of multiple accounting units can be paid, and when the current user selects the electricity charges of multiple accounting units to settle the electricity charges through the electricity charge payment APP, a combined electricity charge settlement request will be generated and received The electricity bill consolidated settlement request, wherein the electricity bill consolidated settlement request includes: the name of the accounting unit, the accounting amount, the time for submitting the request, etc. Send it to the payment module 103, wherein the payment module 103 generates an order number according to the sales order, and associates the order number with the sales order to generate a payment order.

S202、依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;S202. Pay the amount to be paid in the payment order according to the target payment method, and obtain a payment flow;

本发明实施例中,依据目标支付方式对所述支付订单中待支付金额进行支付之前,根据支付订单信息拉起支付sdk,sdk对支付订单信息进行有效性校验,获取所述支付订单中的订单号,判断所述订单号是否满足预设的订单规则,其中,所述预设的订单规则可以依据具体情况进行设定,用于判定所述订单号是所述支付模块103添加的,若是,在各个支付方式中选取目标支付方式,依据所述目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水,其中,所述各个支付方式包括:银行卡、支付宝、微信等。此时,只是将所述待支付金额支付给了所述支付模块,并没有支付给对应的核算单位。若否,放弃对所述支付订单的支付。In the embodiment of the present invention, before paying the amount to be paid in the payment order according to the target payment method, the payment SDK is pulled up according to the payment order information, and the SDK verifies the validity of the payment order information, and obtains the information in the payment order. order number, to determine whether the order number satisfies a preset order rule, wherein the preset order rule can be set according to specific circumstances, and is used to determine that the order number is added by the payment module 103, if , select a target payment method from each payment method, pay the amount to be paid in the payment order according to the target payment method, and obtain a payment flow, wherein the various payment methods include: bank card, Alipay, WeChat, etc. At this time, the amount to be paid is only paid to the payment module, but not paid to the corresponding accounting unit. If not, the payment for the said payment order is abandoned.

S203、依据结算周期内支付流水中包含的各个核算单位确定核算主体;S203. Determine the accounting subject according to each accounting unit included in the payment flow in the settlement period;

本发明实施例中,获取结算周期内支付流水中各个核算单位的核算标识,其中,所述核算标识可以为数字、字母或者数字和字母的组合等形式,本发明实施例中,对所述核算标识的存在形式不进行限定,查找各个核算标识中标识相同或者存在关联关系的各个核算单位,在各个核算主体中查找与所述当前核算标识相同的核算主体。其中,对所述核算主体与所述核算单位的关系进行举例,例如:所述核算主体可以为A单位的总公司,其对应的核算单位为A单位的各个分公司。In the embodiment of the present invention, the accounting identification of each accounting unit in the payment flow in the settlement period is obtained, wherein the accounting identification may be in the form of numbers, letters, or a combination of numbers and letters. The existence form of the identification is not limited, search for each accounting unit with the same identification or an associated relationship in each accounting identification, and search for an accounting entity that is the same as the current accounting identification in each accounting subject. The relationship between the accounting subject and the accounting unit is given as an example, for example, the accounting subject may be the head office of the A unit, and the corresponding accounting unit is each branch of the A unit.

S204、依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;S204. Determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period;

本发明实施例中,针对每一个核算主体,在所述结算周期内,将属于当前核算主体的各个核算单位的核算金额进行累加并扣除对应的手续费,得到所述核算总金额。In the embodiment of the present invention, for each accounting subject, in the settlement period, the accounting amount of each accounting unit belonging to the current accounting subject is accumulated and the corresponding handling fee is deducted to obtain the total accounting amount.

S205、将核算总金额转账给对应核算主体的协议账户上。S205, transfer the total accounting amount to the agreement account corresponding to the accounting subject.

本发明实施例中,将所述核算总金额转账给对应的核算主体,在由对应的核算主体转账给对应的核算单位,完成跨单位电费结算。其中,转账的过程如下:所述结算模块102根据当前的日期、及结算周期确定结算账务日期,比如计算周期为7天,则8号时开始处理1号的交易。从订单及流水信息中联合抽取1号当天特定产品类别的交易汇总信息,如总交易金额、总交易笔数等。并根据汇总信息、及手续费计算规则(在商户协议中)来计算出本次应该收取的手续费。并记录结算金额时,结算到哪个银行账号下。上述信息的汇总便是结算单数据。每天跑批获取结算单数据,审核后,最终将资金通过银行打到商户协议的账户上。In the embodiment of the present invention, the total accounting amount is transferred to the corresponding accounting subject, and then the corresponding accounting subject is transferred to the corresponding accounting unit to complete the cross-unit electricity bill settlement. The transfer process is as follows: the settlement module 102 determines the settlement date according to the current date and the settlement cycle. For example, if the calculation cycle is 7 days, the transaction of No. 1 will be processed on the 8th. The transaction summary information of a specific product category on the 1st day is jointly extracted from the order and flow information, such as the total transaction amount, the total number of transactions, etc. And according to the summary information and the handling fee calculation rules (in the merchant agreement) to calculate the handling fee that should be charged this time. When recording the settlement amount, which bank account should be settled to. The summary of the above information is the statement data. Run batches every day to obtain settlement data, and after review, finally transfer the funds to the account of the merchant agreement through the bank.

本发明公开了一种跨单位电费结算方法,包括:接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;依据结算周期内支付流水中包含的各个核算单位确定核算主体;依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;将核算总金额转账给对应核算主体的协议账户上。上述的方法中,可以实现一次为多个核算单位的电费进行支付,当支付完成时,在所述结算周期内,将核算总金额转账给对应的核算主体,相较于单核算单位结算,提高了结算效率。The invention discloses a cross-unit electricity bill settlement method, which includes: receiving electricity bills consolidated settlement requests from various accounting units, generating a payment order according to the electricity bill consolidated settlement requests; paying the amount to be paid in the payment order according to a target payment method , obtain the payment flow; determine the accounting subject according to each accounting unit included in the payment flow in the settlement period; determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period; transfer the total accounting amount to On the agreement account of the corresponding accounting subject. In the above method, it is possible to pay the electricity charges for multiple accounting units at one time, and when the payment is completed, the total accounting amount is transferred to the corresponding accounting entity within the settlement period, which is more efficient than settlement by a single accounting unit. settlement efficiency.

本发明实施例中,本发明是将原来的网状业务,改为多对一对多的星状业务。简化了结构,丰富了业务。为用户提供了更灵活的多户交费业务基础,提供了多种渠道的支付方式,为电力公司提供了统一的结算渠道。In the embodiment of the present invention, the present invention changes the original mesh service into a many-to-one star service. Simplified the structure and enriched the business. It provides users with a more flexible multi-family payment business basis, provides a variety of payment methods, and provides a unified settlement channel for power companies.

基于上述的一种跨单位电费结算方法,本发明实施例中,还提供了一种跨单位电费结算装置,其中,所述结算装置的结构框图如图3所示,包括:Based on the above-mentioned cross-unit electricity bill settlement method, in the embodiment of the present invention, a cross-unit electricity bill settlement device is also provided, wherein the structure block diagram of the settlement device is shown in FIG. 3 , including:

接收和生成模块301、支付模块302、第一确定模块303、第二确定模块 304和转账模块305。Receiving and generating module 301, payment module 302, first determination module 303, second determination module 304 and transfer module 305.

其中,in,

所述接收和生成模块301,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;The receiving and generating module 301 is configured to receive the electricity bill consolidated settlement request of each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request;

所述支付模块302,用于依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;The payment module 302 is configured to pay the amount to be paid in the payment order according to the target payment method, and obtain the payment flow;

所述第一确定模块303,用于依据结算周期内支付流水中包含的各个核算单位确定核算主体;The first determining module 303 is configured to determine the accounting subject according to each accounting unit included in the payment flow in the settlement period;

所述第二确定模块304,用于依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;The second determining module 304 is configured to determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period;

所述转账模块305,用于将核算总金额转账给对应核算主体的协议账户上。The transfer module 305 is used to transfer the total accounting amount to the agreement account corresponding to the accounting subject.

本发明公开了一种跨单位电费结算装置,包括:接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;依据结算周期内支付流水中包含的各个核算单位确定核算主体;依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;将核算总金额转账给对应核算主体的协议账户上。上述的装置中,可以实现一次为多个核算单位的电费进行支付,当支付完成时,在所述结算周期内,将核算总金额转账给对应的核算主体,相较于单核算单位结算,提高了结算效率。The invention discloses a cross-unit electricity bill settlement device, comprising: receiving electricity bills consolidated settlement requests from various accounting units, generating a payment order according to the electricity bills consolidated settlement requests; paying the amount to be paid in the payment order according to a target payment method , obtain the payment flow; determine the accounting subject according to each accounting unit included in the payment flow in the settlement period; determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period; transfer the total accounting amount to On the agreement account of the corresponding accounting subject. In the above-mentioned device, it is possible to pay for the electricity charges of multiple accounting units at one time, and when the payment is completed, the total accounting amount is transferred to the corresponding accounting entity within the settlement period, which is more efficient than settlement by a single accounting unit. settlement efficiency.

本发明实施例中,所述支付模块中依据目标支付方式对所述支付订单中待支付金额进行支付之前,还包括:In the embodiment of the present invention, before paying the amount to be paid in the payment order according to the target payment method, the payment module further includes:

第一获取单元306和判断单元307。The first obtaining unit 306 and the judging unit 307 .

其中,in,

所述第一获取单元306,用于获取所述支付订单中的订单号;The first obtaining unit 306 is used to obtain the order number in the payment order;

所述判断单元307,用于判断所述订单号是否满足预设的订单规则。The judging unit 307 is configured to judge whether the order number satisfies a preset order rule.

本发明实施例中,所述第一确定模块303包括:In this embodiment of the present invention, the first determining module 303 includes:

第二获取单元308和确定单元309。The second acquisition unit 308 and the determination unit 309 .

其中,in,

所述第二获取单元308,用于获取结算周期内支付流水中各个核算单位的核算标识;The second obtaining unit 308 is configured to obtain the accounting identifiers of each accounting unit in the payment flow in the settlement period;

所述确定单元309,用于依据所述核算标识,确定所述各个核算单位的核算主体。The determining unit 309 is configured to determine the accounting subject of each accounting unit according to the accounting identification.

本发明实施例中,所述第二确定模块304包括:In this embodiment of the present invention, the second determining module 304 includes:

第三获取单元310和累加扣除单元311。The third acquisition unit 310 and the accumulation and deduction unit 311 .

所述第三获取单元310,用于在所述结算周期内,获取所述支付流水中所述核算主体包含的各个核算单位的核算金额;The third obtaining unit 310 is configured to obtain, within the settlement period, the accounting amount of each accounting unit included in the accounting subject in the payment flow;

所述累加扣除单元311,用于将各个核算金额进行累加求和并扣除手续费,得到核算总金额。The accumulating and deducting unit 311 is configured to accumulate and sum each accounting amount and deduct the handling fee to obtain the total accounting amount.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts among the various embodiments, refer to each other Can. As for the apparatus-type embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this document, relational terms such as first and second are used only to distinguish one entity or operation from another, and do not necessarily require or imply these entities or that there is any such actual relationship or sequence between operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本发明时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing the present invention, the functions of each unit may be implemented in one or more software and/or hardware.

通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products can be stored in storage media, such as ROM/RAM, magnetic disks, etc. , CD, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.

以上对本发明所提供的一种跨单位电费结算方法、装置及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A cross-unit electricity bill settlement method, device and system provided by the present invention are described in detail above. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used to help understanding The method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be It is construed as a limitation of the present invention.

Claims (9)

1.一种跨单位电费结算方法,其特征在于,包括:1. a cross-unit electricity bill settlement method, is characterized in that, comprises: 接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;Receive the electricity bill consolidated settlement request from each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request; 依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;Pay the amount to be paid in the payment order according to the target payment method, and obtain the payment flow; 依据结算周期内支付流水中包含的各个核算单位确定核算主体;Determine the accounting subject according to each accounting unit included in the payment flow during the settlement period; 依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;Determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period; 将核算总金额转账给对应核算主体的协议账户上;Transfer the total accounting amount to the agreement account of the corresponding accounting subject; 接收各个用户的电费合并结算请求,依据所述电费合并结算请求生成支付订单,包括:Receive the electricity bill consolidated settlement request from each user, and generate a payment order according to the electricity bill consolidated settlement request, including: 依据所述电费合并结算请求,生成销售订单;generating a sales order according to the electricity bill consolidated settlement request; 将所述销售订单与订单号建立关联,生成支付订单。Associate the sales order with the order number to generate a payment order. 2.根据权利要求1所述的方法,其特征在于,依据目标支付方式对所述支付订单中待支付金额进行支付之前,还包括:2. The method according to claim 1, wherein before paying the amount to be paid in the payment order according to the target payment method, the method further comprises: 获取所述支付订单中的订单号;Obtain the order number in the payment order; 判断所述订单号是否满足预设的订单规则。It is judged whether the order number satisfies a preset order rule. 3.根据权利要求1所述的方法,其特征在于,依据结算周期内支付流水中包含的各个核算单位确定核算主体,包括:3. The method according to claim 1, wherein determining the accounting subject according to each accounting unit included in the payment flow in the settlement cycle, comprising: 获取结算周期内支付流水中各个核算单位的核算标识;Obtain the accounting identification of each accounting unit in the payment flow during the settlement period; 依据所述核算标识,确定所述各个核算单位的核算主体。According to the accounting identification, the accounting subject of each accounting unit is determined. 4.根据权利要求1所述的方法,其特征在于,依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额,包括:4. The method according to claim 1, wherein determining the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period, comprising: 在所述结算周期内,获取所述支付流水中所述核算主体包含的各个核算单位的核算金额;During the settlement period, obtain the accounting amount of each accounting unit included in the accounting subject in the payment flow; 将各个核算金额进行累加求和并扣除手续费,得到核算总金额。Accumulate and sum each accounting amount and deduct the handling fee to obtain the total accounting amount. 5.一种跨单位电费结算装置,其特征在于,包括:5. A cross-unit electricity bill settlement device, characterized in that, comprising: 接收和生成模块,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单;The receiving and generating module is used to receive the electricity bill consolidated settlement request of each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request; 支付模块,用于依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水;a payment module, configured to pay the amount to be paid in the payment order according to the target payment method, and obtain the payment flow; 第一确定模块,用于依据结算周期内支付流水中包含的各个核算单位确定核算主体;The first determination module is used to determine the accounting subject according to each accounting unit included in the payment flow in the settlement period; 第二确定模块,用于依据所述结算周期内支付流水中的核算金额确定所述核算主体对应的核算总金额;a second determining module, configured to determine the total accounting amount corresponding to the accounting subject according to the accounting amount in the payment flow in the settlement period; 转账模块,用于将核算总金额转账给对应核算主体的协议账户上;The transfer module is used to transfer the total accounting amount to the agreement account of the corresponding accounting subject; 所述接收和生成模块,用于接收各个用户的电费合并结算请求,依据所述电费合并结算请求生成支付订单,具体包括:The receiving and generating module is configured to receive the electricity bill consolidated settlement request from each user, and generate a payment order according to the electricity bill consolidated settlement request, which specifically includes: 依据所述电费合并结算请求,生成销售订单;generating a sales order according to the electricity bill consolidated settlement request; 将所述销售订单与订单号建立关联,生成支付订单。Associate the sales order with the order number to generate a payment order. 6.根据权利要求5所述的装置,其特征在于,所述支付模块中依据目标支付方式对所述支付订单中待支付金额进行支付之前,还包括:6. The device according to claim 5, wherein before paying the amount to be paid in the payment order according to the target payment method in the payment module, the method further comprises: 第一获取单元,用于获取所述支付订单中的订单号;a first obtaining unit, used to obtain the order number in the payment order; 判断单元,用于判断所述订单号是否满足预设的订单规则。A judging unit for judging whether the order number satisfies a preset order rule. 7.根据权利要求5所述的装置,其特征在于,所述第一确定模块包括:7. The apparatus according to claim 5, wherein the first determining module comprises: 第二获取单元,用于获取结算周期内支付流水中各个核算单位的核算标识;The second obtaining unit is used to obtain the accounting identification of each accounting unit in the payment flow in the settlement period; 确定单元,用于依据所述核算标识,确定所述各个核算单位的核算主体。A determining unit, configured to determine the accounting subject of each accounting unit according to the accounting identification. 8.根据权利要求5所述的装置,其特征在于,所述第二确定模块包括:8. The apparatus according to claim 5, wherein the second determining module comprises: 第三获取单元,用于在所述结算周期内,获取所述支付流水中所述核算主体包含的各个核算单位的核算金额;a third obtaining unit, configured to obtain, within the settlement period, the accounting amount of each accounting unit included in the accounting subject in the payment flow; 累加扣除单元,用于将各个核算金额进行累加求和并扣除手续费,得到核算总金额。The accumulative deduction unit is used to accumulate and sum each accounting amount and deduct the handling fee to obtain the total accounting amount. 9.一种跨单位电费结算系统,其特征在于,包括:商户协议模块、支付机构接入模块、结算模块和支付模块,其中:9. A cross-unit electricity bill settlement system, comprising: a merchant agreement module, a payment institution access module, a settlement module and a payment module, wherein: 所述商户协议模块,用于将各个核算单位与支付模块建立商户协议;The merchant agreement module is used to establish a merchant agreement between each accounting unit and the payment module; 所述支付机 构接入模块,用于为所述支付模块提供第三方支付机构对接端口;The payment institution access module is used to provide a third-party payment institution docking port for the payment module; 所述结算模块,用于依据结算周期内的流水信息确定核算主体和核算总金额;The settlement module is used to determine the accounting subject and the total accounting amount according to the flow information in the settlement period; 所述支付模块,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单,依据目标支付方式对所述支付订单中待支付金额进行支付,得到支付流水,获取所述结算模块中的核算主体和核算总金额,将核算总金额转账给对应核算主体的协议账户上;The payment module is configured to receive the electricity bill consolidated settlement request from each accounting unit, generate a payment order according to the electricity bill consolidated settlement request, pay the amount to be paid in the payment order according to the target payment method, obtain the payment flow, and obtain the payment flow. the accounting subject and the total accounting amount in the settlement module, and transfer the total accounting amount to the agreement account of the corresponding accounting subject; 所述支付模块,用于接收各个核算单位的电费合并结算请求,依据所述电费合并结算请求生成支付订单,具体包括:The payment module is configured to receive the electricity bill consolidated settlement request from each accounting unit, and generate a payment order according to the electricity bill consolidated settlement request, which specifically includes: 依据所述电费合并结算请求,生成销售订单;generating a sales order according to the electricity bill consolidated settlement request; 将所述销售订单与订单号建立关联,生成支付订单。Associate the sales order with the order number to generate a payment order.
CN201911056767.5A 2019-10-31 2019-10-31 A cross-unit electricity bill settlement method, device and system Active CN110807627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911056767.5A CN110807627B (en) 2019-10-31 2019-10-31 A cross-unit electricity bill settlement method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911056767.5A CN110807627B (en) 2019-10-31 2019-10-31 A cross-unit electricity bill settlement method, device and system

Publications (2)

Publication Number Publication Date
CN110807627A CN110807627A (en) 2020-02-18
CN110807627B true CN110807627B (en) 2022-07-26

Family

ID=69489946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911056767.5A Active CN110807627B (en) 2019-10-31 2019-10-31 A cross-unit electricity bill settlement method, device and system

Country Status (1)

Country Link
CN (1) CN110807627B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003132295A (en) * 2002-08-16 2003-05-09 Yamato Transport Co Ltd Settlement intermediary method
US8401970B1 (en) * 2010-12-29 2013-03-19 Amazon Technologies, Inc. System and method for reusing payment authorizations
CN104657843A (en) * 2015-03-06 2015-05-27 上海玖纳信息科技有限公司 Cross-border on-line automatic customs clearance and reconciliation method and system
CN106779647A (en) * 2017-02-27 2017-05-31 广州云移信息科技有限公司 A kind of payment and settlement method and system
CN108241969A (en) * 2017-12-22 2018-07-03 北京车和家信息技术有限公司 Order is split and the method and system of payment, computer equipment
CN109102268A (en) * 2017-06-21 2018-12-28 百联电子商务有限公司 It is a kind of for polymerize payment reconciliation method and apparatus
CN110288330A (en) * 2019-05-29 2019-09-27 心医国际数字医疗系统(大连)有限公司 Replaceable aggregated payment method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655950A (en) * 2009-06-30 2010-02-24 阿里巴巴集团控股有限公司 Method, device and system for realizing merging payment
US20120116955A1 (en) * 2010-11-04 2012-05-10 The Prosser Group LLC Charging purchases to utility accounts
CN104850993A (en) * 2015-06-01 2015-08-19 走遍世界(北京)信息技术有限公司 Payment method and apparatus
CN105405007A (en) * 2015-11-19 2016-03-16 成都连银信息技术有限公司 Unified account processing system supporting multiple types of payment channels
CN106357751A (en) * 2016-08-31 2017-01-25 国网山东省电力公司阳信县供电公司 Client browser electric charge payment system
CN107644302A (en) * 2017-10-16 2018-01-30 广州云系信息科技有限公司 Cross-platform order accounting method, device, movable termination and payment system
CN108038681A (en) * 2017-12-21 2018-05-15 知而行(上海)营销咨询有限公司 cross-merchant transaction payment information processing method
CN109284990A (en) * 2018-08-27 2019-01-29 阿里巴巴集团控股有限公司 A kind of amount balance system and method
CN109299096A (en) * 2018-09-25 2019-02-01 阿里巴巴集团控股有限公司 A kind of processing method of pipelined data, device and equipment
CN109615353B (en) * 2018-09-29 2023-10-03 创新先进技术有限公司 Payment method and device
CN109858880A (en) * 2019-01-28 2019-06-07 广州供电局有限公司 A kind of integration operation method for power industry
CN110084682A (en) * 2019-04-29 2019-08-02 携程计算机技术(上海)有限公司 Order audits settlement method, system, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003132295A (en) * 2002-08-16 2003-05-09 Yamato Transport Co Ltd Settlement intermediary method
US8401970B1 (en) * 2010-12-29 2013-03-19 Amazon Technologies, Inc. System and method for reusing payment authorizations
CN104657843A (en) * 2015-03-06 2015-05-27 上海玖纳信息科技有限公司 Cross-border on-line automatic customs clearance and reconciliation method and system
CN106779647A (en) * 2017-02-27 2017-05-31 广州云移信息科技有限公司 A kind of payment and settlement method and system
CN109102268A (en) * 2017-06-21 2018-12-28 百联电子商务有限公司 It is a kind of for polymerize payment reconciliation method and apparatus
CN108241969A (en) * 2017-12-22 2018-07-03 北京车和家信息技术有限公司 Order is split and the method and system of payment, computer equipment
CN110288330A (en) * 2019-05-29 2019-09-27 心医国际数字医疗系统(大连)有限公司 Replaceable aggregated payment method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mechanism Design for Near Real-Time Retail Payment and Settlement Systems;Zhiling Guo等;《2015 48th Hawaii International Conference on System Sciences》;20151231;第4824-4833页 *
多层商户支付系统架构设计(中):分账;新媒体之家;《https://www.cnwebe.com/articles/38816.html》;20190823;第1-5页 *

Also Published As

Publication number Publication date
CN110807627A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
US8676704B2 (en) Method for transferring funds
RU2566965C2 (en) Systems and methods for payment of customer bills using payment platform of biller
CN110264214B (en) Transaction bill generation and verification method, device and equipment
JP6059319B1 (en) Price payment management system and price payment management method
CN112184240A (en) Refund request processing method and device
CN1742287A (en) Systems and methods for online commerce
US20110093387A1 (en) System and method for non-credit card billers to accept credit card payments
JP5785272B2 (en) Unsecured funding system for credit card merchants by purchasing uncertain future credit receivables
JP2023120038A (en) Information processing apparatus
US20220277276A1 (en) Credit Card As a Foreign Exchange Market Card
CN113627922B (en) Logistics data processing method and device, storage medium and electronic equipment
CN112581111B (en) A payment method, device and electronic equipment for data to be paid
JP4282882B2 (en) Spending management system, spending management method, and storage medium
CN110807627B (en) A cross-unit electricity bill settlement method, device and system
JP7330412B1 (en) Information processing device, information processing method and information processing program
CN111062708A (en) Payment gateway capable of configuring payment mode according to needs and implementation method
AU2019236610A1 (en) Online platform for creating, presenting and paying bills
WO2024027533A1 (en) Settlement method and apparatus based on digital currency wallet system, and wallet system
CN112967047B (en) Settlement method, device, device, storage medium, and program product
JP2023152766A (en) Information processing device, information processing method and information processing program
JP2023152609A (en) Information processing device, information processing method and information processing program
JP2023151466A (en) Information processing device, information processing method, and information processing program
US20090319406A1 (en) Systems and Methods for Efficient Bill Payment
JP2001229284A (en) Rate collection system for electricity, gas and water
KR100889208B1 (en) Method and system of integrated payment management in keyword advertising

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
CB02 Change of applicant information

Address after: 100032 room 8018, 8 / F, building 7, Guangyi street, Xicheng District, Beijing

Applicant after: State Grid Digital Technology Holdings Co.,Ltd.

Applicant after: STATE GRID CORPORATION OF CHINA

Applicant after: Guowang Xiongan Finance Technology Group Co.,Ltd.

Address before: 8018, building 7, Guangyi street, Xicheng District, Beijing 100053

Applicant before: STATE GRID ELECTRONIC COMMERCE Co.,Ltd.

Applicant before: STATE GRID CORPORATION OF CHINA

Applicant before: STATE GRID XIONG'AN FINANCIAL TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20220706

Address after: 100032 room 8018, 8 / F, building 7, Guangyi street, Xicheng District, Beijing

Applicant after: State Grid Digital Technology Holdings Co.,Ltd.

Applicant after: STATE GRID CORPORATION OF CHINA

Applicant after: Guowang Xiongan Finance Technology Group Co.,Ltd.

Applicant after: STATE GRID HUITONG JINCAI (BEIJING) INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 100032 room 8018, 8 / F, building 7, Guangyi street, Xicheng District, Beijing

Applicant before: State Grid Digital Technology Holdings Co.,Ltd.

Applicant before: STATE GRID CORPORATION OF CHINA

Applicant before: Guowang Xiongan Finance Technology Group Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant