CN112967119A - Bidding method, device and medium based on block chain - Google Patents

Bidding method, device and medium based on block chain Download PDF

Info

Publication number
CN112967119A
CN112967119A CN202110218387.8A CN202110218387A CN112967119A CN 112967119 A CN112967119 A CN 112967119A CN 202110218387 A CN202110218387 A CN 202110218387A CN 112967119 A CN112967119 A CN 112967119A
Authority
CN
China
Prior art keywords
bidding
node
block chain
bid
chain network
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
CN202110218387.8A
Other languages
Chinese (zh)
Inventor
宋明明
肖雪
王伟兵
李照川
商广勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Quality Chain Technology Co Ltd
Original Assignee
Shandong Inspur Quality Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Quality Chain Technology Co Ltd filed Critical Shandong Inspur Quality Chain Technology Co Ltd
Priority to CN202110218387.8A priority Critical patent/CN112967119A/en
Publication of CN112967119A publication Critical patent/CN112967119A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes

Landscapes

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

Abstract

The application discloses a bidding method, a bidding device and a bidding medium based on a block chain, wherein each bidding node respectively determines a corresponding key pair and uploads a public key of the key pair to a pre-constructed block chain network; the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties; before opening the bid, the bidding node determines the corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic value comprises a bid offer; carrying out Hash calculation on the bidding characteristic value to obtain a corresponding bidding characteristic Hash value, and uploading the bidding characteristic Hash value to a block chain network; and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node. Based on the proposal, the price of the confidentiality of the bidding price of each bidding party can be ensured during bidding, and the bidding price can be ensured not to be modified, thereby ensuring the fairness of the bidding.

Description

