A financial data processing method and system based on permission chain

By using a license chain to connect trust between clearing institutions and banks in financial data processing, real-time bilateral rolling and timed clearing are achieved, and the problems of cumbersome clearing steps, limited running time and high cost in the existing technology are solved. Improve liquidation efficiency and reduce costs.

CN110910236BActive Publication Date: 2024-11-05ZHONGCHAO CREDIT CARD IND DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911115962.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-15
Publication Date
2024-11-05
Estimated Expiration
2039-11-15

AI Technical Summary

Technical Problem

The existing commercial banks' clearing mechanism has cumbersome steps, limited operating time, low liquidation efficiency and high cost.

Method used

Using a financial data processing method based on the license chain, the licensing chain of trust connections is built to realize the non-centralized trust connection between the clearing institution and the bank, and the bilateral difference processing of financial data is carried out in real time, and the difference results are sent regularly to The liquidation account management system conducts clearing.

Benefits of technology

The financial data processing steps of the clearing mechanism are simplified, and the 24-hour unlimited running time is achieved, which improves the liquidation efficiency and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110910236B_ABST
    Figure CN110910236B_ABST
Patent Text Reader

Abstract

The present invention discloses a financial data processing method and system based on a permission chain, the method comprising: an operating institution constructs a permission chain for enabling a clearing institution and each bank to achieve a trust connection; the operating institution allocates identities in the permission chain to the clearing institution and each bank respectively; when a paying bank receives a transaction application from a user to pay a receiving bank, the paying bank sends the transaction application to the permission chain so that the permission chain performs bilateral netting processing on the financial data of the paying bank and the receiving bank in real time; the clearing institution obtains the netting financial data of each bank on the permission chain, and sends it to a clearing account management system for scheduled clearing processing. By using a permission chain to connect the clearing institution and each bank, the financial data processing steps of the clearing mechanism can be simplified, the running time is not limited, the clearing efficiency is high, and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the financial field, and in particular to a financial data processing method and system based on a permission chain. Background Art

[0002] At present, commercial inter-bank clearing uses the central bank and clearing institutions as counterparties, and implements a two-level clearing mechanism with city processing centers and national processing centers, such as Figure 1 As shown in the figure, the existing clearing mechanism is centralized, and the centralized system bears the key responsibility. The central bank's responsibility should be supervision, and the commercial bank's responsibility is business. Now the central bank also undertakes the inter-bank clearing business.

[0003] The payment system mainly includes large-value payment system and small-value payment system, which handle different businesses respectively. The large-value payment system only handles large-value real-time credit business, while the small-value payment system mainly handles batch business. Commercial banks choose different payment channels according to the wishes of customers, and the corresponding clearing is also different. Large-value payment has high handling fees, real-time clearing, and fast arrival time; small-value payment has low handling fees, batch netting, scheduled clearing, and slow arrival time. Therefore, clearing also needs to go through the city processing center and then forwarded to the national processing center for processing.

[0004] Clearing requires multiple reconciliations between commercial banks, clearing institutions, national processing centers, and city processing centers. If reconciliation errors occur, the processing process becomes even more complicated and cumbersome. The characteristics of large-value payment systems are large amounts and fast arrival speeds, but their operating hours are 5*21 hours, and they cannot run 7*24 hours. In the current Internet environment, a 24-hour real-time payment and clearing system is needed.

[0005] Therefore, the current liquidation mechanism has the defects of complicated and non-uniform steps, limited operating time, low liquidation efficiency and high cost. Summary of the invention

[0006] The embodiment of the present invention provides a financial data processing method and system based on a permission chain, which solves the defects of the existing clearing mechanism, such as complicated and non-uniform steps, limited running time, low clearing efficiency and high cost.

[0007] An embodiment of the present invention provides a financial data processing method based on a permission chain, comprising:

[0008] The operating institution builds a permissioned chain to enable clearing institutions and banks to achieve trust connections;

[0009] The operating institution allocates identities in the permission chain to the clearing institution and each bank respectively;

[0010] When the paying bank receives a transaction application from a user to pay the receiving bank, the paying bank sends the transaction application to the permission chain so that the permission chain can perform bilateral netting of the financial data of the paying bank and the receiving bank in real time;

[0011] The clearing agency obtains the financial data of each bank that has been netted on the permission chain and sends it to the clearing account management system for scheduled clearing processing.

[0012] Preferably, the permission chain constructed by the operating institution to enable the clearing institution and each bank to achieve a trust connection includes:

[0013] The operating institution configures the blockchain used to achieve a trust connection between the clearing institution and the banks in accordance with the agreed rules and expected business volume between the clearing institution and the banks, obtains the permission chain and starts operation.

[0014] Preferably, before the operating institution assigns identities in the permission chain to the clearing institution and each bank respectively, the process further includes:

[0015] The operating institution reviews the clearing institutions and banks, and assigns user names and passwords, as well as hardware security units that store the hardware security unit passwords, to the clearing institutions and banks that have passed the review.

[0016] Preferably, the identities assigned by the operating institution to the clearing institution and each bank in the permission chain include:

