A distributed bill management method and device

By obtaining and verifying the transaction request information in the distributed bill, the trust of relevant nodes is simulated, and the transaction failure problem caused by unverified payment account information in the prior art is solved, and the accuracy and success rate of transaction requests are improved.

CN118691284BActive Publication Date: 2024-11-26JIAYING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411162007.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-26
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

The existing distributed bill processing methods do not involve verification of payment account information, resulting in frequent payment timeouts or failures, affecting the accuracy and success rate of transaction requests.

Method used

By obtaining transaction bill information in transaction requests, simulate verification of the trust of relevant nodes and generating verification codes, ensuring the reliability of payment account information and the availability of bill information, thereby improving the accuracy of transaction requests and payment success rate.

Benefits of technology

It effectively improves the accuracy and payment success rate of transaction requests, ensures the reliability and availability of payment accounts and billing information, and reduces transaction failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118691284B_ABST
    Figure CN118691284B_ABST
Patent Text Reader

Abstract

The present invention discloses a management method for distributed bills, and relates to the technical field of financial transactions. The management method comprises: obtaining a transaction request of a node, querying several related nodes of the transaction request according to transaction bill information, extracting a main verification node, a verification node and an accounting node from several related nodes, and querying several secondary verification nodes based on payment account information; obtaining the trust of the payment account information in the main verification node and several secondary verification nodes, extracting the final verification node based on the trust, generating a verification code, and updating the transaction bill information, judging whether the updated transaction bill information is available through simulation verification; executing the transaction request according to the updated transaction bill information, and updating the account book data at the accounting node. The reliability of the transaction payment account and the availability of the transaction bill information are ensured through simulation verification, thereby improving the accuracy of the transaction request and the success rate of the transaction payment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the field of financial transaction technology, and in particular to a distributed bill management method and device. Background Art

[0002] Mobile payment is currently the main payment method for transactions. It enables a convenient transaction experience through online payment technology. Mobile payment has become a basic service of various financial institutions. Based on business transactions between multiple financial institutions, an Internet financial architecture is constructed. Current Internet financial technology mainly achieves the management and control of mobile payment transactions through distributed bills.

[0003] Distributed bills mainly create transaction records independently on each node and update the database synchronously, that is, multiple nodes jointly update bills. Currently, distributed bills mainly update bill data after verifying the reliability of transaction requests between nodes. Since the current distributed bill processing method does not involve verification of payment account information, it is easy for payment accounts to be unavailable, resulting in payment timeouts or payment failures. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a distributed bill management method and device, which obtains transaction bill information according to transaction requests, simulates and verifies the relevant nodes involved in the transaction bill information, ensures the reliability of the transaction payment account and the availability of the transaction bill information, thereby improving the accuracy of transaction requests and the success rate of transaction payments.

[0005] The present invention provides a distributed bill management method, the management method comprising:

[0006] Obtain a transaction request from a node, and extract transaction bill information from the transaction request;

[0007] Querying several related nodes of the transaction request according to the transaction bill information, and extracting a main verification node, a verification node, and a bookkeeping node from the several related nodes;

[0008] Extracting payment account information from the transaction bill information, and querying a number of secondary verification nodes based on the payment account information;

[0009] Obtain the trust of the payment account information at the primary verification node and several secondary verification nodes, extract the final verification node based on the trust and generate a verification code;

[0010] The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available;

[0011] If the updated bill is available, the transaction request is executed according to the updated transaction bill information, and the ledger data is updated at the accounting node;

[0012] If the updated bill is not available, the transaction request is marked as failed.

[0013] Furthermore, the acquiring node's transaction request and extracting the transaction bill information from the transaction request include:

[0014] Monitor the transaction status of each node and obtain the transaction request of the node;

[0015] Transaction bill information is extracted from the transaction request, and the transaction bill information includes payment account information, payment channel information and receiving account information.

[0016] Further, the querying of several related nodes of the transaction request according to the transaction bill information, and extracting the main verification node, the verification node and the accounting node from the several related nodes includes:

[0017] Sort the related nodes from high to low according to the node level, and set the first related node as the verification node;

[0018] According to the payment channel information of the transaction bill information, query the financial institution corresponding to the payment channel information and set it as the main verification node;

[0019] According to the payment account information of the transaction bill information, the financial institution corresponding to the payment account information is queried and set as a bookkeeping node.