Bidding method, device and medium based on block chain
Technical Field
The present application relates to the field of computer technologies, and in particular, to a bidding method, bidding device, and bidding medium based on a block chain.
Background
Bidding refers to the act of submitting an invitation from a bidder to the bidder within a specified time limit according to a condition specified by a bidding announcement or a bidding invitation. Currently, many businesses select partners for purchasing devices, services, materials, and the like by way of bidding.
In the bidding process, the quoted price of the bidder is a very important index, and directly influences whether the tenderer can bid the bid. The confidentiality of the bid of each bidder and whether the competitor's bid has been modified are of great concern.
In the existing bidding mode, the quotation that the bidder often bids in time is directly written in the bidding document, and the tenderer opens the bidding document to announce the quotation of each bidder when bidding. However, if the tenderer is very inclined to a certain bidder for some reason, the possibility of modifying the bid of the tenderer may be changed during the bidding process, which causes the problem of unfair bid, and the competitor cannot verify and pursue.
Based on this, the bidders often lack real and objective knowledge about the bidding prices of competitors, and the bidding fairness cannot be guaranteed.
Disclosure of Invention
The embodiment of the specification provides bidding method equipment and medium based on a block chain, which are used for solving the following technical problems in the prior art: the bidding price of a competitor is often lacked real and objective knowledge between bidders, and the fairness of the bidding cannot be guaranteed.
The embodiment of the specification adopts the following technical scheme:
a method of block chain based bidding, the method comprising:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
Optionally, uploading the offer characteristic hash value to the blockchain network specifically includes:
the bidding node signs the quotation characteristic hash value according to a private key corresponding to the public key;
and uploading the signed quotation characteristic hash value to the block chain network.
Optionally, the bid offer characteristic value further includes: random numbers, time stamps;
and the bidding node locally stores the quoted price characteristic hash value.
Optionally, the blockchain further comprises a bidding node, the bidding node corresponding to a bidding party; the method further comprises the following steps:
before opening the bid, the bidding node sends the bidding quotation to the corresponding bidding node, and the bidding node stores the received bidding price;
after the bidding is opened, the bidding node uploads the received bidding price to the block chain.
Optionally, the sending, by the bidding node, the bid offer to a corresponding bidding node, where the bidding node stores the received bid price, specifically includes:
the bidding node signs the bidding quotation according to a private key corresponding to the public key and sends the signed bidding price to the bidding node;
the bidding node checks the signed bidding price according to a preset first intelligent contract;
and the bidding node stores the signed bid price when the signature of the signed bid price passes the verification.
Optionally, the method further comprises:
under the condition that the signed bid price does not pass the verification, the bidding node generates corresponding prompt information and sends the prompt information to the bidding node, and the obtained times of the bid price which does not pass the verification are recorded;
and uploading the signature to the block chain network for publication under the condition that the number of times of the same signature in the bid prices which do not pass the signature verification exceeds a preset threshold value within a preset time period.
Optionally, the method further comprises:
under the condition that the signed bid price passes verification, the bidding node hashes the signed bid price to obtain a corresponding hash value;
the bidding node signs the hash value according to a preset private key in a key pair and uploads the signed hash value to the block chain network;
and sending a public key in a preset key pair in the bidding node to each node in the block chain network.
Optionally, the method further comprises:
the bidding node uploads a bidding document to the blockchain network;
each bidding node in the block chain network determines whether to participate in the bidding or not according to the bidding document;
the bidding nodes participating in the bidding upload the information of the bidders responding to the bidding nodes to the block chain network; wherein the tenderer information includes at least one of: the name of the tenderer, the main operation range of the tenderer and the scale of the tenderer;
and the bidding node verifies the information of each bidder based on a preset second intelligent contract and determines whether the bidder participating in the bidding is matched with the bidding node.
A blockchain-based bidding apparatus, the apparatus comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
A non-transitory computer storage medium for blockchain based bidding, storing computer-executable instructions configured to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: the method can be used for generating the quotation characteristic hash value based on the bidding quotation of each bidding node before bid opening and uploading the quotation characteristic hash value to the blockchain network based on the pre-constructed blockchain network with the bidding nodes, and the bidding quotation of the bidding node before bid opening is confidential. After the bidding is opened, the bidding node uploads the bidding characteristic hash value corresponding to the bidding quotation characteristic value to the block chain network. Due to the characteristics of decentralization and non-tampering of the block chain, after bid opening, each bidding node can determine whether the bidding quotations of other competitors are modified and the bidding quotations are not modified through the bidding quotation characteristic value and the quotation characteristic hash value. By the scheme, the bid price can be guaranteed not to be modified while the confidentiality of the bid price of each bidder is guaranteed during bidding, so that the bidders can really and objectively know the bid price of a competitor, the bid price is prevented from being tampered, and the fairness of the bids is guaranteed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flowchart of a block chain based bidding method provided by an embodiment of the present disclosure;
FIG. 2 is another flow chart of a block chain based bidding method provided by embodiments of the present disclosure;
FIG. 3 is a block chain based bidding schematic diagram according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in the description belong to the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a block chain-based bidding method according to an embodiment of the present disclosure. As shown in fig. 1, a bidding method based on a block chain provided by an embodiment of the present disclosure may include the following steps:
and S101, each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to a pre-constructed block chain network.
The block chain network is used for bidding, and can be pre-established. The blockchain network includes: bid node, bid node. Wherein, the bid node corresponds to a bidder, and the bid node corresponds to a bidder.
In this embodiment of the present application, each bidding node may preset a corresponding key pair, and upload a public key in the key pair to the blockchain network, so that nodes in the blockchain network can obtain public keys of other nodes.
And S102, before opening the bid, the bidding node determines the corresponding bidding quotation characteristic value according to the corresponding bidding quotation.
Wherein, the bid quotation characteristic value can include: bid quotes, random numbers, timestamps.
For example, a bid offer for a certain bidding scheme is M, say 10000. Then, a Random number Random is generated, which is assumed to be "EgOzD 8 cH". Then, the current Time is taken, and the current Time is supposed to be '2020-07-14-15: 19: 42', and is sorted according to rules to obtain 10000/EgOzD8 cH/2020-07-14-15: 19:42, which is the bidding price characteristic value.
In some embodiments of the present description, uploading the offer characteristic hash value to the blockchain network specifically includes:
the bidding node signs the quotation characteristic hash value according to a private key corresponding to the public key;
and uploading the signed quotation characteristic hash value to a block chain network.
In some embodiments of the present application, the bidding node stores the quote feature hash value locally.
And S103, carrying out hash calculation on the bidding quotation characteristic value by the bidding node to obtain a corresponding quotation characteristic hash value, and uploading the quotation characteristic hash value to the block chain network.
Suppose that the bid M of a certain bidder is 10000000. Then, a Random number Random is generated, which is assumed to be "EgOzD 8 cH". Then, the current Time is taken, which is assumed to be '2020-07-14-15: 19: 42'. Then the bid price characteristic of this bidder is calculated by the following formula: feature _ Hash ═ SHA256(M + "/" + Random + "/" Time). The computed quote feature hash value is:
Feature_Hash=
SHA256(10000000/EgOzD8cH/2020-07-14_15:19:42)=30773748414e5f517d51ce54113ef8a10c11aae1883e16503fe3c6f4927bb17c。
in the embodiment of the application, before bid opening, the bidding nodes upload the respective quote characteristic hash values to the block chain network, and locally store the corresponding bid quote characteristic values without being disclosed to the outside. After the quote feature hash value is uploaded onto the blockchain, it is publicly visible to all competitors in the blockchain network.
However, since the bid characteristic hash value is irreversible, the bids of the bidding nodes before bid opening are kept secret, and other competitors cannot learn the bid bids before bid opening.
And S104, after opening the bid, uploading the bid offer characteristic value to the block chain network by the bid node.
In this embodiment of the application, the bidding node may upload bid-winning information to the block chain network, and after the bidding node obtains the bid-winning information, upload its own bid offer characteristic value to the block chain network.
After the bidding is opened, the bidding node uploads the original character string of the bidding characteristic hash value, namely the bidding characteristic value, to the block chain so as to be disclosed to other nodes in the block chain network. Because the bidding quotation characteristic values all contain the bidding quotation, each node in the block chain network can verify whether the quotation characteristic hash value uploaded by other nodes before bid opening is correct or not by calculating the bidding quotation characteristic value.
Based on a block chain network with pre-constructed bidding nodes, each bidding node generates a bidding characteristic hash value based on bidding quotations before bid opening and uploads the generated bidding characteristic hash value to the block chain network, and the bidding quotations of the bidding nodes before bid opening are all kept secret. After the bidding is opened, the bidding node uploads the bidding characteristic hash value corresponding to the bidding quotation characteristic value to the block chain network. Due to the characteristics of decentralization and non-tampering of the block chain, after bid opening, each bidding node can determine whether the bidding quotations of other competitors are modified and the bidding quotations are not modified through the bidding quotation characteristic value and the quotation characteristic hash value. By the scheme, the bid price can be guaranteed not to be modified while the confidentiality of the bid price of each bidder is guaranteed during bidding, so that the bidders can really and objectively know the bid price of a competitor, the bid price is prevented from being tampered, and the fairness of the bids is guaranteed.
It can be seen from the above that in some embodiments of the present application, the blockchain network may include bidding nodes in addition to bidding nodes. Wherein, the bidding node corresponds to the bidding party.
In order to further ensure the fairness of the bidding, the bidding method based on the block chain provided by the embodiment of the present specification may further include the following steps:
before opening the bid, the bidding node sends the bidding quotation to the corresponding bidding node, and the bidding node stores the received bidding price;
after the bid is opened, the bid inviting node uploads the received bid price to the blockchain.
As shown in fig. 2, the bidding node sends the bid offer to the corresponding bidding node, and the bidding node receives the bid price by the following steps:
s201, the bidding node signs the bidding quotation according to the private key corresponding to the public key, and sends the signed bidding price to the bidding node.
And S202, the bidding node checks the signed bidding price according to a preset first intelligent contract.
And S203, the bidding node stores the signed bid price under the condition that the signature of the signed bid price passes.
Through the steps S201 to S203, the bidding node may verify the bidding node through the received public key, and determine the authenticity of the identity of the bidding node, so as to ensure the normal development of the bidding project and prevent the malicious bidding.
And S204, under the condition that the signed bid price passes verification, hashing the signed bid price by the bidding node to obtain a corresponding hash value.
And S205, the bidding node signs the hash value according to a preset private key in the key pair and uploads the signed hash value to the block chain network.
And sending the public key in the preset key pair in the bidding node to each node in the block chain network.
In the embodiment of the application, the signed bid price signature passes the condition that the identity of the bid node is qualified. At the moment, the bidding node performs hash calculation on the signed bidding data, and signs the obtained hash value and uploads the signed bidding data to the block chain network.
The tenderer is used as a node in the block chain network, the obtained tender price of the bidder is uploaded to the block chain, and the tender price can be uploaded to the block chain network after the tender is opened on the basis of ensuring that the tender offer of the bidder before the tender is opened is not leaked, so that further evidence is provided, and the tendering fairness can be further ensured.
And S206, under the condition that the signed bid price does not pass the verification, the bidding node generates corresponding prompt information and sends the prompt information to the bidding node, and the obtained times of the bid price which does not pass the verification are recorded.
And S207, uploading the signature to a block chain network for publication under the condition that the number of times of the same signature in the bid price failing to pass the signature verification exceeds a preset threshold value within a preset time period.
And in the case of the failed verification, recording the number of times of obtaining the bidding price failed in verification. And whether the times of the same signature exceeds a preset threshold value within a preset time period is determined, and the exceeded signature is sent to a block chain network, so that the problem of malicious bidding can be effectively avoided, and the normal operation of bidding is ensured.
In some embodiments of the present specification, the bidding method based on the block chain provided by the embodiments of the present specification may further include:
the bidding node uploads the bidding document to the block chain network;
each bidding node in the block chain network determines whether to participate in the bidding or not according to the bidding document;
the bidding nodes participating in the bidding upload the information of the bidders responding to the bidding nodes to the block chain network; wherein the tenderer information includes at least one of: the name of the tenderer, the main operation range of the tenderer and the scale of the tenderer;
and the bidding node verifies the information of each bidder based on a preset second intelligent contract and determines whether the bidder participating in the bidding is matched with the bidding node.
In a constructed blockchain network, there may be some nodes that do not participate in each bid, and there may be some bidding nodes that are not suitable for each bid proposal. For example, company a in the blockchain network needs to purchase a computer as a tenderer, while bidding node a in the blockchain network is a company selling printers, and bidding node B corresponds to a company selling computers, so that the bidding node a is not suitable for the tendering plan. Therefore, through the scheme, the bidding nodes matched with the bidding document can be effectively screened out, and the bidding efficiency is improved.
Based on the same idea, some embodiments of the present application further provide a device and a non-volatile computer storage medium corresponding to the above method.
FIG. 3 is a schematic structural diagram of a block chain-based bidding apparatus provided in an embodiment of the present disclosure. As shown in fig. 3, a bidding apparatus based on a block chain provided by an embodiment of the present disclosure includes: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
Some embodiments of the present application also provide a non-transitory computer storage medium of block chain based bidding storing computer-executable instructions configured to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and media embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for bidding based on a block chain, the method comprising:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
2. The method according to claim 1, wherein uploading the offer characteristic hash value to the blockchain network specifically comprises:
the bidding node signs the quotation characteristic hash value according to a private key corresponding to the public key;
and uploading the signed quotation characteristic hash value to the block chain network.
3. The method of claim 1, wherein the bid offer feature value further comprises: random numbers, time stamps;
and the bidding node locally stores the quoted price characteristic hash value.
4. The method of claim 1, wherein the blockchain further comprises a bidding node, the bidding node corresponding to a bidding party; the method further comprises the following steps:
before opening the bid, the bidding node sends the bidding quotation to the corresponding bidding node, and the bidding node stores the received bidding price;
after the bidding is opened, the bidding node uploads the received bidding price to the block chain.
5. The method of claim 4, wherein the bidding nodes send bid offers to corresponding bidding nodes, and the bidding nodes store the received bid prices, and specifically comprises:
the bidding node signs the bidding quotation according to a private key corresponding to the public key and sends the signed bidding price to the bidding node;
the bidding node checks the signed bidding price according to a preset first intelligent contract;
and the bidding node stores the signed bid price when the signature of the signed bid price passes the verification.
6. The method of claim 5, further comprising:
under the condition that the signed bid price does not pass the verification, the bidding node generates corresponding prompt information and sends the prompt information to the bidding node, and the obtained times of the bid price which does not pass the verification are recorded;
and uploading the signature to the block chain network for publication under the condition that the number of times of the same signature in the bid prices which do not pass the signature verification exceeds a preset threshold value within a preset time period.
7. The method of claim 1, further comprising:
under the condition that the signed bid price passes verification, the bidding node hashes the signed bid price to obtain a corresponding hash value;
the bidding node signs the hash value according to a preset private key in a key pair and uploads the signed hash value to the block chain network;
and sending a public key in a preset key pair in the bidding node to each node in the block chain network.
8. The method of claim 1, further comprising:
the bidding node uploads a bidding document to the blockchain network;
each bidding node in the block chain network determines whether to participate in the bidding or not according to the bidding document;
the bidding nodes participating in the bidding upload the information of the bidders responding to the bidding nodes to the block chain network; wherein the tenderer information includes at least one of: the name of the tenderer, the main operation range of the tenderer and the scale of the tenderer;
and the bidding node verifies the information of each bidder based on a preset second intelligent contract and determines whether the bidder participating in the bidding is matched with the bidding node.
9. A blockchain-based bidding device, the device comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
10. A non-transitory computer storage medium for block chain based bidding, storing computer-executable instructions, the computer-executable instructions configured to:
each bidding node respectively determines a corresponding key pair, and uploads a public key of the key pair to the block chain network which is constructed in advance;
the block chain network is used for bidding, and comprises bidding nodes corresponding to the bidding parties;
before opening the bid, the bidding node determines a corresponding bidding quotation characteristic value according to the corresponding bidding quotation; wherein the bid offer characteristic comprises the bid offer;
carrying out Hash calculation on the bid offer characteristic value to obtain a corresponding offer characteristic Hash value, and uploading the offer characteristic Hash value to the block chain network;
and after bidding opening, uploading the bidding quotation characteristic value to the block chain network by the bidding node.
CN202110218387.8A 2021-02-26 2021-02-26 Bidding method, device and medium based on block chain Pending CN112967119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110218387.8A CN112967119A (en) 2021-02-26 2021-02-26 Bidding method, device and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110218387.8A CN112967119A (en) 2021-02-26 2021-02-26 Bidding method, device and medium based on block chain

