CN110830452A - Block chain-based electronic bidding method, device and storage medium - Google Patents

Block chain-based electronic bidding method, device and storage medium Download PDF

Info

Publication number
CN110830452A
CN110830452A CN201910998944.5A CN201910998944A CN110830452A CN 110830452 A CN110830452 A CN 110830452A CN 201910998944 A CN201910998944 A CN 201910998944A CN 110830452 A CN110830452 A CN 110830452A
Authority
CN
China
Prior art keywords
information
node
bidder
encryption
bidder node
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
CN201910998944.5A
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.)
Iallchain Co Ltd
Original Assignee
Iallchain 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 Iallchain Co Ltd filed Critical Iallchain Co Ltd
Priority to CN201910998944.5A priority Critical patent/CN110830452A/en
Publication of CN110830452A publication Critical patent/CN110830452A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • 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/602Providing cryptographic facilities or services
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1854Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with non-centralised forwarding system, e.g. chaincast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/008Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/46Secure multiparty computation, e.g. millionaire problem
    • H04L2209/466Electronic auction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The embodiment of the invention provides an electronic bidding method, electronic bidding equipment and a storage medium based on a block chain. The embodiment of the invention adopts a homomorphic encryption method to homomorphically encrypt the sensitive information in the bidding document, except for the tendering party, other participators can only compare and verify the bidding document under the condition of homomorphic encryption, but cannot obtain the specific money of the bid. Therefore, the leakage of sensitive business information is avoided, and the benefit of the bidder is guaranteed.

Description

