CN113962786A - Commodity bidding method, device and equipment based on block chain and storage medium - Google Patents

Commodity bidding method, device and equipment based on block chain and storage medium Download PDF

Info

Publication number
CN113962786A
CN113962786A CN202111246732.5A CN202111246732A CN113962786A CN 113962786 A CN113962786 A CN 113962786A CN 202111246732 A CN202111246732 A CN 202111246732A CN 113962786 A CN113962786 A CN 113962786A
Authority
CN
China
Prior art keywords
bidding
information
block chain
auction
commodity
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
CN202111246732.5A
Other languages
Chinese (zh)
Inventor
黄冠文
张耀平
刘业群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lanting Zhian Information Technology Co ltd
Original Assignee
Guangzhou Lanting Zhian Information 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 Guangzhou Lanting Zhian Information Technology Co ltd filed Critical Guangzhou Lanting Zhian Information Technology Co ltd
Priority to CN202111246732.5A priority Critical patent/CN113962786A/en
Publication of CN113962786A publication Critical patent/CN113962786A/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a commodity bidding method, device, equipment and storage medium based on a block chain, and belongs to the technical field of block chains. The method comprises the following steps: acquiring a transaction processing request which is sent by a bidding participant and comprises commodity bidding information; determining a target block chain according to the commodity bidding information; and determining a bidding data block according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and storing the bidding data block into the target block chain. Through the technical scheme, the bidding data is stored in the block chain, so that the transparency and the safety of the bidding data are ensured, and the openness in the bidding process is ensured.

Description