Publications (1)

Publication Number Publication Date
CN112967119A true CN112967119A (en) 2021-06-15

Family

ID=76275694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110218387.8A Pending CN112967119A (en) 2021-02-26 2021-02-26 Bidding method, device and medium based on block chain

Country Status (1)

Country Link
CN (1) CN112967119A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434911A (en) * 2021-07-30 2021-09-24 四川省数字证书认证管理中心有限公司 Method for proving consistency of bid documents in response to failure of bid decryption
CN114707997A (en) * 2021-07-23 2022-07-05 山东浪潮爱购云链信息科技有限公司 Method and storage medium for preventing malicious competition of tendering and bidding
CN115760324A (en) * 2022-11-14 2023-03-07 临沂大学 Online bidding method, online bidding equipment and computer storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114707997A (en) * 2021-07-23 2022-07-05 山东浪潮爱购云链信息科技有限公司 Method and storage medium for preventing malicious competition of tendering and bidding
CN113434911A (en) * 2021-07-30 2021-09-24 四川省数字证书认证管理中心有限公司 Method for proving consistency of bid documents in response to failure of bid decryption
CN113434911B (en) * 2021-07-30 2022-05-20 四川省数字证书认证管理中心有限公司 Method for proving consistency of bid documents in response to failure of bid decryption
CN115760324A (en) * 2022-11-14 2023-03-07 临沂大学 Online bidding method, online bidding equipment and computer storage medium
CN115760324B (en) * 2022-11-14 2023-09-22 临沂大学 Online bidding method, online bidding equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US11144918B2 (en) Method, apparatus and electronic device for blockchain transactions
CN108182581B (en) Accounting method and device for block chain
CN111526217B (en) Consensus method and system in block chain
CN112967119A (en) Bidding method, device and medium based on block chain
CN109493204B (en) Service accounting method based on block chain and terminal equipment
CN111539731A (en) Block chain-based federal learning method and device and electronic equipment
CN113095749A (en) Logistics information transmission method, system and device based on block chain
EP3876473B1 (en) Managing housing scores using smart contracts in blockchain networks
CN111143309A (en) Method, equipment and medium for sharing enterprise financial data based on block chain
CN111415170A (en) Block chain-based food tracing method and equipment and related storage medium
CN112288555A (en) Anonymous auction method, device and medium based on block chain
CN111143891A (en) Method, equipment and medium for sharing enterprise financial data based on block chain
CN111401875B (en) Block chain transfer method and device based on account model
CN111443894A (en) Random number generation method, device and medium based on block chain
CN111611599A (en) Block chain consensus algorithm implementation method, equipment and medium
CN111008404A (en) Service call auditing method, equipment and medium based on block chain
CN113902440A (en) Distributed key-based alliance chain cross-chain transaction method and device
CN112995167A (en) Kafka mechanism-based power utilization information acquisition method, block chain network and user side
CN111046267A (en) Method, device and medium for processing network rumors based on block chains
CN111383008B (en) Block chain transfer method and device based on account model
CN113064899B (en) Method and device for storing asset securities type general evidence transaction certificates and electronic equipment
CN108985909A (en) Data trade method and system based on block chain technology
CN114491662A (en) Block chain-based data asset auditing method, system and equipment
CN113902439A (en) Alliance chain cross-chain transaction method and device based on threshold signature
CN111489249A (en) Method, equipment and medium for constructing financial wind control alliance 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