[0017] The clearing institution or bank uses its user name, password, and hardware security unit to log into the management system of the operating institution, so that the management system of the operating institution uses the user name and password used by the clearing institution or bank when logging in, as well as the hardware security unit password, to identify the identity of the clearing institution or bank in the management system of the operating institution;

[0018] After successful login, the clearing institution or bank obtains the private key, public key and public key address corresponding to the custom identifier from the hardware encryption machine arranged in the security area of ​​the clearing institution or bank, and sends the public key, public key address and the signature generated by the private key to the management system of the operating institution;

[0019] The management system of the operating institution uses the public key and signature sent by the clearing institution or bank to confirm the identity of the clearing institution or bank in the permission chain and allocate the corresponding permissions of the clearing institution or bank in the permission chain;

[0020] The management system of the operating institution generates an identity creation instruction that carries the identity, authority, and public key address of the clearing institution or bank in the permission chain, and sends it to the permission chain, so that the permission chain creates an identity for the clearing institution or bank in the permission chain according to the identity creation instruction, and adds the public key address of the clearing institution or bank to the permission chain authorization list.

[0021] Preferably, after creating identities for the clearing institution and each bank on the permission chain, a total net amount account corresponding to each bank's identity is created for each bank.

[0022] Preferably, the payment bank sending the transaction application to the permission chain comprises:

[0023] The paying bank obtains the private key corresponding to the custom identifier from the hardware encryption machine, signs the transaction application using its own private key, and sends the signed transaction application to the permission chain.

[0024] Preferably, the permission chain performs real-time bilateral netting processing on the financial data of the paying bank and the receiving bank, including:

[0025] The permission chain verifies the signature of the transaction application, and after the verification is passed, recovers the public key from the signature, and determines the public key address based on the recovered public key;

[0026] The permission chain searches for the public key address in the permission chain authorization list, and if the public key address is found, searches for the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank;

[0027] The permission chain performs real-time netting of the total net account and bilateral net account of the paying bank and the receiving bank respectively according to the transaction information carried in the transaction application and under the constraints of the smart contract.

[0028] Preferably, the clearing institution obtains the financial data of each bank that has been netted on the permission chain and sends it to the clearing account management system for scheduled clearing processing, including:

[0029] The clearing agency reads the total net account and bilateral net account of each bank on the permission chain at the same time point, and sends the acquired total net account and bilateral net account of each bank to the clearing account management system so that the clearing account management system performs clearing processing according to the total net account and bilateral net account of each bank.

[0030] Preferably, before the clearing institution reads the total net account and bilateral net account of each bank on the permission chain at the same time point, it also includes:

[0031] After the clearing agency stops running business transactions at a scheduled time, it initiates an account snapshot transaction to the permission chain to save the total net accounts and bilateral net accounts of all banks on the permission chain at the same time point;

[0032] The clearing agency generates a hash value of the account snapshot transaction, and binds the hash value to the total net accounts and bilateral net accounts of all banks saved at the same time point, so that the clearing agency can read the total net accounts and bilateral net accounts of all banks saved at the same time point according to the hash value;

[0033] The clearing agency resets the total net accounts and bilateral net accounts of all banks on the permission chain to zero and starts running business transactions.

[0034] An embodiment of the present invention provides a financial data processing system based on a permission chain, comprising:

[0035] A permission chain construction device, used to construct a permission chain for enabling a clearing institution and each bank to achieve a trust connection, and to add the clearing institution and each bank to the permission chain, and to assign identities in the permission chain to the clearing institution and each bank that have joined the permission chain;

[0036] A netting processing device, for sending a transaction application from a user to a beneficiary bank to the permission chain when the paying bank receives the transaction application, so that the permission chain can perform bilateral netting processing on the financial data of the paying bank and the beneficiary bank in real time;

[0037] The clearing processing device is used to obtain the financial data of each bank that has been netted on the permission chain and send it to the clearing account management system for scheduled clearing processing.

[0038] Compared with the prior art, the present invention can simplify the financial data processing steps of the clearing mechanism by using a permission chain to connect clearing institutions and banks, with unlimited running time, high clearing efficiency and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the two-level clearing mechanism of the city processing center and the national processing center provided by the existing technology;

[0040] Figure 2 It is a flowchart of a financial data processing method based on a permission chain provided by an embodiment of the present invention;

[0041] Figure 3 It is a schematic diagram of a clearing mechanism established by using a blockchain network provided by an embodiment of the present invention;

[0042] Figure 4 It is a schematic diagram of a flow chart of a scheduled settlement provided by an embodiment of the present invention;

[0043] Figure 5 This is a diagram of an application example of using a blockchain network to process financial data according to an embodiment of the present invention;

[0044] Figure 6 It is a schematic structural block diagram of a financial data processing system based on a permission chain provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0046] Figure 2 is a flowchart of a financial data processing method based on a permission chain provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:

[0047] Step S101: The operating institution constructs a permission chain for the clearing institution and each bank to achieve a trust connection;

[0048] Step S102: The operating institution assigns identities in the permission chain to the clearing institution and each bank respectively;

[0049] Step S103: When the paying bank receives a transaction application from the user to pay the receiving bank, the paying bank sends the transaction application to the permission chain so that the permission chain can perform bilateral netting processing on the financial data of the paying bank and the receiving bank in real time;