Block chain-based electronic bidding method, device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an electronic bidding method, electronic bidding equipment and a storage medium based on a block chain.
Background
In an electronic bidding system, some sensitive information, such as the bid amount, may be present in the electronic bid. For the purpose of fair bidding, the bid amount needs to be disclosed after the bidding is finished. However, historical bid amounts are readily utilized and analyzed to derive bidding laws, resulting in unfair competition.
Disclosure of Invention
The embodiment of the invention provides an electronic bidding method, electronic bidding equipment and a storage medium based on a block chain, which are used for avoiding leakage of sensitive business information and guaranteeing the benefits of bidders.
In a first aspect, an embodiment of the present invention provides an electronic bidding method based on a block chain, including:
the bidder node receiving an electronic bid broadcasted by the bidder node in the blockchain network, the electronic bid including information of a plurality of components to be bid;
the bidder node adopts the homomorphic encryption public key of the bidder node to homomorphically encrypt the quotation information of each component in the plurality of components to obtain a plurality of first encryption information;
the bidder node adopts the homomorphic encryption public key of the bidder node to homomorphically encrypt the total quotation information of the components to obtain second encryption information;
the bidder node adopts the homomorphic encryption public key of the sponsor node to homomorphic encrypt the total quotation information of the components to obtain third encryption information;
the bidder node broadcasting the plurality of first, second, and third encrypted information in the blockchain network;
wherein the blockchain network includes the bidder node and the sponsor node.
In a second aspect, an embodiment of the present invention provides an electronic bidding method based on a block chain, including:
a sponsor node broadcasting an electronic bid in a blockchain network, the electronic bid including information for a plurality of components being bid on;
the method comprises the steps that a plurality of first encryption information, second encryption information and third encryption information which are broadcasted by a bidder node in a block chain network are received by a bidder node, wherein the first encryption information is obtained by performing homomorphic encryption on quotation information of each component in a plurality of components by the bidder node by adopting a homomorphic encryption public key of the bidder node, the second encryption information is obtained by performing homomorphic encryption on total quotation information of the components by the bidder node by adopting a homomorphic encryption public key of the bidder node, and the third encryption information is obtained by performing homomorphic encryption on the total quotation information of the components by the bidder node by adopting a homomorphic encryption public key of the bidder node;
the sending party node decrypts the third encrypted information by adopting a homomorphic encryption private key of the sending party node to obtain a decryption result;
when the tenderer node determines that the sum of the first encryption information is equal to the second encryption information, homomorphic encryption public keys of the tenderer node are adopted to homomorphically encrypt the decryption result to obtain fourth encryption information;
and when the tenderer node determines that the fourth encryption information is the same as the second encryption information, the tenderer node determines that the bidder node is verified.
In a third aspect, an embodiment of the present invention provides a bidder node, including:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving an electronic bidding document broadcasted by a sponsor node in a blockchain network through the communication interface, wherein the electronic bidding document comprises information of a plurality of bidding components;
homomorphic encryption is carried out on the quotation information of each component in the plurality of components by adopting the homomorphic encryption public key of the bidder node to obtain a plurality of first encryption information;
carrying out homomorphic encryption on the total quotation information of the components by adopting the homomorphic encryption public key of the bidder node to obtain second encryption information;
carrying out homomorphic encryption on the total quotation information of the plurality of components by adopting a homomorphic encryption public key of the sponsor node to obtain third encryption information;
broadcasting the plurality of first encrypted information, the second encrypted information, and the third encrypted information in the blockchain network through the communication interface;
wherein the blockchain network includes the bidder node and the sponsor node.
In a fourth aspect, an embodiment of the present invention provides a node for a publisher, including:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
broadcasting an electronic bidding document in a blockchain network through the communication interface, the electronic bidding document including information of a plurality of components to be bid on;
receiving a plurality of first encrypted information, second encrypted information and third encrypted information which are broadcasted by the bidder node in the block chain network through the communication interface, wherein the plurality of first encrypted information is obtained by the bidder node performing homomorphic encryption on the quotation information of each component in the plurality of components by using a homomorphic encryption public key of the bidder node, the second encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node, and the third encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node;
decrypting the third encrypted information by adopting a homomorphic encryption private key of the sender node to obtain a decryption result;
when the processor determines that the sum of the plurality of first encrypted information is equal to the second encrypted information, homomorphic encryption public keys of the bidder nodes are adopted to homomorphically encrypt the decryption result to obtain fourth encrypted information;
when the processor determines that the fourth encryption information and the second encryption information are the same, the processor determines that the bidder node is verified.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect or the second aspect.
According to the electronic bidding method, the electronic bidding equipment and the storage medium based on the block chain, provided by the embodiment of the invention, the homomorphic encryption method is adopted to homomorphic encrypt the sensitive information in the bidding document, and except for the tendering party, other participators can only compare and verify the bidding document under the condition of the homomorphic encrypted encryption, but cannot obtain the specific money of the bidding document. Therefore, the leakage of sensitive business information is avoided, and the benefit of the bidder is guaranteed.
Drawings
Fig. 1 is a schematic diagram of a communication system provided by an embodiment of the present invention;
FIG. 2 is a flowchart of an electronic bidding method based on block chains according to an embodiment of the present invention;
FIG. 3 is a flowchart of an electronic bidding method based on block chains according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a bidder node according to an embodiment of the invention;
fig. 5 is a schematic structural diagram of a node of a sending target according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The electronic bidding method based on the block chain provided by the embodiment of the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: the system comprises an accounting node, a bidder node A, a bidder node and a bidder node B, wherein the accounting node, the bidder node A, the bidder node and the bidder node B are participating nodes in a block chain network. It is understood that the description is only illustrative and does not limit the number and types of nodes in the blockchain network. The accounting node can be one or a plurality of cloud servers, the cloud servers are a server cluster, a plurality of servers are arranged, the server cluster is similar to a universal computer framework, and the cloud servers comprise processors, hard disks, memories, system buses and the like. The user node may specifically be a user terminal, e.g. a smartphone, a tablet, a personal computer, etc.
The embodiment of the invention provides an electronic bidding method based on a block chain, and aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of an electronic bidding method based on a block chain according to an embodiment of the present invention. The embodiment of the invention provides an electronic bidding method based on a block chain, aiming at the technical problems in the prior art, and the method comprises the following specific steps:
step 201, the bidder node receives an electronic bid broadcasted by the bidder node in the blockchain network, wherein the electronic bid includes information of a plurality of elements to be bid.
In this embodiment, the tenderer node broadcasts an electronic tender in the blockchain network, the electronic tender including information for a plurality of components being tendered. In addition, the electronic bidding document may further include a homomorphic encryption algorithm adopted by the bidder node designated by the sponsor node and participating in the bidding, and a maximum amount of the electronic bidding document, and optionally, the maximum amount of the electronic bidding document is T.
Optionally, the tenderer node may sign the electronic bidding document by using its own private key of the blockchain, and issue the signed electronic bidding document to the blockchain network in a broadcast message manner, so that each node in the blockchain network, for example, the accounting node, the bidder node a, and the bidder node B may receive the signed electronic bidding document. Thereby enabling the bidder node a and the bidder node B to participate in bidding after receiving the signed electronic bidding document.
In addition, after the accounting node receives the signed electronic signature broadcasted by the sponsor node in the blockchain network, whether sufficient money amount exists in the account of the sponsor node is determined by inquiring the blockchain account, that is, the accounting node needs to determine whether the money amount in the account of the sponsor node is greater than or equal to T, and if yes, the T money amount in the account of the sponsor node is frozen.
In addition, the bidder node a, the bidder node B, and the tenderer node may broadcast respective homomorphic encryption public keys in the blockchain network, so that the accounting node stores the respective homomorphic encryption public keys of the bidder node a, the bidder node B, and the tenderer node in a blockchain ledger for use by other nodes in the blockchain network. Optionally, the bidder node a, the bidder node B, and the tenderer node may sign their respective homomorphic encryption public keys by using their respective block chain private keys, and further broadcast the homomorphic encryption public keys signed by each other in the block chain network.
It is understood that each node in the blockchain network may correspond to a blockchain public key and a blockchain private key, specifically, the blockchain public key and the blockchain private key of the node are used to identify the identity of the node, and the blockchain public key and the blockchain private key of the node respectively correspond to the blockchain identity of the node. In addition, each node may also correspond to a homomorphic encryption public key and a homomorphic encryption private key, and the homomorphic encryption public key and the homomorphic encryption private key corresponding to the node are used for the homomorphic encryption or decryption of the node.
Step 202, the bidder node performs homomorphic encryption on the quotation information of each component in the multiple components by using the homomorphic encryption public key of the bidder node to obtain multiple first encryption information.
In this embodiment, there may be more than one bidder node in the block chain network, for example, the bidder node a and the bidder node B described in fig. 1, and the bidder node a and the bidder node B may respectively respond to the electronic bid broadcast by the sponsor node after receiving the electronic bid. That is, both bidder node a and bidder node B may broadcast a bid document in the blockchain network, where the bid document includes bid information for each of a plurality of components and total bid information for the plurality of components. Here, the bidder node a is schematically illustrated as an example. For example, the bids of bidder node a for each of the plurality of parts are respectively noted as (P1, P2 … Pn), and the overall bids of bidder node a for the plurality of parts are noted as Psum.
Further, the bidder node a performs homomorphic encryption on the quotation information of each of the plurality of components by using its own homomorphic encryption public key to obtain a plurality of first encryption information, for example, the bidder node a performs homomorphic encryption on (P1, P2 … Pn) by using its own homomorphic encryption public key K to obtain P1a and P2a … Pna, respectively. Here, P1a and P2a … Pna are described as a plurality of pieces of first encryption information.
And 203, the bidder node performs homomorphic encryption on the total quotation information of the components by adopting the homomorphic encryption public key of the bidder node to obtain second encryption information.
The bidder node A homomorphically encrypts Psum by using the homomorphic encryption public key K of the node A to obtain Psuma, and the Psuma is marked as second encryption information.
And 204, the bidder node adopts the homomorphic encryption public key of the sponsor node to homomorphic encrypt the total quotation information of the components to obtain third encryption information.
The bidder node a may further obtain a homomorphic encryption public key of the tenderer node by querying the block chain account book, and further, the tenderer node a homomorphic encrypts Psum by using the homomorphic encryption public key of the tenderer node to obtain Psumb, where Psumb is recorded as third encryption information.
Step 205, the bidder node broadcasting the plurality of first, second, and third encryption information in the blockchain network.
Wherein the blockchain network includes the bidder node and the sponsor node.
Further, the bidder node a may broadcast a plurality of first encryption information (P1a, P2a … Pna), second encryption information (Psuma), and third encryption information (Psumb) in the blockchain network.
Optionally, the broadcasting, by the bidder node, the plurality of first encryption information, the plurality of second encryption information, and the plurality of third encryption information in the blockchain network includes: the bidder node broadcasts bidding information in the blockchain network, the bidding information including the plurality of first encrypted information, the second encrypted information, and the third encrypted information.
For example, bidder node a may broadcast bid information, which may be in particular a bid application file as described above, in the blockchain network. The bid information includes a plurality of first encryption information (P1a, P2a … Pna), second encryption information (Psuma), and third encryption information (Psumb).
Optionally, before the bidder node broadcasts the bid information in the blockchain network, the method further includes: the bidder node signs the bidding information by adopting a block chain private key of the bidder node to obtain signed bidding information; the bidder node broadcasting bid information in the blockchain network, comprising: and the bidder node broadcasts the signed bid information in the block chain network.
For example, the bidder node a may sign the bid information using its own blockchain private key to obtain signed bid information, and further, the bidder node a broadcasts the signed bid information to the blockchain network, where the signed bid information includes a plurality of first encryption information (P1a, P2a … Pna), second encryption information (Psuma), and third encryption information (Psumb).
Similarly, the node B of the bidder may also broadcast the bid information in the blockchain network, and the bid information of the node B of the bidder is similar to the bid information of the node a of the bidder, and is not described herein again.
The embodiment of the invention adopts a homomorphic encryption method to homomorphically encrypt the sensitive information in the bidding document, except for the tendering party, other participators can only compare and verify the bidding document under the condition of homomorphic encryption, but cannot obtain the specific money of the bid. Therefore, the leakage of sensitive business information is avoided, and the benefit of the bidder is guaranteed.
Fig. 3 is a flowchart of an electronic bidding method based on a block chain according to another embodiment of the present invention. The electronic bidding method based on the block chain provided by the embodiment specifically comprises the following steps:
step 301, the sponsor node broadcasts an electronic bid in the blockchain network, the electronic bid including information for a plurality of components being bid on.
In this embodiment, the tenderer node broadcasts an electronic tender in the blockchain network, the electronic tender including information for a plurality of components being tendered. In addition, the electronic bidding document may further include a homomorphic encryption algorithm adopted by the bidder node designated by the sponsor node and participating in the bidding, and a maximum amount of the electronic bidding document, and optionally, the maximum amount of the electronic bidding document is T.
Step 302, the tenderer node receives a plurality of first encryption information, second encryption information and third encryption information broadcasted by the bidder node in the blockchain network, wherein the plurality of first encryption information is obtained by the bidder node performing homomorphic encryption on the quotation information of each of the plurality of components by using the homomorphic encryption public key of the bidder node, the second encryption information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using the homomorphic encryption public key of the bidder node, and the third encryption information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using the homomorphic encryption public key of the tenderer node.
For example, after receiving the electronic bid broadcast by the bidder node, the bidder node a and the bidder node B may respond to the electronic bid. For example, the bidding information which is broadcasted by the bidder node a in the blockchain network and signed by the private key of the bidder node a includes a plurality of first encryption information, second encryption information and third encryption information, wherein the plurality of first encryption information is obtained by the bidder node a performing homomorphic encryption on the quotation information of each of the plurality of components by using the homomorphic encryption public key of the bidder node a, the second encryption information is obtained by the bidder node a performing homomorphic encryption on the total quotation information of the plurality of components by using the homomorphic encryption public key of the bidder node a, and the third encryption information is obtained by the bidder node a performing homomorphic encryption on the total quotation information of the plurality of components by using the homomorphic encryption public key of the bidder node a. For example, the plurality of pieces of first encryption information are (P1a, P2a … Pna), the second encryption information are Psuma, and the third encryption information are Psumb.
And step 303, the node of the sending party decrypts the third encrypted information by using the homomorphic private encryption key of the node of the sending party to obtain a decryption result.
When the tender party node receives the bidding information signed by the private key of the tender party node A, the private key signature of the tender party node A is verified by the tender party node, and after the verification is passed, the third encrypted information Psumb is decrypted by the tender party node through the homomorphic encrypted private key of the tender party node A to obtain a decryption result Psum 1.
And step 304, when the tenderer node determines that the sum of the plurality of first encryption information is equal to the second encryption information, homomorphic encryption is performed on the decryption result by using the homomorphic encryption public key of the tenderer node to obtain fourth encryption information.
Further, the prover node homomorphically verifies that Psuma is correct according to the number of components, that is, the prover node needs to verify that P1a + P2a + … + Pna is equal to Psuma. If the encryption key is correct, the tenderer node further adopts the homomorphic encryption public key of the bidder node A to homomorphically encrypt the decryption result Psum1 to obtain fourth encryption information. Further, it is verified whether the fourth encryption information and Psuma are the same.
Step 305, when the tenderer node determines that the fourth encryption information and the second encryption information are the same, the tenderer node determines that the bidder node is verified.
And if the sender node determines that the fourth encryption information is the same as the Psuma, the sender node determines that the bidder node A passes verification. Similarly, the bidder node may verify the bidder node B using a method similar to that described in the present embodiment.
Optionally, the method further includes: when the bidder node is determined to be a successful bidder node by the sponsor node, broadcasting the identification information of the bidder node, the second encryption information and the third encryption information in the block chain network by the sponsor node.
For example, after the bidder node a and the bidder node B are comprehensively compared by the bidder node, and the bidder node a is determined to be the successful bidder node, the successful bidder node may also broadcast the relevant information of the successful bidder node in the block chain network, for example, the successful bidder node broadcasts the identification information of the successful bidder node a, the second encryption information Psuma, and the third encryption information Psumb in the block chain network. Optionally, the target sending node may first sign the relevant information of the target node by using its own block chain private key, and further, broadcast the signed relevant information of the target node in the block chain network.
Optionally, after receiving the relevant information of the winning bidder node, the accounting node in the blockchain network performs a fund transfer according to the second encryption information Psuma and the third encryption information Psumb, for example, the accounting node may subtract Psumb from an account of the originating bidder node by homomorphic encryption, and add Psuma from an account of the bidder node by homomorphic encryption.
It can be understood that, when the bidding is finished, the tenderer and the bidder enter the bidding document execution phase.
According to the embodiment of the invention, the accounting node processes the money of each bid transaction under the condition of homomorphic encryption under the condition of protecting the privacy of the tenderer and the bidder, so that the normal performance and the safety of the bid are guaranteed.
Fig. 4 is a schematic structural diagram of a bidder node according to an embodiment of the present invention. The bidder node provided in the embodiment of the present invention may execute the processing flow provided in the embodiment of the block chain-based electronic bidding method, and as shown in fig. 4, the bidder node 40 includes: memory 41, processor 42, computer programs and communication interface 43; wherein the computer program is stored in the memory 41 and is configured to be executed by the processor 42 for: receiving an electronic bid, which includes information of a plurality of components to be bid, broadcast by a sponsor node in a blockchain network through a communication interface 43; homomorphic encryption is carried out on the quotation information of each component in the plurality of components by adopting the homomorphic encryption public key of the bidder node to obtain a plurality of first encryption information; carrying out homomorphic encryption on the total quotation information of the components by adopting the homomorphic encryption public key of the bidder node to obtain second encryption information; carrying out homomorphic encryption on the total quotation information of the plurality of components by adopting a homomorphic encryption public key of the sponsor node to obtain third encryption information; broadcasting the plurality of first encrypted information, the second encrypted information, and the third encrypted information in the blockchain network through a communication interface 43; wherein the blockchain network includes the bidder node and the sponsor node.
Optionally, when the processor 42 broadcasts the plurality of first encryption information, the plurality of second encryption information, and the plurality of third encryption information in the blockchain network through the communication interface 43, the processor is specifically configured to: and broadcasting bid information in the blockchain network through the communication interface 43, wherein the bid information comprises the plurality of first encrypted information, the second encrypted information and the third encrypted information.
Optionally, before the processor 42 broadcasts the bid information in the blockchain network through the communication interface 43, the processor is further configured to: signing the bidding information by adopting a block chain private key of the bidder node to obtain signed bidding information; when the processor 42 broadcasts the bid information in the blockchain network through the communication interface 43, it is specifically configured to: the signed bid information is broadcast in the blockchain network via communication interface 43.
The bidder node of the embodiment shown in fig. 4 may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects thereof are similar and will not be described herein again.
Fig. 5 is a schematic structural diagram of a node of a sending target according to an embodiment of the present invention. The tenderer node provided in the embodiment of the present invention may execute the processing flow provided in the embodiment of the block chain-based electronic bidding method, and as shown in fig. 5, the tenderer node 50 includes: memory 51, processor 52, computer programs and communication interface 53; wherein the computer program is stored in the memory 51 and is configured to be executed by the processor 52 for: broadcasting an electronic bidding document in the blockchain network through the communication interface 53, the electronic bidding document including information of the plurality of components being bid on; receiving a plurality of first encrypted information, second encrypted information and third encrypted information, which are broadcasted by the bidder node in the blockchain network, through a communication interface 53, wherein the plurality of first encrypted information is obtained by the bidder node performing homomorphic encryption on the quotation information of each of the plurality of components by using a homomorphic encryption public key of the bidder node, the second encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node, and the third encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node; decrypting the third encrypted information by adopting a homomorphic encryption private key of the sender node to obtain a decryption result; when the processor 52 determines that the sum of the plurality of first encrypted information is equal to the second encrypted information, homomorphic encryption is performed on the decryption result by using the homomorphic encryption public key of the bidder node to obtain fourth encrypted information; when processor 52 determines that the fourth encryption information and the second encryption information are the same, processor 52 determines that the bidder node is authenticated.
Optionally, the processor 52 is further configured to: and when the bidder node is determined to be the successful bidder node, broadcasting the identification information of the bidder node, the second encryption information and the third encryption information in the block chain network through a communication interface 53.
The signaling node in the embodiment shown in fig. 5 may be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
In addition, the embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the block chain-based electronic bidding method described in the above embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for electronic bidding based on a block chain, comprising:
the bidder node receiving an electronic bid broadcasted by the bidder node in the blockchain network, the electronic bid including information of a plurality of components to be bid;
the bidder node adopts the homomorphic encryption public key of the bidder node to homomorphically encrypt the quotation information of each component in the plurality of components to obtain a plurality of first encryption information;
the bidder node adopts the homomorphic encryption public key of the bidder node to homomorphically encrypt the total quotation information of the components to obtain second encryption information;
the bidder node adopts the homomorphic encryption public key of the sponsor node to homomorphic encrypt the total quotation information of the components to obtain third encryption information;
the bidder node broadcasting the plurality of first, second, and third encrypted information in the blockchain network;
wherein the blockchain network includes the bidder node and the sponsor node.
2. The method of claim 1, wherein the bidder node broadcasting the plurality of first, second, and third encrypted information in the blockchain network comprises:
the bidder node broadcasts bidding information in the blockchain network, the bidding information including the plurality of first encrypted information, the second encrypted information, and the third encrypted information.
3. The method of claim 2, wherein the bidder node prior to broadcasting bid information in the blockchain network, the method further comprises:
the bidder node signs the bidding information by adopting a block chain private key of the bidder node to obtain signed bidding information;
the bidder node broadcasting bid information in the blockchain network, comprising:
and the bidder node broadcasts the signed bid information in the block chain network.
4. A method for electronic bidding based on a block chain, comprising:
a sponsor node broadcasting an electronic bid in a blockchain network, the electronic bid including information for a plurality of components being bid on;
the method comprises the steps that a plurality of first encryption information, second encryption information and third encryption information which are broadcasted by a bidder node in a block chain network are received by a bidder node, wherein the first encryption information is obtained by performing homomorphic encryption on quotation information of each component in a plurality of components by the bidder node by adopting a homomorphic encryption public key of the bidder node, the second encryption information is obtained by performing homomorphic encryption on total quotation information of the components by the bidder node by adopting a homomorphic encryption public key of the bidder node, and the third encryption information is obtained by performing homomorphic encryption on the total quotation information of the components by the bidder node by adopting a homomorphic encryption public key of the bidder node;
the sending party node decrypts the third encrypted information by adopting a homomorphic encryption private key of the sending party node to obtain a decryption result;
when the tenderer node determines that the sum of the first encryption information is equal to the second encryption information, homomorphic encryption public keys of the tenderer node are adopted to homomorphically encrypt the decryption result to obtain fourth encryption information;
and when the tenderer node determines that the fourth encryption information is the same as the second encryption information, the tenderer node determines that the bidder node is verified.
5. The method of claim 4, further comprising:
when the bidder node is determined to be a successful bidder node by the sponsor node, broadcasting the identification information of the bidder node, the second encryption information and the third encryption information in the block chain network by the sponsor node.
6. A bidder node, comprising:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
receiving an electronic bidding document broadcasted by a sponsor node in a blockchain network through the communication interface, wherein the electronic bidding document comprises information of a plurality of bidding components;
homomorphic encryption is carried out on the quotation information of each component in the plurality of components by adopting the homomorphic encryption public key of the bidder node to obtain a plurality of first encryption information;
carrying out homomorphic encryption on the total quotation information of the components by adopting the homomorphic encryption public key of the bidder node to obtain second encryption information;
carrying out homomorphic encryption on the total quotation information of the plurality of components by adopting a homomorphic encryption public key of the sponsor node to obtain third encryption information;
broadcasting the plurality of first encrypted information, the second encrypted information, and the third encrypted information in the blockchain network through the communication interface;
wherein the blockchain network includes the bidder node and the sponsor node.
7. The bidder node of claim 6, wherein the processor, when broadcasting the plurality of first, second, and third encrypted information in the blockchain network via the communication interface, is configured to:
and broadcasting bidding information in the block chain network through the communication interface, wherein the bidding information comprises the plurality of first encryption information, the second encryption information and the third encryption information.
8. The bidder node of claim 7, wherein prior to broadcasting bid information in the blockchain network via the communication interface, the processor is further configured to:
signing the bidding information by adopting a block chain private key of the bidder node to obtain signed bidding information;
the processor is specifically configured to, when broadcasting the bid information in the block chain network through the communication interface:
and broadcasting the signed bid information in the block chain network through the communication interface.
9. A sponsor node, comprising:
a memory;
a processor;
a communication interface; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to:
broadcasting an electronic bidding document in a blockchain network through the communication interface, the electronic bidding document including information of a plurality of components to be bid on;
receiving a plurality of first encrypted information, second encrypted information and third encrypted information which are broadcasted by the bidder node in the block chain network through the communication interface, wherein the plurality of first encrypted information is obtained by the bidder node performing homomorphic encryption on the quotation information of each component in the plurality of components by using a homomorphic encryption public key of the bidder node, the second encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node, and the third encrypted information is obtained by the bidder node performing homomorphic encryption on the total quotation information of the plurality of components by using a homomorphic encryption public key of the bidder node;
decrypting the third encrypted information by adopting a homomorphic encryption private key of the sender node to obtain a decryption result;
when the processor determines that the sum of the plurality of first encrypted information is equal to the second encrypted information, homomorphic encryption public keys of the bidder nodes are adopted to homomorphically encrypt the decryption result to obtain fourth encrypted information;
when the processor determines that the fourth encryption information and the second encryption information are the same, the processor determines that the bidder node is verified.
10. The originator node of claim 9, wherein the processor is further configured to:
and when the bidder node is determined to be the successful bidder node, broadcasting the identification information of the bidder node, the second encryption information and the third encryption information in the block chain network through the communication interface.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201910998944.5A 2019-10-22 2019-10-22 Block chain-based electronic bidding method, device and storage medium Pending CN110830452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910998944.5A CN110830452A (en) 2019-10-22 2019-10-22 Block chain-based electronic bidding method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910998944.5A CN110830452A (en) 2019-10-22 2019-10-22 Block chain-based electronic bidding method, device and storage medium