[0020] Furthermore, extracting payment account information from the transaction bill information and querying a plurality of secondary verification nodes based on the payment account information includes:

[0021] Set the payment account information in the transaction bill information as the main payment account, query other payment accounts of the corresponding user according to the payment account information, and set them as several sub-payment accounts;

[0022] Obtain the financial institutions corresponding to several sub-payment accounts and set them as several secondary verification nodes.

[0023] Furthermore, the step of obtaining the trust of the payment account information at the primary verification node and the plurality of secondary verification nodes, extracting the final verification node based on the trust, and generating a verification code includes:

[0024] Acquiring, at the primary verification node, a number of evaluation parameters of the payment account information, and calculating a first trust degree of the payment account at the primary verification node based on the number of evaluation parameters;

[0025] evaluating whether the first trust level reaches a preset evaluation value, and if so, generating a verification code based on the payment account information and the main verification node;

[0026] If not, a trust evaluation is performed on the secondary verification node to obtain a second trust of the sub-payment account at the corresponding secondary verification node.

[0027] Furthermore, the acquiring of several evaluation parameters of the payment account information at the primary verification node, and calculating the first trust degree of the payment account at the primary verification node based on the several evaluation parameters includes:

[0028] Calculate the health values ​​of several evaluation parameters corresponding to the payment account information, evaluate the health status of the payment account, and calculate the first trust degree of the payment account in the main verification node according to the health status of the payment account. The trust degree calculation formula is:

[0029] ;

[0030] in, For trust, The total number of evaluation parameters for payment account information, is a constant, , For the The weight coefficients of the evaluation parameters, For the The evaluation values ​​of the evaluation parameters, is the average health value of several evaluation parameters, and D is the standard health value of the payment account.

[0031] Further, the verification node receives the verification code and updates the transaction bill information, and performs simulation verification according to the updated transaction bill information, and determines whether the updated transaction bill information is available, including:

[0032] The verification node updates the transaction bill information according to the verification code, and obtains the relevant node data of the updated transaction bill information;

[0033] Generate a test data packet through a verification node, and send the test data packet to the relevant nodes to obtain feedback data from each relevant node;

[0034] The health status of each relevant node is detected according to the feedback data, each relevant node is determined to be in a normal working state, and the updated transaction bill information is marked as available.

[0035] Furthermore, if the updated bill is available, executing the transaction request according to the updated transaction bill information, and updating the ledger data at the accounting node includes:

[0036] When the updated billing information is in an available state, the transaction request is executed based on the updated billing information, billing data corresponding to the transaction request is generated in the accounting node, and the billing data is updated and stored in the distributed billing system.

[0037] Furthermore, if the updated bill is unavailable, marking the transaction request as a failed state includes:

[0038] If the updated billing information is in an unavailable state, marking the relevant nodes in an abnormal working state according to the feedback data of the relevant nodes, and generating an error report information code;

[0039] In combination with the error report information code, a failure status prompt is provided to the node that issued the transaction request.

[0040] The present invention also provides a distributed bill management device, the management device comprising:

[0041] Transaction monitoring module: used to obtain the transaction request of the node and extract the transaction bill information from the transaction request;

[0042] Information acquisition module: used to query several related nodes of the transaction request according to the transaction bill information, and extract the main verification node, verification node and accounting node from the several related nodes;

[0043] Node acquisition module: used to extract payment account information from transaction bill information, and query several secondary verification nodes based on the payment account information;

[0044] Node verification module: used to obtain the trust of payment account information in the primary verification node and several secondary verification nodes, extract the final verification node based on the trust and generate a verification code;

[0045] Node verification module: The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available;

[0046] Data update module: if the updated bill is available, execute the transaction request according to the updated transaction bill information, and update the ledger data at the accounting node;

[0047] If the updated bill is not available, the transaction request is marked as failed.

[0048] The present invention provides a distributed bill management method and device, which obtains transaction bill information according to transaction requests, performs simulation verification on relevant nodes involving transaction bill information, ensures the reliability of transaction payment accounts and the availability of transaction bill information, thereby improving the accuracy of transaction requests and the success rate of transaction payments. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flow chart of a method for managing distributed bills in an embodiment of the present invention;

[0050] Figure 2 It is a schematic diagram of a distributed bill management device in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] Embodiment 1:

[0053] Figure 1 A flow chart of a distributed bill management method in an embodiment of the present invention is shown. A distributed bill system is constructed based on several financial institutions as nodes, and real-time control and registration of financial transactions in the distributed bill system are achieved based on data update and maintenance of each node.

[0054] The management method comprises:

[0055] S11: Obtain the transaction request of the node, and extract the transaction bill information from the transaction request.

[0056] Monitor the transaction status of each node, obtain the transaction request of the node, and when any node generates a payment transaction, immediately generate transaction bill information and submit a transaction request to the distributed billing system based on the transaction bill information.

[0057] Transaction bill information is extracted from the transaction request, wherein the transaction bill information includes payment account information, payment channel information and receiving account information. The payment account in the transaction request is verified based on the payment account information to obtain the payment capability of the payment account, so as to ensure that the transaction request meets the basic conditions for transaction completion.

[0058] The fund flow path involved in the transaction request is obtained based on the payment channel information so as to monitor the transaction involved in the transaction request.

[0059] The location of fund flow involved in the transaction request is obtained based on the payment account information, thereby improving the reliability of fund flow management in the distributed billing system.

[0060] S12: Query several related nodes of the transaction request according to the transaction bill information, and extract the main verification node, the verification node and the accounting node from the several related nodes.

[0061] Node levels are divided according to the transaction throughput of financial institutions within the distributed ledger system.

[0062] The plurality of related nodes are sorted from high to low according to the node level, and the first related node is set as the verification node.

[0063] Specifically, in this embodiment, the transaction type and transaction amount are obtained according to the transaction bill information, the corresponding financial institution is selected as the verification node of the transaction request according to the transaction type, the level of the verification node is determined according to the transaction amount, and a number of financial institutions that meet the requirements are screened as alternative verification nodes based on the transaction type and the transaction amount, so that a suitable node can be selected as the verification node according to the working status of the alternative verification node.

[0064] Furthermore, when the transaction type is a credit transaction, a credit financial institution is selected as the verification node for the transaction request, and a verification node of an appropriate level is selected according to the numerical value of the transaction amount. If the transaction amount is within 1,000, a low-level financial institution is selected as the verification node. As the transaction amount increases, the level of the verification node is gradually adjusted.

[0065] Furthermore, based on the obtained payment account information, payment channel information and receiving account information, the financial institutions that have direct business dealings with the payment account information, payment channel information and receiving account information are queried, and when selecting verification nodes, the nodes corresponding to the financial institutions related to the payment account information, payment channel information and receiving account information are eliminated to avoid interference with the selection of verification nodes by nodes directly related to the transaction bill information.

[0066] According to the payment channel information of the transaction bill information, query the financial institution corresponding to the payment channel information and set it as the main verification node;

[0067] The payment channel information is extracted from the transaction bill information, the corresponding payment account and the financial institution corresponding to the payment account are obtained from the payment channel information, and the financial institution is set as the main verification node. By obtaining the health status of the payment account in the main verification node, the reliability and accuracy of the transaction can be judged when executing the transaction request, so as to improve the success rate of the transaction.

[0068] According to the payment account information of the transaction bill information, the financial institution corresponding to the payment account information is queried and set as a bookkeeping node.

[0069] Specifically, the receiving account information in the transaction bill information is obtained, the flow location of the funds is determined based on the receiving account information, and whether the transaction behavior corresponding to the transaction request is completed is judged based on the change of the fund data, and the completion status of the transaction is marked through the accounting node.

[0070] S13: extracting payment account information from the transaction bill information, and querying a number of secondary verification nodes based on the payment account information.

[0071] Set the payment account information in the transaction bill information as the main payment account, query other payment accounts of the corresponding user based on the payment account information, and set them as several sub-payment accounts, obtain the payment account information of the transaction bill information, and use the payment account information as the main payment account, and the financial institution corresponding to the main payment account serves as the main verification node.

[0072] Based on the main payment account, query the user information corresponding to the main payment account, query the user's other payment accounts based on the user information, mark the other payment accounts of the user information as sub-payment accounts, obtain several financial institutions corresponding to the sub-payment accounts, and set them as several secondary verification nodes.