[0050] Step S104: the clearing agency obtains the financial data of each bank on the permission chain that has been netted, and sends it to the clearing account management system for scheduled clearing processing.

[0051] Among them, the operating institution configures the blockchain used to enable the clearing institution and the banks to achieve a trust connection in accordance with the agreed rules and expected business volume between the clearing institution and the banks, obtains the permission chain, and starts running the permission chain.

[0052] Before step S102, the operation institution may further include: the operation institution reviews the clearing institution and each bank, and allocates a user name and password and a hardware security unit storing the hardware security unit password to each clearing institution and each bank that have passed the review. In this way, the clearing institution and each bank may access the management system of the operation institution using their respective user names and passwords and the hardware security unit storing the hardware security unit password. Specifically, the clearing institution or bank uses its user name, password, and hardware security unit to log in to the management system of the operating institution, so that the management system of the operating institution uses the user name and password used by the clearing institution or bank when logging in and the hardware security unit password to identify the identity of the clearing institution or bank in the management system of the operating institution; after the clearing institution or bank successfully logs in, it can generate a custom identifier, and use the hardware encryption machine arranged in the security area of ​​the clearing institution or bank to obtain the key pair (i.e., private key and public key) and public key address corresponding to the custom identifier, and send the public key, public key address and signature generated by the private key (for example, signing a random string using the private key) to the management system of the operating institution; and the management system of the operating institution uses the public key and signature sent by the clearing institution or bank to confirm the identity of the clearing institution or bank in the permission chain, and allocate the corresponding permissions of the clearing institution or bank in the permission chain, and then generate an identity creation instruction carrying the identity, permissions and public key address of the clearing institution or bank in the permission chain, and send it to the permission chain; the permission chain creates an identity for the clearing institution or bank in the permission chain according to the identity creation instruction, and adds the public key address of the clearing institution or bank to the permission chain authorization list.

[0053] The above financial data may refer to the total net account and bilateral net account of each bank in the permission chain, wherein the total net account is created for each bank after the identities of the clearing institution and each bank are created on the permission chain, corresponding to the identity of each bank. The bilateral net account is created for each bank during the netting process, corresponding to the identity of each bank.

[0054] After creating the identities and corresponding permissions of the clearing agency and each bank on the permission chain, each bank can conduct real-time netting processing based on the permission chain, and the clearing agency can conduct scheduled clearing processing based on the permission chain. Among them, real-time netting processing may include: when the paying bank receives a transaction application from a user to pay the receiving bank, the paying bank obtains the private key corresponding to the custom identifier from the hardware encryption machine, and uses its own private key to sign the transaction application, and sends the signed transaction application to the permission chain; the permission chain verifies the signature of the transaction application (for example, verifies whether the signature is valid), and after the verification is passed, recovers the public key from the signature, and determines the public key address based on the recovered public key; the permission chain queries the public key address in the permission chain authorization list, and if the public key address is found, queries the paying bank and the receiving bank structure. The bilateral net account corresponding to the binary vector formed by the paying bank and the receiving bank is found. If the bilateral net account corresponding to the binary vector formed by the paying bank and the receiving bank is found, the permission chain performs real-time netting processing on the total net account and the bilateral net account of the paying bank and the receiving bank respectively under the constraints of the smart contract according to the transaction information carried in the transaction application. If the bilateral net account corresponding to the binary vector formed by the paying bank and the receiving bank is not found, the bilateral net account corresponding to the binary vector formed by the paying bank and the receiving bank is first established, and then the total net account and the bilateral net account of the paying bank and the receiving bank are netted respectively under the constraints of the smart contract. The scheduled clearing process may include: the clearing agency reads the total net account and the bilateral net account of each bank on the permission chain at the same time point, and sends the total net account and the bilateral net account of each bank that have been obtained to the clearing account management system, so that the clearing account management system performs clearing processing according to the total net account and the bilateral net account of each bank. In specific implementation, before the scheduled clearing process, the following processing is required: after the scheduled business transaction is stopped, the clearing agency initiates an account snapshot transaction to the license chain to save the total net accounts and bilateral net accounts of all banks on the license chain at the same time point, and then generates a hash value of the account snapshot transaction, and binds the hash value to the saved total net accounts and bilateral net accounts of all banks at the same time point, so that the clearing agency can read the saved total net accounts and bilateral net accounts of all banks at the same time point according to the hash value, and finally reset the total net accounts and bilateral net accounts of all banks on the license chain to zero, and start running business transactions.

[0055] The present invention adopts a permission chain to enable a trust connection between a clearing agency and each bank in a decentralized manner, which can simplify the financial data processing steps of the clearing mechanism, has no limit on the running time, high clearing efficiency and low cost.

[0056] Figure 3Schematic diagram of a clearing mechanism established by using a blockchain network provided by an embodiment of the present invention, such as Figure 3 As shown in the figure, an open alliance blockchain is a permissioned chain, and the nodes in the chain are divided into three categories: consensus nodes, remote nodes, and access nodes. Among them, the consensus node is responsible for packaging the data of the underlying open alliance chain, which is owned by the operating organization and strategic partners. In the future, more credible strategic partners will be gradually introduced as consensus nodes. Ordinary partners conduct business by setting up remote nodes locally or using access nodes in the cloud. Both remote nodes and access nodes can upload the data of partners to the chain, the only difference is the location of the nodes and the access method. For data-sensitive partners, remote nodes can be set up locally; for data-insensitive partners, access nodes set up by operating organizations in the cloud can be used, and access can be made through open interfaces, which is less costly. This alliance chain structure ensures the speed of the consensus algorithm by controlling the number of consensus nodes, while supporting a wide range of cooperation.