Commodity bidding method, device and equipment based on block chain and storage medium
Technical Field
The embodiment of the invention relates to the technical field of block chains, in particular to a commodity bidding method, a commodity bidding device, commodity bidding equipment and a storage medium based on a block chain.
Background
The service operation cannot leave information. For example, when a website store distributes products and conducts bidding auction, the prior art cannot achieve timeliness and accuracy of information and cannot ensure safety and transparency of data information, and therefore improvement is needed.
Disclosure of Invention
The invention provides a commodity bidding method, a commodity bidding device, commodity bidding equipment and a storage medium based on a block chain, which are used for ensuring the accuracy, safety and transparency of data.
In a first aspect, an embodiment of the present invention provides a block chain-based commodity bidding method, where the method includes:
acquiring a transaction processing request which is sent by a bidding participant and comprises commodity bidding information;
determining a target block chain according to the commodity bidding information;
and determining a bidding data block according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and storing the bidding data block into the target block chain.
In a second aspect, an embodiment of the present invention further provides an article bidding apparatus based on a block chain, where the apparatus includes:
the system comprises a processing request acquisition module, a processing request processing module and a processing request processing module, wherein the processing request acquisition module is used for acquiring a transaction processing request which comprises commodity bidding information and is sent by a bidding participant;
the target block chain determining module is used for determining a target block chain according to the commodity bidding information;
and the bidding data block determining module is used for determining a bidding data block according to the commodity bidding information or the commodity bidding information and the previous data block in the target block chain and storing the bidding data block into the target block chain.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for block chain based bidding for items as provided by any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for bidding on an article based on a blockchain according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, a transaction processing request including commodity bidding information sent by a bidding participant is obtained, then a target block chain is determined according to the commodity bidding information, and then a bidding data block is determined according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and the bidding data block is stored in the target block chain. According to the technical scheme, the bidding data are stored in the block chain, so that the transparency and the safety of the bidding data are guaranteed, and the openness in the bidding process is guaranteed.
Drawings
Fig. 1 is a flowchart of a block chain-based product bidding method according to an embodiment of the present invention;
fig. 2 is a flowchart of a block chain-based commodity bidding method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a block chain-based commodity bidding method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for bidding commodities based on a block chain according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a commodity bidding device based on a block chain according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for bidding an article based on a block chain according to an embodiment of the present invention, which is applicable to a situation how to bid on an article. The method can be applied to a block chain node, and can be executed by a block chain-based commodity bidding device, which can be implemented in a software and/or hardware manner, and can be integrated into an electronic device carrying a block chain-based commodity bidding function, in particular, an electronic device as a block chain node. As shown in fig. 1, the method may specifically include:
and S110, acquiring a transaction processing request which is sent by a bidding participant and comprises commodity bidding information.
In this embodiment, the bidding participant may be a bidding seller or a bidding responder. The auction seller is a party that auctions for a product, and may be, for example, a distribution store; it should be noted that the node to which the auction side of bidding belongs may be a node in the blockchain or may not be a node in the blockchain. The bid responder is a party bidding on an auction product, and may be, for example, a bidding shop; it should be noted that the node to which the bid responder belongs may be a node in the blockchain or may not be a node in the blockchain.
The product bidding information may be product bidding auction information, product bidding response information, or product bidding result information. The product bidding auction information includes, but is not limited to, auction identification information, information type, auction party identity information, auction detail information, and auction party signature. The product bid response information includes, but is not limited to, auction identification information, information type, responder identity information, bid data, and responder signature. The commodity bidding result information comprises auction identification information, information type, auction party identity information, bidding results and auction party signature.
Further, the so-called auction identification information is used to uniquely characterize the process from the initiation of an auction to the end of the auction, i.e. the process of one auction; may be represented by numbers, letters, or numbers plus letters.
The type of information may be a bid request, a bid response, or a bid result; information for bidding on the goods, wherein the bidding request is issued by a bidding auctioneer; the bidding response refers to the response information of the bidding responders who want to participate in bidding on the bidding request; the bid results are bid results that are posted.
The auctioneer identity information is used to uniquely identify the bidding auctioneer, and may include the name, business year, and business size of the bidding auctioneer. The auction house signature can be obtained by encrypting the auction identification information, information type, auction house identity information, auction detail information and the like by using the auction house private key. In order to reduce the complexity of the calculation, further, hash operation may be performed on the contents such as the auction identification information, the information type, the auction party identity information, and the auction detail information to obtain summary information, and then the summary information may be encrypted by using a private key of the bidding auctioneer to obtain an auction party signature. The private key is a private key of the bidding party, the private key corresponds to the public key one to one, and the public key is used for decrypting the signature of the bidding party.
The auction detail information may include, but is not limited to, information of an auction product, a product auction rule, and the like. The auction rule for the product may be set by the bidding auctioneer, for example, the auction responder with the highest bid price may be used as the winner, but the winner need not pay the winning bid price, but only the next highest bid price lower than the winning bid price plus the reserve price, which may be set by the auction responder. It will be appreciated that the advantage of this auction strategy is that the price paid by the winning bidder is lower than the winning bid price, but it is lost to the bidding auctioneer node (i.e., the distribution store). Thus, to reduce the loss of the bidding bidder node, a minimum bid price may be set, thus ensuring that the bid price for each bidding responder node is not less than the minimum price set by the bidding bidder node.
The responder identity information is used to uniquely identify the bidding responder, and may be the name, business year, business scale, and the like of the bidding responder. The responder signature can be obtained by encrypting the auction identification information, the information type, the responder identity information, the bid data, and the like using the responder private key. In order to reduce the complexity of calculation, further, hash operation may be performed on the auction identification information, the information type, the responder identity information, and the bid data to obtain summary information, and then encryption may be performed by using a private key of the bid responder to obtain a responder signature. The bidding data is the bid of the bidding responder for the bid item.
The bid results include the bid responders who bid the winning bid, and the bids for the auctioned item.
In this embodiment, the block link point obtains a transaction request including commodity bidding information sent by the bidding participant through the node to which the bidding participant belongs. Optionally, in the case that the node to which the bidding participant belongs is a block chain node, the block chain node implementing the present embodiment may be the node to which the bidding participant belongs, or may not be the node to which the bidding participant belongs.
Further, in order to ensure the authenticity of the identity of the bidding party, as an optional way of the embodiment of the present invention, after obtaining a transaction request including the commodity bidding information sent by the bidding party, the identity of the bidding party may be verified according to the commodity bidding information, and if the verification is passed, the following steps are continuously executed; if the verification is not passed, the following steps are not continuously executed.
For example, according to the commodity bidding information, the identity of the bidding participants can be verified according to the identity information of the auctioneer or the identity information of the responder in the commodity bidding information. For example, it is possible to recognize whether or not the business years and/or the business scales in the auction rules of the product are satisfied, such as the business years and/or the business scales in the identification information of the auctioning party and the identification of the answering party, and if so, the verification is passed.
And S120, determining a target block chain according to the commodity bidding information.
The target block chain refers to a block chain associated with the current bid item.
Optionally, in this embodiment, the target block chain may be determined from the block chain network according to auction identification information in the commodity bidding information. It should be noted that a plurality of blockchains may be included in the blockchain network, and different blockchains may be used to store information related to different commodities. Further, the same blockchain may store information related to one or more different products.
S130, determining a bidding data block according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and storing the bidding data block into the target block chain.
The bidding data blocks correspond to block data in a target block chain, and each bidding data block comprises fields such as auction identification information, information types, user identity information, bidding contents, user signatures, hash by data blocks and the like.
In this embodiment, the first bidding data block in the target block chain may be determined according to the product bidding information. Specifically, performing hash operation on the commodity bidding information to obtain a data block hash value; packaging the commodity bidding information and the hash value of the data block according to a set field sequence to obtain a first bidding data block; and then stores the first bid data block into the target block chain.
Optionally, for a non-first bidding data block, the bidding data block may be determined according to the commodity bidding information and the hash value of the data block in the previous data block in the target block chain. Specifically, hash operation is performed on the commodity bidding information and the hash value of the data block in the previous data block in the target block chain to obtain the hash value of the data block; and packaging the commodity bidding information and the data block hash value according to the set field sequence to obtain a bidding data block, and further storing the bidding data block into a target block chain. For example, the current order in the target block chain generates bidding data blocks a, B and C, the commodity bidding information in the bidding data block a is a, and the hash of the data block is h 0; the commodity bidding information in the bidding data block B is B, and the hash of the data block is h 1; the commodity bidding information in the bidding data block C is C, and the hash of the data block is h 2; h0 ═ hash (a); h1 ═ hash (b, h 0); h2 ═ hash (c, h 1).
According to the technical scheme of the embodiment of the invention, a transaction processing request including commodity bidding information sent by a bidding participant is obtained, then a target block chain is determined according to the commodity bidding information, and then a bidding data block is determined according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and the bidding data block is stored in the target block chain. According to the technical scheme, the bidding data are stored in the block chain, so that the transparency and the safety of the bidding data are guaranteed, and the openness in the bidding process is guaranteed.
On the basis of the above embodiment, as an optional manner of the embodiment of the present invention, if the bidding responder disagrees with the bidding result, the target block chain may be queried from the block chain network through the auction identification information in the commodity bidding information, so as to query the bidding process.
On the basis of the above embodiments, the bidding responders can participate in the bidding in a manual bidding manner or an automatic bidding manner. Wherein, the manual bidding is the manual bidding participation, and both the bidding and the bidding are manually specified; the automatic bidding is to automatically participate in bidding by a program after the initial bidding, the maximum bidding and the value of each bid are set.
Example two
Fig. 2 is a flowchart of a commodity bidding method based on a block chain according to a second embodiment of the present invention, and based on the second embodiment, when a bidding participant is a bidding seller, a bidding data block is determined and stored in a target block chain, so as to further optimize and provide an alternative implementation.
As shown in fig. 2, the method may specifically include:
s210, a transaction processing request including commodity bidding auction information sent by a bidding auction seller is obtained.
The commodity bidding and auction information comprises auction identification information, information types, auction party identity information, auction detailed information and auction party signatures.
In this embodiment, the block link points obtain transaction requests including information of auction for bidding of the commodities initiated by the bidding auction sellers.
S220, whether the block chain comprising the auction identification information exists in the block chain network is identified.
And S230, if the target block chain does not exist, constructing a new block chain as the target block chain.
And S240, carrying out Hash operation on the commodity bidding auction information to obtain an auction Hash value.
And S250, packaging the commodity bidding auction information and the auction hash value to obtain a bidding auction data block.
And S260, taking the bidding auction data block as the first block of the target block chain and storing the first block in the target block chain.
In this embodiment, whether a block chain of auction identification information exists in a block chain network is identified according to auction identification information in product bidding auction information. And if the block chain network does not have the block chain comprising the auction identification information, constructing a new block chain as a target block chain.
Then, carrying out hash operation on the commodity bidding auction information by adopting a hash algorithm to obtain an auction hash value; according to the set field sequence, packaging the commodity bidding auction information and the auction hash value to obtain a bidding auction data block; and taking the bidding auction data block as the first block of the target block chain and storing the first block in the target block chain.
According to the technical scheme, a transaction processing request which is initiated by a bidding auction seller and comprises commodity bidding auction information is obtained, whether a block chain comprising auction identification information exists in a block chain network or not is identified, if the block chain does not exist, a new block chain is constructed to serve as a target block chain, then the commodity bidding auction information is subjected to hash operation to obtain an auction hash value, the commodity bidding auction information and the auction hash value are packaged to obtain a bidding auction data block, and the bidding auction data block serves as a first block of the target block chain and is stored in the target block chain. According to the technical scheme, the bidding auction data is stored in the block chain, so that the data is prevented from being tampered, and the safety of the data is guaranteed.
On the basis of the above embodiment, as an optional manner of the embodiment of the present invention, in the first auction process, if the number of auction responders does not satisfy the set number, a transaction request initiated by the bidding seller and including the auction information of the article bidding price and the number of auction rounds may also be obtained. And further continuing the auction and the uplink storage of the bidding data block according to the method.
EXAMPLE III
Fig. 3 is a flowchart of a method for bidding for an article based on a block chain according to a third embodiment of the present invention, where on the basis of the third embodiment, when a bidding participant is a bidding responder, a bidding data block is determined and stored in a target block chain, and further optimization is performed, so as to provide an alternative implementation.
As shown in fig. 3, the method may specifically include:
and S310, acquiring a transaction processing request which is sent by the bidding responder and comprises commodity bidding response information.
The commodity bidding response information comprises auction identification information, information types, responder identity information, bidding data and responder signatures;
in this embodiment, the block link points obtain transaction processing requests including product bid response information sent by the bid responder.
And S320, selecting a target block chain from the candidate block chains in the block chain network according to the auction identification information.
Wherein, the candidate block chains refer to all block chains related to the bid goods in the block chain network.
In this embodiment, a target block chain is selected from candidate block chains in a block chain network according to auction identification information. Specifically, acquiring auction identification information from the commodity bidding information; searching the auction identification information and the block chain association relation table which are locally stored by taking the obtained auction identification information as an index word; and if the auction identification information in the commodity bidding information exists in the locally stored association relation table, taking the block chain associated with the auction identification information in the association relation table as a target block chain.
And S330, carrying out hash operation on the commodity bidding response information and the previous data block to obtain a response hash value.
And S340, packaging the commodity bidding response information and the response hash value to obtain a bidding response data block.
And S350, linking the bidding response data block to the last data block in the target block chain.
Wherein, any one bidding responder corresponds to one commodity bidding response message. For each product bid response message, a bid response data block is obtained in the manner of S310-S350, and the bid response data block is stored in the target block chain.
Optionally, for any one piece of commodity bidding response information, a hash algorithm may be used in this embodiment to perform hash operation on the commodity bidding response information and the hash value of the data block of the previous data block to obtain a response hash value; and then packaging the commodity bidding response information and the response hash value according to the set field sequence to obtain a bidding response data block, and storing the bidding response data block into the target block chain after linking the obtained bidding response data block to the previous data block in the target block chain.
The previous data block may be a bidding auction data block, a bidding response data block, or a bidding result data block. Illustratively, the previous block may be a bid auction block or a bid response block where the auction is the first or only one of a plurality of rounds of auctions. Optionally, the previous data block may be determined according to the time sequence of obtaining the product bidding response information. For example, for the first acquired product bid response information, the previous data block used when determining the bid data block corresponding to the product bid response information is a bid auction data block; and for the subsequently acquired commodity bidding response information, the last data block used when the bidding data block corresponding to the commodity bidding response information is determined is a bidding response data block.
Further, in the case where the auction is a multi-round auction, the previous data block may be an auction result data block or a bid response data block at the start of the middle round auction after the end of the first round. For example, when the first round of auction is completed and the auction is resumed, that is, when the auction is started again (such as two-round auction or three-round auction), the previous data block used when the bidding data block corresponding to the first acquired product bidding response information is determined is the bidding result data block and the previous data block used when the bidding data block corresponding to the subsequently acquired product bidding response information is determined is the bidding response data block in the middle round of auction.
It should be noted that the auction processes S310 to S350 in this embodiment may be first-round auctions or middle-round auctions.
According to the technical scheme of the embodiment of the invention, a transaction processing request which is sent by a bidding responder and comprises commodity bidding response information is obtained, a target block chain is selected from candidate block chains in a block chain network according to auction identification information, then Hash operation is carried out on the commodity bidding response information and a previous data block to obtain a response Hash value, the commodity bidding response information and the response Hash value are packaged to obtain a bidding response data block, and the bidding response data block is further linked to the previous data block in the target block chain. According to the technical scheme, the bidding response data are stored in the block chain, so that the bidding is ensured to be performed orderly, and the transparency and the safety of the bidding response data are improved.
Example four
Fig. 4 is a flowchart of a commodity bidding method based on a block chain according to a fourth embodiment of the present invention, and based on the fourth embodiment, when a bidding participant is a bidding seller, a bidding data block is determined and stored in a target block chain, so as to further optimize and provide an alternative implementation.
As shown in fig. 4, the method may specifically include:
and S410, acquiring a transaction processing request which is sent by the bidding auction seller and comprises commodity bidding result information.
The commodity bidding result information comprises auction identification information, information types, auction party identity information, bidding results and auction party signatures.
In this embodiment, the block link points obtain a transaction request including the information of the product bidding result sent by the bidding responder.
And S420, selecting a target block chain from the candidate block chains in the block chain network according to the auction identification information.
Wherein, the candidate block chains refer to all block chains related to the bid goods in the block chain network.
In this embodiment, a target block chain is selected from candidate block chains in a block chain network according to auction identification information. Specifically, the broadcast is performed to the blockchain network, and the candidate blockchain in the blockchain network compares the auction information identifier in the broadcast with the auction information identifier of the candidate blockchain, and if the auction information identifier in the broadcast is consistent with the auction information identifier of the candidate blockchain, the candidate blockchain is used as the target blockchain.
And S430, carrying out hash operation on the commodity bidding result information and the previous data block to obtain a result hash value.
And S440, packaging the commodity bidding result information and the result hash value to obtain a bidding result data block.
And S450, linking the bidding result data block to the last data block in the target block chain.
Optionally, in this embodiment, a hash algorithm is adopted, and hash operation is performed on the commodity bidding result information and the data block hash value of the previous data block to obtain a result hash value. Wherein the previous block is a bid response block.
Then, according to the set field sequence, packaging the commodity bidding result information and the result hash value to obtain a bidding response data block; and after the bidding result data block is linked to the last data block in the target block chain, storing the bidding result data blocks into the target block chain.
Further, in the case where the auction is multi-round, each auction is conducted in accordance with the steps of S410 to S450 described above.
According to the technical scheme of the embodiment of the invention, a transaction processing request including commodity bidding result information sent by a bidding auction seller is obtained, a target block chain is selected from candidate block chains in a block chain network according to auction identification information, then Hash operation is carried out on the commodity bidding result information and a previous data block to obtain a result Hash value, the commodity bidding result information and the result Hash value are packaged to obtain a bidding result data block, and the bidding result data block is further linked to the previous data block in the target block chain. According to the technical scheme, the bidding result data block is stored in the block chain, so that the transparency and the safety of the bidding result data are improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a product bidding apparatus based on a block chain according to a fifth embodiment of the present invention, which is applicable to how to bid on a product. The device can be realized by software and/or hardware, and can be integrated in electronic equipment bearing a commodity bidding function based on the block chain, in particular to the electronic equipment as a node of the block chain.
As shown in fig. 5, the apparatus may specifically include a processing request obtaining module 510, a target block chain determining module 520, and a bid data block determining module 530, wherein,
a processing request obtaining module 510, configured to obtain a transaction processing request that includes the merchandise bidding information and is sent by a bidding participant;
a target block chain determining module 520, configured to determine a target block chain according to the commodity bidding information;
and a bidding data block determining module 530, configured to determine a bidding data block according to the commodity bidding information, or the commodity bidding information and a previous data block in the target block chain, and store the bidding data block in the target block chain.
According to the technical scheme of the embodiment of the invention, a transaction processing request including commodity bidding information sent by a bidding participant is obtained, then a target block chain is determined according to the commodity bidding information, and then a bidding data block is determined according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and the bidding data block is stored in the target block chain. According to the technical scheme, the bidding data are stored in the block chain, so that the transparency and the safety of the bidding data are guaranteed, and the openness in the bidding process is guaranteed.
Further, the processing request obtaining module 510 is specifically configured to:
acquiring a transaction processing request which comprises commodity bidding auction information and is sent by a bidding auction seller; the commodity bidding auction information comprises auction identification information, information types, auction party identity information, auction detailed information and auction party signatures;
accordingly, the target block chain determining module 520 is specifically configured to:
identifying whether a block chain comprising auction identification information exists in a block chain network;
if not, a new block chain is constructed as the target block chain.
Further, the bidding data block determining module 530 is specifically configured to:
carrying out Hash operation on the commodity bidding auction information to obtain an auction Hash value;
packaging the commodity bidding auction information and the auction hash value to obtain a bidding auction data block;
and taking the bidding auction data block as the first block of the target block chain and storing the first block in the target block chain.
Further, the processing request obtaining module 510 is further specifically configured to:
acquiring a transaction processing request which is sent by a bidding responder and comprises commodity bidding response information; the commodity bidding response information comprises auction identification information, information types, responder identity information, bidding data and responder signatures;
correspondingly, the target block chain determining module 520 is further specifically configured to:
and selecting a target block chain from candidate block chains in the block chain network according to the auction identification information.
Further, the bidding data block determining module 530 is further specifically configured to:
performing hash operation on the commodity bidding response information and the previous data block to obtain a response hash value;
packaging the commodity bidding response information and the response hash value to obtain a bidding response data block;
the bid response data block is linked after the last data block in the target block chain.
Further, the previous block is a bid auction block, or a bid response block.
Further, the processing request obtaining module 510 is further specifically configured to:
acquiring a transaction processing request which is sent by a bidding auction seller and comprises commodity bidding result information; the commodity bidding result information comprises auction identification information, information types, auction party identity information, bidding results and auction party signatures;
correspondingly, the target block chain determining module 520 is further specifically configured to:
and selecting a target block chain from candidate block chains in the block chain network according to the auction identification information.
Further, the bidding data block determining module 530 is further specifically configured to:
performing hash operation on the commodity bidding result information and the previous data block to obtain a result hash value;
packaging the commodity bidding result information and the result hash value to obtain a bidding result data block;
and linking the bidding result data block behind the last data block in the target block chain.
Further, the previous block is a bid response block.
The commodity bidding device based on the block chain can execute the commodity bidding method based on the block chain provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention, and fig. 6 shows a block diagram of an exemplary device suitable for implementing the embodiment of the present invention. The device shown in fig. 6 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in FIG. 6, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory (cache 32). The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, implementing a block chain-based merchandise bidding method provided by the embodiment of the present invention.
EXAMPLE seven
The seventh embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program is used for executing the block chain-based merchandise bidding method provided in the embodiment of the present invention, where the method includes:
acquiring a transaction processing request which is sent by a bidding participant and comprises commodity bidding information; determining a target block chain according to the commodity bidding information; and determining a bidding data block according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and storing the bidding data block into the target block chain.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A commodity bidding method based on a block chain is characterized by comprising the following steps:
acquiring a transaction processing request which is sent by a bidding participant and comprises commodity bidding information;
determining a target block chain according to the commodity bidding information;
and determining a bidding data block according to the commodity bidding information or the commodity bidding information and a previous data block in the target block chain, and storing the bidding data block into the target block chain.
2. The method of claim 1, wherein obtaining the transaction request including the bid information of the item sent by the bidding participant comprises:
acquiring a transaction processing request which comprises commodity bidding auction information and is sent by a bidding auction seller; the commodity bidding and auction information comprises auction identification information, information types, auction party identity information, auction detailed information and auction party signatures;
correspondingly, the determining a target block chain according to the commodity bidding information includes:
identifying whether a blockchain comprising the auction identification information exists in a blockchain network;
if not, a new block chain is constructed as the target block chain.
3. The method of claim 2, wherein determining a bid data block according to the merchandise bidding information and storing the bid data block in the target block chain comprises:
carrying out Hash operation on the commodity bidding auction information to obtain an auction Hash value;
packaging the commodity bidding auction information and the auction hash value to obtain a bidding auction data block;
and storing the bidding auction data block as the first block of the target block chain in the target block chain.
4. The method of claim 1, wherein obtaining the transaction request including the bid information of the item sent by the bidding participant comprises:
acquiring a transaction processing request which is sent by a bidding responder and comprises commodity bidding response information; the commodity bidding response information comprises auction identification information, information types, responder identity information, bidding data and responder signatures;
correspondingly, the determining a target block chain according to the commodity bidding information includes:
and selecting a target block chain from candidate block chains in a block chain network according to the auction identification information.
5. The method of claim 4, wherein determining a bid data block according to the bid information of the item and a previous data block in the target block chain and storing the bid data block in the target block chain comprises:
performing hash operation on the commodity bidding response information and the previous data block to obtain a response hash value;
packaging the commodity bidding response information and the response hash value to obtain a bidding response data block;
linking the bid response data block after the last data block in the target block chain.
6. The method of claim 4 or 5, wherein the previous block is a bid auction block or a bid response block.
7. The method of claim 1, wherein obtaining the transaction request including the bid information of the item sent by the bidding participant comprises:
acquiring a transaction processing request which is sent by a bidding auction seller and comprises commodity bidding result information; the commodity bidding result information comprises auction identification information, information types, auction party identity information, bidding results and auction party signatures;
correspondingly, the determining a target block chain according to the commodity bidding information includes:
and selecting a target block chain from candidate block chains in a block chain network according to the auction identification information.
8. The method of claim 7, wherein determining a bid data block according to the bid information of the item and a previous data block in the target block chain and storing the bid data block in the target block chain comprises:
performing hash operation on the commodity bidding result information and the previous data block to obtain a result hash value;
packaging the commodity bidding result information and the result hash value to obtain a bidding result data block;
linking the bid results data block after the last data block in the target block chain.
9. The method of claim 8, wherein the previous block is a bid response block.
10. A commodity bidding device based on a block chain is characterized by comprising:
the system comprises a processing request acquisition module, a processing request processing module and a processing request processing module, wherein the processing request acquisition module is used for acquiring a transaction processing request which comprises commodity bidding information and is sent by a bidding participant;
the target block chain determining module is used for determining a target block chain according to the commodity bidding information;
and the bidding data block determining module is used for determining a bidding data block according to the commodity bidding information or the commodity bidding information and the previous data block in the target block chain and storing the bidding data block into the target block chain.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the blockchain-based merchandise bidding method of any one of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a method for bidding on a commodity based on a block chain according to any one of claims 1 to 9.
CN202111246732.5A 2021-10-26 2021-10-26 Commodity bidding method, device and equipment based on block chain and storage medium Pending CN113962786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111246732.5A CN113962786A (en) 2021-10-26 2021-10-26 Commodity bidding method, device and equipment based on block chain and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111246732.5A CN113962786A (en) 2021-10-26 2021-10-26 Commodity bidding method, device and equipment based on block chain and storage medium

