CN111640016A - Verification method, device, equipment and medium for private transaction - Google Patents

Verification method, device, equipment and medium for private transaction Download PDF

Info

Publication number
CN111640016A
CN111640016A CN202010264654.0A CN202010264654A CN111640016A CN 111640016 A CN111640016 A CN 111640016A CN 202010264654 A CN202010264654 A CN 202010264654A CN 111640016 A CN111640016 A CN 111640016A
Authority
CN
China
Prior art keywords
node
transaction
list
check
expenditure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010264654.0A
Other languages
Chinese (zh)
Inventor
李金辉
王伟兵
李照川
樊继硕
郭亚琨
万立华
董晨晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Quality Chain Technology Co Ltd
Original Assignee
Shandong Inspur Quality Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Quality Chain Technology Co Ltd filed Critical Shandong Inspur Quality Chain Technology Co Ltd
Priority to CN202010264654.0A priority Critical patent/CN111640016A/en
Publication of CN111640016A publication Critical patent/CN111640016A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a method, a device and a medium for verifying privacy transaction, wherein nodes of the privacy transaction comprise a expenditure node and a receiving node, and the method comprises the following steps: when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to the supervision node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list; the supervision node verifies whether the check identification exists in the abandon list according to the transaction information; and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful. According to the method and the device, whether check identification exists or not is verified in the waste list through the supervision node, whether privacy transaction succeeds or not is further judged, specific content of the privacy transaction is not acquired by the supervision node in the period, and verification of the privacy transaction is completed on the premise that transaction data are not leaked.

Description