Publications (1)

Publication Number Publication Date
CN110830452A true CN110830452A (en) 2020-02-21

Family

ID=69549782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910998944.5A Pending CN110830452A (en) 2019-10-22 2019-10-22 Block chain-based electronic bidding method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110830452A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353000A (en) * 2020-03-06 2020-06-30 标信智链(杭州)科技发展有限公司 Transaction network system, method and device for safely opening electronic insurance
CN113191862A (en) * 2021-05-21 2021-07-30 中国联合网络通信集团有限公司 Electronic bidding method, third party device, sponsor device and bidder device
CN113268777A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Block chain-based bidding information processing method and module and electronic equipment
CN113268749A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Bidding information processing method and module and electronic equipment
CN113268750A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Data processing method, bidding node device and computer readable medium
WO2021179840A1 (en) * 2020-03-13 2021-09-16 Alipay Labs (singapore) Pte. Ltd. Methods and devices for providing privacy-preserving blockchain-based auction

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982205A (en) * 2017-03-01 2017-07-25 中钞信用卡产业发展有限公司北京智能卡技术研究院 Digital asset treating method and apparatus based on block chain
CN107666388A (en) * 2016-07-28 2018-02-06 郑珂威 Block chain information encryption method based on complete homomorphic cryptography method
CN108549819A (en) * 2018-03-13 2018-09-18 中国地质大学(武汉) A kind of bidding processing method and system based on block chain
CN108650073A (en) * 2018-05-07 2018-10-12 浙江工商大学 A kind of secret protection price competing method based on block chain
CN108765058A (en) * 2018-04-28 2018-11-06 中国科学院信息工程研究所 A kind of safe Synergistic method of manufacture link multiple entity based on block chain
CN108880863A (en) * 2018-05-26 2018-11-23 江西理工大学 A kind of smart grid equipment safety diagnostic service system based on block chain technology
CN109544129A (en) * 2018-10-26 2019-03-29 阿里巴巴集团控股有限公司 Block chain method of commerce and device, electronic equipment
CN109583886A (en) * 2018-09-30 2019-04-05 阿里巴巴集团控股有限公司 Method of commerce, device and remittance abroad method, apparatus based on block chain
CN109711191A (en) * 2018-12-20 2019-05-03 佛山市建宇工程招标代理有限公司 It invites and submit bids method and system
US20190188787A1 (en) * 2017-12-20 2019-06-20 Accenture Global Solutions Limited Analytics engine for multiple blockchain nodes
CN110020927A (en) * 2018-12-11 2019-07-16 浙江工商大学 A kind of open Bidding Methods based on block chain
CN110073633A (en) * 2018-11-07 2019-07-30 阿里巴巴集团控股有限公司 Use the block chain data protection of homomorphic cryptography
CN110069637A (en) * 2019-03-01 2019-07-30 安徽省优质采科技发展有限责任公司 Online way of invitation for bid and system based on block chain
CN110162984A (en) * 2019-05-05 2019-08-23 政采云有限公司 The method of calibration and system of electronic bidding data based on block chain

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107666388A (en) * 2016-07-28 2018-02-06 郑珂威 Block chain information encryption method based on complete homomorphic cryptography method
CN106982205A (en) * 2017-03-01 2017-07-25 中钞信用卡产业发展有限公司北京智能卡技术研究院 Digital asset treating method and apparatus based on block chain
US20190188787A1 (en) * 2017-12-20 2019-06-20 Accenture Global Solutions Limited Analytics engine for multiple blockchain nodes
CN108549819A (en) * 2018-03-13 2018-09-18 中国地质大学(武汉) A kind of bidding processing method and system based on block chain
CN108765058A (en) * 2018-04-28 2018-11-06 中国科学院信息工程研究所 A kind of safe Synergistic method of manufacture link multiple entity based on block chain
CN108650073A (en) * 2018-05-07 2018-10-12 浙江工商大学 A kind of secret protection price competing method based on block chain
CN108880863A (en) * 2018-05-26 2018-11-23 江西理工大学 A kind of smart grid equipment safety diagnostic service system based on block chain technology
CN109583886A (en) * 2018-09-30 2019-04-05 阿里巴巴集团控股有限公司 Method of commerce, device and remittance abroad method, apparatus based on block chain
CN109544129A (en) * 2018-10-26 2019-03-29 阿里巴巴集团控股有限公司 Block chain method of commerce and device, electronic equipment
CN110073633A (en) * 2018-11-07 2019-07-30 阿里巴巴集团控股有限公司 Use the block chain data protection of homomorphic cryptography
CN110020927A (en) * 2018-12-11 2019-07-16 浙江工商大学 A kind of open Bidding Methods based on block chain
CN109711191A (en) * 2018-12-20 2019-05-03 佛山市建宇工程招标代理有限公司 It invites and submit bids method and system
CN110069637A (en) * 2019-03-01 2019-07-30 安徽省优质采科技发展有限责任公司 Online way of invitation for bid and system based on block chain
CN110162984A (en) * 2019-05-05 2019-08-23 政采云有限公司 The method of calibration and system of electronic bidding data based on block chain

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353000A (en) * 2020-03-06 2020-06-30 标信智链(杭州)科技发展有限公司 Transaction network system, method and device for safely opening electronic insurance
CN111353000B (en) * 2020-03-06 2023-12-29 标信智链(杭州)科技发展有限公司 Transaction network system, method and device for safely making electronic warranty
WO2021179840A1 (en) * 2020-03-13 2021-09-16 Alipay Labs (singapore) Pte. Ltd. Methods and devices for providing privacy-preserving blockchain-based auction
CN113191862A (en) * 2021-05-21 2021-07-30 中国联合网络通信集团有限公司 Electronic bidding method, third party device, sponsor device and bidder device
CN113268777A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Block chain-based bidding information processing method and module and electronic equipment
CN113268749A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Bidding information processing method and module and electronic equipment
CN113268750A (en) * 2021-05-21 2021-08-17 中国联合网络通信集团有限公司 Data processing method, bidding node device and computer readable medium
CN113268777B (en) * 2021-05-21 2023-05-12 中国联合网络通信集团有限公司 Bid information processing method and module based on block chain and electronic equipment
CN113268750B (en) * 2021-05-21 2023-05-12 中国联合网络通信集团有限公司 Data processing method, bidding node apparatus and computer readable medium
CN113268749B (en) * 2021-05-21 2023-05-23 中国联合网络通信集团有限公司 Bid information processing method and module and electronic equipment
CN113191862B (en) * 2021-05-21 2023-06-13 中国联合网络通信集团有限公司 Electronic bidding method, third party device, bidding party device and bidding party device

Similar Documents

Publication Publication Date Title
CN107454114B (en) Auction method, server and readable storage medium
CN110830452A (en) Block chain-based electronic bidding method, device and storage medium
CN110827121A (en) Block chain-based electronic bidding method, device and storage medium
CN108702287B (en) Information issuing and acquiring method and device based on block chain and block chain link point
US11165756B2 (en) Delayed-access encryption for blockchain field
CN110458554B (en) Identity-based data rapid transaction method on block chain
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
CN107846278B (en) Intelligent contract processing method and device
WO2018076762A1 (en) Block chain-based transaction verification method and system, electronic device, and medium
CN107528835B (en) User privacy protection method based on security intelligent contract k-anonymous incentive mechanism
WO2021046668A1 (en) Blockchain system, information transmission method, system and apparatus, and computer medium
CN110351363B (en) Data backup method, device and computer readable storage medium
US10460340B2 (en) Verifying ad requests
CA2774155A1 (en) Auction verification
CN110958253A (en) Electronic voting method, device and storage medium based on block chain
CN110569666A (en) data statistics method and device based on block chain
CN110958107A (en) Electronic voting method, device and storage medium based on block chain
CN110336779B (en) Block chain construction method and device and electronic equipment
US20210021408A1 (en) Selectively private distributed computation for blockchain
CN116545773A (en) Method, medium and electronic equipment for processing privacy data
CN110351364B (en) Data storage method, device and computer readable storage medium
CN114240547B (en) Steel trade transaction method, system, device and storage medium based on digital signature
CN110933098B (en) Electronic voting method, device and storage medium based on block chain
CN110796447A (en) Electronic bid supervision method and device based on block chain and storage medium
CN111047763A (en) Electronic voting method, device and storage medium based on block chain

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200221

WD01 Invention patent application deemed withdrawn after publication