[0057] Figure 3 The financial data processing process based on the permission chain shown may include the following steps:

[0058] Step 1: Permission Chain Construction

[0059] The operating organization configures the blockchain and starts operation based on the rules agreed upon in advance by the partners and the expected business volume.

[0060] Step 2: Institutional Access

[0061] The operating organization is the manager of the blockchain and has the greatest authority without the need for access.

[0062] The clearing account management system is the clearing account management system for large and small payment systems. It does not directly participate in the clearing of the blockchain. The clearing account management system and the blockchain are connected by the clearing agency.

[0063] The entry rules for clearing institutions and banks are the same, and are as follows:

[0064] When a bank or clearing institution participates in payment services, it needs to provide the necessary information to the operating institution, which will be reviewed and approved by a professional auditor, entered into the database, assigned to a user, and issued a hardware security unit. The bank or clearing institution applicant uses the assigned username and password and the hardware security unit to log in to the operating institution's system, provide a custom ID, obtain the public key address corresponding to the ID from the hardware encryption machine, enter the hardware security unit password, and submit. The operating institution management system will automatically review the identity of the bank or clearing institution and identify the role it plays, assign the corresponding permissions to the role, and issue instructions to the blockchain to create an identity, so that the bank or clearing institution has a unique and legal identity on the blockchain. At the beginning of the creation of each identity, a total net balance account corresponding to the identity is created. The bilateral net balance account is created based on the existence or non-existence of the binary vector composed of the paying bank and the receiving bank after the blockchain verifies the transaction signature and public key address.

[0065] The custom identifier is provided by a bank or a clearing institution and is used to index a public-private key pair and a public key address in a hardware encryption machine located in a secure area of ​​the bank or clearing institution, for encryption, decryption and signature verification.

[0066] Among them, the corresponding relationship between the custom identifier and the public key address is pre-set in the hardware encryption machine, and the public key address corresponding to the custom identifier can be obtained through the corresponding relationship.

[0067] Among them, the hardware security unit password is used to authenticate the institution holding the hardware security unit and trigger the signature operation of the hardware unit. The operating institution initializes the hardware security unit password to the hardware security unit kept by the administrator of the bank or clearing institution, that is, stores the hardware security unit password in the hardware security unit and notifies the bank or clearing institution in writing. At the same time, it will remind the bank or clearing institution to make changes.

[0068] The present invention builds a permission chain based on the operator's offline review and certification. The operator reviews the bank's participation in the permission chain, creates the bank's identity and clearing account system, and the bank is responsible for the operation of the business. The customer's entrance is the bank's existing online banking and mobile banking. While achieving technological innovation, the entire system is compatible with the existing business system and rebuilds a new technical architecture without changing the existing user experience.

[0069] Step 3: Real-time netting

[0070] When the paying bank receives a payment transaction application from a user (individual or enterprise), after verifying the user's identity and necessary verification, the paying bank signs the transaction with its own private key and submits it to the blockchain. The blockchain verifies the signature of the transaction. After the verification is passed, the public key is recovered from the signature through a special algorithm, and then the public key address is calculated or recovered using a special algorithm. Check whether the public key address is in the blockchain authorization list. If the public key address is in the authorization list, then check whether the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank already exists. If not, create a corresponding bilateral net account for each of the paying bank and the receiving bank, and then call the contract for real-time netting, that is, the smart contract performs a net debit limit check. If the check is passed, bilateral netting is performed to reduce the paying bank's bilateral net account and increase the receiving bank's bilateral net account. At the same time, reduce the paying bank's total net account and increase the receiving bank's total net account. If the net debit limit check fails, it will be returned to the internal system of the initiating bank or the blockchain front-end system for corresponding processing (it can enter the netting queue and wait for rescue, or it can be directly rejected).

[0071] The dedicated algorithm may be an existing algorithm or a system-defined algorithm.

[0072] Step 4: Regular Settlement

[0073] The clearing agency is responsible for executing multiple transactions in the following order at a specified time point to perform clearing, such as Figure 4 As shown:

[0074] 1. The clearing agency obtains the bank blockchain clearing account data regularly.

[0075] (1) Initiate a suspension transaction;

[0076] (2) Initiate one or more account snapshot transactions to save the balance of all accounts at the same point in time, and save the hash value of the snapshot transaction to prepare for the subsequent submission of clearing information to the clearing account management system;

[0077] (3) Initiate an account clearing transaction to make the balance of all accounts zero;

[0078] (4) Initiate a shipping transaction.

[0079] 2. The clearing agency prepares interbank clearing instructions and sends clearing execution to the clearing account management system.

[0080] The clearing agency also needs to use the snapshot transaction hash value saved in the previous step to read all total net account differences and bilateral net account differences and submit them to the clearing account management system for clearing processing.