[0073] The user's account information is extracted based on the transaction bill information, and multiple secondary verification nodes are set based on the user's account information, that is, by detecting other accounts of the user information corresponding to the payment account, the transaction request is extended to verify the payment channel, so as to improve the success rate of the transaction request.

[0074] S14: Obtain the trust of the payment account information in the primary verification node and several secondary verification nodes, extract the final verification node based on the trust, and generate a verification code.

[0075] A plurality of evaluation parameters of the payment account information are obtained at the main verification node, and a first trust degree of the payment account at the main verification node is calculated based on the plurality of evaluation parameters.

[0076] Specifically, the evaluation parameters include the single transaction limit of the payment account, the remaining daily payment limit of the payment account, the usage status of the payment account, the balance of the payment account, and the fund flow data of the payment account.

[0077] Ensure the evaluation parameters involved in the evaluation based on the transaction type involved in the transaction request. For example, if the transaction request is an installment consumption transaction, it is necessary to obtain evaluation parameters such as the usage status of the payment account, the balance of the payment account, and the fund flow data of the payment account to conduct a trust evaluation on the payment account.

[0078] Furthermore, the trust evaluation is used to verify whether the payment account meets the transaction requirements of the transaction request to ensure that the transaction request can be executed.

[0079] Evaluate whether the first trust level reaches a preset evaluation value; if so, generate a verification code based on the payment account information and the main verification node; when the first trust level of the main verification node meets the preset evaluation value, the payment account meets the transaction requirements of the transaction request; generate a verification code through the payment account information and the information of the main verification node to confirm the payment account information and the corresponding financial institution information that meet the transaction request.

[0080] If not, a trust evaluation is performed on the secondary verification node to obtain a second trust of the sub-payment account at the corresponding secondary verification node.

[0081] When the first trust degree of the main verification node is less than the preset evaluation value, the payment account cannot meet the transaction requirements of the transaction request. The trust degree of several secondary verification nodes is checked in turn, that is, the second trust degree of the secondary verification nodes is calculated in turn, and the second trust degree is evaluated until one of the several secondary verification nodes reaches the preset evaluation value. The sub-payment account information that meets the transaction request and the corresponding secondary verification node information are combined to generate a verification code, so as to adjust the payment channel information of the transaction request according to the verification code.

[0082] Furthermore, the preset evaluation value is set according to the transaction amount and transaction type involved in the transaction request, and the preset evaluation value ranges from 0.6 to 0.9.

[0083] The step of obtaining a plurality of evaluation parameters of the payment account information at the primary verification node and calculating a first trust degree of the payment account at the primary verification node based on the plurality of evaluation parameters comprises:

[0084] Calculate the health values ​​of several evaluation parameters corresponding to the payment account information, evaluate the health status of the payment account, and calculate the first trust degree of the payment account in the main verification node according to the health status of the payment account. The trust degree calculation formula is:

[0085] ;

[0086] in, For trust, The total number of evaluation parameters for payment account information, is a constant, , For the The weight coefficients of the evaluation parameters, For the The evaluation values ​​of the evaluation parameters, is the average health value of several evaluation parameters, and D is the standard health value of the payment account.

[0087] S15: The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available.

[0088] The verification node updates the transaction bill information according to the verification code and obtains the relevant node data of the updated transaction bill information. The verification node obtains the verification code, queries the payment account information and the verification node information based on the verification code, and updates the transaction bill information of the transaction request with the payment account information and the verification node information.

[0089] The verification node sends the updated transaction bill information to the node that makes the transaction request, and obtains information instructions to confirm the changes at the node, that is, confirms the modification of the relevant payment account and payment channel of the transaction request through the user.

[0090] A test data packet is generated by the verification node, and the test data packet is sent to the relevant nodes to obtain feedback data from each relevant node. The verification node can generate a test data packet based on the updated transaction bill information, and use the test data packet to simulate the data flow of the transaction request to obtain the operating status of each node on the payment channel path involved in the transaction request.

[0091] The health status of each relevant node is detected according to the feedback data, each relevant node is determined to be in a normal working state, and the updated transaction bill information is marked as available.

[0092] S16: If the updated bill is available, execute the transaction request according to the updated transaction bill information, and update the ledger data at the accounting node;

[0093] If the updated bill is not available, the transaction request is marked as failed.

[0094] Specifically, when the updated billing information is in an available state, the transaction request is executed based on the updated billing information, billing data corresponding to the transaction request is generated in the accounting node, and the billing data is updated and stored in the distributed billing system.