Publications (1)

Publication Number Publication Date
CN113962786A true CN113962786A (en) 2022-01-21

Family

ID=79467163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111246732.5A Pending CN113962786A (en) 2021-10-26 2021-10-26 Commodity bidding method, device and equipment based on block chain and storage medium

Country Status (1)

Country Link
CN (1) CN113962786A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114549142A (en) * 2022-03-17 2022-05-27 太平洋国际拍卖有限公司 Online bidding auction information processing method and system

Citations (3)

* 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
KR20190127270A (en) * 2018-05-04 2019-11-13 농업회사법인 주식회사 자연속으로 Auction confidence system using blockchain
CN111047365A (en) * 2019-12-23 2020-04-21 山东爱城市网信息技术有限公司 Method, device and medium for managing advertisement bidding information based on block chain

Patent Citations (3)

* 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
KR20190127270A (en) * 2018-05-04 2019-11-13 농업회사법인 주식회사 자연속으로 Auction confidence system using blockchain
CN111047365A (en) * 2019-12-23 2020-04-21 山东爱城市网信息技术有限公司 Method, device and medium for managing advertisement bidding information based on block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114549142A (en) * 2022-03-17 2022-05-27 太平洋国际拍卖有限公司 Online bidding auction information processing method and system

Similar Documents