[0081] 3. The clearing account management system executes clearing instructions, performs scheduled clearing processing based on all total net account differences and bilateral net account differences submitted by the clearing agency, and conducts inter-bank fund transfers.

[0082] 4. After the clearing agency receives the notification from the clearing account management system that scheduled clearing has been completed, it reaches a clearing consensus with the blockchain platform and related banking business systems.

[0083] This embodiment uses the blockchain network to establish a trust cooperation model among clearing institutions, commercial banks, and the central bank, with the blockchain realizing the payment and netting functions and the clearing institutions realizing the clearing functions of commercial banks.

[0084] The specific technical details of the smart contract to achieve real-time netting and risk control are as follows:

[0085] (1) Smart contracts are developed and deployed by operating organizations, and the specific contents include the following:

[0086] Identity management: controls the creation, cancellation, and query of identities.

[0087] Account management: controls the creation, cancellation, query and real-time reconciliation of each identity's total net account and bilateral net account, and the setting, checking and query of net debit limits.

[0088] Permission management: controls the granting, revocation and query of permissions for each role. In payment and settlement scenarios, permissions can be used to control the start and stop of business operations.

[0089] Table management: Tables are carriers of data records and provide a unified interface that can adapt to different business needs. The interface includes the creation, deletion and query of tables, and the insertion, update, deletion and query of records.

[0090] (2) Real-time netting of smart contracts

[0091] (3) Risk control includes the following three aspects:

[0092] Transaction signature verification;

[0093] Recover the public key from the signature, calculate the public key address, and verify whether the public key address is in the authorized list;

[0094] Net debit limit check.

[0095] This embodiment creates a bank identity and clearing account system in the permission chain, uses smart contracts to achieve efficient and accurate real-time netting of blockchain, and uses smart contracts to achieve risk control, so that customer payments can be received in real time. The overall description is that blockchain real-time netting, real-time receipt of customer funds, and scheduled clearing greatly reduce the cost of bank clearing and greatly improve payment efficiency.

[0096] Figure 5 is an application example diagram of using a blockchain network to process financial data according to an embodiment of the present invention, such as Figure 5 As shown, it includes Bank ABC, operating institution, clearing institution and clearing account management system.

[0097] Bank ABC acts as a business partner in the permissioned chain and as an agent, accepting transactions from individual or corporate users and putting the transactions on the chain.

[0098] The operating organization is the R&D and operation and maintenance organization of the permissioned chain, and is a payment and clearing organization licensed by the central bank. As the management role of the blockchain, the operating organization manages the identity creation and cancellation of its partners, the granting and revocation of operation permissions, and the start and stop of business operations.

[0099] The clearing agency is responsible for submitting the netted transaction amounts on the blockchain to the clearing account management system for final clearing on a regular basis.

[0100] The clearing account management system is the clearing account management system SAPS in the existing large and small amount systems.

[0101] In the figure, A' is the total net account of Bank A on the blockchain, AL is the net debit limit, A'B' and A'C' are the bilateral net accounts of Bank A on the blockchain for transactions with Banks B and C; B' is the total net account of Bank B on the blockchain, BL is the net debit limit, B'A' and B'C' are the bilateral net accounts of Bank B on the blockchain for transactions with Banks A and C; C' is the total net account of Bank C on the blockchain, CL is the net debit limit, C'A' and C'B' are the bilateral net accounts of Bank C on the blockchain for transactions with Banks A and B; A", B", and C" represent the position accounts of Banks A, B, and C in the clearing account management system; A1, A2, and A3 represent the accounts of corporate customers at Bank A, B1 and B2 represent the accounts of corporate customers at Bank B, and C1 represents the accounts of corporate customers at Bank C.

[0102] When processing financial data based on the blockchain network, the following operations can be performed according to business rules:

[0103] 1. Sun's Beginning

[0104] Banks A, B, and C set net debit limits and map them to AL, BL, and CL in the net clearing account on the blockchain;

[0105] 2. Daytime

[0106] (1) Transaction 1

[0107] Enterprise A1 initiates a payment transaction of RMB 100 to Enterprise B1. Bank A deducts RMB 100 from Enterprise A1's account to the intermediary account, sends the transaction information to the blockchain, executes the smart contract, and performs on-chain netting. A'B' clearing account decreases RMB 100, and B'A' clearing account increases RMB 100.

[0108] Bank B receives the payment message from the blockchain and pays 100 yuan to enterprise B1 from its intermediary account.

[0109] (2) Transaction 2

[0110] Enterprise A2 initiates a payment transaction of RMB 200 to Enterprise B2. Bank A deducts RMB 200 from Enterprise A2's account to the intermediary account, sends the transaction information to the blockchain, executes the smart contract, and performs on-chain netting. A'B' clearing account decreases RMB 200, and B'A' clearing account increases RMB 200.

[0111] Bank B receives the payment message from the blockchain and pays 200 yuan to enterprise B2 from its intermediary account.

[0112] (3) Transaction 3

[0113] Enterprise A3 and Enterprise C1 initiate a payment transaction of 10 yuan. Bank A deducts 10 yuan from Enterprise A3's account to the intermediate account, and sends the transaction information to the chain to execute the smart contract and conduct the on-chain netting. The A'C' clearing account decreases 10, and the C'A' clearing account increases 10.

[0114] Bank C receives the payment message from the blockchain and pays 10 yuan to company C1 from its intermediary account.

[0115] 3. End of Day

[0116] The clearing agency sends a business suspension instruction, reads the clearing account data of A'B', A'C', B'A', B'C', C'A', and C'B', and sends it to the clearing account management system for two-to-two fund transfers of bank positions;

[0117] After the funds transfer is completed, the blockchain is notified to complete the netting and settlement consensus, and the bank clears the intermediate account.

[0118] The system provided in this embodiment realizes real-time bilateral netting and total net amount calculation, real-time account arrival, scheduled settlement, and no reconciliation, which greatly improves the efficiency of the system and saves the bank's settlement costs.

[0119] Figure 6 is a schematic diagram and structural block diagram of a financial data processing system based on a permission chain provided by an embodiment of the present invention, such as Figure 6 As shown, the system includes: a permission chain building device, a netting processing device and a clearing processing device.

[0120] A permission chain construction device may be provided in an operating institution, and is used to construct a permission chain for enabling a clearing institution and each bank to achieve a trust connection, and to add the clearing institution and each bank to the permission chain, and to assign identities in the permission chain to the clearing institution and each bank that have joined the permission chain;

[0121] A netting processing device may be provided in a blockchain network, and is used for, when a paying bank receives a transaction application from a user to pay a receiving bank, to send the transaction application to the permission chain, so that the permission chain can perform bilateral netting processing on the financial data of the paying bank and the receiving bank in real time;

[0122] The clearing processing device can be set up in a clearing institution to obtain the financial data of each bank that has been netted on the permission chain and send it to the clearing account management system for scheduled clearing processing.

[0123] Among them, the permission chain construction device configures the blockchain used to enable the clearing agency and the banks to achieve a trust connection according to the agreed rules and expected business volume between the clearing agency and the banks, obtains the permission chain, and starts running the permission chain.

[0124] The permission chain construction device can audit the clearing institutions and banks, and assign user names and passwords and hardware security units storing the hardware security unit passwords to the clearing institutions and banks that have passed the audit. In this way, the clearing institutions and banks can use their own user names and passwords and the hardware security units storing the hardware security unit passwords to access the management system of the operating institution. Specifically, the clearing institution or bank uses its user name, password, and hardware security unit to log in to the management system of the operating institution, so that the management system of the operating institution uses the user name and password used by the clearing institution or bank when logging in and the hardware security unit password to identify the identity of the clearing institution or bank in the management system of the operating institution; after the clearing institution or bank successfully logs in, it can generate a custom identifier, and use the hardware encryption machine arranged in the security area of ​​the clearing institution or bank to obtain the key pair (i.e., private key and public key) and public key address corresponding to the custom identifier, and send the public key, public key address and signature generated by the private key (for example, signing a random string using the private key) to the management system of the operating institution; and the management system of the operating institution uses the public key and signature sent by the clearing institution or bank to confirm the identity of the clearing institution or bank in the permission chain, and allocate the corresponding permissions of the clearing institution or bank in the permission chain, and then generate an identity creation instruction carrying the identity, permissions and public key address of the clearing institution or bank in the permission chain, and send it to the permission chain; the permission chain creates an identity for the clearing institution or bank in the permission chain according to the identity creation instruction, and adds the public key address of the clearing institution or bank to the permission chain authorization list.

[0125] The above financial data may refer to the total net account and bilateral net account of each bank in the permission chain, wherein the total net account is created for each bank after the identities of the clearing institution and each bank are created on the permission chain, corresponding to the identity of each bank. The bilateral net account is created for each bank during the netting process, corresponding to the identity of each bank.

[0126] After creating the identities and corresponding permissions of the clearing agency and each bank on the license chain, each bank can perform real-time netting processing based on the license chain, and the clearing agency can perform scheduled clearing processing based on the license chain. Among them, when the paying bank receives a transaction application from a user to pay the receiving bank, the paying bank obtains the private key corresponding to the custom identifier from the hardware encryption machine, and uses its own private key to sign the transaction application, and sends the signed transaction application to the license chain; the netting processing device set on the license chain verifies the signature of the transaction application (for example, verifies whether the signature is valid), and after the verification is passed, recovers the public key from the signature, and determines the public key address based on the recovered public key; the public key address is queried in the authorization list of the license chain. If the public key address is found, the network consisting of the paying bank and the receiving bank is queried. The bilateral net account corresponding to the binary vector, if the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank is found, then the permission chain performs real-time netting processing on the total net account and bilateral net account of the paying bank and the receiving bank respectively under the constraints of the smart contract according to the transaction information carried in the transaction application. If the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank is not found, the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank is first established, and then the total net account and bilateral net account of the paying bank and the receiving bank are netted respectively under the constraints of the smart contract. The clearing processing device set on the clearing institution reads the total net account and bilateral net account of each bank on the permission chain at the same time point, and sends the total net account and bilateral net account of each bank that have been obtained to the clearing account management system, so that the clearing account management system performs clearing processing according to the total net account and bilateral net account of each bank. In specific implementation, before the scheduled clearing processing, the following processing is required. After the scheduled business transaction is stopped, the clearing processing device initiates an account snapshot transaction to the license chain to save the total net account and bilateral net account of all banks on the license chain at the same time point, and then generates a hash value of the account snapshot transaction, and binds the hash value to the saved total net account and bilateral net account of all banks at the same time point, so that the clearing agency can read the saved total net account and bilateral net account of all banks at the same time point according to the hash value, and finally reset the total net account and bilateral net account of all banks on the license chain to zero, and start running business transactions.

[0127] The present invention adopts a permission chain to enable a trust connection between a clearing agency and each bank in a decentralized manner, which can simplify the financial data processing steps of the clearing mechanism, has no limit on the running time, high clearing efficiency and low cost.

[0128] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0129] In summary, the present invention has the following technical effects:

[0130] 1. Banks use permissioned chains for trust connection rather than a centralized trust connection method. Participating banks jointly formulate business rules and share risks.

[0131] 2. The blockchain establishes the bank's identity and the bank's clearing account system, including a total net account and a bilateral net account. Smart contracts are used to achieve real-time bilateral netting and total net calculations. Net debit limits are used for automatic risk control to ensure the completion of the final financial settlement of the business.

[0132] 3. Corporate payment realizes real-time payment without risk, which solves the problem that no payment method can guarantee real-time payment at present, and is superior to the existing payment mode.

[0133] 4. No need for reconciliation. Blockchain smart contracts are used for bilateral netting and total net amount calculation. All transactions are conducted through the blockchain. Each transaction is the result of consensus among all banks and no reconciliation is required.

[0134] Although the present invention is described in detail above, the present invention is not limited thereto, and those skilled in the art can make various modifications based on the principles of the present invention. Therefore, all modifications made based on the principles of the present invention should be understood to fall within the protection scope of the present invention.

Claims

1. A real-time netting and scheduled settlement method based on permission chain, characterized in that: The method comprises: After constructing a permission chain for the clearing institution and each bank to achieve a trust connection, the operating institution allocates identities in the permission chain to the clearing institution and each bank respectively, and creates a clearing account system corresponding to the identity for each bank on the permission chain; When the paying bank receives a transaction application from a paying bank user to a receiving bank user, the paying bank deducts the transaction amount from the paying bank user account to the paying bank intermediary account, and then sends the transaction application to the permission chain; The permission chain performs real-time on-chain netting processing on the paying bank and the receiving bank respectively according to the transaction information carried in the transaction application, and then the receiving bank pays the transaction amount from the receiving bank's intermediate account to the receiving bank's user account; The clearing agency obtains the clearing account system of each bank on the permission chain at the same clearing time, and sends the obtained clearing account system of each bank at the same clearing time to the clearing account management system for scheduled clearing processing and inter-bank fund transfer; After the clearing agency completes the fund transfer in the clearing account management system, it notifies the blockchain to complete the netting and clearing consensus, and the bank clears the intermediate account; Wherein, the bank's clearing account system includes the bank's total net account and one or more bilateral net accounts with one or more other banks; the creation of a clearing account system corresponding to an identity for each bank on the permission chain includes: creating a total net account corresponding to the identity one by one at the beginning of creating an identity for the bank in the permission chain; after the permission chain receives a transaction application, querying whether the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank of the transaction application already exists, and if not, creating a corresponding bilateral net account for each of the paying bank and the receiving bank of the transaction application on the permission chain; The real-time on-chain netting processing of the paying bank and the receiving bank respectively includes: real-time on-chain netting processing of the clearing account system of the paying bank, specifically, reducing the total net account of the paying bank and the bilateral net account between the paying bank and the receiving bank on the permission chain for the paying bank; real-time on-chain netting processing of the clearing account system of the receiving bank, specifically, increasing the total net account of the receiving bank and the bilateral net account between the receiving bank and the paying bank on the permission chain for the receiving bank; Among them, in a scheduled clearing, the clearing institution obtains the clearing account system of each bank on the permission chain at the same clearing time point, and sends the clearing account system of each bank at the same clearing time point to the clearing account management system for scheduled clearing processing and inter-bank fund transfer, including: initiating a suspension business transaction; initiating an account snapshot transaction to save the difference between the total net account and the difference between the bilateral net account of each bank on the permission chain at the same time point; initiating an account clearing transaction to change the difference between the total net account and the difference between the bilateral net account of all banks on the permission chain to zero; initiating a start-up business transaction; sending the inter-bank clearing instruction, the difference between the total net account and the difference between the bilateral net account of each bank at the same time point to the clearing account management system, so that the clearing account management system executes the inter-bank clearing instruction, performs scheduled clearing processing according to the difference between the total net account and the difference between the bilateral net account of each bank at the same time point, and performs inter-bank fund transfer.

2. The method according to claim 1, characterized in that The permission chain built by the operating institution to enable the clearing institution and banks to achieve a trust connection includes: The operating institution configures the blockchain used to achieve a trust connection between the clearing institution and the banks in accordance with the agreed rules and expected business volume between the clearing institution and the banks, obtains the permission chain and starts operation.