[0095] If the updated bill information is in an unavailable state, the relevant nodes in abnormal working state are marked according to the feedback data of the relevant nodes, and an error report information code is generated to prompt the node that issued the transaction request that a failure has occurred so that the relevant staff of the node can make transaction adjustments.

[0096] An embodiment of the present invention provides a distributed bill management method, which obtains transaction bill information according to a transaction request, performs simulation verification on relevant nodes involving the transaction bill information, ensures the reliability of the transaction payment account and the availability of the transaction bill information, thereby improving the accuracy of the transaction request and the success rate of the transaction payment.

[0097] Embodiment 2:

[0098] Figure 2 A distributed bill management device in an embodiment of the present invention is shown, and the management device includes:

[0099] Transaction monitoring module 10: used to obtain the transaction request of the node and extract the transaction bill information from the transaction request.

[0100] Transaction bill information is extracted from the transaction request, wherein the transaction bill information includes payment account information, payment channel information and receiving account information. The payment account in the transaction request is verified based on the payment account information to obtain the payment capability of the payment account, so as to ensure that the transaction request meets the basic conditions for transaction completion.

[0101] The fund flow path involved in the transaction request is obtained based on the payment channel information so as to monitor the transaction involved in the transaction request.

[0102] The location of fund flow involved in the transaction request is obtained based on the payment account information, thereby improving the reliability of fund flow management in the distributed billing system.

[0103] The information acquisition module 20 is used to query several related nodes of the transaction request according to the transaction bill information, and extract the main verification node, the verification node and the accounting node from the several related nodes.

[0104] Node levels are divided according to the transaction throughput of financial institutions within the distributed ledger system.

[0105] The plurality of related nodes are sorted from high to low according to the node level, and the first related node is set as the verification node.

[0106] Specifically, in this embodiment, the transaction type and transaction amount are obtained according to the transaction bill information, the corresponding financial institution is selected as the verification node of the transaction request according to the transaction type, the level of the verification node is determined according to the transaction amount, and a number of financial institutions that meet the requirements are screened as alternative verification nodes based on the transaction type and the transaction amount, so that a suitable node can be selected as the verification node according to the working status of the alternative verification node.

[0107] The node acquisition module 30 is used to extract the payment account information from the transaction bill information, and query a number of secondary verification nodes based on the payment account information.

[0108] Set the payment account information in the transaction bill information as the main payment account, query other payment accounts of the corresponding user based on the payment account information, and set them as several sub-payment accounts, obtain the payment account information of the transaction bill information, and use the payment account information as the main payment account, and the financial institution corresponding to the main payment account serves as the main verification node.

[0109] Based on the main payment account, query the user information corresponding to the main payment account, query the user's other payment accounts based on the user information, mark the other payment accounts of the user information as sub-payment accounts, obtain several financial institutions corresponding to the sub-payment accounts, and set them as several secondary verification nodes.

[0110] Node verification module 40: used to obtain the trust of payment account information in the main verification node and several secondary verification nodes, extract the final verification node based on the trust and generate a verification code.

[0111] A plurality of evaluation parameters of the payment account information are obtained at the main verification node, and a first trust degree of the payment account at the main verification node is calculated based on the plurality of evaluation parameters.

[0112] Specifically, the evaluation parameters include the single transaction limit of the payment account, the remaining daily payment limit of the payment account, the usage status of the payment account, the balance of the payment account, and the fund flow data of the payment account.

[0113] Ensure the evaluation parameters involved in the evaluation based on the transaction type involved in the transaction request. For example, if the transaction request is an installment consumption transaction, it is necessary to obtain evaluation parameters such as the usage status of the payment account, the balance of the payment account, and the fund flow data of the payment account to conduct a trust evaluation on the payment account.

[0114] Evaluate whether the first trust level reaches a preset evaluation value; if so, generate a verification code based on the payment account information and the main verification node; when the first trust level of the main verification node meets the preset evaluation value, the payment account meets the transaction requirements of the transaction request; generate a verification code through the payment account information and the information of the main verification node to confirm the payment account information and the corresponding financial institution information that meet the transaction request.

[0115] If not, a trust evaluation is performed on the secondary verification node to obtain a second trust of the sub-payment account at the corresponding secondary verification node.