Verification method, device, equipment and medium for private transaction
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for verifying a private transaction.
Background
In the process of blockchain transaction, the transaction node needs to broadcast the relevant information of the transaction to all the supervision nodes, and the supervision nodes verify whether the transaction is successful. In some cases, however, the transaction node does not want the specific contents of the transaction published for privacy reasons. Therefore, a method of verifying a private transaction is needed.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a device, and a medium for verifying a privacy transaction, so as to solve the problem in the prior art that the privacy transaction verification cannot be implemented.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a verification method of private transactions, wherein nodes of the private transactions comprise an expenditure node and a receiving node, and the method comprises the following steps:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
Further, the transaction list also includes a check list;
when the supervising node verifies, according to the transaction information, that there is no check identifier generated by the payout node in the discard list, the method further comprises:
and the supervision node writes the check identification generated by the expenditure node into a waste list and generates a new check identification in the check list, wherein the new check identification belongs to the receiving node.
Further, the transaction information further includes an identification of the expenditure node, and after the transaction information is broadcast to the supervisory node, the method further includes:
and when the monitoring node verifies that the identifier of the expenditure node exists according to the transaction information, executing a step that the monitoring node verifies whether the identifier of the check exists in the abandon list according to the transaction information.
Further, when the supervision node verifies that the identifier of the expenditure node does not exist according to the transaction information, the privacy transaction fails.
Further, the transaction information further includes first encryption information of amount of money related to the check generated by the expenditure node and second encryption information of amount of money related to the check received by the receiving node, and the method further includes, after the transaction information is broadcast to the supervision node when the transaction is completed in the blockchain, the method further includes:
and when the supervision node verifies that the first encryption information is the same as the second encryption information according to the transaction information, the supervision node executes a step of verifying whether the check identification exists in the abandon list according to the transaction information.
Further, when the supervision node verifies that the first encryption information is different from the second encryption information according to the transaction information, the privacy transaction fails.
Further, the first encryption information and the second encryption information are both obtained by a hash algorithm.
An embodiment of the present application further provides an apparatus for verifying a private transaction, where the private transaction includes an expenditure node and a receiving node, and the apparatus includes:
the broadcast node is used for broadcasting transaction information to the supervision node by the expenditure node when a transaction is completed in the blockchain, wherein the transaction information comprises a check identifier generated by the expenditure node and the condition of the check identifier in a transaction list, and the transaction list comprises a waste list;
the verification node is used for verifying whether the check identifier exists in the abandon list or not by the supervision node according to the transaction information;
and the result node is used for verifying that the check identifier generated by the expenditure node exists in the abandon list according to the transaction information by the supervision node, and then the privacy transaction is successful.
An embodiment of the present application further provides a verification device for a private transaction, where a node of the private transaction includes an expenditure node and a receiving node, and the device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
An embodiment of the present application further provides a verification medium for a private transaction, in which computer-executable instructions are stored, where nodes of the private transaction include a spending node and a receiving node, and the computer-executable instructions are configured to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects: according to the method and the device, whether check identification exists or not is verified in the waste list through the supervision node, whether privacy transaction succeeds or not is further judged, specific content of the privacy transaction is not acquired by the supervision node in the period, and verification of the privacy transaction is completed on the premise that transaction data are not leaked.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a verification method for a private transaction according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a verification apparatus for a privacy transaction according to a second embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a verification method for a privacy transaction according to an embodiment of the present disclosure, where the privacy transaction includes a spending node and a receiving node, and specifically includes:
step S101, when the transaction is completed in the block chain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list.
In step S101 of the embodiment of the present specification, the node where the transaction occurs broadcasts the transaction information to the supervising node. Checks can be understood as digital bills, each digital bill is a section of program code containing bill business logic and corresponding bill data information, the digital bills running on a block chain have independent life cycle and self-maintenance business processing capacity, a series of core business types such as bill data acceptance, endorsement transfer, posting, transfer posting, cashing and the like can be supported, and various business rules can be realized in an intelligent contract programming mode.
And step S102, the supervision node verifies whether the check identification exists in the abandon list according to the transaction information.
Step S103, when the supervision node verifies that the check identifier generated by the expenditure node exists in the abandon list according to the transaction information, the privacy transaction is successful.
It should be noted that the supervision node does not acquire specific information of the transaction, and only checks whether the check identifier generated by the expenditure node exists in the discard list, that is, the check identifier generated by the expenditure node exists in the discard list, so that the check identifier of the expenditure node can be proved to be invalid.
Further, the transaction list also includes a check list;
when the supervising node verifies, according to the transaction information, that there is no check identifier generated by the payout node in the discard list, the method further comprises:
and the supervision node writes the check identification generated by the expenditure node into a waste list and generates a new check identification in the check list, wherein the new check identification belongs to the receiving node.
Further, the transaction information further includes an identification of the expenditure node, and after the transaction information is broadcast to the supervisory node, the method further includes:
and when the monitoring node verifies that the identifier of the expenditure node exists according to the transaction information, executing a step that the monitoring node verifies whether the identifier of the check exists in the abandon list according to the transaction information.
Further, when the supervision node verifies that the identifier of the expenditure node does not exist according to the transaction information, the privacy transaction fails.
It should be noted that before verifying whether the check identifier generated by the payout node exists in the discarded list, it is verified whether the identifier of the payout node exists, and if the identifier of the payout node does not exist, the subsequent steps are unnecessary.
Further, the transaction information further includes first encryption information of amount of money related to the check generated by the expenditure node and second encryption information of amount of money related to the check received by the receiving node, and the method further includes, after the transaction information is broadcast to the supervision node when the transaction is completed in the blockchain, the method further includes:
and when the supervision node verifies that the first encryption information is the same as the second encryption information according to the transaction information, the supervision node executes a step of verifying whether the check identification exists in the abandon list according to the transaction information.
Further, when the supervision node verifies that the first encryption information is different from the second encryption information according to the transaction information, the privacy transaction fails.
It should be noted that before verifying whether the check identifier generated by the payout node exists in the discard list, it is verified a priori whether the first encryption information is the same as the second encryption information, and if the first encryption information is different from the second encryption information, the subsequent steps are unnecessary.
Further, the first encryption information and the second encryption information may be obtained by a hash algorithm.
According to the method and the device, whether check identification exists or not is verified in the waste list through the supervision node, whether privacy transaction succeeds or not is further judged, specific content of the privacy transaction is not acquired by the supervision node in the period, and verification of the privacy transaction is completed on the premise that transaction data are not leaked.
Correspondingly to the embodiment, fig. 2 is a schematic structural diagram of a verification apparatus for a privacy transaction according to a second embodiment of the present application, which specifically includes: a broadcast node 1, a validation node 2, and a result node 3.
The broadcast node 1 is configured to broadcast, by the expenditure node, transaction information to a supervision node when a transaction is completed in a blockchain, where the transaction information includes a check identifier generated by the expenditure node and a check identifier in a transaction list, and the transaction list includes a discard list;
the verification node 2 is used for verifying whether the check identifier exists in the abandon list by the supervision node according to the transaction information;
and the result node 3 is used for verifying that the check identifier generated by the expenditure node exists in the abandon list according to the transaction information by the supervision node, so that the privacy transaction is successful.
According to the method and the device, whether check identification exists or not is verified in the waste list through the supervision node, whether privacy transaction succeeds or not is further judged, specific content of the privacy transaction is not acquired by the supervision node in the period, and verification of the privacy transaction is completed on the premise that transaction data are not leaked.
An embodiment of the present application further provides a verification device for a private transaction, where a node of the private transaction includes an expenditure node and a receiving node, and the device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
An embodiment of the present application further provides a verification medium for a private transaction, in which computer-executable instructions are stored, where nodes of the private transaction include a spending node and a receiving node, and the computer-executable instructions are configured to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method of validating a private transaction, the nodes of the private transaction comprising a spending node and a receiving node, the method comprising:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
2. A verification method for private transactions according to claim 1, characterised in that said transaction list further comprises a check list;
when the supervising node verifies, according to the transaction information, that there is no check identifier generated by the payout node in the discard list, the method further comprises:
and the supervision node writes the check identification generated by the expenditure node into a waste list and generates a new check identification in the check list, wherein the new check identification belongs to the receiving node.
3. A method of validating privacy transactions according to claim 1, wherein the transaction information further includes an identification of the spending node, and after the transaction information is broadcast to a supervising node, the method further includes:
and when the monitoring node verifies that the identifier of the expenditure node exists according to the transaction information, executing a step that the monitoring node verifies whether the identifier of the check exists in the abandon list according to the transaction information.
4. A method of validating a private transaction according to claim 3, wherein the private transaction fails when the supervising node validates, based on the transaction information, that the identity of the expenditure node is not present.
5. A method of validating private transactions according to claim 1, wherein the transaction information further includes first encrypted information relating to the amount of money of checks generated by the payout node and second encrypted information relating to the amount of money of checks received by the receiving node, the method further comprising, after broadcasting the transaction information to a supervisory node upon completion of a transaction in the blockchain:
and when the supervision node verifies that the first encryption information is the same as the second encryption information according to the transaction information, the supervision node executes a step of verifying whether the check identification exists in the abandon list according to the transaction information.
6. The method of claim 5, wherein the private transaction fails when the supervisory node verifies that the first encrypted information is different from the second encrypted information based on the transaction information.
7. The method of validating a private transaction according to claim 5, wherein the first encryption information and the second encryption information are both obtained by a hashing algorithm.
8. An apparatus for verifying a privacy transaction, the privacy transaction comprising a spending node and a receiving node, the apparatus comprising:
the broadcast node is used for broadcasting transaction information to the supervision node by the expenditure node when a transaction is completed in the blockchain, wherein the transaction information comprises a check identifier generated by the expenditure node and the condition of the check identifier in a transaction list, and the transaction list comprises a waste list;
the verification node is used for verifying whether the check identifier exists in the abandon list or not by the supervision node according to the transaction information;
and the result node is used for verifying that the check identifier generated by the expenditure node exists in the abandon list according to the transaction information by the supervision node, and then the privacy transaction is successful.
9. An authentication apparatus for a private transaction, the nodes of the private transaction comprising a spending node and a receiving node, the apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
10. A verification medium for a private transaction, storing computer-executable instructions, the nodes of the private transaction comprising a spending node and a receiving node, wherein the computer-executable instructions are configured to:
when the transaction is completed in the blockchain, the expenditure node broadcasts transaction information to a monitoring node, wherein the transaction information comprises check identification generated by the expenditure node and the condition of the check identification in a transaction list, and the transaction list comprises a waste list;
the supervision node verifies whether the check identifier exists in the abandon list according to the transaction information;
and when the supervision node verifies that the check identifier generated by the expenditure node exists in the waste list according to the transaction information, the privacy transaction is successful.
CN202010264654.0A 2020-04-07 2020-04-07 Verification method, device, equipment and medium for private transaction Pending CN111640016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010264654.0A CN111640016A (en) 2020-04-07 2020-04-07 Verification method, device, equipment and medium for private transaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010264654.0A CN111640016A (en) 2020-04-07 2020-04-07 Verification method, device, equipment and medium for private transaction