3. The method according to claim 1, characterized in that Before the operating institution assigns identities in the permission chain to the clearing institution and each bank respectively, the following is further included: The operating institution reviews the clearing institutions and banks, and assigns user names and passwords, as well as hardware security units that store the hardware security unit passwords, to the clearing institutions and banks that have passed the review.

4. The method according to claim 3, characterized in that The identities assigned by the operating institution to the clearing institution and each bank in the permission chain include: The clearing institution or bank uses its user name, password, and hardware security unit to log into the management system of the operating institution, so that the management system of the operating institution uses the user name and password used by the clearing institution or bank when logging in, as well as the hardware security unit password, to identify the identity of the clearing institution or bank in the management system of the operating institution; After successful login, the clearing institution or bank obtains the private key, public key and public key address corresponding to the custom identifier from the hardware encryption machine arranged in the security area of ​​the clearing institution or bank, and sends the public key, public key address and the signature generated by the private key to the management system of the operating institution; The management system of the operating institution uses the public key and signature sent by the clearing institution or bank to confirm the identity of the clearing institution or bank in the permission chain and allocate the corresponding permissions of the clearing institution or bank in the permission chain; The management system of the operating institution generates an identity creation instruction that carries the identity, authority, and public key address of the clearing institution or bank in the permission chain, and sends it to the permission chain, so that the permission chain creates an identity for the clearing institution or bank in the permission chain according to the identity creation instruction, and adds the public key address of the clearing institution or bank to the permission chain authorization list.

5. The method according to claim 4, characterized in that The payment bank sends the transaction application to the permission chain including: The paying bank obtains the private key corresponding to the custom identifier from the hardware encryption machine, signs the transaction application using its own private key, and sends the signed transaction application to the permission chain.

6. The method according to claim 5, characterized in that Before the permission chain performs real-time on-chain netting processing on the paying bank and the receiving bank respectively according to the transaction information carried in the transaction application, the permission chain further includes: The permission chain verifies the signature of the transaction application, and after the verification is passed, recovers the public key from the signature, and determines the public key address based on the recovered public key; The permission chain searches for the public key address in the permission chain authorization list. If the public key address is found, it searches whether a bilateral net balance account corresponding to the binary vector formed by the paying bank and the receiving bank exists.

7. A real-time netting and scheduled settlement system based on permission chain, characterized in that: The system comprises: A permission chain construction device, used to construct a permission chain that enables a clearing institution and each bank to achieve a trust connection, assign identities in the permission chain to the clearing institution and each bank that have joined the permission chain, and create a clearing account system corresponding to the identity for each bank on the permission chain; A netting processing device, which is used to deduct the transaction amount from the paying bank user account to the paying bank intermediate account when the paying bank receives a transaction application from the paying bank user to the receiving bank user, and then send the transaction application received by the paying bank to the permission chain, so that the permission chain performs real-time on-chain netting processing on the paying bank and the receiving bank respectively according to the transaction information carried in the transaction application, and then the receiving bank pays the transaction amount from the receiving bank intermediate account to the receiving bank user account; A clearing processing device, used to obtain the clearing account system of each bank on the permission chain at the same clearing time point, and send the clearing account system of each bank at the same clearing time point to the clearing account management system for scheduled clearing processing and inter-bank fund transfer. After the clearing account management system completes the fund transfer, it notifies the blockchain to complete the netting clearing consensus, and the bank clears the intermediate account; Wherein, the bank's clearing account system includes the bank's total net account and one or more bilateral net accounts with one or more other banks; the creation of a clearing account system corresponding to an identity for each bank on the permission chain includes: creating a total net account corresponding to the identity one by one at the beginning of creating an identity for the bank in the permission chain; after the permission chain receives a transaction application, querying whether the bilateral net account corresponding to the binary vector composed of the paying bank and the receiving bank of the transaction application already exists, and if not, creating a corresponding bilateral net account for each of the paying bank and the receiving bank of the transaction application on the permission chain; The real-time on-chain netting processing of the paying bank and the receiving bank respectively includes: real-time on-chain netting processing of the clearing account system of the paying bank, specifically, reducing the total net account of the paying bank and the bilateral net account between the paying bank and the receiving bank on the permission chain for the paying bank; real-time on-chain netting processing of the clearing account system of the receiving bank, specifically, increasing the total net account of the receiving bank and the bilateral net account between the receiving bank and the paying bank on the permission chain for the receiving bank; Among them, in a scheduled clearing, the clearing account system of each bank on the permission chain at the same clearing time point is obtained, and the clearing account system of each bank at the same clearing time point that has been obtained is sent to the clearing account management system for scheduled clearing processing and inter-bank fund transfer, including: initiating a suspension business transaction; initiating an account snapshot transaction to save the difference between the total net account and the difference between the bilateral net account of each bank on the permission chain at the same time point; initiating an account zeroing transaction to change the difference between the total net account and the difference between the bilateral net account of all banks on the permission chain to zero; initiating a start-up business transaction; sending the inter-bank clearing instruction, the difference between the total net account and the difference between the bilateral net account of each bank at the same time point to the clearing account management system, so that the clearing account management system executes the inter-bank clearing instruction, performs scheduled clearing processing according to the difference between the total net account and the difference between the bilateral net account of each bank at the same time point, and performs inter-bank fund transfer.