CN116862513B - High-safety public payment system based on PoS consensus - Google Patents

High-safety public payment system based on PoS consensus Download PDF

Info

Publication number
CN116862513B
CN116862513B CN202311099955.2A CN202311099955A CN116862513B CN 116862513 B CN116862513 B CN 116862513B CN 202311099955 A CN202311099955 A CN 202311099955A CN 116862513 B CN116862513 B CN 116862513B
Authority
CN
China
Prior art keywords
level
node
transaction
execution
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311099955.2A
Other languages
Chinese (zh)
Other versions
CN116862513A (en
Inventor
张卫平
王晶
王丹
李显阔
丁园
丁洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Global Digital Group Co Ltd
Original Assignee
Global Digital Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Global Digital Group Co Ltd filed Critical Global Digital Group Co Ltd
Priority to CN202311099955.2A priority Critical patent/CN116862513B/en
Publication of CN116862513A publication Critical patent/CN116862513A/en
Application granted granted Critical
Publication of CN116862513B publication Critical patent/CN116862513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Abstract

The invention provides a high-security public payment system based on PoS consensus, which comprises a node level management terminal, a transaction initiation management terminal, a transaction execution judgment terminal and a public payment terminal in a block; the intra-block node hierarchy management terminal is used for dividing and managing the hierarchy of each node in the block according to the currency rights and interests of the node; the money equity refers to the cryptographic mortgage amount of the node; the transaction initiation management terminal is used for receiving and managing a transaction initiation application of the nodes in the block; the transaction execution judging terminal is used for carrying out transaction execution judgment for the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judging information; and the public payment terminal is used for completing the public payment behavior of the corresponding transaction according to the execution judgment information. The invention has the effect of improving the safety and accuracy of high-safety public payment based on PoS consensus.

Description

High-safety public payment system based on PoS consensus
Technical Field
The invention relates to the technical field of blockchain secure payment, in particular to a high-security public payment system based on PoS consensus.
Background
PoS (Proof of Stake) consensus is a blockchain consensus that is used to verify and validate new blocks and determine the producer of the next block. Unlike the traditional PoW (Proof of Work) consensus, the PoS selects and verifies the producer of the block based on the rights to hold digital currency, rather than competing for billing rights through computational challenges. In PoS consensus, participants may qualify for billing by locking a certain amount of digital currency into the network as collateral. These mortgage digital currencies are known as interests and participants holding more interests have a higher chance to be selected as billable. The high-security public payment system based on PoS consensus is a system combining a blockchain technology and a consensus mechanism and is used for realizing a high-security public payment network. In such systems, a verifier (node) participating in network security no longer competes for billing rights through PoW (Proof of Work), but participates in verification and packaging transactions by holding a number of tokens.
Many high security public payment systems have been developed, and through extensive searching and reference, the high security public payment systems of the prior art are found to have high security public payment systems as disclosed in publication nos. CN104021474A, CN105809427A, CN105809444A, EP3057049A4, US20200097971A1, JP2017502582a, which generally include: the payment application receiving terminal, the central auditing terminal and the payment operation executing terminal; the payment application receiving terminal is used for receiving a payment application from a user; the central auditing terminal is used for auditing the payment application; the payment operation executing terminal is used for executing the payment operation on the verified payment application. The auditing process of the high-security public payment system is single and simple, so that the auditing accuracy of the payment application is easily reduced, and the defects of reduced security and accuracy of public payment of the high-security public payment system are caused.
Disclosure of Invention
The invention aims to provide a high-security public payment system based on PoS consensus, aiming at the defects of the high-security public payment system.
The invention adopts the following technical scheme:
a high-security public payment system based on PoS consensus comprises an intra-block node level management terminal, a transaction initiation management terminal, a transaction execution judgment terminal and a public payment terminal; the intra-block node hierarchy management terminal is used for dividing and managing the hierarchy of each node in the block according to the currency rights and interests of the node; the money equity refers to the cryptographic money mortgage quantity of the node; the transaction initiation management terminal is used for receiving and managing a transaction initiation application of nodes in the block; the transaction execution judging terminal is used for carrying out transaction execution judgment for the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judging information; the public payment terminal is used for completing public payment behaviors of corresponding transactions according to the execution judgment information;
the intra-block node level management terminal comprises a node information acquisition module, a node level calculation module and a node level management module; the node information acquisition module is used for acquiring node information of all nodes in the block; the node information comprises currency rights, currency age information and node year; the node level calculation module is used for calculating the node level of the corresponding node according to the node information; the node level management module is used for carrying out level division and management on all nodes according to node levels of the nodes;
the transaction execution judging terminal comprises a transaction execution index calculation module and a transaction execution judging module; the transaction execution index calculation module is used for calculating the transaction execution index of the corresponding transaction initiation application according to the hierarchy of the corresponding node, the currency rights and interests, the currency age information and the feedback information of the rest nodes; the transaction execution judging module is used for generating corresponding execution judging information according to the transaction execution index.
Optionally, the node level calculation module comprises a node level index calculation sub-module and a node level selection sub-module; the node level index calculation submodule is used for calculating node level indexes of the corresponding nodes according to the node information; the node level selection submodule is used for selecting a corresponding node level according to the node level index;
when the node level index calculation sub-module calculates, the following equation is satisfied:
wherein,a node hierarchy index representing a corresponding node; />Representing a monetary equity weight coefficient, empirically set by an administrator; />Representing a monetary benefit value of the corresponding node; />The weight coefficient of the coin age is set by an administrator according to experience; />Representing the coin-age value of the corresponding node; />Representing the year of the node;
when the node hierarchy selection submodule works, the following equation is satisfied:
wherein,a node hierarchy representing a corresponding node; />And->Respectively represent different hierarchical division thresholds, each of which is based on experience by an administratorSetting.
Optionally, the transaction execution index calculation module includes a first-level execution evaluation sub-module, a first judgment sub-module, a second-level execution evaluation sub-module, a second judgment sub-module, a third-level execution evaluation sub-module and a transaction execution index calculation sub-module; the first-level execution evaluation submodule is used for completing first-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the first level; the first judging submodule is used for judging whether a second-level execution evaluation starting instruction is generated according to the first-level execution evaluation; if a second-level execution evaluation starting instruction is generated, the second-level execution evaluation submodule is used for completing second-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the second level; the second judging sub-module is used for judging whether a third-level execution evaluation starting instruction is generated according to the second-level execution evaluation; if a third-level execution evaluation starting instruction is generated, the third-level execution evaluation submodule is used for completing third-level execution evaluation according to the currency rights, the currency age information and the feedback information of the third-level residual nodes; the transaction execution index calculation submodule is used for calculating the transaction execution index corresponding to the transaction initiation application according to the first-level execution evaluation, the second-level execution evaluation and the third-level execution evaluation;
when the transaction initiating application comes from a node of the first level, starting to work from a first level executing and evaluating sub-module, and calculating a transaction executing index corresponding to the transaction initiating application by the transaction executing index calculating sub-module according to the first level executing and evaluating, the second level executing and evaluating and the third level executing and evaluating; when the transaction initiating application comes from the node of the second level, starting to work from the second level execution evaluation submodule, wherein the transaction execution index calculation submodule calculates a transaction execution index corresponding to the transaction initiating application according to the second level execution evaluation and the third level execution evaluation; and when the transaction initiating application comes from the node of the third level, starting to work from the execution evaluation submodule of the third level, wherein the transaction execution index calculation submodule calculates the transaction execution index corresponding to the transaction initiating application according to the execution evaluation of the third level.
Optionally, the first-level execution evaluation submodule includes a first-level execution index calculation unit and a first-level execution evaluation generation unit; the first-level execution index calculation unit is used for calculating a corresponding first-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the first level; the first-level execution evaluation generation unit is used for generating corresponding first-level execution evaluation according to the first-level execution index;
when a transaction initiation application comes from a node of a first hierarchy, which performs an index calculation unit calculation, the following equation is satisfied:
wherein,a first level execution index representing an application for initiating a corresponding transaction; />Representing average node year values of nodes agreeing to the transaction among the remaining nodes except the nodes of the transaction initiation application in the first hierarchy; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>A monetary benefit value of the individual node; />Indicating that in the first hierarchy, feedback information indicates consent to the transaction, except for the node from which the transaction originated the applicationIn node->A coin-age value for each node; />Feedback information representing nodes in the first hierarchy other than the node from which the transaction originated the application represents the total number of nodes agreeing to the transaction; />Indicating in the first hierarchy, except for the node from which the transaction originated, that the feedback information indicates +.>A monetary benefit value of the individual node; />Representing a total number of remaining nodes in the first hierarchy except for the node from which the transaction originated the application; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>The node year of the individual node;
when (when)When the first judging submodule judges that the second-level execution evaluation starting instruction is not generated; when->When the first judging submodule judges that a second-level execution evaluation starting instruction is generated; />The first judgment threshold is empirically set by an administrator.
Optionally, the second-level execution evaluation submodule includes a second-level execution index calculation unit and a second-level execution evaluation generation unit; the second-level execution index calculation unit is used for calculating a corresponding second-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the second level; the second-level execution evaluation generation unit is used for generating corresponding second-level execution evaluation according to the second-level execution index;
when the second hierarchy performs the exponent calculation unit calculation, the following equation is satisfied:
wherein,a second level execution index representing an application for corresponding transaction initiation; />Representing at a second level feedback information representing a maximum node year value among nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A monetary benefit value of the individual node; />Indicating at a second level that the feedback information indicates the total number of nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A coin-age value for each node; />Representing at a second level feedback information representing a maximum monetary value of the node that does not agree to the transaction;
when (when)When the second judging sub-module judges that the third-level execution evaluation starting instruction is not generated; when->When the second judging sub-module judges that a third-level execution evaluation starting instruction is generated; />The second judgment threshold is expressed and empirically set by the administrator.
The utility model provides a high security public payment method based on PoS consensus, is applied to a high security public payment system based on PoS consensus as above, and the high security public payment method includes:
s1, dividing and managing the levels of all nodes in a block according to the currency rights and interests of the nodes;
s2, receiving and managing a transaction initiation application of nodes in the block;
s3, carrying out transaction execution judgment on the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judgment information;
and S4, completing public payment behavior of the corresponding transaction according to the execution judgment information.
The beneficial effects obtained by the invention are as follows:
1. the arrangement of the intra-block node level management terminal, the transaction initiation management terminal, the transaction execution judgment terminal and the public payment terminal is beneficial to improving the safety and accuracy of public payment by utilizing a block chain network and a consensus mechanism, and the safety and accuracy of a payment system are further improved by transaction execution judgment, so that the safety and accuracy of the high-safety public payment of the system are improved;
2. the node information acquisition module, the node level calculation module and the node level management module are arranged to be beneficial to accurately acquiring the node information of each node in the block chain, improving the accuracy of node level calculation and improving the efficiency and accuracy of node level management, so that the safety and accuracy of high-safety public payment of the system are improved;
3. the transaction execution index calculation module and the transaction execution judgment module are arranged to be beneficial to calculating an accurate transaction execution index, so that the accuracy of transaction execution judgment is improved, and the safety and the accuracy of high-safety public payment of the system are improved;
4. the arrangement of the node level index calculation sub-module and the node level selection sub-module is matched with a node level index algorithm, so that the accuracy of the node level index is improved, and the node level selection is more accurate;
5. the first-level execution evaluation sub-module, the first judging sub-module, the second-level execution evaluation sub-module, the second judging sub-module, the third-level execution evaluation sub-module and the transaction execution index computing sub-module are arranged, so that payment execution is judged according to a level sequence, and the safety and the accuracy of the high-safety public payment of the system are improved;
6. the arrangement of the first-level execution index calculation unit and the first-level execution evaluation generation unit in cooperation with the first-level execution index algorithm is beneficial to improving the accuracy of the first-level execution index;
7. the arrangement of the second-level execution index calculation unit and the second-level execution evaluation generation unit in combination with the second-level execution index algorithm is beneficial to improving the accuracy of the second-level execution index;
8. the arrangement of the third-level execution index calculation unit and the third-level execution evaluation generation unit in combination with the third-level execution index algorithm is beneficial to improving the accuracy of the second-level execution index;
9. the setting of the execution index reading unit and the transaction execution index calculating unit is matched with a transaction execution index algorithm, so that the first-level execution index, the second-level execution index and the third-level execution index after accuracy is improved are beneficial to calculating more accurate transaction execution indexes, and accordingly accuracy and safety of transaction execution judgment are improved, and accuracy and safety of public payment of high safety of a system are improved.
For a further understanding of the nature and the technical aspects of the present invention, reference should be made to the following detailed description of the invention and the accompanying drawings, which are provided for purposes of reference only and are not intended to limit the invention.
Drawings
FIG. 1 is a schematic diagram of the overall structure of the present invention;
FIG. 2 is a schematic diagram of a node level computation module according to the present invention;
FIG. 3 is a schematic diagram of a transaction execution index calculation module according to the present invention;
FIG. 4 is a flow chart of a method for high security public payment based on PoS consensus according to the present invention;
FIG. 5 is a schematic diagram of a third level execution evaluation sub-module according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a transaction execution index calculation sub-module according to another embodiment of the invention.
Detailed Description
The following embodiments of the present invention are described in terms of specific examples, and those skilled in the art will appreciate the advantages and effects of the present invention from the disclosure herein. The invention is capable of other and different embodiments and its several details are capable of modification and variation in various respects, all without departing from the spirit of the present invention. The drawings of the present invention are merely schematic illustrations, and are not drawn to actual dimensions, and are stated in advance. The following embodiments will further illustrate the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
Embodiment one: the embodiment provides a high-security public payment system based on PoS consensus. Referring to fig. 1, a PoS consensus-based high-security public payment system includes an intra-block node level management terminal, a transaction initiation management terminal, a transaction execution judgment terminal, and a public payment terminal; the intra-block node hierarchy management terminal is used for dividing and managing the hierarchy of each node in the block according to the currency rights and interests of the node; the money equity refers to the cryptographic money mortgage quantity of the node; the transaction initiation management terminal is used for receiving and managing a transaction initiation application of nodes in the block; the transaction execution judging terminal is used for carrying out transaction execution judgment for the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judging information; the public payment terminal is used for completing public payment behaviors of corresponding transactions according to the execution judgment information;
the intra-block node level management terminal comprises a node information acquisition module, a node level calculation module and a node level management module; the node information acquisition module is used for acquiring node information of all nodes in the block; the node information comprises currency rights, currency age information and node year; the node level calculation module is used for calculating the node level of the corresponding node according to the node information; the node level management module is used for carrying out level division and management on all nodes according to node levels of the nodes;
the transaction execution judging terminal comprises a transaction execution index calculation module and a transaction execution judging module; the transaction execution index calculation module is used for calculating the transaction execution index of the corresponding transaction initiation application according to the hierarchy of the corresponding node, the currency rights and interests, the currency age information and the feedback information of the rest nodes; the transaction execution judging module is used for generating corresponding execution judging information according to the transaction execution index.
Optionally, as shown in connection with fig. 2, the node level calculation module includes a node level index calculation sub-module and a node level selection sub-module; the node level index calculation submodule is used for calculating node level indexes of the corresponding nodes according to the node information; the node level selection submodule is used for selecting a corresponding node level according to the node level index;
when the node level index calculation sub-module calculates, the following equation is satisfied:
wherein,a node hierarchy index representing a corresponding node; />Representing a monetary equity weight coefficient, empirically set by an administrator; />Representing a monetary benefit value of the corresponding node; />The weight coefficient of the coin age is set by an administrator according to experience; />Representing the coin-age value of the corresponding node; />Representing the year of the node;
when the node hierarchy selection submodule works, the following equation is satisfied:
wherein,a node hierarchy representing a corresponding node; />And->Respectively represent different hierarchical division thresholds, each of which is empirically set by an administrator.
Optionally, referring to fig. 3, the transaction execution index calculation module includes a first-level execution evaluation sub-module, a first judgment sub-module, a second-level execution evaluation sub-module, a second judgment sub-module, a third-level execution evaluation sub-module, and a transaction execution index calculation sub-module; the first-level execution evaluation submodule is used for completing first-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the first level; the first judging submodule is used for judging whether a second-level execution evaluation starting instruction is generated according to the first-level execution evaluation; if a second-level execution evaluation starting instruction is generated, the second-level execution evaluation submodule is used for completing second-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the second level; the second judging sub-module is used for judging whether a third-level execution evaluation starting instruction is generated according to the second-level execution evaluation; if a third-level execution evaluation starting instruction is generated, the third-level execution evaluation submodule is used for completing third-level execution evaluation according to the currency rights, the currency age information and the feedback information of the third-level residual nodes; the transaction execution index calculation submodule is used for calculating the transaction execution index corresponding to the transaction initiation application according to the first-level execution evaluation, the second-level execution evaluation and the third-level execution evaluation;
when the transaction initiating application comes from a node of the first level, starting to work from a first level executing and evaluating sub-module, and calculating a transaction executing index corresponding to the transaction initiating application by the transaction executing index calculating sub-module according to the first level executing and evaluating, the second level executing and evaluating and the third level executing and evaluating; when the transaction initiating application comes from the node of the second level, starting to work from the second level execution evaluation submodule, wherein the transaction execution index calculation submodule calculates a transaction execution index corresponding to the transaction initiating application according to the second level execution evaluation and the third level execution evaluation; and when the transaction initiating application comes from the node of the third level, starting to work from the execution evaluation submodule of the third level, wherein the transaction execution index calculation submodule calculates the transaction execution index corresponding to the transaction initiating application according to the execution evaluation of the third level.
Optionally, the first-level execution evaluation submodule includes a first-level execution index calculation unit and a first-level execution evaluation generation unit; the first-level execution index calculation unit is used for calculating a corresponding first-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the first level; the first-level execution evaluation generation unit is used for generating corresponding first-level execution evaluation according to the first-level execution index;
when a transaction initiation application comes from a node of a first hierarchy, which performs an index calculation unit calculation, the following equation is satisfied:
wherein,a first level execution index representing an application for initiating a corresponding transaction; />Representing average node year values of nodes agreeing to the transaction among the remaining nodes except the nodes of the transaction initiation application in the first hierarchy; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>A monetary benefit value of the individual node; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>A coin-age value for each node; />Feedback information representing nodes in the first hierarchy other than the node from which the transaction originated the application represents the total number of nodes agreeing to the transaction; />Indicating in the first hierarchy, except for the node from which the transaction originated, that the feedback information indicates +.>A monetary benefit value of the individual node; />Representing a total number of remaining nodes in the first hierarchy except for the node from which the transaction originated the application; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>The node year of the individual node;
when (when)When the first judging submodule judges that the second-level execution evaluation starting instruction is not generated; when->When the first judging submodule judges that a second-level execution evaluation starting instruction is generated; />The first judgment threshold is empirically set by an administrator.
Optionally, the second-level execution evaluation submodule includes a second-level execution index calculation unit and a second-level execution evaluation generation unit; the second-level execution index calculation unit is used for calculating a corresponding second-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the second level; the second-level execution evaluation generation unit is used for generating corresponding second-level execution evaluation according to the second-level execution index;
when the second hierarchy performs the exponent calculation unit calculation, the following equation is satisfied:
wherein,a second level execution index representing an application for corresponding transaction initiation; />Representing at a second level feedback information representing a maximum node year value among nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A monetary benefit value of the individual node; />Indicating at a second level that the feedback information indicates the total number of nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A coin-age value for each node; />Indicating that at a second level the feedback information indicates disagreement with the transactionMaximum monetary value of interest of the node;
when (when)When the second judging sub-module judges that the third-level execution evaluation starting instruction is not generated; when->When the second judging sub-module judges that a third-level execution evaluation starting instruction is generated; />The second judgment threshold is expressed and empirically set by the administrator.
A PoS consensus-based high-security public payment method applied to the PoS consensus-based high-security public payment system described above, and shown in fig. 4, the high-security public payment method includes:
s1, dividing and managing the levels of all nodes in a block according to the currency rights and interests of the nodes;
s2, receiving and managing a transaction initiation application of nodes in the block;
s3, carrying out transaction execution judgment on the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judgment information;
and S4, completing public payment behavior of the corresponding transaction according to the execution judgment information.
Embodiment two: the embodiment includes the whole content of the first embodiment, and provides a PoS consensus-based high-security public payment system, and as shown in fig. 5, the third-level execution evaluation submodule includes a third-level execution index calculation unit and a third-level execution evaluation generation unit; the third-level execution index calculation unit is used for calculating a corresponding third-level execution index according to the currency rights and interests, the currency age information and the feedback information of the third-level residual nodes; the third-level execution evaluation generation unit is used for generating corresponding third-level execution evaluation according to the third-level execution index;
when the third level performs the exponent calculation unit calculation, the following equation is satisfied:
wherein,a third level execution index representing an application for initiation of a corresponding transaction; />Representing a maximum node year value among nodes agreeing to the transaction at the third level of feedback information; />Indicating +.f in the node where the third level feedback information indicates consent to the transaction>A monetary benefit value of the individual node; />The feedback information at the third level indicates the total number of nodes agreeing to the transaction; />Indicating +.f in the node where the third level feedback information indicates consent to the transaction>Coin age values for individual nodes.
Referring to fig. 6, the transaction execution index calculation submodule includes an execution index reading unit and a transaction execution index calculation unit; the execution index reading unit is used for reading the first-level execution index, the second-level execution index and the first-level execution index; the trade execution index calculation unit is used for calculating corresponding trade execution indexes according to the first-level execution index, the second-level execution index and the first-level execution index;
when the transaction execution index calculation unit calculates, the following equation is satisfied:
wherein,a trade execution index representing a corresponding trade; />Representing a value selection function based on a starting hierarchy; />Representing a starting hierarchy of computation, which is determined by a hierarchy of nodes initiating a transaction initiation application; />Representing the starting hierarchy as a first hierarchy; />Representing the starting hierarchy as a second hierarchy; />3 represents that the start level is a third level; />A value selection function representing an execution index based on the start level and the first level; when->When, namely: the start level is the first level and +>When (I)>0; when->When, namely: when the starting level is the third level, +.>0;/>Representing a total number of nodes in the first hierarchy; />Representing an average monetary benefit of all nodes in the first hierarchy; />An average coin-age value representing all nodes in the first hierarchy; />Representing a selected value function representing an execution index based on the start level and the second level; when->When, namely: the starting layer number is the first layer levelWhen (I)>1, a step of; when->When, namely: the starting layer number is the second layer level and +.>When (I)>1;/>Representing a total number of nodes in the second hierarchy; />Representing an average monetary benefit of all nodes in the second hierarchy; />A mean coin-age value representing all nodes in the second hierarchy;
when (when)When the transaction execution judging module generates execution judging information for indicating the passing of the transaction application; when->When the transaction execution judging module generates execution judging information for indicating that the transaction application does not pass;the transaction execution judgment threshold is set empirically by an administrator.
The foregoing disclosure is only a preferred embodiment of the present invention and is not intended to limit the scope of the invention, so that all equivalent technical changes made by the application of the present invention and the accompanying drawings are included in the scope of the invention, and in addition, the elements in the invention can be updated with the technical development.

Claims (5)

1. The high-security public payment system based on PoS consensus is characterized by comprising an intra-block node level management terminal, a transaction initiation management terminal, a transaction execution judgment terminal and a public payment terminal; the intra-block node hierarchy management terminal is used for dividing and managing the hierarchy of each node in the block according to the currency rights and interests of the node; the money equity refers to the cryptographic money mortgage quantity of the node; the transaction initiation management terminal is used for receiving and managing a transaction initiation application of nodes in the block; the transaction execution judging terminal is used for carrying out transaction execution judgment for the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judging information; the public payment terminal is used for completing public payment behaviors of corresponding transactions according to the execution judgment information;
the intra-block node level management terminal comprises a node information acquisition module, a node level calculation module and a node level management module; the node information acquisition module is used for acquiring node information of all nodes in the block; the node information comprises currency rights, currency age information and node year; the node level calculation module is used for calculating the node level of the corresponding node according to the node information; the node level management module is used for carrying out level division and management on all nodes according to node levels of the nodes;
the transaction execution judging terminal comprises a transaction execution index calculation module and a transaction execution judging module; the transaction execution index calculation module is used for calculating the transaction execution index of the corresponding transaction initiation application according to the hierarchy of the corresponding node, the currency rights and interests, the currency age information and the feedback information of the rest nodes; the transaction execution judging module is used for generating corresponding execution judging information according to the transaction execution index;
the node level computing module comprises a node level index computing sub-module and a node level selecting sub-module; the node level index calculation submodule is used for calculating node level indexes of the corresponding nodes according to the node information; the node level selection submodule is used for selecting a corresponding node level according to the node level index;
when the node level index calculation sub-module calculates, the following equation is satisfied:
wherein,a node hierarchy index representing a corresponding node; />Representing a monetary equity weighting coefficient; />Representing a monetary benefit value of the corresponding node; />Representing a coin-age weight coefficient; />Representing the coin-age value of the corresponding node; />Representing the year of the node;
when the node hierarchy selection submodule works, the following equation is satisfied:
wherein,a node hierarchy representing a corresponding node; />And->Respectively representing different hierarchical division thresholds.
2. The PoS consensus-based high security public payment system of claim 1, wherein said transaction execution index calculation module comprises a first level execution evaluation sub-module, a first judgment sub-module, a second level execution evaluation sub-module, a second judgment sub-module, a third level execution evaluation sub-module, and a transaction execution index calculation sub-module; the first-level execution evaluation submodule is used for completing first-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the first level; the first judging submodule is used for judging whether a second-level execution evaluation starting instruction is generated according to the first-level execution evaluation; if a second-level execution evaluation starting instruction is generated, the second-level execution evaluation submodule is used for completing second-level execution evaluation according to the currency rights, currency age information and feedback information of the remaining nodes of the second level; the second judging sub-module is used for judging whether a third-level execution evaluation starting instruction is generated according to the second-level execution evaluation; if a third-level execution evaluation starting instruction is generated, the third-level execution evaluation submodule is used for completing third-level execution evaluation according to the currency rights, the currency age information and the feedback information of the third-level residual nodes; the transaction execution index calculation submodule is used for calculating the transaction execution index corresponding to the transaction initiation application according to the first-level execution evaluation, the second-level execution evaluation and the third-level execution evaluation;
when the transaction initiating application comes from a node of the first level, starting to work from a first level executing and evaluating sub-module, and calculating a transaction executing index corresponding to the transaction initiating application by the transaction executing index calculating sub-module according to the first level executing and evaluating, the second level executing and evaluating and the third level executing and evaluating; when the transaction initiating application comes from the node of the second level, starting to work from the second level execution evaluation submodule, wherein the transaction execution index calculation submodule calculates a transaction execution index corresponding to the transaction initiating application according to the second level execution evaluation and the third level execution evaluation; and when the transaction initiating application comes from the node of the third level, starting to work from the execution evaluation submodule of the third level, wherein the transaction execution index calculation submodule calculates the transaction execution index corresponding to the transaction initiating application according to the execution evaluation of the third level.
3. The PoS consensus-based high security public payment system of claim 2, wherein said first-tier execution evaluation submodule includes a first-tier execution index calculation unit and a first-tier execution evaluation generation unit; the first-level execution index calculation unit is used for calculating a corresponding first-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the first level; the first-level execution evaluation generation unit is used for generating corresponding first-level execution evaluation according to the first-level execution index;
when a transaction initiation application comes from a node of a first hierarchy, which performs an index calculation unit calculation, the following equation is satisfied:
wherein,a first level execution index representing an application for initiating a corresponding transaction; />Representing average node year values of nodes agreeing to the transaction among the remaining nodes except the nodes of the transaction initiation application in the first hierarchy;indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>A monetary benefit value of the individual node; />Representing the inverse of the transaction initiation application in the first hierarchy except for the nodes of the applicationThe feed information indicates +.>A coin-age value for each node; />Feedback information representing nodes in the first hierarchy other than the node from which the transaction originated the application represents the total number of nodes agreeing to the transaction; />Indicating in the first hierarchy, except for the node from which the transaction originated, that the feedback information indicates +.>A monetary benefit value of the individual node; />Representing a total number of remaining nodes in the first hierarchy except for the node from which the transaction originated the application; />Indicating that in the first hierarchy, except for the node where the transaction originated the application, the feedback information indicates +.>The node year of the individual node;
when (when)When the first judging submodule judges that the second-level execution evaluation starting instruction is not generated; when (when)When the first judging submodule judges that a second-level execution evaluation starting instruction is generated; />Representing a first decision threshold.
4. The PoS consensus-based high security public payment system of claim 3, wherein said second-tier execution evaluation submodule includes a second-tier execution index calculation unit and a second-tier execution evaluation generation unit; the second-level execution index calculation unit is used for calculating a corresponding second-level execution index according to the currency rights and interests, the currency age information and the feedback information of the remaining nodes of the second level; the second-level execution evaluation generation unit is used for generating corresponding second-level execution evaluation according to the second-level execution index;
when the second hierarchy performs the exponent calculation unit calculation, the following equation is satisfied:
wherein,a second level execution index representing an application for corresponding transaction initiation; />Representing at a second level feedback information representing a maximum node year value among nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A monetary benefit value of the individual node; />Indicating at a second level that the feedback information indicates the total number of nodes agreeing to the transaction; />Representing +.f in a node where the second level feedback information represents consent to the transaction>A coin-age value for each node; />Representing at a second level feedback information representing a maximum monetary value of the node that does not agree to the transaction;
when (when)When the second judging sub-module judges that the third-level execution evaluation starting instruction is not generated; when (when)When the second judging sub-module judges that a third-level execution evaluation starting instruction is generated; />Representing a second decision threshold.
5. A PoS consensus-based high-security public payment method applied to the PoS consensus-based high-security public payment system of claim 4, comprising:
s1, dividing and managing the levels of all nodes in a block according to the currency rights and interests of the nodes;
s2, receiving and managing a transaction initiation application of nodes in the block;
s3, carrying out transaction execution judgment on the corresponding transaction initiation application according to the hierarchy of the corresponding node and the currency rights and interests, and generating execution judgment information;
and S4, completing public payment behavior of the corresponding transaction according to the execution judgment information.
CN202311099955.2A 2023-08-30 2023-08-30 High-safety public payment system based on PoS consensus Active CN116862513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311099955.2A CN116862513B (en) 2023-08-30 2023-08-30 High-safety public payment system based on PoS consensus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311099955.2A CN116862513B (en) 2023-08-30 2023-08-30 High-safety public payment system based on PoS consensus

Publications (2)

Publication Number Publication Date
CN116862513A CN116862513A (en) 2023-10-10
CN116862513B true CN116862513B (en) 2023-11-07

Family

ID=88228858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311099955.2A Active CN116862513B (en) 2023-08-30 2023-08-30 High-safety public payment system based on PoS consensus

Country Status (1)

Country Link
CN (1) CN116862513B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077694A (en) * 2013-03-27 2014-10-01 阿里巴巴集团控股有限公司 User right and interest information processing method and system
CN107124426A (en) * 2017-05-26 2017-09-01 北京微影时代科技有限公司 The method for authenticating and device of a kind of user's right
CN108171578A (en) * 2017-12-27 2018-06-15 邵美 A kind of address ranking system and its construction method based on block chain trade network
CN108765151A (en) * 2018-05-11 2018-11-06 深圳市恋上互联网技术有限公司 A kind of method of commerce based on block chain
CN108805567A (en) * 2018-05-22 2018-11-13 深圳供电局有限公司 A kind of charging corporate networks transaction settlement method and device
CN109792437A (en) * 2017-05-16 2019-05-21 北京大学深圳研究生院 A kind of common recognition method for decentralization domain name system
CN110113383A (en) * 2019-04-10 2019-08-09 广东工业大学 A kind of common recognition mechanism implementation method for alleviating book keeping operation power centralization under PoS mechanism
CN110309657A (en) * 2019-06-20 2019-10-08 四川大学 The safety risk estimating method of block chain
CN110570283A (en) * 2019-09-11 2019-12-13 炫盛(上海)科技有限公司 shopping method and system based on block chain
CN110580653A (en) * 2019-08-14 2019-12-17 长沙理工大学 Block chain consensus mechanism based on transaction
CN110689331A (en) * 2019-09-25 2020-01-14 重庆邮电大学 Block chain-based digital currency transaction method and system
CN111127028A (en) * 2019-12-24 2020-05-08 广东工业大学 Unmanned aerial vehicle wireless energy safe transaction mechanism based on block chain
WO2020113545A1 (en) * 2018-12-07 2020-06-11 北京大学深圳研究生院 Method for generating and managing multimodal identified network on the basis of consortium blockchain voting consensus algorithm
CN112288415A (en) * 2020-12-24 2021-01-29 南京可信区块链与算法经济研究院有限公司 Currency age mechanism implementation method for UTXO architecture
CN113065960A (en) * 2021-03-22 2021-07-02 江苏派智信息科技有限公司 Transaction system based on block chain
CN113256295A (en) * 2021-06-25 2021-08-13 环球数科集团有限公司 System for strictly constraining circulation path of certificate of currency and computer storage medium
CN113301047A (en) * 2021-05-25 2021-08-24 浙江树人学院(浙江树人大学) Vehicle networking node consistency consensus method based on malicious node attack detection
CN113407632A (en) * 2021-06-26 2021-09-17 南京搜文信息技术有限公司 PBFT (proxy-based policy and authorization-based ft) trust certification block chain consensus algorithm
CN114600419A (en) * 2019-08-19 2022-06-07 安珂实验室公司 Encrypted asset hosting system with equity certification blockchain support
CN115760514A (en) * 2022-09-29 2023-03-07 江西师范大学 Family-based mutual-help system for aged people based on block chain and time bank

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130073465A1 (en) * 2011-09-21 2013-03-21 Jeff Richey Merchant structure hierarchies for mediating transaction data access
US11055412B2 (en) * 2018-12-20 2021-07-06 At&T Intellectual Property I, L.P. Method and system for stake-based event management with ledgers

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077694A (en) * 2013-03-27 2014-10-01 阿里巴巴集团控股有限公司 User right and interest information processing method and system
CN109792437A (en) * 2017-05-16 2019-05-21 北京大学深圳研究生院 A kind of common recognition method for decentralization domain name system
CN107124426A (en) * 2017-05-26 2017-09-01 北京微影时代科技有限公司 The method for authenticating and device of a kind of user's right
CN108171578A (en) * 2017-12-27 2018-06-15 邵美 A kind of address ranking system and its construction method based on block chain trade network
CN108765151A (en) * 2018-05-11 2018-11-06 深圳市恋上互联网技术有限公司 A kind of method of commerce based on block chain
CN108805567A (en) * 2018-05-22 2018-11-13 深圳供电局有限公司 A kind of charging corporate networks transaction settlement method and device
WO2020113545A1 (en) * 2018-12-07 2020-06-11 北京大学深圳研究生院 Method for generating and managing multimodal identified network on the basis of consortium blockchain voting consensus algorithm
CN110113383A (en) * 2019-04-10 2019-08-09 广东工业大学 A kind of common recognition mechanism implementation method for alleviating book keeping operation power centralization under PoS mechanism
CN110309657A (en) * 2019-06-20 2019-10-08 四川大学 The safety risk estimating method of block chain
CN110580653A (en) * 2019-08-14 2019-12-17 长沙理工大学 Block chain consensus mechanism based on transaction
CN114600419A (en) * 2019-08-19 2022-06-07 安珂实验室公司 Encrypted asset hosting system with equity certification blockchain support
CN110570283A (en) * 2019-09-11 2019-12-13 炫盛(上海)科技有限公司 shopping method and system based on block chain
CN110689331A (en) * 2019-09-25 2020-01-14 重庆邮电大学 Block chain-based digital currency transaction method and system
CN111127028A (en) * 2019-12-24 2020-05-08 广东工业大学 Unmanned aerial vehicle wireless energy safe transaction mechanism based on block chain
CN112288415A (en) * 2020-12-24 2021-01-29 南京可信区块链与算法经济研究院有限公司 Currency age mechanism implementation method for UTXO architecture
CN113065960A (en) * 2021-03-22 2021-07-02 江苏派智信息科技有限公司 Transaction system based on block chain
CN113301047A (en) * 2021-05-25 2021-08-24 浙江树人学院(浙江树人大学) Vehicle networking node consistency consensus method based on malicious node attack detection
CN113256295A (en) * 2021-06-25 2021-08-13 环球数科集团有限公司 System for strictly constraining circulation path of certificate of currency and computer storage medium
CN113407632A (en) * 2021-06-26 2021-09-17 南京搜文信息技术有限公司 PBFT (proxy-based policy and authorization-based ft) trust certification block chain consensus algorithm
CN115760514A (en) * 2022-09-29 2023-03-07 江西师范大学 Family-based mutual-help system for aged people based on block chain and time bank

Also Published As

Publication number Publication date
CN116862513A (en) 2023-10-10

Similar Documents

Publication Publication Date Title
Bada et al. Towards a green blockchain: A review of consensus mechanisms and their energy consumption
Pierro et al. Are the gas prices oracle reliable? a case study using the ethgasstation
CN116993331A (en) Computer-implemented system and method for generating and extracting user-related data stored on a blockchain
CN109347651B (en) MSVL (modeling, simulation and verification language) -based block chain system modeling and security verification method and system
KR102246782B1 (en) System for Debt Repayment Capability Evaluation Of Corporation Including Evaluation Model Based On AI Using Commerce Data
Gaber et al. Synthetic logs generator for fraud detection in mobile transfer services
CN112261020B (en) Distributed remote outsourcing data auditing method
Gräbe et al. Do not be fooled: Toward a holistic comparison of distributed ledger technology designs
EP4310748A1 (en) Hydropower station operation risk control system based on blockchain
CN111784487A (en) Ultra-short term credit evaluation method for small and medium-sized enterprises based on dynamic financial and resource flows
CN113448694B (en) Block chain consensus method for improving transaction processing capability
CN116862513B (en) High-safety public payment system based on PoS consensus
Oprea et al. Feature engineering solution with structured query language analytic functions in detecting electricity frauds using machine learning
CN111881147A (en) Processing method and device of computing task, storage medium and processor
Yildirim et al. Market power evolution and convergence in European banking: An empirical note
CN116823272B (en) Intelligent contract management system based on block chain consensus mechanism
CN113222744A (en) Method and device for trusted processing of data, storage medium and electronic equipment
CN111242763A (en) Method and device for determining target user group
Komi et al. Consensus Algorithm Using Transaction History for Cryptocurrency
CN104717244B (en) A kind of various dimensions credit management method based on distributed computing
Maqbool et al. A comparative analysis of consensus protocols for dealing power theft issue in Pakistan
CN116681532B (en) Method and device for determining wind control rule, electronic equipment and storage medium
Lundin et al. Evaluating risk and reward for validators in a cryptocurrency Proof-of-Stake network
Khalil et al. Adaptive layer-two dispute cutoffs in smart-contract blockchains
CN109191305B (en) Capital game index construction method and system for encrypted assets

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant