CN113191863B - Bid method, third party device, bid issuing party device and bid issuing party device - Google Patents

Bid method, third party device, bid issuing party device and bid issuing party device Download PDF

Info

Publication number
CN113191863B
CN113191863B CN202110559635.5A CN202110559635A CN113191863B CN 113191863 B CN113191863 B CN 113191863B CN 202110559635 A CN202110559635 A CN 202110559635A CN 113191863 B CN113191863 B CN 113191863B
Authority
CN
China
Prior art keywords
bidding
blockchain
equipment
party
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110559635.5A
Other languages
Chinese (zh)
Other versions
CN113191863A (en
Inventor
田新雪
蒙睿
肖征荣
马书惠
杨子文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110559635.5A priority Critical patent/CN113191863B/en
Publication of CN113191863A publication Critical patent/CN113191863A/en
Application granted granted Critical
Publication of CN113191863B publication Critical patent/CN113191863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a bidding method, third party equipment, bidding party equipment and bidding party equipment, wherein the method comprises the following steps: in response to receiving random numbers respectively corresponding to bidding side devices broadcast by bidding side devices in the blockchain and first encryption results broadcast by bidding side devices, respectively decrypting each first encryption result by using a blockchain private key of the third party device to obtain each second difference value; determining a winning-party device according to each random number and each second difference value; and broadcasting the determined information of the winning bid side equipment in the block chain. A decentralised bidding method is provided, and under the condition of ensuring the confidentiality of quotation, all participants are enabled to know bidding results. Through the block chain technology, a hacker is prevented from attacking a certain centralized node to tamper or illegally acquire bidding data, and the security is greatly improved.

Description

Bid method, third party device, bid issuing party device and bid issuing party device
Technical Field
The disclosure belongs to the technical field of communication, and particularly relates to a bidding method, third party equipment, bidding party equipment and bidding party equipment.
Background
The current bidding system has the problems that voting system files are stored in a centralized manner in an electronic bidding platform server, and once the server is tampered by a hacker, huge losses are caused, project bidding results are tampered, and the like, so that the problems of unfairness in bidding are caused.
In electronic bid quotation systems, quotation decisions are made to be successful and even historical quotations become information collected by competitors' analysis. Therefore, how to construct a decentralised bidding method, the decentralised network is also used for carrying out random selection in the selection link of bid evaluation experts, and bid evaluation is realized under the condition that the bid is guaranteed to be kept secret forever, even a bid sender can only carry out fair evaluation but cannot know the true bid of the bid sender, and the method is a current problem to be solved urgently.
Disclosure of Invention
The present disclosure addresses the above-described deficiencies in the prior art by providing a bidding method, a third party device, a bidding party device, and a bidding party device.
As a first aspect of the present disclosure, there is provided a bidding method, comprising:
in response to receiving random numbers respectively corresponding to bidding side devices broadcast by bidding side devices in the blockchain and first encryption results broadcast by bidding side devices, respectively decrypting each first encryption result by using a blockchain private key of the third party device to obtain each second difference value; the first encryption result is a third encryption result broadcast by bidding equipment in a blockchain, the blockchain private key of the bidding equipment is utilized to decrypt a first difference value of random numbers corresponding to other bidding equipment and quoted by other bidding equipment, the first difference value is calculated to be a second difference value of quoted by the bidding equipment, and the blockchain public key of the third party equipment is utilized to encrypt the second difference value;
determining a winning-party device according to each random number and each second difference value;
and broadcasting the determined information of the winning bid side equipment in the block chain.
Preferably, the determining the winning device according to each random number and each second difference value includes:
respectively calculating the sum of the random number and each second difference value to obtain a third difference value of any two bidding parties;
and determining the winning-winning device according to the third difference value.
As a second aspect of the present disclosure, there is provided a bidding method, comprising:
generating random numbers and bidding books respectively corresponding to the bidding party equipment;
encrypting the corresponding random number by using the blockchain public key of each bidder device to obtain a second encryption result of each bidder device;
and broadcasting the bidding document, each second encryption result and the random number corresponding to each bidding party device in the blockchain.
Preferably, the method further comprises:
in response to receiving the encrypted bid winning bid from the bid winning device in the blockchain, decrypting the encrypted bid winning bid by using the private key of the blockchain of the bid winning device to obtain the bid winning bid;
homomorphic encrypting the winning bid to obtain a first ciphertext;
the first ciphertext is respectively sent to other bidding party equipment;
responding to the received ciphertext combinations returned by the bidding side equipment, and homomorphic decryption is carried out on the ciphertext combinations to obtain decryption results;
and determining whether the winning-winning device is correct or not according to each decryption result.
As a third aspect of the present disclosure, there is provided a bidding method, comprising:
in response to receiving third encryption results broadcast by other bidding devices in the blockchain, decrypting the third encryption results by using a blockchain private key of the bidding device to obtain a first difference value of quotations of the other bidding devices and random numbers corresponding to the other bidding devices; the third encryption result is generated after the other bidding party equipment receives a second encryption result broadcast by the bidding party equipment in the blockchain, decrypts random numbers corresponding to the other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to the other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment;
calculating a second difference between the first difference and the bid of the bidding party equipment;
encrypting the second difference value by using a blockchain public key of the third party equipment to obtain a first encryption result;
the first encryption result is broadcast in the blockchain.
Preferably, the method further comprises:
in response to receiving a bidding document and a second encryption result broadcast by bidding party equipment in a blockchain, decrypting the second encryption result by using a blockchain private key of the bidding party equipment to obtain a random number corresponding to the bidding party equipment;
calculating a first difference value of the quotation of the bidding party equipment and the random number corresponding to the bidding party equipment;
encrypting the first difference value by using the blockchain public keys of other bidding party devices to obtain each third encryption result;
each third encryption result is broadcast in the blockchain.
Preferably, the method further comprises:
receiving a first ciphertext broadcast by a mark transmitting device in the block chain;
the homomorphic encryption bidding party quotes to obtain a second ciphertext, and the homomorphic encryption bidding party equipment corresponds to a random number to obtain a third ciphertext;
generating a ciphertext combination according to the first ciphertext, the second ciphertext, and the third ciphertext;
the ciphertext combination is broadcast in the blockchain.
Preferably, the method further comprises:
and in response to receiving the information of the winning bid device broadcasted by the third party device in the blockchain, and the information of the winning bid device is consistent with the information of the bidding device, encrypting the winning bid price of the bidding device by using the blockchain public key of the bidding device, and broadcasting the encrypted winning bid price in the blockchain.
As a fourth aspect of the present disclosure, there is provided a third party device comprising:
the decryption module is used for responding to the received random numbers respectively corresponding to the bidding party devices broadcast by the bidding party devices in the blockchain and the first encryption results broadcast by the bidding party devices, and decrypting the first encryption results respectively by utilizing the blockchain private key of the third party device to obtain second difference values; the first encryption result is a third encryption result broadcast by bidding equipment in a blockchain, the blockchain private key of the bidding equipment is utilized to decrypt a first difference value of random numbers corresponding to other bidding equipment and quoted by other bidding equipment, the first difference value is calculated to be a second difference value of quoted by the bidding equipment, and the blockchain public key of the third party equipment is utilized to encrypt the second difference value;
the determining module is used for determining the winning-winning device according to the random numbers and the second difference values;
and the broadcasting module is used for broadcasting the determined information of the winning-party equipment in the block chain.
As a fifth aspect of the present disclosure, there is provided a signer apparatus comprising:
the generation module is used for generating random numbers and bidding books respectively corresponding to the bidding party equipment;
the encryption module is used for encrypting the corresponding random numbers by utilizing the locally stored blockchain public keys of the bidding party equipment to obtain a second encryption result of the bidding party equipment;
and the broadcasting module is used for broadcasting random numbers corresponding to the second encryption results and the bidding party equipment in the block chain.
As a sixth aspect of the present disclosure, there is provided a bidder apparatus comprising:
the decryption module is used for responding to the received third encryption result broadcasted by other bidding party equipment in the blockchain, decrypting the third encryption result by utilizing a blockchain private key of the bidding party equipment to obtain a first difference value of the quotations of the other bidding party equipment and the random numbers corresponding to the other bidding party equipment; the third encryption result is generated after the other bidding party equipment receives a second encryption result broadcast by the bidding party equipment in the blockchain, decrypts random numbers corresponding to the other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to the other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment;
a calculating module, configured to calculate a second difference between the first difference and a bid of the bidding device;
the encryption module is used for encrypting the second difference value by using a blockchain public key of the third party equipment to obtain a first encryption result;
and the broadcasting module is used for broadcasting the first encryption result in the block chain.
According to the bidding method provided by the embodiment of the disclosure, if the third party equipment receives the random numbers corresponding to the bidding party equipment broadcast by the bidding party equipment in the blockchain and the first encryption result broadcast by the bidding party equipment, the blockchain private key of the third party equipment is utilized to decrypt to obtain second difference values, the bidding size of the bidding party equipment is determined according to the random numbers and the second difference values, the bidding party equipment with the highest bidding is determined according to the bidding size of the bidding party equipment and is used as the bidding party equipment, and the third party equipment broadcasts the determined information of the bidding party equipment in the blockchain. The embodiment of the disclosure provides a decentralised bidding method, wherein the selection link of bid evaluation experts is also randomly selected by a decentralised network, bid evaluation is realized under the condition that the bid is guaranteed to be kept secret forever, all participants are enabled to know the final bid result, but the quotations of other parties cannot be known. And the bidding process can be traced and the blockchain account book is stored in a scattered manner by the nodes of the blockchain, so that a hacker is prevented from attacking a certain centralized node to tamper or illegally acquire bidding data at will, and the security is greatly improved. Meanwhile, the random number is added as an interference factor in the encryption process, so that the reverse deduction of effective information of other participants is avoided, the safety of bidding parties is protected, and the fairness and reliability of bidding are improved.
Drawings
FIG. 1 is a flow chart of a bidding method for a third party device side provided in an embodiment of the present disclosure;
FIG. 2 is a flow chart of a bidding method for the bidding appliance side provided in an embodiment of the present disclosure;
FIG. 3 is a flow chart of a bidding method for a bidder device side provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a third party device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a label issuing side device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a bidder device according to an embodiment of the present disclosure.
Detailed Description
In order that those skilled in the art will better understand the technical solutions of the present disclosure, the present disclosure will be described in further detail with reference to the accompanying drawings and detailed description.
In order to construct a decentralised bidding method, the decentralised network is also used for random selection in the selection link of bid evaluation experts, and under the condition of ensuring that the bid price is always kept secret, bid evaluation is realized, and even a bid issuing party can only perform fair evaluation but cannot know the true bid price of the bid issuing party. The disclosure provides a bidding method, third party equipment, bidding party equipment and bidding party equipment. The following detailed description is provided with reference to the accompanying drawings of the embodiments provided by the present disclosure, respectively.
In an initial stage, a blockchain is built, and nodes in the blockchain include a third party device, a bidding party device and a plurality of bidding party devices. Each blockchain node corresponds to a blockchain public key and a blockchain private key, the blockchain private key is stored in the blockchain node, and the blockchain public key is stored in the blockchain node and broadcast to the blockchain.
In the embodiment of the present disclosure, a total of three bidder devices (bidder device a, bidder device b, bidder device c) are taken as an example, and the following discussion is made.
Fig. 1 shows a flowchart of a third party device-side bidding method provided by an embodiment of the present disclosure. As shown in fig. 1, the bidding method provided in this embodiment includes the following steps.
Step S101, in response to receiving the random numbers respectively corresponding to the bidding side devices broadcast by the bidding side devices in the blockchain and the first encryption results broadcast by the bidding side devices, respectively decrypting the first encryption results by using the blockchain private key of the third party device to obtain second difference values.
Step S102, determining the winning-winning device according to the random numbers and the second difference values.
And step S103, broadcasting the determined information of the winning party device in the block chain.
The first encryption result is a third encryption result broadcast by the bidding device in the blockchain, the first difference value of random numbers corresponding to other bidding devices and quoted by other bidding devices is decrypted by using a blockchain private key of the bidding device, the second difference value of the first difference value and the quoted by the bidding device is calculated, and the second difference value is generated by encrypting the blockchain public key of the third party device.
According to the bidding method provided by the embodiment of the disclosure, if the third party equipment receives the random numbers corresponding to the bidding party equipment broadcast by the bidding party equipment in the blockchain and the first encryption result broadcast by the bidding party equipment, the blockchain private key of the third party equipment is utilized to decrypt to obtain second difference values, the bidding size of the bidding party equipment is determined according to the random numbers and the second difference values, the bidding party equipment with the highest bidding is determined according to the bidding size of the bidding party equipment and is used as the bidding party equipment, and the third party equipment broadcasts the determined information of the bidding party equipment in the blockchain. The embodiment of the disclosure provides a decentralised bidding method, wherein the selection link of bid evaluation experts is also randomly selected by a decentralised network, bid evaluation is realized under the condition that the bid is guaranteed to be kept secret forever, all participants are enabled to know the final bid result, but the quotations of other parties cannot be known. And the bidding process can be traced and the blockchain account book is stored in a scattered manner by the nodes of the blockchain, so that a hacker is prevented from attacking a certain centralized node to tamper or illegally acquire bidding data at will, and the security is greatly improved. Meanwhile, the random number is added as an interference factor in the encryption process, so that the reverse deduction of effective information of other participants is avoided, the safety of bidding parties is protected, and the fairness and reliability of bidding are improved.
The third party device performs private key signature verification on the message carrying the random numbers corresponding to the bidding party devices broadcasted by the bidding party device by using the blockchain public key of the bidding party device, and obtains the random numbers corresponding to the bidding party devices after verification is passed. And the third party device performs private key signature verification on the message carrying the first encryption result broadcast by the bidding party device by using the blockchain public key of the bidding party device, and after the verification is passed, the first encryption result is obtained.
In some embodiments, the determining the winning device according to the random numbers and the second differences (i.e. step S102) includes: respectively calculating the sum of the random number and each second difference value to obtain a third difference value of the bidding price of any two bidding parties; and determining the winning-square equipment according to the third difference value.
In the embodiment of the disclosure, the third party device decrypts to obtain the second difference in the form of B-Rb-ase:Sub>A, C-Rc-ase:Sub>A, ase:Sub>A-Rase:Sub>A-C, B-Rb-C, C-Rc-B, ase:Sub>A-Rase:Sub>A-B, and then adds Rb, rc, rase:Sub>A to the numbers to obtain the third difference, i.e., the value of ase:Sub>A-B, B-ase:Sub>A, C-ase:Sub>A, ase:Sub>A-C, B-C, C-B, and ranks the bid amounts (A, B, C) of the bidding devices according to whether the third difference is greater than 0 or less than 0, but the ABC specific value is not known. And selecting the top bid from the bid according to the sorting result of A, B, C as a bid winning bid, wherein bidding equipment corresponding to the bid winning bid is bid winning equipment.
It should be noted that a is a bid amount of bidder device a, B is a bid amount of bidder device B, C is a bid amount of bidder device C, ra is a random number corresponding to bidder device a, rb is a random number corresponding to bidder device B, and Rc is a random number corresponding to bidder device C.
Fig. 2 shows a flowchart of a bidding method on the bidding device side provided by an embodiment of the present disclosure. As shown in fig. 2, the bidding method provided in this embodiment includes the following steps.
Step S201, a random number and a bid corresponding to each bidder device are generated.
Step S202, encrypting the corresponding random numbers by using the blockchain public key of each bidder device to obtain a second encryption result of each bidder device.
Step S203, broadcasting the bidding document, each second encryption result and the random number corresponding to each bidder device in the blockchain.
According to the bidding method provided by the embodiment of the disclosure, the bidding party equipment generates random numbers and bidding books corresponding to the bidding parties respectively, the corresponding random numbers are encrypted by using the blockchain public key of the bidding party equipment, second encryption results Ea (Ra), eb (Rb), ec (Rc) of the bidding party equipment are obtained respectively, and the bidding books, ea (Ra), eb (Rb), ec (Rc), ra, rb and Rc are broadcast in the blockchain. The embodiment of the disclosure provides a decentralised bidding method, wherein the selection link of bid evaluation experts is also randomly selected by a decentralised network, bid evaluation is realized under the condition that the bid is guaranteed to be kept secret forever, all participants are enabled to know the final bid result, but the quotations of other parties cannot be known. And the bidding process can be traced and the blockchain account book is stored in a scattered manner by the nodes of the blockchain, so that a hacker is prevented from attacking a certain centralized node to tamper or illegally acquire bidding data at will, and the security is greatly improved. Meanwhile, the random number is added as an interference factor in the encryption process, so that the reverse deduction of effective information of other participants is avoided, the safety of bidding parties is protected, and the fairness and reliability of bidding are improved.
In some embodiments, the method further comprises:
in response to receiving the encrypted bid winning bid from the bid winning device in the blockchain, decrypting the encrypted bid winning bid by using the private key of the blockchain of the bid winning device to obtain the bid winning bid; homomorphic encryption bid winning bid to obtain a first ciphertext; the first ciphertext is respectively sent to other bidding party equipment; responding to the received ciphertext combinations returned by the bidding side equipment, and homomorphic decryption is carried out on the ciphertext combinations to obtain decryption results; and determining whether the winning-side equipment is correct according to each decryption result.
In the embodiment of the disclosure, if the bid-winning device receives the encrypted bid-winning bid price broadcast by the bid-winning device, the bid-winning bid price is obtained by decrypting the blockchain private key of the bid-winning device. The bidding devices can only know the bid winning bid, but not the bid of other bidding devices except the bidding device. The bidding device homomorphically encrypts the bid winning bid to obtain a first ciphertext, e.g., computes HEn (a) (assuming the bidding device is bidding device a). The bidding side device transmits HEn (a) to bidding side device b and bidding side device c, respectively. If the sender device receives the ciphertext combination [ Hen (a) -Hen (B) ] returned by the bidder device B and receives the ciphertext combination [ Hen (a) -Hen (C) ] Hen (Rc) returned by the bidder device C, the sender device performs homomorphic decryption on the [ Hen (a) -Hen (B) ]hen (Rb) and the [ Hen (a) -Hen (C) ]hen (Rc) respectively, and obtains decryption results (a-B) ×rb and (a-C) ×rc respectively. Offers A, B, C can be ordered according to the positive and negative of (a-B) Rb and (a-C) Rc. And if the A is the maximum value according to the sorting, the correct winning-winning party equipment determined by the third-party equipment is indicated.
If the winning bid device is the bidding device b or the bidding device c, the winning bid device is also verified to be correct by the same procedure as described above.
It should be noted that, the process of verifying, by the initiator device, whether the initiator device is correct does not need to send a message between devices, and may be implemented by broadcasting a message in the blockchain by the devices.
The bid-issuing device needs to use the blockchain public key of the bid-issuing device to perform private key signature verification on the message carrying the encrypted bid-winning bid price broadcast by the bid-winning device, and after the private key verification is passed, the encrypted bid-winning bid price is obtained.
Fig. 3 shows a flowchart of a bidding method at a bidder device side provided by an embodiment of the present disclosure. As shown in fig. 3, the bidding method provided in this embodiment includes the following steps.
In step S301, in response to receiving the third encryption result broadcasted by the other bidder devices in the blockchain, the third encryption result is decrypted by using the blockchain private key of the present bidder device, so as to obtain a first difference value between the quotes of the other bidder devices and the random numbers corresponding to the other bidder devices.
Step S302, a second difference between the first difference and the bid of the bidding device is calculated.
Step S303, encrypt the second difference value by using the blockchain public key of the third party device, and obtain the first encryption result.
Step S304, broadcasting the first encryption result in the block chain.
The third encryption result is generated after other bidding party equipment receives a second encryption result broadcast by bidding party equipment in the blockchain, decrypts random numbers corresponding to other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment.
According to the bidding method provided by the embodiment of the disclosure, if the bidding party equipment receives the third encryption result broadcasted by other bidding party equipment in the blockchain, the bidding party equipment decrypts by utilizing the blockchain private key of the bidding party equipment to obtain a first difference value 'B-Rb' and 'C-Rc' (assuming that the bidding party equipment is a), calculates the second difference value 'B-Rb-A' and 'C-Rc-A' of the first difference value and the quotation of the bidding party equipment, encrypts by utilizing the prestored blockchain public key of the third party equipment to obtain a first encryption result, and broadcasts the first encryption result in the blockchain. The embodiment of the disclosure provides a decentralised bidding method, wherein the selection link of bid evaluation experts is also randomly selected by a decentralised network, bid evaluation is realized under the condition that the bid is guaranteed to be kept secret forever, all participants are enabled to know the final bid result, but the quotations of other parties cannot be known. And the bidding process can be traced and the blockchain account book is stored in a scattered manner by the nodes of the blockchain, so that a hacker is prevented from attacking a certain centralized node to tamper or illegally acquire bidding data at will, and the security is greatly improved. Meanwhile, the random number is added as an interference factor in the encryption process, so that the reverse deduction of effective information of other participants is avoided, the safety of bidding parties is protected, and the fairness and reliability of bidding are improved.
The same procedure as described above is also performed for the bidder device b and the bidder device c.
The bidder device needs to perform private key signature verification on the messages carrying the third encryption result and broadcast by other bidder devices by using the blockchain public keys of the other bidder devices, and after verification is passed, the third encryption result is obtained.
In some embodiments, the method further comprises:
in response to receiving a bidding document and a second encryption result broadcast by bidding party equipment in a blockchain, decrypting the second encryption result by using a blockchain private key of the bidding party equipment to obtain a random number corresponding to the bidding party equipment; calculating a first difference value of the quotation of the bidding party equipment and the random number corresponding to the bidding party equipment; encrypting the first difference value by using the blockchain public keys of other bidding party devices to obtain each third encryption result; each third encryption result is broadcast in the blockchain.
In the embodiment of the disclosure, if the bidding device receives the bidding and the second encryption result sent by the bidding device, the bidding price of the bidding device is determined according to the bidding, decryption is performed by using the blockchain private key of the bidding device to obtain Ra (assuming that the bidding device is a), the first difference value a-Ra is calculated, the a-Ra is encrypted by using the blockchain public key of the bidding device b/c according to a predetermined algorithm to obtain a third encryption result Eb/c (a-Ra), and Eb/c (a-Ra) is broadcasted in the blockchain.
The same procedure as described above is also performed for the bidder device b and the bidder device c.
The bidder device needs to verify the private key signature of the message carrying the bidding document and the second encryption result, which is broadcast by the bidder device, by using the blockchain public key of the bidder device, and after the verification is passed, the bidding document and the second encryption result are obtained.
In some embodiments, the method further comprises:
receiving a first ciphertext broadcast by a mark transmitting device in the block chain; the homomorphic encryption bidding party quotes to obtain a second ciphertext, and the homomorphic encryption bidding party equipment corresponds to a random number to obtain a third ciphertext; generating a ciphertext combination according to the first ciphertext, the second ciphertext and the third ciphertext; the ciphertext combination is broadcast in the blockchain.
In the embodiment of the disclosure, a bidding party device B receives a Hen (a) broadcasted by a bidding party device, a bid B of the homomorphic encryption bidding party device B obtains a second ciphertext Hen (B), a random number Rb corresponding to the homomorphic encryption bidding party device B obtains a third ciphertext Hen (Rb), a ciphertext combination [ Hen (a) -Hen (B) ], a Hen (Rb) is generated according to a preset algorithm, and the [ Hen (a) -Hen (B) ], the Hen (Rb) is returned to the bidding party device. Meanwhile, the bidding party equipment C receives the Hen (A) sent by the bidding party equipment, the bid C of the homomorphic encryption bidding party equipment C obtains a second ciphertext Hen (C), the random number Rc corresponding to the homomorphic encryption bidding party equipment C obtains a third ciphertext Hen (Rc), a ciphertext combination [ Hen (A) -Hen (C) ]hen (Rc) is generated according to a preset algorithm, and the [ Hen (A) -Hen (C) ]hen (Rc) is returned to the bidding party equipment. And verifying whether the winning party device determined by the third party device is correct by the winning party device.
It should be noted that, the process of verifying, by the initiator device, whether the initiator device is correct does not need to send a message between devices, and may be implemented by broadcasting a message in the blockchain by the devices.
The bidder device needs to perform private key signature verification on the message carrying the first ciphertext broadcast by the bidder device by using the blockchain public key of the bidder device, and after the verification is passed, the first ciphertext is obtained.
In some embodiments, the method further comprises:
and in response to receiving the information of the winning bid device broadcasted by the third party device in the blockchain, and the information of the winning bid device is consistent with the information of the bidding device, encrypting the winning bid price of the bidding device by using the blockchain public key of the bidding device, and broadcasting the encrypted winning bid price in the blockchain. The bid-issuing side equipment can decrypt the encrypted bid-winning bid by utilizing the private key of the block chain of the bid-issuing side equipment to obtain the bid-winning bid. The bidding devices can only know the bid winning bid, but not the bid of other bidding devices except the bidding device.
In a preferred embodiment, each bidder device may also actively obtain information of the winning bidder device from the third party device to determine whether the bidding device is the winning bidder device.
The bidding device needs to use the blockchain public key of the third party device to perform private key signature verification on the message carrying the information of the bidding device broadcasted by the third party device, and after the verification is passed, the information of the bidding device is obtained.
Fig. 4 shows a schematic structural diagram of a third party device provided in an embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 1, as shown in fig. 4, the third party device provided by the embodiment of the disclosure includes the following modules.
The decryption module 11 is configured to, in response to receiving the random number corresponding to each bidder device broadcast by the bidder device in the blockchain and the first encryption result broadcast by each bidder device, decrypt each first encryption result by using the blockchain private key of the third party device, and obtain each second difference value; the first encryption result is a third encryption result broadcast by bidding equipment in a blockchain, the blockchain private key of the bidding equipment is utilized to decrypt a first difference value of random numbers corresponding to other bidding equipment and quoted by other bidding equipment, the first difference value is calculated to be a second difference value of quoted by the bidding equipment, and the blockchain public key of the third party equipment is utilized to encrypt the second difference value;
a determining module 12, configured to determine a winning device according to each of the random numbers and each of the second differences;
and the broadcasting module 13 is used for broadcasting the determined information of the winning-winning party device in the block chain.
In some embodiments, the determining module 12 is specifically configured to:
respectively calculating the sum of the random number and each second difference value to obtain a third difference value of any two bidding parties;
and determining the winning-winning device according to the third difference value.
Fig. 5 shows a schematic structural diagram of a mark issuing device provided in an embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 2, as shown in fig. 5, the label issuing side device provided by the embodiment of the disclosure includes the following modules.
A generation module 21 for generating a random number and a bid corresponding to each bidder device, respectively;
a first encryption module 22, configured to encrypt the corresponding random number with a locally stored blockchain public key of each bidder device, to obtain a second encryption result of each bidder device;
and the broadcasting module 23 is used for broadcasting the bidding document, each second encryption result and the random number corresponding to each bidding party device in the blockchain.
In some embodiments, further comprising:
the first decryption module is used for responding to the encrypted bid winning bid received by the bid winning device in the blockchain, and decrypting the encrypted bid winning bid by using the private key of the blockchain of the bid winning device;
the second encryption module is used for homomorphism encrypting the winning bid and winning bid to obtain a first ciphertext;
the sending module 23 is further configured to send the first ciphertext to each other bidder device;
the second decryption module is used for responding to the received ciphertext combinations returned by the bidding party equipment and homomorphic decrypting the ciphertext combinations to obtain decryption results;
and the determining module is used for determining whether the winning-party equipment is correct or not according to each decryption result.
Fig. 6 illustrates a schematic structure of a bidder device provided by an embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 3, as shown in fig. 6, the bidder device provided by the embodiment of the present disclosure includes the following modules.
A first decryption module 31, configured to decrypt, in response to receiving a third encryption result broadcasted by another bidder device in the blockchain, the third encryption result by using a blockchain private key of the other bidder device, to obtain a first difference value between a bid of the other bidder device and a random number corresponding to the other bidder device; the third encryption result is generated after the other bidding party equipment receives a second encryption result broadcast by the bidding party equipment in the blockchain, decrypts random numbers corresponding to the other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to the other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment;
a first calculating module 32, configured to calculate a second difference between the first difference and the bid of the bidding device;
a first encryption module 33, configured to encrypt the second difference value with a blockchain public key of a third party device, to obtain a first encryption result;
a first broadcasting module 34 for broadcasting the first encryption result in the blockchain.
In some embodiments, further comprising:
the second decryption module is used for decrypting the second encryption result by utilizing the private key of the block chain of the bidding party equipment to obtain a random number corresponding to the bidding party equipment in response to receiving the bidding book and the second encryption result broadcast by the bidding party equipment in the block chain;
the second calculation module is used for calculating a first difference value of the quotation of the bidding party equipment and the random number corresponding to the bidding party equipment;
the second encryption module is used for encrypting the first difference value by using the blockchain public keys of other bidding party equipment to obtain each third encryption result;
and the second broadcasting module is used for broadcasting each third encryption result in the block chain.
In some embodiments, further comprising:
the receiving module is used for receiving a first ciphertext broadcast by the mark transmitting device in the block chain;
the third encryption module is used for homomorphic encrypting the bidding party to obtain a second ciphertext and homomorphic encrypting the random number corresponding to the bidding party equipment to obtain a third ciphertext;
the generation module is used for generating a ciphertext combination according to the first ciphertext, the second ciphertext and the third ciphertext;
and a third broadcasting module for broadcasting the ciphertext combination in the blockchain.
In some embodiments, further comprising:
the fourth encryption module is used for responding to the received information of the bid-winning party equipment broadcasted by the third party equipment in the blockchain, the information of the bid-winning party equipment is consistent with the information of the bid-winning party equipment, and the blockchain public key of the bid-winning party equipment is used for encrypting bid-winning quotation of the bid-winning party equipment;
and the fourth broadcasting module is used for broadcasting the encrypted winning bid in the blockchain.
It is to be understood that the above embodiments are merely exemplary embodiments employed to illustrate the principles of the present disclosure, however, the present disclosure is not limited thereto. Various modifications and improvements may be made by those skilled in the art without departing from the spirit and substance of the disclosure, and are also considered to be within the scope of the disclosure.

Claims (8)

1. A bidding method, comprising:
in response to receiving random numbers respectively corresponding to bidding side devices broadcast by bidding side devices in the blockchain and first encryption results broadcast by bidding side devices, respectively decrypting each first encryption result by using a blockchain private key of the third party device to obtain each second difference value; the first encryption result is a third encryption result broadcast by bidding equipment in a blockchain, the blockchain private key of the bidding equipment is utilized to decrypt a first difference value of random numbers corresponding to other bidding equipment and quoted by other bidding equipment, the first difference value is calculated to be a second difference value of quoted by the bidding equipment, and the blockchain public key of the third party equipment is utilized to encrypt the second difference value;
determining a winning-party device according to each random number and each second difference value;
and broadcasting the determined information of the winning bid side equipment in the block chain.
2. The bidding method of claim 1, wherein said determining the winning bid device based on each of the random numbers and each of the second differences comprises:
respectively calculating the sum of the random number and each second difference value to obtain a third difference value of any two bidding parties;
and determining the winning-winning device according to the third difference value.
3. A bidding method, comprising:
in response to receiving third encryption results broadcast by other bidding devices in the blockchain, decrypting the third encryption results by using a blockchain private key of the bidding device to obtain a first difference value of quotations of the other bidding devices and random numbers corresponding to the other bidding devices; the third encryption result is generated after the other bidding party equipment receives a second encryption result broadcast by the bidding party equipment in the blockchain, decrypts random numbers corresponding to the other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to the other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment;
calculating a second difference between the first difference and the bid of the bidding party equipment;
encrypting the second difference value by using a blockchain public key of the third party equipment to obtain a first encryption result;
the first encryption result is broadcast in the blockchain.
4. A bidding method as claimed in claim 3, wherein the method further comprises:
in response to receiving a bidding document and a second encryption result broadcast by bidding party equipment in a blockchain, decrypting the second encryption result by using a blockchain private key of the bidding party equipment to obtain a random number corresponding to the bidding party equipment;
calculating a first difference value of the quotation of the bidding party equipment and the random number corresponding to the bidding party equipment;
encrypting the first difference value by using the blockchain public keys of other bidding party devices to obtain each third encryption result;
each third encryption result is broadcast in the blockchain.
5. A bidding method as claimed in claim 3, wherein the method further comprises:
receiving a first ciphertext broadcast by a mark transmitting device in the block chain;
the homomorphic encryption bidding party quotes to obtain a second ciphertext, and the homomorphic encryption bidding party equipment corresponds to a random number to obtain a third ciphertext;
generating a ciphertext combination according to the first ciphertext, the second ciphertext, and the third ciphertext;
the ciphertext combination is broadcast in the blockchain.
6. The bidding method of claim 5, further comprising:
and in response to receiving the information of the winning bid device broadcasted by the third party device in the blockchain, and the information of the winning bid device is consistent with the information of the bidding device, encrypting the winning bid price of the bidding device by using the blockchain public key of the bidding device, and broadcasting the encrypted winning bid price in the blockchain.
7. A third party device, comprising:
the decryption module is used for responding to the received random numbers respectively corresponding to the bidding party devices broadcast by the bidding party devices in the blockchain and the first encryption results broadcast by the bidding party devices, and decrypting the first encryption results respectively by utilizing the blockchain private key of the third party device to obtain second difference values; the first encryption result is a third encryption result broadcast by bidding equipment in a blockchain, the blockchain private key of the bidding equipment is utilized to decrypt a first difference value of random numbers corresponding to other bidding equipment and quoted by other bidding equipment, the first difference value is calculated to be a second difference value of quoted by the bidding equipment, and the blockchain public key of the third party equipment is utilized to encrypt the second difference value;
the determining module is used for determining the winning-winning device according to the random numbers and the second difference values;
and the broadcasting module is used for broadcasting the determined information of the winning-party equipment in the block chain.
8. A bidder device, comprising:
the decryption module is used for responding to the received third encryption result broadcasted by other bidding party equipment in the blockchain, decrypting the third encryption result by utilizing a blockchain private key of the bidding party equipment to obtain a first difference value of the quotations of the other bidding party equipment and the random numbers corresponding to the other bidding party equipment; the third encryption result is generated after the other bidding party equipment receives a second encryption result broadcast by the bidding party equipment in the blockchain, decrypts random numbers corresponding to the other bidding party equipment by using a blockchain private key of the other bidding party equipment, calculates a first difference value of random numbers corresponding to the other bidding party equipment and quoted by the other bidding party, and encrypts the first difference value by using a blockchain public key of the bidding party equipment;
a calculating module, configured to calculate a second difference between the first difference and a bid of the bidding device;
the encryption module is used for encrypting the second difference value by using a blockchain public key of the third party equipment to obtain a first encryption result;
and the broadcasting module is used for broadcasting the first encryption result in the block chain.
CN202110559635.5A 2021-05-21 2021-05-21 Bid method, third party device, bid issuing party device and bid issuing party device Active CN113191863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110559635.5A CN113191863B (en) 2021-05-21 2021-05-21 Bid method, third party device, bid issuing party device and bid issuing party device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110559635.5A CN113191863B (en) 2021-05-21 2021-05-21 Bid method, third party device, bid issuing party device and bid issuing party device

Publications (2)

Publication Number Publication Date
CN113191863A CN113191863A (en) 2021-07-30
CN113191863B true CN113191863B (en) 2023-06-23

Family

ID=76984639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110559635.5A Active CN113191863B (en) 2021-05-21 2021-05-21 Bid method, third party device, bid issuing party device and bid issuing party device

Country Status (1)

Country Link
CN (1) CN113191863B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113837558A (en) * 2021-08-31 2021-12-24 远光软件股份有限公司 Bidding evaluation method and related device
CN115879135B (en) * 2023-01-05 2023-05-16 中国联合网络通信集团有限公司 Bid data processing method, device, equipment and storage medium
CN115906182A (en) * 2023-01-05 2023-04-04 中国联合网络通信集团有限公司 Data comparison processing method, device, equipment and storage medium
CN115906140A (en) * 2023-01-05 2023-04-04 中国联合网络通信集团有限公司 Bidding data processing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305156A (en) * 2017-12-29 2018-07-20 重庆金融资产交易所有限责任公司 Real time bid method, apparatus, equipment and storage medium based on block chain
CN108650073A (en) * 2018-05-07 2018-10-12 浙江工商大学 A kind of secret protection price competing method based on block chain
CN109858893A (en) * 2019-03-12 2019-06-07 黑龙江世纪精彩科技有限公司 A kind of bidding contract administration method based on block chain
CN110020928A (en) * 2019-03-26 2019-07-16 武汉大学 Anti- conspiracy attack network auction method based on block chain intelligence contract
CN110572819A (en) * 2019-07-27 2019-12-13 中国人民解放军战略支援部队信息工程大学 Block chain-based multi-domain wireless Mesh network cross-domain authentication method and system
CN110648191A (en) * 2019-08-16 2020-01-03 国家电网有限公司 Joint quotation method and system for power generator electric energy and standby market
CN110827121A (en) * 2019-10-22 2020-02-21 全链通有限公司 Block chain-based electronic bidding method, device and storage medium
CN111538479A (en) * 2020-04-27 2020-08-14 国泰新点软件股份有限公司 Random parameter generation method and device in label opening process
CN112288523A (en) * 2020-10-29 2021-01-29 中国银联股份有限公司 Block chain based numerical ranking method and device
CN112348596A (en) * 2020-11-26 2021-02-09 中国联合网络通信集团有限公司 Bidding and quotation method, system, equipment and storage medium based on block chain

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305156A (en) * 2017-12-29 2018-07-20 重庆金融资产交易所有限责任公司 Real time bid method, apparatus, equipment and storage medium based on block chain
CN108650073A (en) * 2018-05-07 2018-10-12 浙江工商大学 A kind of secret protection price competing method based on block chain
CN109858893A (en) * 2019-03-12 2019-06-07 黑龙江世纪精彩科技有限公司 A kind of bidding contract administration method based on block chain
CN110020928A (en) * 2019-03-26 2019-07-16 武汉大学 Anti- conspiracy attack network auction method based on block chain intelligence contract
CN110572819A (en) * 2019-07-27 2019-12-13 中国人民解放军战略支援部队信息工程大学 Block chain-based multi-domain wireless Mesh network cross-domain authentication method and system
CN110648191A (en) * 2019-08-16 2020-01-03 国家电网有限公司 Joint quotation method and system for power generator electric energy and standby market
CN110827121A (en) * 2019-10-22 2020-02-21 全链通有限公司 Block chain-based electronic bidding method, device and storage medium
CN111538479A (en) * 2020-04-27 2020-08-14 国泰新点软件股份有限公司 Random parameter generation method and device in label opening process
CN112288523A (en) * 2020-10-29 2021-01-29 中国银联股份有限公司 Block chain based numerical ranking method and device
CN112348596A (en) * 2020-11-26 2021-02-09 中国联合网络通信集团有限公司 Bidding and quotation method, system, equipment and storage medium based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于区块链的密封式投标拍卖方案;李蓓 等;《计算机应用》;第41卷(第4期);999-1004 *

Also Published As

Publication number Publication date
CN113191863A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN113191863B (en) Bid method, third party device, bid issuing party device and bid issuing party device
KR0148300B1 (en) Method for sharing secret information, generating a digital signature, and performing certification in a communication system that has a plurality of information processing apparatus and a communication system that employs such a method
US6298153B1 (en) Digital signature method and information communication system and apparatus using such method
CN108199835B (en) Multi-party combined private key decryption method
CN101238677B (en) Cryptographic authentication, and/or establishment of shared cryptographic keys, using a signing key encrypted with a non-one-time-pad encryption, including (but not limited to) techniques with improved safety
CN112733163B (en) Monitorable zero-knowledge proof method and device based on discrete logarithm equality proof
CN110365662B (en) Business approval method and device
US20120087495A1 (en) Method for generating an encryption/decryption key
CN101908961B (en) Multi-party secret handshaking method in short key environment
CN112422276B (en) Method and system for realizing multi-party key agreement
US20140082361A1 (en) Data encryption
Li et al. Privacy-aware secure anonymous communication protocol in CPSS cloud computing
JPH11298470A (en) Key distribution method and system
CN109962924B (en) Group chat construction method, group message sending method, group message receiving method and system
CN113191862B (en) Electronic bidding method, third party device, bidding party device and bidding party device
US20220038267A1 (en) Methods and devices for secured identity-based encryption systems with two trusted centers
CN116743358A (en) Repudiation multi-receiver authentication method and system
KR20060078768A (en) System and method for key recovery using distributed registration of private key
CN113268777B (en) Bid information processing method and module based on block chain and electronic equipment
CN111526131B (en) Anti-quantum-computation electronic official document transmission method and system based on secret sharing and quantum communication service station
JP5004086B2 (en) Authentication system using short sequences
KR100588302B1 (en) Method Generating Session Key For Group Communication In Mobile Environment
CN114430318A (en) Message publishing method, device and storage medium
JP3074164B2 (en) Exclusive key agreement
CN111488618A (en) Block chain-based one-time pad encryption method, device and storage medium

Legal Events

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