[0116] Node verification module 50: The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available.

[0117] The verification node updates the transaction bill information according to the verification code and obtains the relevant node data of the updated transaction bill information. The verification node obtains the verification code, queries the payment account information and the verification node information based on the verification code, and updates the transaction bill information of the transaction request with the payment account information and the verification node information.

[0118] The verification node sends the updated transaction bill information to the node that makes the transaction request, and obtains information instructions to confirm the changes at the node, that is, confirms the modification of the relevant payment account and payment channel of the transaction request through the user.

[0119] A test data packet is generated by the verification node, and the test data packet is sent to the relevant nodes to obtain feedback data from each relevant node. The verification node can generate a test data packet based on the updated transaction bill information, and use the test data packet to simulate the data flow of the transaction request to obtain the operating status of each node on the payment channel path involved in the transaction request.

[0120] The health status of each relevant node is detected according to the feedback data, each relevant node is determined to be in a normal working state, and the updated transaction bill information is marked as available.

[0121] Data updating module 60: if the updated bill is available, executing the transaction request according to the updated transaction bill information, and updating the ledger data at the accounting node;

[0122] If the updated bill is not available, the transaction request is marked as failed.

[0123] If the updated bill is not available, the transaction request is marked as failed.

[0124] Specifically, when the updated billing information is in an available state, the transaction request is executed based on the updated billing information, billing data corresponding to the transaction request is generated in the accounting node, and the billing data is updated and stored in the distributed billing system.

[0125] If the updated bill information is in an unavailable state, the relevant nodes in abnormal working state are marked according to the feedback data of the relevant nodes, and an error report information code is generated to prompt the node that issued the transaction request that a failure has occurred so that the relevant staff of the node can make transaction adjustments.

[0126] An embodiment of the present invention provides a distributed bill management device, which obtains transaction bill information according to a transaction request, performs simulation verification on relevant nodes involving the transaction bill information, ensures the reliability of the transaction payment account and the availability of the transaction bill information, thereby improving the accuracy of the transaction request and the success rate of the transaction payment.

[0127] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0128] In addition, the embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for managing distributed bills. It is characterized in that The management method comprises: Obtain a transaction request from a node, and extract transaction bill information from the transaction request; Querying several related nodes of the transaction request according to the transaction bill information, and extracting a main verification node, a verification node, and a bookkeeping node from the several related nodes; Extracting payment account information from the transaction bill information, and querying a number of secondary verification nodes based on the payment account information; Obtain the trust of the payment account information at the primary verification node and several secondary verification nodes, extract the final verification node based on the trust and generate a verification code; The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available; If the updated transaction bill information is available, executing the transaction request according to the updated transaction bill information, and updating the ledger data at the accounting node; If the updated transaction bill information is not available, marking the transaction request as failed; The step of extracting payment account information from the transaction bill information and querying a plurality of secondary verification nodes based on the payment account information includes: Set the payment account information in the transaction bill information as the main payment account, query other payment accounts of the corresponding user according to the payment account information, and set them as several sub-payment accounts; Obtain the financial institutions corresponding to several sub-payment accounts and set them as several secondary verification nodes; The step of obtaining the trust of the payment account information at the primary verification node and the plurality of secondary verification nodes, extracting the final verification node based on the trust, and generating a verification code comprises: Acquiring, at the primary verification node, a number of evaluation parameters of the payment account information, and calculating a first trust degree of the payment account at the primary verification node based on the number of evaluation parameters; Calculate the health values ​​of several evaluation parameters corresponding to the payment account information, evaluate the health status of the payment account, and calculate the first trust degree of the payment account in the main verification node according to the health status of the payment account. The trust degree calculation formula is: ; in, For trust, The total number of evaluation parameters for payment account information, is a constant, , For the The weight coefficients of the evaluation parameters, For the The evaluation values ​​of the evaluation parameters, is the average health value of several evaluation parameters, and D is the standard health value of the payment account; evaluating whether the first trust level reaches a preset evaluation value, and if so, generating a verification code based on the payment account information and the main verification node; If not, a trust evaluation is performed on the secondary verification node to obtain a second trust of the sub-payment account at the corresponding secondary verification node.