Publications (1)

Publication Number Publication Date
CN111640016A true CN111640016A (en) 2020-09-08

Family

ID=72330576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010264654.0A Pending CN111640016A (en) 2020-04-07 2020-04-07 Verification method, device, equipment and medium for private transaction

Country Status (1)

Country Link
CN (1) CN111640016A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592650A (en) * 2021-07-29 2021-11-02 成都质数斯达克科技有限公司 Transaction method, device and equipment based on block chain intelligent contract

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592650A (en) * 2021-07-29 2021-11-02 成都质数斯达克科技有限公司 Transaction method, device and equipment based on block chain intelligent contract
CN113592650B (en) * 2021-07-29 2023-10-24 成都质数斯达克科技有限公司 Transaction method, device and equipment based on blockchain intelligent contract

Similar Documents

Publication Publication Date Title
CN108460523B (en) Wind control rule generation method and device
CN107450979B (en) Block chain consensus method and device
CN107450981B (en) Block chain consensus method and equipment
EP3591510A1 (en) Method and device for writing service data in block chain system
CN106899666B (en) Data processing method and device for service identification
KR20190096391A (en) Database status determination method and device, and consistency verification method and device
CN111784345B (en) Payment processing method, device, equipment and system
CN108615184B (en) Accounting method and device
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN113079200A (en) Data processing method, device and system
CN110648138A (en) Transaction query and transaction data processing method, device and equipment based on block chain
CN107578338B (en) Service publishing method, device and equipment
CN110852503A (en) Method and device for selecting payment channel and payment channel route
CN110781192A (en) Verification method, device and equipment of block chain data
CN111930343A (en) Method, device and medium for acquiring random number and generating random number
CN116305298A (en) Method and device for managing computing power resources, storage medium and electronic equipment
CN109376988B (en) Service data processing method and device
CN109118361B (en) Method, device and system for managing limit
CN111640016A (en) Verification method, device, equipment and medium for private transaction
CN112286968A (en) Service identification method, equipment, medium and electronic equipment
CN110022351B (en) Service request processing method and device
CN115511595A (en) Service execution method and device based on block chain
CN113452735B (en) Narrow-band transmission method and equipment based on block chain
CN110245115B (en) File processing method, engine and system
CN109389298B (en) Service request checking method and device

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