Publication Publication Date Title
WO2019246072A1 (en) Bid matching for blockchain-based goods/assets systems and methods
CN108985772A (en) A kind of verification method, device, equipment and the storage medium of block chain
US20190347655A1 (en) Computer implemented method and system
CN108885762B (en) Method and system for allocating price discovery mechanism in data market
US20230267529A1 (en) Blockchain-based transaction processing method, client, processing terminal and system
CN110781134A (en) Data processing method and device, computer storage medium and electronic equipment
CN113962786A (en) Commodity bidding method, device and equipment based on block chain and storage medium
CN111062594A (en) Assessment method and device for provider operation capacity and electronic equipment
US9626356B2 (en) System support for evaluation consistency
US11315047B2 (en) Blending electronic inventory
CN112199483A (en) Information input assisting method and device, electronic equipment and storage medium
US8086501B2 (en) Method and system for creative collaborative marketplaces
CN111815272B (en) Application auditing method and device, electronic equipment and storage medium
CN113628016A (en) Merchant customer acquisition drainage method and system, computer equipment and storage medium
CN114626915A (en) Commodity recommendation activity processing method
CN114022258A (en) Auction trading method, intelligent auction platform and storage medium
CA3049762C (en) Systems and methods of sequencing or combining multiple related, but different, transaction requests into a single transaction
CN111832319A (en) Method and device for early warning voice broadcast
CN113468059B (en) Information acquisition method and device, terminal and server
CN112612944B (en) Case information management method, terminal equipment and system
KR100705203B1 (en) Method and system of processing missing orders in E-commerce
CN109949117B (en) Method and device for pushing information
CN116957723A (en) Concurrent order processing method, device, equipment and medium
US20150363880A1 (en) Systems and Methods for Allocating Quantities in a Marketplace
KR20220140397A (en) Method and apparatus for assisting online auction process

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