2. The distributed bill management method according to claim 1, It is characterized in that The acquiring node's transaction request, and extracting the transaction bill information from the transaction request includes: Monitor the transaction status of each node and obtain the transaction request of the node; Transaction bill information is extracted from the transaction request, and the transaction bill information includes payment account information, payment channel information and receiving account information.

3. The distributed bill management method according to claim 1, It is characterized in that The querying of several related nodes of the transaction request according to the transaction bill information and extracting the main verification node, the verification node and the accounting node from the several related nodes includes: Sort the related nodes from high to low according to the node level, and set the first related node as the verification node; According to the payment channel information of the transaction bill information, query the financial institution corresponding to the payment channel information and set it as the main verification node; According to the payment account information of the transaction bill information, the financial institution corresponding to the payment account information is queried and set as a bookkeeping node.

4. The method for managing distributed bills according to claim 1, It is characterized in that The verification node receives the verification code and updates the transaction bill information, performs simulation verification according to the updated transaction bill information, and determines whether the updated transaction bill information is available, including: The verification node updates the transaction bill information according to the verification code, and obtains the relevant node data of the updated transaction bill information; Generate a test data packet through a verification node, and send the test data packet to the relevant nodes to obtain feedback data from each relevant node; The health status of each relevant node is detected according to the feedback data, each relevant node is determined to be in a normal working state, and the updated transaction bill information is marked as available.

5. The method for managing distributed bills according to claim 1, It is characterized in that If the updated bill is available, executing the transaction request according to the updated transaction bill information, and updating the ledger data at the accounting node includes: When the updated billing information is in an available state, the transaction request is executed based on the updated billing information, billing data corresponding to the transaction request is generated in the accounting node, and the billing data is updated and stored in the distributed billing system.

6. The method for managing distributed bills according to claim 1, It is characterized in that If the updated bill is unavailable, marking the transaction request as a failed state includes: If the updated billing information is in an unavailable state, marking the relevant nodes in an abnormal working state according to the feedback data of the relevant nodes, and generating an error report information code; In combination with the error report information code, a failure status prompt is provided to the node that issued the transaction request.

7. A distributed bill management device, It is characterized in that The management device comprises: Transaction monitoring module: used to obtain the transaction request of the node and extract the transaction bill information from the transaction request; Information acquisition module: used to query several related nodes of the transaction request according to the transaction bill information, and extract the main verification node, verification node and accounting node from the several related nodes; Node acquisition module: used to extract payment account information from transaction bill information, and query several secondary verification nodes based on the payment account information; The step of extracting payment account information from the transaction bill information and querying a plurality of secondary verification nodes based on the payment account information includes: Set the payment account information in the transaction bill information as the main payment account, query other payment accounts of the corresponding user according to the payment account information, and set them as several sub-payment accounts; Obtain the financial institutions corresponding to several sub-payment accounts and set them as several secondary verification nodes; Node verification module: used to obtain the trust of payment account information in the primary verification node and several secondary verification nodes, extract the final verification node based on the trust and generate a verification code; The step of obtaining the trust of the payment account information at the primary verification node and the plurality of secondary verification nodes, extracting the final verification node based on the trust, and generating a verification code comprises: Acquiring, at the primary verification node, a number of evaluation parameters of the payment account information, and calculating a first trust degree of the payment account at the primary verification node based on the number of evaluation parameters; Calculate the health values ​​of several evaluation parameters corresponding to the payment account information, evaluate the health status of the payment account, and calculate the first trust degree of the payment account in the main verification node according to the health status of the payment account. The trust degree calculation formula is: ; in, For trust, The total number of evaluation parameters for payment account information, is a constant, , For the The weight coefficients of the evaluation parameters, For the The evaluation values ​​of the evaluation parameters, is the average health value of several evaluation parameters, and D is the standard health value of the payment account; evaluating whether the first trust level reaches a preset evaluation value, and if so, generating a verification code based on the payment account information and the main verification node; If not, perform a trust evaluation on the secondary verification node to obtain the second trust of the sub-payment account at the corresponding secondary verification node; Node verification module: The verification node receives the verification code and updates the transaction bill information, performs simulation verification based on the updated transaction bill information, and determines whether the updated transaction bill information is available; Data update module: if the updated transaction bill information is available, execute the transaction request according to the updated transaction bill information, and update the ledger data at the accounting node; If the updated transaction bill information is not available, the transaction request is marked as failed.