CN109493210A - Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain - Google Patents

Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain Download PDF

Info

Publication number
CN109493210A
CN109493210A CN201811129458.1A CN201811129458A CN109493210A CN 109493210 A CN109493210 A CN 109493210A CN 201811129458 A CN201811129458 A CN 201811129458A CN 109493210 A CN109493210 A CN 109493210A
Authority
CN
China
Prior art keywords
refund
reconciliation
account
block chain
transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811129458.1A
Other languages
Chinese (zh)
Inventor
臧爽爽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811129458.1A priority Critical patent/CN109493210A/en
Publication of CN109493210A publication Critical patent/CN109493210A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Landscapes

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

Abstract

The present invention provides a kind of refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain, it include: when monitoring refund request, it is requested according to the refund, execute transaction of refunding, and refund transaction journal is generated, and the refund transaction journal is written in the account book of each block chain node;It according to the refund transaction journal in the account book of each block chain node, trades to the refund and carries out reconciliation, and when reconciliation result is not inconsistent for reconciliation, execute reconciliation diagnostic operation;According to current reconciliation diagnostic result, corresponding tune account strategy is executed, and after tune account strategy execution completion, the reconciliation operation of the transaction of refunding is continued to execute, until reconciliation result is consistent for reconciliation.The present invention can timely and effectively solve refund reconciliation and not be inconsistent, and improve the timeliness and accuracy of refund reconciliation.

Description

Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain
Technical field
The present invention relates to the technical field of block chain more particularly to a kind of refund account checking method based on block chain, device, Equipment and readable storage medium storing program for executing.
Background technique
In the loan transaction supervised by force, internet financial institution provides platform and provides a loan for individual application, and audit is by turning It is made loans by cooperative bank and is tendered guarantee by guarantee corporation, borrower needs to bank paying principal and interest, and public to guarantee Take charge of payment guarantee service charge.For the bank without batch button ability, cooperative bank's authorization loan platform is on behalf of withholing capital, interest It is transferred to cooperative bank and guarantee corporation's account respectively with guarantee services expense.It is each in above-mentioned business for the safety on trading Corresponding reconciliation operation must be completed between participant, to check out the abnormal transaction and transaction record mistake that are likely to occur.
However, current external participates in mechanism, if the data of bank and guarantee corporation cannot often timely feedback, reconciliation work Work is accordingly delayed, and timeliness substantially reduces, and the fund clearing period is long, and fund cannot be solved effectively in time extremely, And the accuracy and integrality of the reconciliation data of bank's offer can not all investigate.
Therefore, how timely and effectively to solve refund reconciliation not being inconsistent, the timeliness and accuracy for improving refund reconciliation are mesh Preceding urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide a kind of refund account checking method based on block chain, device, equipment and readable Storage medium, it is intended to timely and effectively solve refund reconciliation and not be inconsistent, improve the timeliness and accuracy of refund reconciliation.
To achieve the above object, the present invention provides a kind of refund account checking method based on block chain, described to be based on block chain Refund account checking method the following steps are included:
It when monitoring refund request, is requested according to the refund, executes to refund and trade, and generate refund transaction journal, And the refund transaction journal is written in the account book of each block chain node;
It according to the refund transaction journal in the account book of each block chain node, trades to the refund and carries out reconciliation, and right When account result is not inconsistent for reconciliation, reconciliation diagnostic operation is executed;
According to current reconciliation diagnostic result, corresponding tune account strategy is executed, and after tune account strategy execution completion, The reconciliation operation for continuing to execute the transaction of refunding, until reconciliation result is consistent for reconciliation.
Optionally, it is requested according to the refund, executing the step of refunding transaction includes:
Information of withholing in advance is read from refund request, and reads repayment amount from the pre- information of withholing, refund Account, lending bank's account and guarantee corporation's account;
Judge whether the remaining sum in the refund account is greater than or equal to the repayment amount;
If the remaining sum in the refund account is greater than or equal to the repayment amount, institute is deducted from the refund account State repayment amount;
By in the repayment amount refund capital and refund interest be divided into lending bank's account, and by the refund Guarantee services in the amount of money, which are taken, is divided into guarantee corporation's account.
Optionally, by the refund capital and refund interest cut-in lending bank's account in the repayment amount the step of Later, further includes:
The refund capital and refund interest for whether increasing the corresponding amount of money in lending bank's account determined;
If increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that it refunds successfully, And to each block chain node broadcasts;
If not increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that refund and lose It loses, and to each block chain node broadcasts.
Optionally, the refund transaction journal in the account book according to each block chain node is traded to the refund and is carried out The step of reconciliation includes:
The refund transaction journal of the transaction of refunding is obtained from the account book of the first block chain node, and is handed over from the refund Serial number and transaction amount are read in easy flowing water;
Judge in the account book of the second block chain node with the presence or absence of the refund transaction journal comprising the serial number;
If there is the refund transaction journal comprising the serial number in the account book of the second block chain node, the friendship is judged Whether the easy amount of money is identical as the transaction amount in the refund transaction journal comprising the serial number;
If the transaction amount is identical as the transaction amount in the refund transaction journal comprising the serial number, it is determined that institute The reconciliation result for stating transaction of refunding is consistent for reconciliation, otherwise determines that the reconciliation result for refunding transaction is not inconsistent for reconciliation.
Optionally, described when reconciliation result is not inconsistent for reconciliation, execute reconciliation diagnostic operation the step of include:
When reconciliation result is not inconsistent for reconciliation, the serial number of the transaction of refunding is obtained, and is read from service database Refund transaction journal comprising the serial number;
It will include the refund transaction journal of the serial number in service database, with going back in the account book of each block chain node Money transaction journal is checked.
Optionally, the refund transaction journal in the account book according to each block chain node is traded to the refund and is carried out Before the step of reconciliation, further includes:
The account book write-in duration of the refund transaction journal is recorded, and determines whether to trigger according to account book write-in duration Reconciliation instruction;
If triggering reconciliation instruction, then follow the steps: according to the refund transaction journal in the account book of each block chain node, to institute It states refund transaction and carries out reconciliation.
Optionally, the refund account checking method based on block chain further include:
Every reconciliation operation for executing the primary transaction of refunding, then record a reconciliation number;
Reach preset times in the reconciliation number, and when reconciliation result is not inconsistent for reconciliation, gives refunds transaction correspondence Refund transaction journal mark, and stop executing the reconciliation operation of the transaction of refunding.
In addition, to achieve the above object, it is described to be based on the present invention also provides a kind of refund account checking apparatus based on block chain The refund account checking apparatus of block chain includes:
Accounting module of trading is executed to refund and be traded for being requested according to the refund when monitoring refund request, and Refund transaction journal is generated, and the refund transaction journal is written in the account book of each block chain node;
Reconciliation module, for the refund transaction journal in the account book according to each block chain node, to the refund trade into Row reconciliation, and when reconciliation result is not inconsistent for reconciliation, execute reconciliation diagnostic operation;
Account module is adjusted, for executing corresponding tune account strategy according to current reconciliation diagnostic result, and in the tune account strategy It executes after completing, the reconciliation operation of the transaction of refunding is continued to execute, until reconciliation result is consistent for reconciliation.
In addition, to achieve the above object, the refund reconciliation equipment based on block chain that the present invention also provides a kind of is described to be based on The refund reconciliation equipment of block chain includes processor, memory and is stored on the memory and can be by the processor The refund reconciliation program based on block chain executed, wherein the refund reconciliation program based on block chain is held by the processor When row, realize such as the step of the above-mentioned refund account checking method based on block chain.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing The refund reconciliation program based on block chain is contained, wherein when the refund reconciliation program based on block chain is executed by processor, It realizes such as the step of the above-mentioned refund account checking method based on block chain.
The present invention provides a kind of refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain, the present invention According to the refund request monitored, transaction of refunding is executed, and refund transaction journal is written to the account book of each block chain node, then According to the refund transaction journal in the account book of each block chain node, reconciliation is carried out to refunding to trade, and is reconciliation in reconciliation result When not being inconsistent, reconciliation diagnostic operation is executed, finally according to current reconciliation diagnostic result, executes corresponding tune account strategy, and adjusting account After strategy execution is completed, the reconciliation operation for continuing to execute transaction of refunding passes through above-mentioned side until reconciliation result is consistent for reconciliation Formula refund transaction journal is written in the account book of each block chain node, when executing refund transaction to realize distributed account book Creation, the data in the account book of each block chain node can not distort, the accuracy of reconciliation data is effectively ensured, also improves and refunds The timeliness of reconciliation, while when reconciliation result is not inconsistent for reconciliation, it executes after adjusting account strategy, continues reconciliation, until right Account is consistent, and can timely and effectively solve the problems, such as that refund reconciliation is not inconsistent.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for the refund reconciliation equipment based on block chain that various embodiments of the present invention are related to;
Fig. 2 is that the present invention is based on the flow diagrams of the refund account checking method first embodiment of block chain;
Fig. 3 is that the present invention is based on the flow diagrams of the refund account checking method second embodiment of block chain;
Fig. 4 is that the present invention is based on the functional block diagrams of the refund account checking apparatus first embodiment of block chain.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to the refund account checking method based on block chain be mainly used in the refund based on block chain Reconciliation equipment, should refund reconciliation equipment based on block chain can be PC (personal computer personal computer), portable The equipment that computer, mobile terminal etc. have display and processing function.
Referring to Fig.1, Fig. 1 is the hardware knot of the refund reconciliation equipment based on block chain involved in the embodiment of the present invention Structure schematic diagram.In the embodiment of the present invention, the refund reconciliation equipment based on block chain may include (such as the centre of processor 1001 Manage device Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, storage Device 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include showing Display screen (Display), input unit such as keyboard (Keyboard);Network interface 1004 optionally may include the wired of standard Interface, wireless interface (such as WI-FI interface);Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 is not constituted to limit of the invention It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of readable storage medium storing program for executing may include operating system, net Network communication module and refund reconciliation program based on block chain.In Fig. 1, network communication module is mainly used for connection service Device carries out data communication with server;And processor 1001 can call the going back based on block chain stored in memory 1005 Money reconciliation program, and the step of executing the refund account checking method provided in an embodiment of the present invention based on block chain.
The embodiment of the invention provides a kind of refund account checking methods based on block chain.
It is that the present invention is based on the flow diagrams of the refund account checking method first embodiment of block chain referring to Fig. 2, Fig. 2.
In the present embodiment, it is somebody's turn to do the refund account checking method based on block chain and is realized by the refund reconciliation equipment based on block chain, The refund reconciliation equipment based on block chain can be the terminal devices such as PC, palm PC and tablet computer, be chosen as shown in Fig. 1 Equipment, the refund account checking method based on block chain the following steps are included:
Step S101, when monitoring refund request, foundation, which is refunded, is requested, and execution, which is refunded, trades, and generates refund and trade Flowing water, and refund transaction journal is written in the account book of each block chain node;
Step S102 carries out reconciliation to refunding to trade according to the refund transaction journal in the account book of each block chain node, and When reconciliation result is not inconsistent for reconciliation, reconciliation diagnostic operation is executed;
Step S103 executes corresponding tune account strategy according to current reconciliation diagnostic result, and account strategy execution is being adjusted to complete Later, the reconciliation operation for continuing to execute transaction of refunding, until reconciliation result is consistent for reconciliation.
Current external participates in mechanism, if the data of bank and guarantee corporation cannot often timely feedback, reconciliation work quilt It accordingly delays, timeliness substantially reduces, and the fund clearing period is long, fund cannot be solved effectively in time extremely, and silver The accuracy and integrality for the reconciliation data that row provides can not all investigate.In view of the above problem, one kind is proposed in the present embodiment Refund account checking method based on block chain, the specific steps of the refund account checking method described in detail below based on block chain:
Step S101, when monitoring refund request, foundation, which is refunded, is requested, and execution, which is refunded, trades, and generates refund and trade Flowing water, and refund transaction journal is written in the account book of each block chain node;
In the present embodiment, the participant that transaction is related to that will refund accesses block chain as node, and in each block chain link Point establishes corresponding account book, and the data set of chain side is entered for storing difference, and each block chain node further includes intelligent contract layer, is formed Block catenary system.Wherein, refund participant including but not limited to loan platform, cooperative bank and the guarantee corporation that transaction is related to, It is explained for entering chain side for loan platform, cooperative bank and guarantee corporation below.
When monitoring refund request, is requested by loan platform according to the refund, execute refund transaction, and generate refund Transaction journal, and the refund transaction journal being written in the account book of each block chain node, i.e. write-in loan platform nodes, cooperation silver In the account book of row node and guarantee corporation's node.Specifically, loan platform pre- information of withholing of reading from refund request, and from Repayment amount, refund account, lending bank's account and guarantee corporation's account are read in information of withholing in advance, then judge the refund account Whether the remaining sum in family is greater than or equal to the repayment amount, if the remaining sum in the refund account is greater than or equal to repayment amount, Then deduct repayment amount from refund account, and by the repayment amount refund capital and refund interest be divided into lending bank's account Family, and the guarantee services in repayment amount are taken and are divided into guarantee corporation's account, refund transaction journal is then generated, and hand over refunding Easy flowing water is written in the account book of each block chain node, can quickly execute in the enough situations of remaining sum in refund account It refunds and trades, realize the quick book keeping operation for transaction of refunding.The information that the refund transaction journal includes is not limited to serial number, refund gold Volume, refund account, lending bank's account and guarantee corporation's account.
Wherein, refund request triggering mode include user actively triggering and system automatic trigger, user actively triggering tool Body is that user can be refunded and be instructed by the mobile terminal or the triggering of PC terminal for being equipped with corresponding client, mobile terminal or PC terminal Obtain the corresponding single pre- information of withholing, including but not limited to repayment amount (refund capital, refund interest and guarantee services of borrowing money Device), refund account, lending bank's account and guarantee corporation's account, and generate include pre- information of withholing refund request, and will Refund request is sent to loan platform;System automatic trigger is the loaning bill list in system queries database, and obtains each loaning bill Then single refund designated time borrows money single refund designated time according to each, each loaning bill is singly divided into corresponding grouping, i.e., The refund designated time it will be singly divided into one group for loaning bill on the same day, and according to chronological order, refunded to the setting of each group The generation time of request generates finally when current time reaches the generation time of refund request of group comprising corresponding group Interior each refund request for borrowing money single.
Further, it if the remaining sum in the refund account is less than repayment amount, needs to send to borrower more than refund The prompting of volume deficiency and agreement refund time next time, alerting pattern include but is not limited to short message prompting, mail reminder and client It reminds, after next time arranges the arrival of refund time, and the remaining sum in the refund account still less than repayment amount, then automatic calculate is penalized Breath, and default interest is calculated in repayment amount.
In specific implementation, after executing refund transaction, the corresponding amount of money whether is reduced in detection of platform refund account of providing a loan Repayment amount, if reducing the repayment amount of the corresponding amount of money in refund account, generation is withholdd successful marker, and will button The successful marker of money is broadcasted to other block chain node broadcasts, the successful marker label so that each block chain node will withhold In the refund transaction journal of refund transaction, if the amount of money mistake of reduction or not reducing the amount of money in refund account, generate It withholds the marker of failure, and the marker for failure of withholing is broadcasted to other block chain node broadcasts, so that each block chain link Point marks the marker for failure of withholing in the refund transaction journal that the refund is traded.By giving refund transaction journal label button The marker of money success or not, convenient for the situation of withholing of quick search refund transaction.
Further, it is determined that whether increase the refund capital and refund interest of the corresponding amount of money in lending bank's account, if Increase the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that refund successfully, and to each block chain link Point broadcast, i.e., the successful marker that will refund are broadcasted to each block chain node, will the successful mark of refund by each block chain node Position label is in the refund transaction journal that the refund is traded, if not increasing the refund capital of the corresponding amount of money in lending bank's account With refund interest, it is determined that failure of refunding, and to each block chain node broadcasts, i.e., the marker by failure of refunding is broadcasted to each area Block chain node is marked the marker for failure of refunding in the refund transaction journal that the refund is traded by each block chain node.It is logical It crosses to the marker of refund transaction journal label refund success or not, convenient for the refund situation of quick search refund transaction.
Step S102 carries out reconciliation to refunding to trade according to the refund transaction journal in the account book of each block chain node, and When reconciliation result is not inconsistent for reconciliation, reconciliation diagnostic operation is executed;
In the present embodiment, after refund transaction journal is written in the account book of each block chain node, according to each block chain link Refund transaction journal in the account book of point carries out reconciliation to refunding to trade, and when reconciliation result is not inconsistent for reconciliation, executes reconciliation and examines Disconnected operation.Specifically, the refund transaction journal for transaction of refunding is obtained from the account book of the first block chain node, and is traded from refunding Serial number and transaction amount are read in flowing water, are then judged in the account book of the second block chain node with the presence or absence of comprising the serial number Refund transaction journal, if in the account book of the second block chain node be not present the refund transaction journal comprising the serial number, It determines that the reconciliation result of refund transaction is not inconsistent for reconciliation, includes the serial number if existed in the account book of the second block chain node Refund transaction journal, then judge the transaction amount whether with the transaction amount phase in the refund transaction journal comprising the serial number Together, if the transaction amount is identical as the transaction amount in the refund transaction journal comprising serial number, it is determined that transaction of refunding Reconciliation result is consistent for reconciliation, otherwise determines that the reconciliation result for transaction of refunding is not inconsistent for reconciliation.Wherein, the first block chain node and Second block chain node can be configured by those skilled in the art based on actual conditions, and the present embodiment does not limit this specifically It is fixed, it is preferable that the first block chain node is loan platform nodes, and the second block chain node is cooperative bank's node.
When reconciliation result is not inconsistent for reconciliation, reconciliation diagnostic operation is executed, that is, obtains the serial number for transaction of refunding, and is obtained employment It is engaged in reading the refund transaction journal comprising the serial number in database, then will include the refund of the serial number in service database Refund transaction journal in transaction journal, with the account book of each block chain node is checked, i.e., silver-colored with loan platform nodes, cooperation Refund transaction journal in the account book of row node and guarantee corporation's node is checked, and specially judges the account book of block chain node In whether there is the refund transaction journal comprising the serial number, if there is no including the serial number in the account book of block chain node Refund transaction journal, it is determined that reconciliation diagnostic result be accounting information missing, if in the account book of block chain node exist packet Refund transaction journal in service database comprising the serial number is then denoted as first also by the refund transaction journal containing the serial number Refund transaction journal in the account book of block chain node comprising the serial number is denoted as the second refund transaction flow by money transaction journal Water, and the first repayment amount in the first refund transaction journal and the second repayment amount in the second refund transaction journal are carried out Comparing, if the first repayment amount is different from the second repayment amount, it is determined that reconciliation diagnostic result is repayment amount exception, if First repayment amount is identical as the second repayment amount, it is determined that reconciliation diagnostic result is reconciliation mistake.
Step S103 executes corresponding tune account strategy according to current reconciliation diagnostic result, and account strategy execution is being adjusted to complete Later, the reconciliation operation for continuing to execute transaction of refunding, until reconciliation result is consistent for reconciliation.
In the present embodiment, loan platform nodes execute corresponding tune account strategy, that is, inquire according to current reconciliation diagnostic result Reconciliation diagnostic result and the mapping table for adjusting account strategy, obtain the corresponding tune account strategy of current reconciliation diagnostic result, and execute The tune account strategy, then after adjusting account strategy execution to complete, the reconciliation operation for transaction of refunding is continued to execute, until reconciliation knot Fruit is consistent for reconciliation.Wherein, adjusting account strategy includes but is not limited to modify block chain data and allocate and transfer funds, and is diagnosed in current reconciliation When being as a result reconciliation mistake or accounting information missing, adjusting account strategy is modification block chain data, i.e., with going back in service database Subject to money transaction journal, the refund transaction journal in the account book of each block chain node is modified, and is in current reconciliation diagnostic result When repayment amount exception, adjusting account strategy is to allocate and transfer funds, that is, determines the unusual fluctuation amount of money and unusual fluctuation flow direction, and according to the unusual fluctuation amount of money and different Dynamic flow direction is allocated and transferred funds.
Further, duration is written in the account book for recording refund transaction journal, and determines whether according to account book write-in duration Reconciliation instruction is triggered, that is, judges whether account book write-in duration reaches preset duration, if account book write-in duration reaches default Duration then triggers reconciliation instruction, if account book write-in duration is not up to preset duration, does not trigger reconciliation instruction;If touching Reconciliation instruction is sent out, S102 is thened follow the steps, i.e., according to the refund transaction journal in the account book of each block chain node, is traded to refunding Carry out reconciliation.It should be noted that above-mentioned preset duration can be configured by those skilled in the art based on actual conditions, this reality It applies example and this is not especially limited.
In the present embodiment, the present invention executes transaction of refunding, and refund transaction journal is write according to the refund request monitored Enter the account book of each block chain node, then according to the refund transaction journal in the account book of each block chain node, to refund trade into Row reconciliation, and when reconciliation result is not inconsistent for reconciliation, it executes reconciliation diagnostic operation and is held finally according to current reconciliation diagnostic result The corresponding tune account strategy of row, and after adjusting account strategy execution to complete, the reconciliation operation for transaction of refunding is continued to execute, until reconciliation As a result it is consistent for reconciliation, by the above-mentioned means, the participant being related to that will refund accesses block chain as node, and is executing also When money is traded, refund transaction journal is written in the account book of each block chain node, to realize the creation of distributed account book, account book In data can not distort, the accuracy of reconciliation data is effectively ensured, the timeliness of refund reconciliation is also improved, while in reconciliation knot It when fruit is not inconsistent for reconciliation, executes after adjusting account strategy, continues reconciliation, until reconciliation is consistent, can timely and effectively solve Not the problem of refund reconciliation is not inconsistent.
Further, referring to Fig. 3, it is based on above-mentioned first embodiment, proposes the refund reconciliation the present invention is based on block chain The second embodiment of method, the difference with previous embodiment are, are somebody's turn to do the refund account checking method based on block chain further include:
Step S104, the reconciliation operation of the primary transaction of refunding of every execution, then record a reconciliation number;
In the present embodiment, when reconciliation result is not inconsistent for reconciliation, corresponding tune account strategy is executed, and executing corresponding tune After account strategy, reconciliation operation, and the reconciliation operation of the primary transaction of refunding of every execution are continued to execute, then records a reconciliation time Number.
Step S105 reaches preset times in reconciliation number, and when reconciliation result is not inconsistent for reconciliation, and to refunding, transaction is corresponded to Refund transaction journal mark, and stop execute refund transaction reconciliation operation.
In the present embodiment, reach preset times in reconciliation number, and when reconciliation result is not inconsistent for reconciliation, gives refund transaction Refund transaction journal mark, and stop execute refund transaction reconciliation operation.In specific implementation, trade to the refund After refund transaction journal marks, the prompting for carrying markd refund transaction journal is sent to sets in a set manner Fixed administrative staff carry out artificial reconciliation convenient for administrative staff.
In the present embodiment, the present invention can be reached by the threshold value of setting reconciliation number in the reconciliation number for transaction of refunding It when threshold value, is marked to refund transaction journal, and stops reconciliation operation, prevent reconciliation from carrying out always, occupying system resources.
In addition, the embodiment of the present invention also provides a kind of refund account checking apparatus based on block chain.
It is that the present invention is based on the signals of the functional module of the refund account checking apparatus first embodiment of block chain referring to Fig. 4, Fig. 4 Figure.
It is virtual bench the present invention is based on the refund account checking apparatus of block chain, is stored in going back based on block chain shown in Fig. 1 It is functional for realizing the institute of the refund reconciliation program based on block chain in the memory 1005 of money reconciliation equipment;When monitoring It when refund request, is requested according to the refund, executes to refund and trade, and generate refund transaction journal, and the refund is traded Flowing water is written in the account book of each block chain node;According to the refund transaction journal in the account book of each block chain node, gone back to described Money transaction carries out reconciliation, and when reconciliation result is not inconsistent for reconciliation, executes reconciliation diagnostic operation;It diagnoses and ties according to current reconciliation Fruit executes corresponding tune account strategy, and after tune account strategy execution completion, continues to execute the reconciliation of the transaction of refunding Operation, until reconciliation result is consistent for reconciliation.
Specifically, in the present embodiment, the refund account checking apparatus based on block chain includes:
Accounting module 101 of trading is executed to refund and be traded for being requested according to the refund when monitoring refund request, And refund transaction journal is generated, and the refund transaction journal is written in the account book of each block chain node;
Reconciliation module 102 trades to the refund for the refund transaction journal in the account book according to each block chain node Reconciliation is carried out, and when reconciliation result is not inconsistent for reconciliation, executes reconciliation diagnostic operation;
Account module 103 is adjusted, for executing corresponding tune account strategy according to current reconciliation diagnostic result, and in the tune account After strategy execution is completed, the reconciliation operation of the transaction of refunding is continued to execute, until reconciliation result is consistent for reconciliation.
Further, the transaction accounting module 101 is also used to:
Information of withholing in advance is read from refund request, and reads repayment amount from the pre- information of withholing, refund Account, lending bank's account and guarantee corporation's account;
Judge whether the remaining sum in the refund account is greater than or equal to the repayment amount;
If the remaining sum in the refund account is greater than or equal to the repayment amount, institute is deducted from the refund account State repayment amount;
By in the repayment amount refund capital and refund interest be divided into lending bank's account, and by the refund Guarantee services in the amount of money, which are taken, is divided into guarantee corporation's account.
Further, the transaction accounting module 101 is also used to:
The refund capital and refund interest for whether increasing the corresponding amount of money in lending bank's account determined;
If increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that it refunds successfully, And to each block chain node broadcasts;
If not increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that refund and lose It loses, and to each block chain node broadcasts.
Further, the reconciliation module 102 is also used to:
The refund transaction journal of the transaction of refunding is obtained from the account book of the first block chain node, and is handed over from the refund Serial number and transaction amount are read in easy flowing water;
Judge in the account book of the second block chain node with the presence or absence of the refund transaction journal comprising the serial number;
If there is the refund transaction journal comprising the serial number in the account book of the second block chain node, the friendship is judged Whether the easy amount of money is identical as the transaction amount in the refund transaction journal comprising the serial number;
If the transaction amount is identical as the transaction amount in the refund transaction journal comprising the serial number, it is determined that institute The reconciliation result for stating transaction of refunding is consistent for reconciliation, otherwise determines that the reconciliation result for refunding transaction is not inconsistent for reconciliation.
Further, the reconciliation module 102 is also used to:
When reconciliation result is not inconsistent for reconciliation, the serial number of the transaction of refunding is obtained, and is read from service database Refund transaction journal comprising the serial number;
It will include the refund transaction journal of the serial number in service database, with going back in the account book of each block chain node Money transaction journal is checked.
Further, the refund account checking apparatus based on block chain further include:
Logging modle, for record the refund transaction journal account book be written duration, and according to the account book write-in when It is long to determine whether to trigger reconciliation instruction;
If triggering reconciliation instruction, traded by the reconciliation module 102 according to the refund in the account book of each block chain node Flowing water trades to the refund and carries out reconciliation.
Further, the reconciliation module 102 is also used to:
Every reconciliation operation for executing the primary transaction of refunding, then record a reconciliation number;
Reach preset times in the reconciliation number, and when reconciliation result is not inconsistent for reconciliation, gives refunds transaction correspondence Refund transaction journal mark, and stop executing the reconciliation operation of the transaction of refunding.
Wherein, the function of modules is realized with above-mentioned based on block chain in the above-mentioned refund account checking apparatus based on block chain Refund account checking method embodiment in each step it is corresponding, function and realization process no longer repeat one by one here.
In addition, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
The refund reconciliation program based on block chain is stored on readable storage medium storing program for executing of the present invention, wherein described be based on block chain Refund reconciliation program when being executed by processor, realize such as the step of the above-mentioned refund account checking method based on block chain.
Wherein, the refund reconciliation program based on block chain, which is performed realized method, can refer to that the present invention is based on blocks Each embodiment of the refund account checking method of chain, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of refund account checking method based on block chain, which is characterized in that the refund account checking method packet based on block chain Include following steps:
It when monitoring refund request, is requested according to the refund, executes to refund and trade, and generate refund transaction journal, and will The refund transaction journal is written in the account book of each block chain node;
It according to the refund transaction journal in the account book of each block chain node, trades to the refund and carries out reconciliation, and in reconciliation knot When fruit is not inconsistent for reconciliation, reconciliation diagnostic operation is executed;
According to current reconciliation diagnostic result, corresponding tune account strategy is executed, and after tune account strategy execution completion, is continued The reconciliation operation for executing the transaction of refunding, until reconciliation result is consistent for reconciliation.
2. as described in claim 1 based on the refund account checking method of block chain, which is characterized in that it is requested according to the refund, Executing the step of refunding transaction includes:
Read from refund request and withhold information in advance, and read from the pre- information of withholing repayment amount, refund account, Lending bank's account and guarantee corporation's account;
Judge whether the remaining sum in the refund account is greater than or equal to the repayment amount;
If the remaining sum in the refund account is greater than or equal to the repayment amount, described go back is deducted from the refund account The money amount of money;
By in the repayment amount refund capital and refund interest be divided into lending bank's account, and by the repayment amount In guarantee services take and be divided into guarantee corporation's account.
3. as claimed in claim 2 based on the refund account checking method of block chain, which is characterized in that will be in the repayment amount After the step of refund capital and refund interest are divided into lending bank's account, further includes:
The refund capital and refund interest for whether increasing the corresponding amount of money in lending bank's account determined;
If increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that it refunds successfully, and to Each block chain node broadcasts;
If not increasing the refund capital and refund interest of the corresponding amount of money in lending bank's account, it is determined that failure of refunding, and To each block chain node broadcasts.
4. as described in claim 1 based on the refund account checking method of block chain, which is characterized in that described according to each block chain link Point account book in refund transaction journal, to refunds transaction progress reconciliation the step of include:
The refund transaction journal of the transaction of refunding is obtained from the account book of the first block chain node, and from the refund transaction flow Serial number and transaction amount are read in water;
Judge in the account book of the second block chain node with the presence or absence of the refund transaction journal comprising the serial number;
If there is the refund transaction journal comprising the serial number in the account book of the second block chain node, the trade gold is judged Whether volume is identical as the transaction amount in the refund transaction journal comprising the serial number;
If the transaction amount is identical as the transaction amount in the refund transaction journal comprising the serial number, it is determined that described to go back The reconciliation result of money transaction is consistent for reconciliation, otherwise determines that the reconciliation result for refunding transaction is not inconsistent for reconciliation.
5. such as the refund account checking method of any of claims 1-4 based on block chain, which is characterized in that described right When account result is not inconsistent for reconciliation, execute reconciliation diagnostic operation the step of include:
When reconciliation result is not inconsistent for reconciliation, the serial number of the transaction of refunding is obtained, and is read from service database and includes The refund transaction journal of the serial number;
It will include the refund transaction journal of the serial number in service database, handed over the refund in the account book of each block chain node Easy flowing water is checked.
6. such as the refund account checking method of any of claims 1-4 based on block chain, which is characterized in that the foundation Refund transaction journal in the account book of each block chain node, to the refund trade carry out reconciliation the step of before, further includes:
The account book write-in duration of the refund transaction journal is recorded, and determines whether to trigger reconciliation according to account book write-in duration Instruction;
If triggering reconciliation instruction, then follow the steps: according to the refund transaction journal in the account book of each block chain node, being gone back to described Money transaction carries out reconciliation.
7. such as the refund account checking method of any of claims 1-4 based on block chain, which is characterized in that described to be based on The refund account checking method of block chain further include:
Every reconciliation operation for executing the primary transaction of refunding, then record a reconciliation number;
Reach preset times in the reconciliation number, and when reconciliation result is not inconsistent for reconciliation, it is corresponding to refunds transaction and also Money transaction journal marks, and stops executing the reconciliation operation of the transaction of refunding.
8. a kind of refund account checking apparatus based on block chain, which is characterized in that the refund account checking apparatus packet based on block chain It includes:
Accounting module of trading is executed to refund and be traded, and generate for being requested according to the refund when monitoring refund request Refund transaction journal, and the refund transaction journal is written in the account book of each block chain node;
Reconciliation module carries out pair refund transaction for the refund transaction journal in the account book according to each block chain node Account, and when reconciliation result is not inconsistent for reconciliation, execute reconciliation diagnostic operation;
Account module is adjusted, for executing corresponding tune account strategy according to current reconciliation diagnostic result, and in the tune account strategy execution After completion, the reconciliation operation of the transaction of refunding is continued to execute, until reconciliation result is consistent for reconciliation.
9. a kind of refund reconciliation equipment based on block chain, which is characterized in that the refund reconciliation equipment packet based on block chain It includes processor, memory and is stored in the refund based on block chain that can be executed on the memory and by the processor Reconciliation program, wherein when the refund reconciliation program based on block chain is executed by the processor, realize such as claim 1 to The step of refund account checking method described in any one of 7 based on block chain.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with the refund pair based on block chain on the readable storage medium storing program for executing Account program, wherein realizing when the refund reconciliation program based on block chain is executed by processor as appointed in claim 1 to 7 The step of refund account checking method described in one based on block chain.
CN201811129458.1A 2018-09-27 2018-09-27 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain Pending CN109493210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811129458.1A CN109493210A (en) 2018-09-27 2018-09-27 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811129458.1A CN109493210A (en) 2018-09-27 2018-09-27 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain

Publications (1)

Publication Number Publication Date
CN109493210A true CN109493210A (en) 2019-03-19

Family

ID=65689907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811129458.1A Pending CN109493210A (en) 2018-09-27 2018-09-27 Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain

Country Status (1)

Country Link
CN (1) CN109493210A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949144A (en) * 2019-03-22 2019-06-28 深圳前海微众银行股份有限公司 Keep accounts processing method, device, equipment and computer readable storage medium
CN111179047A (en) * 2019-12-31 2020-05-19 中信百信银行股份有限公司 Business data checking method and device, computer equipment and readable storage medium
CN111210330A (en) * 2020-01-06 2020-05-29 中信百信银行股份有限公司 Account adjusting method and device, electronic equipment and computer readable storage medium
CN111275905A (en) * 2020-03-05 2020-06-12 链农(深圳)信息科技有限公司 Currency processing method and device of block chain system and hardware equipment
CN111445325A (en) * 2020-04-13 2020-07-24 中国银行股份有限公司 Credit card information processing method, device, system and storage medium
CN112598505A (en) * 2020-12-25 2021-04-02 无锡航吴科技有限公司 System and method for supervising nationally-owned financing platform based on comparison rule
CN112734450A (en) * 2021-01-14 2021-04-30 上海尧信惠达信息科技有限公司 Double-sided accounting method and system based on online guarantee and electronic equipment
CN114004610A (en) * 2021-10-29 2022-02-01 北京理房通支付科技有限公司 Business processing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106504089A (en) * 2016-10-14 2017-03-15 平安科技(深圳)有限公司 Method of commerce and system are applied to purchase based on the fund of block chain
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology
CN107358417A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 The method of payment supervised based on block chain technology
WO2018031433A1 (en) * 2016-08-10 2018-02-15 Jpmorgan Chase Bank, N.A. Systems and methods for account reconciliation using a distributed ledger
CN107862600A (en) * 2017-10-24 2018-03-30 深圳四方精创资讯股份有限公司 Bank transfer method and its system based on block chain
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium
WO2018120121A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Block chain permission control method, device, and node apparatus
GB201809171D0 (en) * 2017-07-19 2018-07-25 China Merchants Bank Company Remittance processing method and system, and computer-readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018031433A1 (en) * 2016-08-10 2018-02-15 Jpmorgan Chase Bank, N.A. Systems and methods for account reconciliation using a distributed ledger
CN106504089A (en) * 2016-10-14 2017-03-15 平安科技(深圳)有限公司 Method of commerce and system are applied to purchase based on the fund of block chain
WO2018120121A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Block chain permission control method, device, and node apparatus
CN107358422A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 Payment system based on block chain technology
CN107358417A (en) * 2017-06-23 2017-11-17 现在(北京)支付股份有限公司 The method of payment supervised based on block chain technology
GB201809171D0 (en) * 2017-07-19 2018-07-25 China Merchants Bank Company Remittance processing method and system, and computer-readable storage medium
CN107862600A (en) * 2017-10-24 2018-03-30 深圳四方精创资讯股份有限公司 Bank transfer method and its system based on block chain
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium
CN108171489A (en) * 2017-12-18 2018-06-15 深圳前海微众银行股份有限公司 Data liquidation method, system and computer readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949144A (en) * 2019-03-22 2019-06-28 深圳前海微众银行股份有限公司 Keep accounts processing method, device, equipment and computer readable storage medium
CN111179047A (en) * 2019-12-31 2020-05-19 中信百信银行股份有限公司 Business data checking method and device, computer equipment and readable storage medium
CN111179047B (en) * 2019-12-31 2024-01-05 中信百信银行股份有限公司 Service data checking method, device, computer equipment and readable storage medium
CN111210330A (en) * 2020-01-06 2020-05-29 中信百信银行股份有限公司 Account adjusting method and device, electronic equipment and computer readable storage medium
CN111275905A (en) * 2020-03-05 2020-06-12 链农(深圳)信息科技有限公司 Currency processing method and device of block chain system and hardware equipment
CN111445325A (en) * 2020-04-13 2020-07-24 中国银行股份有限公司 Credit card information processing method, device, system and storage medium
CN111445325B (en) * 2020-04-13 2023-09-15 中国银行股份有限公司 Credit card information processing method, device, system and storage medium
CN112598505A (en) * 2020-12-25 2021-04-02 无锡航吴科技有限公司 System and method for supervising nationally-owned financing platform based on comparison rule
CN112734450A (en) * 2021-01-14 2021-04-30 上海尧信惠达信息科技有限公司 Double-sided accounting method and system based on online guarantee and electronic equipment
CN114004610A (en) * 2021-10-29 2022-02-01 北京理房通支付科技有限公司 Business processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109493210A (en) Refund account checking method, device, equipment and readable storage medium storing program for executing based on block chain
US7756789B2 (en) Method and system for debt recovery
CN109242483A (en) A kind of dual trading method and system based on centralization and decentralization
CN107945008A (en) Credit methods, device, equipment and computer-readable recording medium
CN107818428A (en) The decision-making technique and device of business channel
WO2004061552A2 (en) Servicer compensation system and method
CN108182502A (en) The generation method of growing quality evaluation index, the statistical method of business growth value
CN110443694A (en) Financing method and device on little Wei enterprise line
CN110533521A (en) Method for early warning, device, equipment and readable storage medium storing program for executing after dynamic is borrowed
CN111062796A (en) Block chain-based payroll distribution method and device and electronic equipment
CN108629584A (en) Mode of payment, device based on block chain and computer readable storage medium
WO2021098273A1 (en) Online car-hailing transaction data processing method, apparatus, and system
CN108614864A (en) Bank transaction information processing method and processing device
CN110046995A (en) Refund request processing method, device and equipment
US20210026687A1 (en) Computer-implemented system and methods for computing valuation
CN109636380A (en) Expense treating method and apparatus
CN109345371A (en) Personal reference report backtracking method and system
JP2007133742A (en) Loan acceptance device, loan request terminal, loan settlement system, and loan acceptance method
CN110046985A (en) Data processing system, method and terminal device
CN109726249A (en) A kind of decentralization chip research and development transaction data storage method and system
KR102321436B1 (en) Server and method for providing information of p2p finance banking and system thereof
CN109636594A (en) Assets package management method, device, equipment and storage medium based on big data
CN110060149A (en) Risk management and control method and system after a kind of loan
CN110033353A (en) User object recommended method, device, computer readable storage medium and computer equipment
CN107833034A (en) Method of payment and device, computer installation and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40012039

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190319

WD01 Invention patent application deemed withdrawn after publication