CN111445257A - Block chain-based evidence-based transaction verification method and device, memory and computer - Google Patents
Block chain-based evidence-based transaction verification method and device, memory and computer Download PDFInfo
- Publication number
- CN111445257A CN111445257A CN202010228399.4A CN202010228399A CN111445257A CN 111445257 A CN111445257 A CN 111445257A CN 202010228399 A CN202010228399 A CN 202010228399A CN 111445257 A CN111445257 A CN 111445257A
- Authority
- CN
- China
- Prior art keywords
- compliance information
- node
- transaction
- information set
- compliance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000007246 mechanism Effects 0.000 claims abstract description 12
- 230000001105 regulatory effect Effects 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 10
- 230000009191 jumping Effects 0.000 claims description 8
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 238000010200 validation analysis Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 13
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000002790 cross-validation Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, 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/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a block chain-based evidence-based transaction verification method and device, a memory and a computer. Updating the compliance information set according to the updating information sent by the supervision mechanism to obtain an updated compliance information set; updating the consensus algorithm check point according to the updated compliance information set to obtain an updated consensus algorithm check point; and verifying the transaction to be verified according to the updated consensus algorithm check point, wherein if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, the verification is successful, and otherwise, the verification fails. In the invention, the updating process of the compliance information set is short in required time and high in speed, and the evidence-passing transaction containing non-compliance nodes can be cancelled in time by combining with the consensus requirement of transactions on the blockchain, so that a supervision mechanism can guarantee absolute, safe and effective supervision on the evidence-passing transaction on the blockchain.
Description
Technical Field
The invention discloses a block chain-based evidence-based transaction verification method and device, a memory and a computer.
Background
The block chain technology provides effective technical support for the circulation of electronic money by the decentralization characteristic of the block chain technology.
At present, in a blockchain for a certified transaction, users where each node is located are generally exchanges and investors. According to the consensus requirement of the block chain, in the process of the certified transaction, all nodes need to verify the compliance of the transaction to be passed, the transaction can be posted, and the transaction is cancelled as long as one node does not verify the compliance.
Generally, the certification is conducted in a plurality of exchange places around the world, so that the compliance information sets of all the current nodes need to be synchronized to all the nodes around the world, and all the nodes can complete the verification of the compliance of the certification-conducted transaction. In addition, the information of each participant (including the exchange and the investor) of the certified transaction needs to meet the requirements of the regulatory agency, namely, the exchange and the exchange are supervised by the regulatory agency, the information of the participant meeting the regulatory requirements is compliant information, and the regulatory agency has the right to cancel the participation qualification of the participant not meeting the regulatory requirements. At present, if a monitoring organization finds that a certain user has non-compliance information and needs to delete the node, the information is broadcasted to the whole block chain network, each node carries out cross validation, each node updates a compliance information set after reaching consensus, and the address is deleted from the original compliance information set. And because each node needs to carry out cross validation, namely, a certain node needs to judge whether the transaction is in compliance or not by itself, then judge whether the validation of other nodes is in compliance or not, and finally broadcast all validation results to the whole network. Therefore, if there are many nodes, the time required for verification is long. In the verification process, the transaction data containing the address a may be synchronized to the node N at the same time, and the node N has not completed the verification of the deleted address a information, so the node N passes the verification of the transaction containing the address a. Therefore, the supervision of the supervision department has a leak, and absolute safe and effective supervision cannot be guaranteed.
Disclosure of Invention
The invention provides a block chain-based evidence-based transaction verification method for nodes in a block chain, which comprises the following steps:
receiving compliance information sets of all current nodes;
receiving updated information of the regulatory agency on the compliance information set;
updating the compliance information set according to the received updating information sent by the supervision mechanism to obtain an updated compliance information set;
updating a consensus algorithm check point according to the updated compliance information set to obtain an updated consensus algorithm check point, wherein the consensus algorithm check point is set according to the compliance information set;
receiving a transaction to be verified;
and verifying the transaction to be verified according to the updated consensus algorithm check point, wherein if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, the verification is successful, and otherwise, the verification fails.
Preferably, the compliance information set includes an address of a node and compliance information of a corresponding node, and the update information of the regulatory agency to the compliance information set includes: and deleting or adding the address of the node and the compliance information of the corresponding node.
Preferably, the updating the compliance information set according to the received update information sent by the regulatory agency includes:
if the update information is the address of the deleted node and the compliance information of the corresponding node, detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set, if so, deleting the address of the node and the compliance information of the corresponding node from the compliance information set, completing the update of the compliance information set, otherwise, returning the information of which the content does not exist.
Preferably, the updating the compliance information set according to the received update information sent by the regulatory agency includes: if the updated information is the address of the added node and the compliance information of the corresponding node, then
Detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set,
if the address of the node and the compliance information of the corresponding node do not exist in the compliance information set, initiating a consensus request for the update information sent by the supervision mechanism, if consensus is achieved, adding the address of the node and the compliance information of the corresponding node into the compliance information set to finish updating the compliance information set, if consensus is not achieved, returning and resubmitting the address of the node and the compliance information of the corresponding node, and jumping to the step: judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not;
if the address of the node and the compliance information of the corresponding node exist in the compliance information set, returning to resubmit the address of the node and the compliance information of the corresponding node, and jumping to the step: and judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
Preferably, the number of detections is set, and if the update of the compliance information set is not completed within the preset number of detections, the process is ended.
Preferably, the consensus algorithm check point is: the compliance information set comprises addresses of the transaction nodes; the updated consensus algorithm check point is as follows: the updated compliance information set includes the address of the transaction node.
Preferably, the transaction to be verified is verified according to the updated consensus algorithm check point, and if the verification fails, the transaction to be verified is cancelled.
The invention provides a block chain-based general evidence transaction verification device, which comprises:
the compliance information set receiving module is used for receiving compliance information sets of all current nodes;
the updating information receiving module is used for receiving the updating information of the regulatory agency on the compliance information set;
the compliance information set updating module is used for updating the compliance information set according to the received updating information sent by the supervision institution to obtain an updated compliance information set;
the checkpoint updating module is used for updating the consensus algorithm checkpoint according to the updated compliance information set to obtain an updated consensus algorithm checkpoint, wherein the consensus algorithm checkpoint is set according to the compliance information set;
the transaction receiving module is used for receiving a transaction to be verified;
and the transaction verification module is used for verifying the transaction to be verified according to the updated consensus algorithm check point, if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, the verification is successful, and if not, the verification fails.
The invention also provides a memory storing a plurality of instructions that are loadable and executable by a processor to enable the processor to perform the above block chain based method of verifying a forensic transaction.
The invention also provides a computer, which comprises a processor and a memory connected with the processor, wherein the memory stores a plurality of instructions which can be loaded and executed by the processor, so that the processor can execute the verification method of the block chain-based evidence transaction.
Drawings
FIG. 1 is a schematic flow chart of a block chain-based verification method for a certified transaction according to the present invention;
FIG. 2 is a schematic structural diagram of a block chain-based verification device for a passcertificate transaction according to the present invention;
fig. 3 is a schematic diagram of the computer structure according to the present invention.
Detailed description of the preferred embodiments
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
The method provided by the invention can be implemented in the following terminal environment, and the terminal can comprise one or more of the following components: a processor, a memory, and a display screen. Wherein the memory has stored therein at least one instruction that is loaded and executed by the processor to implement the methods described in the embodiments described below.
A processor may include one or more processing cores. The processor connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory, and calling data stored in the memory.
The Memory may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory may be used to store instructions, programs, code sets, or instructions.
The display screen is used for displaying user interfaces of all the application programs.
In addition, those skilled in the art will appreciate that the above-described terminal configurations are not intended to be limiting, and that the terminal may include more or fewer components, or some components may be combined, or a different arrangement of components. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a power supply, and other components, which are not described herein again.
Example one
As shown in fig. 1, an embodiment of the present invention provides a verification method for a block chain-based certified transaction, which is used for a node in a block chain, and includes:
s101, receiving compliance information sets of all current nodes;
s102, receiving the update information of the regulatory agency to the compliance information set;
s103, updating the compliance information set according to the received updating information sent by the supervision mechanism to obtain an updated compliance information set;
s104, updating the consensus algorithm check point according to the updated compliance information set to obtain an updated consensus algorithm check point, wherein the consensus algorithm check point is set according to the compliance information set;
s105, receiving a transaction to be verified;
s106, verifying the transaction to be verified according to the updated consensus algorithm check point, if the information of the transaction to be verified meets the requirements of the updated consensus algorithm check point, the verification is successful, and if not, the verification fails.
In the step 101, in the above method, the compliance information refers to information that the investment management behavior of the exchange and the investment user complies with the laws and regulations, the regulation of the regulatory agency, the industry self-discipline rule, the market convention, the internal management system, and the honest and conservative ethics criterion.
All the evidence-through transaction participants (exchange and investment users) added into the block chain need to be supervised by the supervision mechanism in the area, only the participants with compliance information can establish nodes, and once the supervision mechanism finds that the non-compliance information appears in a certain node user, the node user can delete the non-compliance information. Therefore, the current nodes all have compliance information, and the compliance information of all the current nodes form a set of compliance information. For one embodiment, the set of compliance information includes an address at which the node is located and compliance information for the corresponding node.
In order to meet the requirement of each node for verifying the certified transaction, firstly, a data synchronization method is utilized to synchronize compliance information sets into the nodes, and the nodes receive the synchronized compliance information sets.
And step 102 is executed, if the supervision authority does not find out the non-compliance information of the node user, each node verifies the certified transaction according to a consensus algorithm established by the current compliance information set.
If the regulatory body finds that some node has non-compliance information or receives a request of a new user to establish a node, it needs to send update information to the node in order to update the compliance information set. As one embodiment, the updated information of the compliance information set by the regulatory body includes: and deleting or adding the address of the node and the compliance information of the corresponding node.
And step 103, when the supervision agency deletes the node A, sending the address of the node A to be deleted and the compliance information of the corresponding node to any other node N. After receiving the information of deleting a certain node A, the node N updates the rule information set.
As an embodiment, the specific update process may be: and detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set, if so, deleting the address of the node and the compliance information of the corresponding node from the compliance information set to finish updating the compliance information set, otherwise, returning information without content. Further, after receiving the information that the content does not exist, the supervision agency may check the address of the node to be deleted and the compliance information of the corresponding node, and may send the update information with an error, and if the update information with an error is wrong, the supervision agency resends the correct information. Or the update information that may be sent has been deleted and if so the update process is ended.
In order to save system resources and smoothly execute programs, in the invention, detection times are set, and if the update of the compliance information set is not completed within the preset detection times, the operation is finished. To ensure execution efficiency.
And if the supervision organization needs to add a new node B, the address of the node B to be added and the compliance information of the corresponding node are sent to any other node N. The node N updates the rule information set after receiving the information for adding a node B.
As an embodiment, the specific update process may be: and detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
If the address of the node and the compliance information of the corresponding node do not exist in the compliance information set, initiating a consensus request for the update information sent by the supervision mechanism; if the consensus is achieved, adding the address of the node and the compliance information of the corresponding node into the compliance information set to finish updating the compliance information set; if the common identification is not achieved, returning and resubmitting the address of the node and the information of the compliance information of the corresponding node, and jumping to the step: and judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
If the address of the node and the compliance information of the corresponding node exist in the compliance information set, returning to resubmit the address of the node and the compliance information of the corresponding node, and jumping to the step: and judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
For the updating process of the added node, each current node needs to verify the compliance information of the node to be added, and only if each node passes the verification, that is, the consensus is achieved, the compliance information can be added to the current compliance information set, so that the updating of the compliance information set is completed. In the process of verifying the compliance information of the node to be added by each node, if the verification fails, there are many possibilities, such as that the sent update information is wrong, or that the node has been added previously, or that there is indeed an inconsistency. Therefore, in order to ensure the compatibility of the system and the efficiency, the invention sets the detection times, and if the update of the compliance information set is not completed within the preset detection times, the invention is ended.
After the current compliance information set (which becomes the previous compliance information set after being updated) is updated by the method, the updated compliance information set is obtained. The updated set of compliance information may have fewer nodes or additional nodes than the previous set of compliance information (the current set of compliance information updated to become the previous set of compliance information).
Step 104 is executed, and when the node verifies the certified transaction, the node verifies the certified transaction by using a consensus algorithm. In the invention, a check point is set in the consensus algorithm, and the check point of the consensus algorithm is set according to the compliance information set. When the compliance information set is updated, the consensus algorithm check point is also updated according to the updated compliance information set.
As an embodiment, for example, the consensus algorithm check points are: the compliance information set comprises addresses of the transaction nodes; the updated consensus algorithm check point is as follows: the updated compliance information set includes the address of the transaction node.
When the compliance information set does not add or delete a node, for example, the regulatory agency does not find a node a that is not compliant, the certified transaction including the node a is verified to pass if it conforms to the checking point of the consensus algorithm. If the regulatory agency finds a non-compliant node a, when the certified transaction contains node a, it does not comply with the consensus checkpoint, and the certified transaction containing node a will not be verified.
And step 105 is executed, all the certified transactions occurring on the blockchain are verified by all the nodes, the transactions can be checked out only if each node passes the verification, and the certified transactions are cancelled if one node fails to pass the verification of the certified transactions. Therefore, whenever a transaction occurs on the blockchain, the transaction is synchronized to every node currently.
And 106, updating the compliance information set on any current node to obtain an updated compliance information set, updating the consensus algorithm check point, verifying the transaction to be verified according to the updated consensus algorithm check point by the node, if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, successfully verifying, and if not, failing to verify.
In the invention, when a supervision organization needs to delete an unconventional node, as long as any node on a block chain completes the updating of a compliance information set and deletes the unconventional node, the verification of the certified transaction containing the node fails in the verification process, thereby canceling the transaction.
Any node on the blockchain completes the updating of the compliance information set, and compared with the information cross-validation process that all nodes on the blockchain complete the deletion of the non-compliance nodes, the required time is much shorter, the speed is high, and by combining the consensus requirement of transactions on the blockchain (each node must pass the validation, the transaction can be checked, otherwise the transaction is cancelled), the cancellation of the certified transaction containing the non-compliance nodes can be ensured, so that a supervision mechanism can guarantee the absolute, safe and effective supervision of the certified transaction on the blockchain.
Example two
As shown in fig. 2, an embodiment of the present invention provides a block chain-based apparatus for verifying a pass-certificate transaction, including:
a compliance information set receiving module 201, configured to receive compliance information sets of all current nodes;
an update information receiving module 202, configured to receive update information of the compliance information set by a regulatory agency;
a compliance information set updating module 203, configured to update the compliance information set according to the received update information sent by the monitoring authority, so as to obtain an updated compliance information set;
a checkpoint updating module 204, configured to update a consensus algorithm checkpoint according to an updated compliance information set to obtain an updated consensus algorithm checkpoint, where the consensus algorithm checkpoint is set according to the compliance information set;
a transaction receiving module 205, configured to receive a transaction to be verified;
and the transaction verification module 206 is configured to verify the transaction to be verified according to the updated consensus algorithm checkpoint, where if the information of the transaction to be verified meets the requirement of the updated consensus algorithm checkpoint, the verification is successful, and otherwise, the verification fails.
Further, the compliance information set includes an address of a node and compliance information of a corresponding node, and the update information of the regulatory agency to the compliance information set includes: and deleting or adding the address of the node and the compliance information of the corresponding node.
Further, the compliance information set updating module is specifically configured to:
if the update information is the address of the deleted node and the compliance information of the corresponding node, detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set, if so, deleting the address of the node and the compliance information of the corresponding node from the compliance information set, completing the update of the compliance information set, otherwise, returning the information of which the content does not exist.
Further, the compliance information set updating module is specifically further configured to:
if the updated information is the address of the added node and the compliance information of the corresponding node, then
Detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set,
if the address of the node and the compliance information of the corresponding node do not exist in the compliance information set, initiating a consensus request for the update information sent by the supervision mechanism, and if the consensus is achieved, adding the address of the node and the compliance information of the corresponding node into the compliance information set to finish updating the compliance information set; if the common identification is not achieved, returning and resubmitting the address of the node and the information of the compliance information of the corresponding node, and jumping to the step: judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not;
if the address of the node and the compliance information of the corresponding node exist in the compliance information set, returning to resubmit the address of the node and the compliance information of the corresponding node, and jumping to the step: and judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
Furthermore, the compliance information set updating module is further configured to set a detection number, and if the compliance information set is not updated within the preset detection number, the process is ended.
Further, the consensus algorithm check point is as follows: the compliance information set comprises addresses of the transaction nodes; the updated consensus algorithm check point is as follows: the updated compliance information set includes the address of the transaction node.
Further, the transaction verification module is further configured to verify the transaction to be verified according to the updated consensus algorithm check point, and cancel the transaction to be verified if the verification fails.
The device provided by the embodiment of the present invention can be implemented by the verification method for the block chain-based pass-certificate transaction provided by the first embodiment, and specific implementation methods, functions, effects, and the like can be referred to the description in the first embodiment, and are not described herein again.
The embodiment of the invention also provides a memory, wherein the memory stores a plurality of instructions, and the instructions can be loaded and executed by the processor to enable the processor to execute the verification method for the block chain-based pass-certificate transaction according to the embodiment.
The embodiment of the present invention further provides a computer, as shown in fig. 3, including a processor 301 and a memory 302 connected to the processor 301, where the memory 302 stores a plurality of instructions, and the instructions can be loaded and executed by the processor 301, so that the processor 301 can execute the verification method for certified transaction based on blockchain according to the first embodiment.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A block chain-based evidence transaction verification method is used for a node in a block chain, and comprises the following steps:
receiving compliance information sets of all current nodes;
receiving updated information of the regulatory agency on the compliance information set;
updating the compliance information set according to the received updating information sent by the supervision mechanism to obtain an updated compliance information set;
updating a consensus algorithm check point according to the updated compliance information set to obtain an updated consensus algorithm check point, wherein the consensus algorithm check point is set according to the compliance information set;
receiving a transaction to be verified;
and verifying the transaction to be verified according to the updated consensus algorithm check point, wherein if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, the verification is successful, and otherwise, the verification fails.
2. The block chain-based forensic transaction verification method according to claim 1 in which the compliance information set comprises the address of the node and the compliance information of the corresponding node, and the regulatory agency updates to the compliance information set comprise: and deleting or adding the address of the node and the compliance information of the corresponding node.
3. The blockchain-based forensic transaction verification method according to claim 2 wherein the updating of the set of compliance information in accordance with received update information sent by the regulatory authority comprises:
if the update information is the address of the deleted node and the compliance information of the corresponding node, detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set, if so, deleting the address of the node and the compliance information of the corresponding node from the compliance information set, completing the update of the compliance information set, otherwise, returning the information of which the content does not exist.
4. The blockchain-based forensic transaction verification method according to claim 2 wherein the updating of the set of compliance information in accordance with received update information sent by the regulatory authority comprises: if the updated information is the address of the added node and the compliance information of the corresponding node, then
Detecting whether the address of the node and the compliance information of the corresponding node exist in the compliance information set,
if the address of the node and the compliance information of the corresponding node do not exist in the compliance information set, initiating a consensus request for the update information sent by the supervision mechanism; if the consensus is achieved, adding the address of the node and the compliance information of the corresponding node into the compliance information set to finish updating the compliance information set; if the common identification is not achieved, returning and resubmitting the address of the node and the information of the compliance information of the corresponding node, and jumping to the step: judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not;
if the address of the node and the compliance information of the corresponding node exist in the compliance information set, returning to resubmit the address of the node and the compliance information of the corresponding node, and jumping to the step: and judging whether the address of the node and the compliance information of the corresponding node exist in the compliance information set or not.
5. The block chain based certification transaction verification method according to claim 3 or 4, wherein a number of detections is set, and if the update of the compliance information set is not completed within a preset number of detections, the method is ended.
6. The blockchain-based forensic transaction verification method according to claim 1 in which the consensus algorithm check point is: the compliance information set comprises addresses of the transaction nodes; the updated consensus algorithm check point is as follows: the updated compliance information set includes the address of the transaction node.
7. The blockchain-based forensic transaction verification method according to claim 1 in which the transaction to be verified is verified according to the updated consensus algorithm checkpoint and if verification fails, the transaction to be verified is cancelled.
8. A block chain based evidence-based transaction verification device, comprising:
the compliance information set receiving module is used for receiving compliance information sets of all current nodes;
the updating information receiving module is used for receiving the updating information of the regulatory agency on the compliance information set;
the compliance information set updating module is used for updating the compliance information set according to the received updating information sent by the supervision institution to obtain an updated compliance information set;
the checkpoint updating module is used for updating the consensus algorithm checkpoint according to the updated compliance information set to obtain an updated consensus algorithm checkpoint, wherein the consensus algorithm checkpoint is set according to the compliance information set;
the transaction receiving module is used for receiving a transaction to be verified;
and the transaction verification module is used for verifying the transaction to be verified according to the updated consensus algorithm check point, if the information of the transaction to be verified meets the requirement of the updated consensus algorithm check point, the verification is successful, and if not, the verification fails.
9. A memory storing a plurality of instructions that are loadable and executable by a processor to enable the processor to perform the blockchain based evidence transaction verification method according to any of claims 1 to 7.
10. A computer comprising a processor and a memory coupled to the processor, the memory storing a plurality of instructions that are loadable and executable by the processor to enable the processor to perform the method of validation of a blockchain based corroborative transaction of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010228399.4A CN111445257A (en) | 2020-03-27 | 2020-03-27 | Block chain-based evidence-based transaction verification method and device, memory and computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010228399.4A CN111445257A (en) | 2020-03-27 | 2020-03-27 | Block chain-based evidence-based transaction verification method and device, memory and computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111445257A true CN111445257A (en) | 2020-07-24 |
Family
ID=71652498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010228399.4A Pending CN111445257A (en) | 2020-03-27 | 2020-03-27 | Block chain-based evidence-based transaction verification method and device, memory and computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111445257A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017148527A1 (en) * | 2016-03-03 | 2017-09-08 | Nec Europe Ltd. | Method for managing data in a network of nodes |
CN108647968A (en) * | 2018-05-10 | 2018-10-12 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, device, processing equipment and system |
CN108833398A (en) * | 2018-06-08 | 2018-11-16 | 浙江超脑时空科技有限公司 | A kind of block chain intelligence contract update method, device and equipment |
CN110866755A (en) * | 2019-11-19 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Processing method, equipment and medium for bill data |
-
2020
- 2020-03-27 CN CN202010228399.4A patent/CN111445257A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017148527A1 (en) * | 2016-03-03 | 2017-09-08 | Nec Europe Ltd. | Method for managing data in a network of nodes |
CN108647968A (en) * | 2018-05-10 | 2018-10-12 | 阿里巴巴集团控股有限公司 | A kind of block chain data processing method, device, processing equipment and system |
CN108833398A (en) * | 2018-06-08 | 2018-11-16 | 浙江超脑时空科技有限公司 | A kind of block chain intelligence contract update method, device and equipment |
CN110866755A (en) * | 2019-11-19 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Processing method, equipment and medium for bill data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109951547B (en) | Transaction request parallel processing method, device, equipment and medium | |
CN109992285B (en) | Independent updating method and device for block chain code block and electronic equipment | |
CN109981279B (en) | Block chain system, communication method, device, equipment and medium | |
CN112714158B (en) | Transaction processing method, relay network, cross-link gateway, system, medium and equipment | |
CN111209343B (en) | Node data synchronization method, device, equipment and storage medium | |
CN107908553B (en) | Association testing method, application server and computer readable storage medium | |
CN104850427B (en) | A kind of code upgrade method and device | |
CN105897461A (en) | Multi-system OTA upgrading method and multi-system device | |
CN110163572B (en) | Chain code function processing method, device and equipment | |
CN109885612B (en) | Synchronous validation method and device for intelligent contracts of block chains | |
CN111338608A (en) | Distributed application development method and device, node equipment and readable storage medium | |
CN110162322A (en) | A kind of upgrade method and device | |
CN109298877A (en) | Game renewal method and system, terminal and computer readable storage medium | |
CN110708400A (en) | Network address allocation method, device, node equipment and storage medium | |
CN111445257A (en) | Block chain-based evidence-based transaction verification method and device, memory and computer | |
CN112433935A (en) | Test method, test device, electronic equipment and storage medium | |
CN110704307A (en) | Application product testing method and device, user equipment and computer storage medium | |
CN107277108B (en) | Method, device and system for processing messages at nodes of block chain | |
CN115391801A (en) | Method and device for updating encryption module in block chain system and related products | |
CN114253924A (en) | Synchronization method, synchronization equipment and storage medium | |
CN114090682A (en) | Multi-channel alliance link chaining method, device, equipment and storage medium | |
CN111932326A (en) | Data processing method based on block chain network and related equipment | |
CN110309112A (en) | A kind of data processing method, equipment, server and readable storage medium storing program for executing | |
CN111405297A (en) | Activity list settlement method and device and storage medium | |
CN105303131B (en) | The wiring method and device of code data in a kind of optical module |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200724 |