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

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

Info

Publication number
CN111767582A
CN111767582A CN202010615505.4A CN202010615505A CN111767582A CN 111767582 A CN111767582 A CN 111767582A CN 202010615505 A CN202010615505 A CN 202010615505A CN 111767582 A CN111767582 A CN 111767582A
Authority
CN
China
Prior art keywords
bidding
data
bid
data packet
block
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.)
Granted
Application number
CN202010615505.4A
Other languages
Chinese (zh)
Other versions
CN111767582B (en
Inventor
黄辉
张莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Saiante Technology Service Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202010615505.4A priority Critical patent/CN111767582B/en
Priority claimed from CN202010615505.4A external-priority patent/CN111767582B/en
Publication of CN111767582A publication Critical patent/CN111767582A/en
Application granted granted Critical
Publication of CN111767582B publication Critical patent/CN111767582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of block chains, and discloses an electronic bidding method, device, equipment and storage medium based on block chains, which are used for data confidentiality in the field of electronic bidding. The method comprises the following steps: the method comprises the steps of encrypting bid data in a bid document file, converting the bid data into a bid data packet, cutting the bid data packet according to the size of a preset storage block through a data cutting algorithm, and writing the bid data packet into a block chain; detecting whether an opening instruction exists in real time, when the opening instruction is detected, obtaining bidding data packet slices from a storage block of a block chain according to the opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file; and decrypting the ciphertext file to obtain plaintext bidding data and evaluating the bidding according to the plaintext bidding data. By the method, the bidding data is stored in the block chain, all participants can supervise the encrypted bidding data at low cost in the bidding process, and the data modification of the bidding platform and the bidding parties in the bidding process can be effectively avoided.

Description

Block chain-based electronic bidding method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of block chains, in particular to an electronic bidding method, device, equipment and storage medium based on block chains.
Background
The bidding is an international practice, is a product of high development of commodity economy, is a preferred bargaining mode developed by organizations under the action of a competitive mechanism of applied technology, an economic method and market economy, and is based on paper documents in the traditional bidding mode to mainly complete related work on line. With the development of the internet, the traditional bidding mode begins to develop towards electronic bidding. The electronic bidding realizes the electronic management and operation of the bidding process, can solve the unfairness phenomenon brought to each bidding party by many artificial subjective factors, has certain mandatory performance, reduces the difficulty of business operation, avoids the deviation of business specification execution, reduces project risks, realizes the public, fair and fair bidding market environment, and simultaneously can solve the problems of data errors, information asymmetry, repeated labor and the like caused by manual labor.
However, electronic bidding has a significant difficulty in keeping the bidding data, such as the bid price, secret, and it is currently common to encrypt the quote with a CA certificate at the client and store the encrypted quote in the database of the bidding platform. However, this method is vulnerable, and it cannot prevent cheating by the bidding platform and the bidding party. That is, the bidding platform and the bidding party are communicated, and before bidding is opened, the price is modified by tampering the database. Particularly, in the medical industry, the medicines are purchased intensively, the purchase amount is large, the related amount is high, and the participator has great motivation to modify the price.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the bidding data is easy to tamper in the existing electronic bidding process.
The invention provides an electronic bidding method based on a block chain, which comprises the following steps:
acquiring bidding documents of a bidder, and extracting bidding data in the bidding documents;
encrypting the bidding data, and converting the encrypted bidding data into a bidding data packet;
cutting the bidding data packet according to the size of a storage block preset in a bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform, wherein N is an integer greater than 2;
detecting whether an opening instruction exists on the bidding platform in real time;
if the bidding command exists, reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bidding command;
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data, and decrypting the ciphertext file to obtain plaintext bidding data;
and evaluating the bids according to the plaintext bidding data to complete the electronic bidding.
Optionally, in a first implementation manner of the first aspect of the present invention, the bid data includes a bid price, and the encrypting the bid data and converting the encrypted bid data into a bid data package includes:
carrying out encryption calculation on the bid price in the bid data through a preset symmetric key encryption algorithm to obtain a price ciphertext;
carrying out Hash operation on the bid price to obtain a first Hash value of the bid price;
and generating a bid data packet according to the bid ciphertext and the first hash value.
Optionally, in a second implementation manner of the first aspect of the present invention, the cutting the bid data packet by using a data partitioning algorithm according to a size of a storage block preset in a bidding platform to obtain N bid data packet slices, and sequentially writing the N bid data packet slices into a block chain of the bidding platform includes:
encrypting the bidding data packet to obtain a digital signature;
verifying the digital signature and the bid data package;
if the verification is passed, cutting the bidding data packet according to the size of a storage block preset in the bidding platform to obtain N bidding data packet slices;
generating N storage blocks according to the digital signature and the bidding data packet slice, and linking the storage blocks to a preset block chain;
optionally, in a third implementation manner of the first aspect of the present invention, the encrypting the bid data packet to obtain a digital signature includes:
encrypting the bidding data packet according to a Hash algorithm to obtain a digital abstract;
and encrypting the digital abstract according to a preset private key encryption algorithm to obtain a digital signature.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the generating N storage blocks according to the digital signature and the bid data package slice, and linking the storage blocks to a preset block chain includes:
generating N initial storage blocks according to the digital signature and the bidding data packet slice;
determining parent blocks of the initial storage blocks and corresponding parent block information, wherein the parent blocks comprise the initial blocks and other blocks in the block chain;
generating N storage blocks according to the N initial storage blocks and the parent block information;
and sequentially linking the N storage blocks to the tail part of the parent block.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the generating N storage blocks according to the N initial storage blocks and the parent block information includes:
determining fields and field values of N initial storage blocks, and generating N data bodies according to the fields and the field values;
generating N data heads according to the parent block information of the parent block of the N initial storage blocks, and performing message summary calculation processing on the data body and the data heads to obtain block identifiers of the N storage blocks;
and combining the block identification with the corresponding data head and the corresponding data body to generate N storage blocks.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the splicing the read bidding data packet slices to obtain an encrypted file of the bidding data, and decrypting the encrypted file to obtain plaintext bidding data includes:
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data;
decrypting the ciphertext file according to a preset symmetric key to obtain a bid price and the first hash value;
carrying out Hash operation on the bid price obtained after decryption to obtain a second Hash value;
judging whether the first hash value is the same as the second hash value;
and if the two prices are the same, the decrypted bidding price is used as plaintext bidding data.
The invention provides an electronic bidding device based on a block chain, which comprises:
the acquisition module is used for acquiring bidding documents of a bidder and extracting bidding data in the bidding documents;
the encryption module is used for encrypting the bidding data and converting the encrypted bidding data into a bidding data packet;
the writing module is used for cutting the bidding data packet according to the size of a storage block preset in the bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform, wherein N is an integer greater than 2;
the detection module is used for detecting whether the bid opening instruction exists on the bid inviting and bidding platform in real time;
the reading module is used for reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bid opening instruction when the bid opening instruction is detected to exist on the bid inviting and bidding platform;
the decryption module is used for splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data and decrypting the ciphertext file to obtain plaintext bidding data;
and the bid evaluation module is used for evaluating bids according to the plaintext bid data and completing electronic bids.
Optionally, in a first implementation manner of the second aspect of the present invention, the encryption module is specifically configured to:
carrying out encryption calculation on the bid price in the bid data through a preset symmetric key encryption algorithm to obtain a price ciphertext;
carrying out Hash operation on the bid price to obtain a first Hash value of the bid price;
and generating a bid data packet according to the bid ciphertext and the first hash value.
Optionally, in a second implementation manner of the second aspect of the present invention, the writing module includes:
the digital signature unit is used for encrypting the bidding data packet to obtain a digital signature;
a verification unit for verifying the digital signature and the bid data package;
the cutting unit is used for cutting the bidding data packet according to the size of a storage block preset in the bidding platform when the verification is passed, so as to obtain N bidding data packet slices;
and the storage unit is used for generating N storage blocks according to the digital signature and the bidding data packet slice and linking the storage blocks to a preset block chain.
Optionally, in a third implementation manner of the second aspect of the present invention, the digital signature unit is specifically configured to:
encrypting the bidding data packet according to a Hash algorithm to obtain a digital abstract;
and encrypting the digital abstract according to a preset private key encryption algorithm to obtain a digital signature.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the storage unit includes:
an initial block generation subunit, configured to generate N initial storage blocks according to the digital signature and the bid data package slice;
an information determining subunit, configured to determine a parent block of the initial storage block and corresponding parent block information, where the parent block includes the initial block and other blocks in the block chain;
a storage block generation subunit, configured to generate N storage blocks according to the N initial storage blocks and the parent block information;
and the link subunit is used for sequentially linking the N storage blocks to the tail of the parent block.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the storage block generation subunit is specifically configured to:
determining fields and field values of N initial storage blocks, and generating N data bodies according to the fields and the field values;
generating N data heads according to the parent block information of the parent block of the N initial storage blocks, and performing message summary calculation processing on the data body and the data heads to obtain block identifiers of the N storage blocks;
and combining the block identification with the corresponding data head and the corresponding data body to generate N storage blocks.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the decryption module is specifically configured to:
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data;
decrypting the ciphertext file according to a preset symmetric key to obtain a bid price and the first hash value;
carrying out Hash operation on the bid price obtained after decryption to obtain a second Hash value;
judging whether the first hash value is the same as the second hash value;
and if the two prices are the same, the decrypted bidding price is used as plaintext bidding data.
The third aspect of the present invention provides an electronic bidding apparatus based on block chains, comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the block chain-based electronic bidding apparatus to perform the block chain-based electronic bidding method described above.
A fourth aspect of the present invention provides a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-described block chain-based electronic bidding method.
According to the technical scheme provided by the invention, the bid data in the bid document file is acquired, the bid data is encrypted and converted into a bid data packet, and the bid data packet is cut according to the size of a preset storage block through a data cutting algorithm and written into a block chain; detecting whether an opening instruction exists in real time, when the opening instruction is detected, obtaining bidding data packet slices from a storage block of a block chain according to the opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file; and decrypting the ciphertext file to obtain plaintext bidding data and evaluating the bidding according to the plaintext bidding data. By the method, the bidding data is stored in the block chain, all participants can supervise the encrypted bidding data at low cost in the bidding process, and the data modification of the bidding platform and the bidding parties in the bidding process can be effectively avoided.
Drawings
FIG. 1 is a schematic diagram of a first embodiment of an electronic bidding method based on a block chain according to an embodiment of the present invention;
FIG. 2 is a diagram of a second exemplary embodiment of a block chain-based electronic bidding method according to the embodiment of the present invention;
FIG. 3 is a diagram illustrating a third exemplary embodiment of a block chain-based electronic bidding method according to the embodiment of the present invention;
FIG. 4 is a diagram illustrating a fourth exemplary embodiment of a block chain-based electronic bidding method according to the embodiment of the present invention;
FIG. 5 is a diagram illustrating a fifth exemplary embodiment of a block chain-based electronic bidding method according to the embodiment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of an electronic bidding apparatus based on block chains according to the embodiment of the present invention;
FIG. 7 is a schematic diagram of another embodiment of an electronic bidding device based on block chains according to the embodiment of the present invention;
FIG. 8 is a schematic diagram of an embodiment of an electronic bidding device based on block chains according to the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an electronic bidding method, device, equipment and storage medium based on a block chain, wherein in the technical scheme of the invention, bidding data in a bidding document file is obtained, the bidding data is encrypted and then converted into a bidding data packet, and the bidding data packet is cut according to the size of a preset storage block through a data cutting algorithm and written into the block chain; detecting whether an opening instruction exists in real time, when the opening instruction is detected, obtaining bidding data packet slices from a storage block of a block chain according to the opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file; and decrypting the ciphertext file to obtain plaintext bidding data and evaluating the bidding according to the plaintext bidding data. By the method, the bidding data is stored in the block chain, all participants can supervise the encrypted bidding data at low cost in the bidding process, and the data modification of the bidding platform and the bidding parties in the bidding process can be effectively avoided.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For the sake of understanding, the following describes a specific flow of an embodiment of the present invention, and referring to fig. 1, a first embodiment of a block chain-based electronic bidding method according to an embodiment of the present invention includes:
101. acquiring bidding documents of a bidder, and extracting bidding data in the bidding documents;
it is to be understood that the executing subject of the present invention may be an electronic bidding apparatus based on a block chain, and may also be a terminal or a server, which is not limited herein. The embodiment of the present invention is described by taking a server as an execution subject.
In practical application, in the process of bidding, a bidder needs to upload an electronic bid file before a bidding deadline, the electronic bid file contains various information prepared by the bidder for the bidding, and the electronic bid file can include a bidding unit, an item list and a bidding price, and the scheme acquires the bidding price therein and performs a subsequent encryption step.
102. Carrying out encryption processing on the bidding data, and converting the encrypted bidding data into a bidding data packet;
in this embodiment, the bid price is a commercial secret of the bidder, and needs to be encrypted before bid evaluation, the encryption of the bid price mainly uses a CA certificate to encrypt the bid price, when bid evaluation is needed, the encrypted bid price is decrypted through the CA certificate, and the bid price can be obtained, and an expert evaluates the bid according to the bid price.
In practical application, the encryption of data by the CA certificate includes a symmetric encryption algorithm and an asymmetric encryption algorithm, wherein the symmetric encryption algorithm is an algorithm for performing encryption and decryption operations using the same key and algorithm, and the symmetric encryption algorithm mainly includes: DES, 3DES, IDEA, FEAL, BLOWFISH, etc., in the symmetric encryption algorithm, the key used for encryption and the key used for decryption are the same. That is, both encryption and decryption are the same key used. Therefore, if the security of the symmetric encryption algorithm is to be ensured, the secret key is kept secret and can only be known by a user, but cannot be disclosed to the outside. In the asymmetric encryption algorithm, a key used for encryption and a key used for decryption are different. For example, the public key cryptosystem is an asymmetric encryption algorithm, and its public key and private key are not the same, that is, the encryption key and decryption key are different, so it is an asymmetric encryption algorithm.
103. Cutting the bidding data packets according to the size of a storage block preset in the bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform;
in this embodiment, after obtaining the bid data package, the bid data package file needs to be stored in the block chain, and the storage manner may be to query the storage block according to the bid data package and store the bid data package in the storage block, or to generate the storage block according to the bid data package and link the storage block to the last block of the selected block chain, so that the storage of the bid data package in the block chain is completed.
In practical application, the block chains may be a alliance chain, a private chain and a public chain, and since the selection of the block chain needs to be in accordance with the public characteristic of the bidding subject, that is, the bidding subject can join and supervise at any time, and meanwhile, the cost of joining and supervising is not required to be too high, for the alliance chain, when a supplier needs to bid on a certain project, if the alliance chain is applied, a server needs to be purchased and a node is newly built so as to join the alliance chain, while the private chain does not conform to the characteristic of the bidding subject in the bidding process, and the public chain is a 'public chain', the public chain means to be commonly owned, the public chain is a block chain that all the owners can read, send and trade and the transaction can be effectively confirmed, and can also participate in the consensus process, the public chain is applied, the purpose of joining and supervising of the bidding subject can be achieved at any time, therefore, the best choice is to select the public link, the current public link technology is many, and the Etheng technology is next to the public link of Bizhou, in this embodiment, the Etheng is selected as the block link applied by the bidding platform in the scheme.
In this embodiment, before storing the bid data package into the blockchain, an intelligent contract needs to be generated, where the intelligent contract is a computer protocol that aims to propagate, verify, or execute the contract in an information-based manner, and in the blockchain, the intelligent contract is mainly based on authentic and non-falsifiable data in the blockchain, and automatically executes some preset rules and terms.
104. Detecting whether an opening instruction exists on a bidding platform in real time;
105. if yes, reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bid opening instruction;
in this embodiment, the data is stored in the block chain by linking the head of the block generated by the data to the tail of the last block in the selected block chain, determining the position of the current block in the block chain, and reading the data from the block chain.
106. Splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data, and decrypting the ciphertext file to obtain plaintext bidding data;
107. and evaluating the bids according to the plaintext bidding data to complete the electronic bidding.
In practical application, a tenderer and a bidder can implement a tendering process at the front end of a webpage, in the tendering process, the tenderer issues a bidding request on the webpage, the tenderer uploads a bidding document containing information such as bidding price and the like to a tendering platform through the front end of the webpage within a specified time, the tendering platform processes and stores the obtained bidding document in a preset block chain, and when the opening time is reached, the tenderer obtains the bidding documents of the tenderers stored in the tendering platform through the front end of the webpage, evaluates bids according to the bidding documents and completes the whole tendering process.
In this embodiment, when a bid price is obtained, data such as a bid price and the like are encrypted through an encryption algorithm, and the data of the bid price is encrypted independently to obtain a bid data packet, when a bid needs to be evaluated after the bid is opened, if a symmetric encryption algorithm is selected at the beginning of encryption, the bid data packet is decrypted through the same algorithm, if an asymmetric encryption algorithm is selected, the bid data packet is decrypted through a preset decryption algorithm, and after the bid price is obtained, an expert node for evaluating the bid can be selected through an intelligent contract, so that randomness and objectivity in a selection process of an expert for evaluating the bid are ensured, and fairness, justness and openness in a bid inviting process are ensured.
In the embodiment, the bid data in the bid document file is acquired, the bid data is encrypted and then converted into a bid data packet, and the bid data packet is cut according to the size of a preset storage block through a data cutting algorithm and written into a block chain; detecting whether an opening instruction exists in real time, when the opening instruction is detected, obtaining bidding data packet slices from a storage block of a block chain according to the opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file; and decrypting the ciphertext file to obtain plaintext bidding data and evaluating the bidding according to the plaintext bidding data. By the method, the bidding data is stored in the block chain, all participants can supervise the encrypted bidding data at low cost in the bidding process, and the data modification of the bidding platform and the bidding parties in the bidding process can be effectively avoided.
Referring to fig. 2, a second embodiment of the electronic bidding method based on block chains according to the embodiment of the present invention includes:
201. acquiring bidding documents of a bidder, and extracting bidding data in the bidding documents;
202. carrying out encryption calculation on the bid price in the bid data through a preset symmetric key encryption algorithm to obtain a price ciphertext;
in this step, the bid price is mainly encrypted by a symmetric encryption algorithm in which a key used for encryption and a key used for decryption are the same. That is, both encryption and decryption are the same key used. Therefore, if the security of the symmetric encryption algorithm is to be ensured, the secret key is kept secret and can only be known by a user, but cannot be disclosed to the outside.
203. Carrying out Hash operation on the bid price to obtain a first Hash value of the bid price;
in this step, the hash algorithm refers to an algorithm that can map information of any length into information of a fixed length, the hash algorithm used in this embodiment employs any one of MD4, MD5, or SHA256, different data have different hash values for the same hash algorithm, the hash values obtained for the same data are necessarily the same, any slight change of data will also completely change the obtained result, and at the same time, data cannot be reversely deduced through the hash values.
204. Generating a bid data packet according to the bid ciphertext and the first hash value;
in this embodiment, the corresponding encryption and decryption keys may not be directly stored, and the corresponding public key and the corresponding key may be generated by invoking the crypto engine through the smart contract in a manner of developing the smart contract in advance, that is, each time the request such as encryption and decryption is recorded.
205. Cutting the bidding data packets according to the size of a storage block preset in the bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform;
206. after a bid opening instruction is detected, reading corresponding bidding data packet slices from corresponding storage blocks in the block chain according to the bid opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file of the bidding data;
207. and decrypting the ciphertext file to obtain plaintext bidding data, and evaluating the bid according to the plaintext bidding data to complete the electronic bid.
The steps 205-207 are similar to the steps 103-107 in the first embodiment, and are not described herein again.
The embodiment of the invention describes the process of encrypting the bid price to obtain the bid data packet after obtaining the bid price in detail on the basis of the previous embodiment, and mainly performs encryption through two steps, wherein in the first step, the bid price is encrypted through a preset symmetric key to obtain a price ciphertext, the hash value of the price ciphertext is calculated through a hash algorithm, and the bid price can be checked through the symmetric key and the hash value in the subsequent decryption process.
Referring to fig. 3, a third embodiment of the electronic bidding method based on the block chain according to the embodiment of the present invention includes:
301. encrypting the bidding data in the bidding document file, and converting the encrypted bidding data into a bidding data packet;
the steps are similar to the steps 101-102 in the first embodiment, and are not described herein again.
302. Encrypting the bidding data packet according to a Hash algorithm to obtain a digital abstract;
303. encrypting the digital abstract according to a preset private key encryption algorithm to obtain a digital signature;
in this embodiment, the digital digest is a short message with a fixed length, and is similar to a function whose argument is a message, that is, a Hash function, and the digital digest uses a one-way Hash function to "digest" a plaintext to be encrypted into a string of ciphertext with a fixed length (128 bits), where the string of ciphertext is also called a digital fingerprint and has a fixed length, and the quality of a Hash function is determined by the probability of collision. Such a Hash function is dangerous if an attacker can easily construct that two messages have the same Hash value. Generally, the output length of the secure Hash standard is 160 bits, so that it can be guaranteed to be sufficiently secure.
Asymmetric encryption algorithms require two keys: public key (publickey) and private key (privatekey). The public key and the private key are a pair, and if the public key is used for encrypting data, only the corresponding private key can be used for decrypting the data; if the data is encrypted with a private key, it can only be decrypted with the corresponding public key. This algorithm is an asymmetric encryption algorithm because two different keys are used for encryption and decryption. The asymmetric encryption algorithm used by the block chain is a mature elliptic curve encryption algorithm.
304. Verifying the digital signature and the bid data packet;
305. if the verification is passed, cutting the bidding data packet according to the size of a storage block preset in the bidding platform to obtain N bidding data packet slices;
306. generating N storage blocks according to the digital signature and the bidding data packet slice, and linking the storage blocks to a preset block chain;
in practical application, in addition to the operation of the bidding process by the bidding platform, in order to effectively utilize the pre-constructed block chain to complete the bidding process and avoid repeated establishment of the bidding platform, the bidding node and the bidding node can be created, the bidding node issues bidding information, and the expert node acquires bidding information including the bidding price and the like to evaluate the bid in the bid opening and bid evaluation stages.
In the step, the digital signature can ensure the safety of information encryption, and the digital signature is obtained mainly by calculating the data in the label price file according to a Hash algorithm and then encrypting the digital abstract according to a preset private key.
307. After a bid opening instruction is detected, reading corresponding bidding data packet slices from corresponding storage blocks in the block chain according to the bid opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file of the bidding data;
308. and decrypting the ciphertext file to obtain plaintext bidding data, and evaluating the bid according to the plaintext bidding data to complete the electronic bid.
Steps 309-310 in this embodiment are similar to steps 104-107 in the first embodiment, and are not described herein again.
The embodiment describes the process of acquiring the digital signature of the bid data package in detail on the basis of the previous embodiment, and the process of acquiring the digital signature mainly includes two steps, namely, performing hash operation on the bid data package through a hash algorithm to obtain a digital abstract, and encrypting the digital abstract through a preset private key to obtain the digital signature, so that the security of the bid file is ensured.
Referring to fig. 4, a fourth embodiment of the electronic bidding method based on the block chain according to the embodiment of the present invention includes:
401. encrypting the bidding data in the bidding document file, and converting the encrypted bidding data into a bidding data packet;
the steps are similar to the steps 101-102 in the first embodiment, and are not described herein again.
402. Encrypting the bidding data packet to obtain a digital signature;
403. verifying the digital signature and the bid data packet;
404. if the verification is passed, cutting the bidding data packet according to the size of a storage block preset in the bidding platform to obtain N bidding data packet slices;
405. generating N initial storage blocks according to the digital signature and the bidding data packet slice;
406. determining a parent block of the initial storage block and corresponding parent block information, wherein the parent block comprises the initial block and other blocks in the block chain;
407. determining fields and field values of N initial storage blocks, and generating N data bodies according to the fields and the field values;
408. generating N data heads according to the parent block information of the parent block of the N initial storage blocks, and performing message summary calculation processing on the data body and the data heads to obtain block identifiers of the N storage blocks;
in practical application, the minimum storage unit of the block chain data is divided into two parts, namely a header part and a body part, wherein the body part stores a bid data packet and a digital signature of the bid data packet, the header part stores a last block, namely parent block information of a parent block, which can be a hash pointer or a digital signature pointing to the parent block, each block data is strongly associated with the parent block through the header part, the data of the block in the chain is required to be changed and is not found, the data on the whole block chain is required to be changed to be legal data, the header of the data on the next block chain can be checked out only by changing the data of the current block chain data, and a falsifier cannot stop the dynamic growth of the chain and cannot modify the data on the chain without finding the data.
409. Combining the block identification with the corresponding data head and the corresponding data body to generate N storage blocks;
in this embodiment, the message digest calculation process may be a process of performing digest calculation on data content contained in a certain block. The number Identifier (ID), also called a serial number or an account number, is a relatively unique code in a certain system, and in this embodiment, the Message digest algorithm may be a Message-digest algorithm (MD), a Secure Hash Algorithm (SHA), a Message authentication code algorithm (MAC), or the like.
410. Sequentially linking the N storage blocks to the tail of the father block;
in this embodiment, the blockchains may be a federation chain, a private chain, and a public chain, and since the selection of the blockchains needs to conform to the public characteristics of the bidding target, that is, the bidding subject can join and supervise at any time, and meanwhile, the cost of joining and supervising is not required to be too high, for the federation chain, when a supplier needs to bid for a certain item, if the federation chain is applied, a server needs to be purchased and a node is newly created to join the federation chain, and the private chain does not conform to the characteristics of the bidding target in the bidding process, the best selection is to select the public chain, and the current public chain technology is many, while the ether house technology is a public chain second only in bitcoin at present, in this embodiment, an ether house is selected as the public chain.
411. After a bid opening instruction is detected, reading corresponding bidding data packet slices from corresponding storage blocks in the block chain according to the bid opening instruction, and splicing the bidding data packet slices to obtain a ciphertext file of the bidding data;
412. and decrypting the ciphertext file to obtain plaintext bidding data, and evaluating the bid according to the plaintext bidding data to complete the electronic bid.
The embodiment describes in detail the process of storing the bid data packet in the storage block and storing the storage block in the preset block chain on the basis of the previous embodiment, and by storing the bid data packet in the storage block and storing the storage block in the preset block chain, the non-falsification property of the block chain is used to ensure that all bidding documents participating in bidding are not modified since the delivery date, thereby improving the fairness of bidding.
Referring to fig. 5, a fifth embodiment of the electronic bidding method based on the block chain according to the embodiment of the present invention includes:
501. encrypting the bidding data in the bidding document file, and converting the encrypted bidding data into a bidding data packet;
502. cutting the bidding data packets according to the size of a storage block preset in the bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform;
503. detecting whether an opening instruction exists on a bidding platform in real time;
the steps 501-503 in this embodiment are similar to the steps 101-104 in the first embodiment, and are not described herein again.
504. If yes, reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bid opening instruction;
in this embodiment, the position of the storage block in the block chain is mainly determined from parent block information in the block chain, and the bid data packet in the storage block is read through the position of the storage block, where the parent block information may be a hash pointer, where the hash pointer is a data structure and is a pointer to a hash value of data of a data storage location and its position. A common pointer can only indicate the position of data, the Hash pointer can indicate the position of the data, a method is provided for verifying whether the data is tampered, in a block chain, each block contains data belonging to the block, and meanwhile, a pointer pointing to the previous block is also arranged, namely the Hash pointer.
505. Splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data;
506. decrypting the ciphertext file according to a preset symmetric key to obtain a bid price and a first hash value;
507. carrying out Hash operation on the bid price obtained after decryption to obtain a second Hash value;
508. judging whether the first hash value is the same as the second hash value;
509. if the two prices are the same, the bid price obtained after decryption is used as plaintext bid data;
510. and evaluating the bids according to the plaintext bidding data to complete the electronic bidding.
In this embodiment, according to the principle that different hash values can be obtained by a hash algorithm according to any slight difference of data, whether the bid price has been changed or not can be judged by judging whether the first hash value is the same as the second hash value, and if not, the bid qualification of the bidder is retained; otherwise, the bidding qualification of the bidder is cancelled, so that the bidding documents participating in bidding can be ensured to be unmodified after delivery, and the bidding fairness is further improved.
With reference to fig. 6, the block chain-based electronic bidding method in the embodiment of the present invention is described above, and an embodiment of the block chain-based electronic bidding apparatus in the embodiment of the present invention is described below, where:
the acquiring module 601 is configured to acquire a bidding document file of a bidder and extract bidding data in the bidding document file;
the encryption module 602 is configured to encrypt the bid data and convert the encrypted bid data into a bid data packet;
a writing module 603, configured to cut the bid data packet according to a size of a storage block preset in a bidding platform through a data segmentation algorithm to obtain N bid data packet slices, and write the N bid data packet slices into a block chain of the bidding platform in sequence, where N is an integer greater than 2;
the detecting module 604 is configured to detect whether an opening instruction exists on the bidding platform in real time;
a reading module 605, configured to, when it is detected that a bid opening instruction exists on the bid inviting and bidding platform, read a corresponding bid data packet slice from a corresponding storage block in the block chain according to the bid opening instruction;
the decryption module 606 is used for splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data, and decrypting the ciphertext file to obtain plaintext bidding data;
and the bid evaluation module 607 is used for evaluating bids according to the plaintext bidding data and completing electronic bidding.
The embodiment of the invention provides an electronic bidding device based on a block chain, which can operate the electronic bidding method based on the block chain, and the method comprises the following steps: obtaining a bid price input by a bidder; encrypting the bid price, and converting the encrypted bid price into a bid data packet; sending the bidding data packet to a bidding platform, and writing the bidding data packet slice into a block chain through the bidding platform; detecting whether an opening instruction exists in real time, and acquiring the bidding data packet from the block chain according to the opening instruction after the opening instruction is detected; and decrypting the bid data packet to obtain a bid price, and evaluating the bid according to the bid price. Through the device, the bid price is stored in the block chain, all participants can supervise the encrypted price information at low cost, and price modification of the bid platform and the bidder in the bid process can be effectively avoided.
Referring to fig. 7, another embodiment of the electronic bidding apparatus based on the block chain according to the embodiment of the present invention includes:
the acquiring module 601 is configured to acquire a bidding document file of a bidder and extract bidding data in the bidding document file;
the encryption module 602 is configured to encrypt the bid data and convert the encrypted bid data into a bid data packet;
a writing module 603, configured to cut the bid data packet according to a size of a storage block preset in a bidding platform through a data segmentation algorithm to obtain N bid data packet slices, and write the N bid data packet slices into a block chain of the bidding platform in sequence, where N is an integer greater than 2;
the detecting module 604 is configured to detect whether an opening instruction exists on the bidding platform in real time;
a reading module 605, configured to, when it is detected that a bid opening instruction exists on the bid inviting and bidding platform, read a corresponding bid data packet slice from a corresponding storage block in the block chain according to the bid opening instruction;
the decryption module 606 is used for splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data, and decrypting the ciphertext file to obtain plaintext bidding data;
and the bid evaluation module 607 is used for evaluating bids according to the plaintext bidding data and completing electronic bidding.
Optionally, the encryption module 602 is specifically configured to:
carrying out encryption calculation on the bid price in the bid data through a preset symmetric key encryption algorithm to obtain a price ciphertext;
carrying out Hash operation on the bid price to obtain a first Hash value of the bid price;
and generating a bid data packet according to the bid ciphertext and the first hash value.
Wherein the writing module 603 comprises:
a digital signature unit 6031, configured to encrypt the bid data package to obtain a digital signature;
a verification unit 6032 for verifying the digital signature and the bid data package;
a cutting unit 6033, configured to cut the bid data package according to the size of a storage block preset in the bid platform when the verification passes, so as to obtain N bid data package slices;
a storage unit 6034, configured to generate N storage blocks according to the digital signature and the bid data package slice, and link the storage blocks to a preset block chain.
Optionally, the digital signature unit 6031 is specifically configured to:
encrypting the bidding data packet according to a Hash algorithm to obtain a digital abstract;
and encrypting the digital abstract according to a preset private key encryption algorithm to obtain a digital signature.
Wherein the storage unit 6034 includes:
an initial block generation subunit 60341, which generates N initial storage blocks according to the digital signature and the bid data package slice;
an information determination subunit 60342, configured to determine a parent block of the initial storage block and corresponding parent block information, where the parent block includes the initial block and other blocks in the block chain;
a storage block generating subunit 60343, configured to generate N storage blocks according to the N initial storage blocks and the parent block information;
a link subunit 60344, configured to link the N storage blocks to the tail of the parent block in sequence.
Optionally, the storage block generation subunit 60343 is specifically configured to:
determining fields and field values of N initial storage blocks, and generating N data bodies according to the fields and the field values;
generating N data heads according to the parent block information of the parent block of the N initial storage blocks, and performing message summary calculation processing on the data body and the data heads to obtain block identifiers of the N storage blocks;
and combining the block identification with the corresponding data head and the corresponding data body to generate N storage blocks.
Optionally, the decryption module 606 is specifically configured to:
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data;
decrypting the ciphertext file according to a preset symmetric key to obtain a bid price and the first hash value;
carrying out Hash operation on the bid price obtained after decryption to obtain a second Hash value;
judging whether the first hash value is the same as the second hash value;
and if the two prices are the same, the decrypted bidding price is used as plaintext bidding data.
Embodiments of the present invention have been described in detail with reference to the above embodiments, wherein the functions of the modules, and the units in some of the modules, the bid price obtained by the obtaining module is encrypted by the encryption module and is converted into a bid data packet, the bidding data packet slices are written into the block chain through each unit and subunit in the writing module, whether a bid opening instruction exists is detected in real time through the reading unit, when a bid opening instruction is detected, the bid data packet is acquired from the block chain through a decryption unit, decrypting the bidding data packet to obtain the bidding price, evaluating the bidding according to the bidding price, through the device, the bid price is stored in the block chain, all participants can supervise the encrypted price information at low cost, and price modification of the bid platform and the bidder in the bid process can be effectively avoided.
Fig. 6 and fig. 7 illustrate the block chain-based electronic bidding apparatus in the embodiment of the present invention in detail from the perspective of the blocking functional entity, and the block chain-based electronic bidding apparatus in the embodiment of the present invention is illustrated in detail from the perspective of hardware processing.
Fig. 8 is a schematic structural diagram of a block chain-based electronic bidding device 800 according to an embodiment of the present invention, where the block chain-based electronic bidding device 800 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 810 (e.g., one or more processors) and a memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing an application 833 or data 832. Memory 820 and storage medium 830 may be, among other things, transient or persistent storage. The program stored in storage medium 830 may include one or more modules (not shown), each of which may include a series of instructions operating on block chain-based electronic bidding device 800. Still further, processor 810 may be configured to communicate with storage medium 830 to execute a series of instructional operations in storage medium 830 on blockchain-based electronic bidding device 800.
Block chain based electronic bidding apparatus 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input-output interfaces 860, and/or one or more operating systems 831, such as Windows Server, MacOSX, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that the block chain based electronic bidding device configuration shown in FIG. 8 does not constitute a limitation of the block chain based electronic bidding devices provided herein, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and which may also be a volatile computer readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to perform the steps of the blockchain-based electronic bidding method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A block chain-based electronic bidding method is characterized in that the block chain-based electronic bidding method comprises the following steps:
acquiring bidding documents of a bidder, and extracting bidding data in the bidding documents;
encrypting the bidding data, and converting the encrypted bidding data into a bidding data packet;
cutting the bidding data packet according to the size of a storage block preset in a bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform, wherein N is an integer greater than 2;
detecting whether an opening instruction exists on the bidding platform in real time;
if the bidding command exists, reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bidding command;
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data, and decrypting the ciphertext file to obtain plaintext bidding data;
and evaluating the bids according to the plaintext bidding data to complete the electronic bidding.
2. The method of claim 1, wherein the bid data comprises a bid price, and wherein encrypting the bid data and converting the encrypted bid data into a bid data package comprises:
carrying out encryption calculation on the bid price in the bid data through a preset symmetric key encryption algorithm to obtain a price ciphertext;
carrying out Hash operation on the bid price to obtain a first Hash value of the bid price;
and generating a bid data packet according to the bid ciphertext and the first hash value.
3. The electronic bidding method based on the block chain according to claim 1, wherein the step of segmenting the bidding data packet by a data segmentation algorithm according to a preset storage block size in a bidding platform to obtain N bidding data packet slices, and the step of sequentially writing the N bidding data packet slices into the block chain of the bidding platform comprises:
encrypting the bidding data packet to obtain a digital signature;
verifying the digital signature and the bid data package;
if the verification is passed, cutting the bidding data packet according to the size of a storage block preset in the bidding platform to obtain N bidding data packet slices;
and generating N storage blocks according to the digital signature and the bidding data packet slice, and linking the storage blocks to a preset block chain.
4. The method according to claim 3, wherein the encrypting the bid data package to obtain the digital signature comprises:
encrypting the bidding data packet according to a Hash algorithm to obtain a digital abstract;
and encrypting the digital abstract according to a preset private key encryption algorithm to obtain a digital signature.
5. The method of claim 3, wherein the generating N storage blocks according to the digital signature and the bidding data packet slice and linking the storage blocks to a preset block chain comprises:
generating N initial storage blocks according to the digital signature and the bidding data packet slice;
determining parent blocks of the initial storage blocks and corresponding parent block information, wherein the parent blocks comprise the initial blocks and other blocks in the block chain;
generating N storage blocks according to the N initial storage blocks and the parent block information;
and sequentially linking the N storage blocks to the tail part of the parent block.
6. The method according to claim 5, wherein the generating N blocks according to the N initial blocks and the parent block information comprises:
determining fields and field values of N initial storage blocks, and generating N data bodies according to the fields and the field values;
generating N data heads according to the parent block information of the parent block of the N initial storage blocks, and performing message summary calculation processing on the data body and the data heads to obtain block identifiers of the N storage blocks;
and combining the block identification with the corresponding data head and the corresponding data body to generate N storage blocks.
7. The block chain-based electronic bidding method according to claim 2, wherein the splicing of the read bidding data packet slices to obtain a ciphertext file of the bidding data and the decryption of the ciphertext file to obtain plaintext bidding data comprises:
splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data;
decrypting the ciphertext file according to a preset symmetric key to obtain a bid price and the first hash value;
carrying out Hash operation on the bid price obtained after decryption to obtain a second Hash value;
judging whether the first hash value is the same as the second hash value;
and if the two prices are the same, the decrypted bidding price is used as plaintext bidding data.
8. A block chain-based electronic bidding device, wherein the block chain-based electronic bidding device comprises:
the acquisition module is used for acquiring bidding documents of a bidder and extracting bidding data in the bidding documents;
the encryption module is used for encrypting the bidding data and converting the encrypted bidding data into a bidding data packet;
the writing module is used for cutting the bidding data packet according to the size of a storage block preset in the bidding platform through a data segmentation algorithm to obtain N bidding data packet slices, and sequentially writing the N bidding data packet slices into a block chain of the bidding platform, wherein N is an integer greater than 2;
the detection module is used for detecting whether the bid opening instruction exists on the bid inviting and bidding platform in real time;
the reading module is used for reading a corresponding bidding data packet slice from a corresponding storage block in the block chain according to the bid opening instruction when the bid opening instruction is detected to exist on the bid inviting and bidding platform;
the decryption module is used for splicing the read bidding data packet slices to obtain a ciphertext file of the bidding data and decrypting the ciphertext file to obtain plaintext bidding data;
and the bid evaluation module is used for evaluating bids according to the plaintext bid data and completing electronic bids.
9. A block chain-based electronic bidding device, wherein the block chain-based electronic bidding device comprises: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the block chain-based electronic bidding apparatus to perform the block chain-based electronic bidding method of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the block chain-based electronic bidding method according to any one of claims 1-7.
CN202010615505.4A 2020-06-30 Electronic bidding method, device, equipment and storage medium based on block chain Active CN111767582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010615505.4A CN111767582B (en) 2020-06-30 Electronic bidding method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010615505.4A CN111767582B (en) 2020-06-30 Electronic bidding method, device, equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN111767582A true CN111767582A (en) 2020-10-13
CN111767582B CN111767582B (en) 2024-06-04

Family

ID=

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254407A (en) * 2021-05-31 2021-08-13 上海万向区块链股份公司 Bid file storage method, system, medium and device based on block chain
CN113704794A (en) * 2021-09-02 2021-11-26 国泰新点软件股份有限公司 Bidding file processing method and device in electronic bidding system
CN114647862A (en) * 2022-05-23 2022-06-21 江西省精彩纵横采购咨询有限公司 Bidding processing method and user terminal
CN117541368A (en) * 2024-01-09 2024-02-09 中油物采信息技术有限公司 Bidding and bidding system and bidding and bid evaluation integrated bidding and bidding method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603233A (en) * 2017-01-04 2017-04-26 顾建明 Encryption and decryption method for remote bid opening type bidding system
CN109711191A (en) * 2018-12-20 2019-05-03 佛山市建宇工程招标代理有限公司 It invites and submit bids method and system
CN109918925A (en) * 2019-02-19 2019-06-21 上海泉坤信息科技有限公司 Date storage method, back end and storage medium
CN110097345A (en) * 2019-05-10 2019-08-06 广东工业大学 A kind of job Shop Management System system and method
CN110162984A (en) * 2019-05-05 2019-08-23 政采云有限公司 The method of calibration and system of electronic bidding data based on block chain
CN110532806A (en) * 2019-07-26 2019-12-03 深圳壹账通智能科技有限公司 Bidding documents management method, system and computer readable storage medium
CN110751544A (en) * 2019-10-18 2020-02-04 中国联合网络通信集团有限公司 Bidding information, supervision information and bid evaluation information processing method, terminal and system
CN110765211A (en) * 2019-11-06 2020-02-07 腾讯科技(深圳)有限公司 Engineering bid inviting management method, device, terminal and storage medium based on block chain
US20210021431A1 (en) * 2020-09-25 2021-01-21 Intel Corporation Methods, apparatus and systems to share compute resources among edge compute nodes using an overlay manager
CN116015619A (en) * 2022-11-07 2023-04-25 北京航空航天大学 Blockchain data sharing protocol with privacy protection and data availability

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603233A (en) * 2017-01-04 2017-04-26 顾建明 Encryption and decryption method for remote bid opening type bidding system
CN109711191A (en) * 2018-12-20 2019-05-03 佛山市建宇工程招标代理有限公司 It invites and submit bids method and system
CN109918925A (en) * 2019-02-19 2019-06-21 上海泉坤信息科技有限公司 Date storage method, back end and storage medium
CN110162984A (en) * 2019-05-05 2019-08-23 政采云有限公司 The method of calibration and system of electronic bidding data based on block chain
CN110097345A (en) * 2019-05-10 2019-08-06 广东工业大学 A kind of job Shop Management System system and method
CN110532806A (en) * 2019-07-26 2019-12-03 深圳壹账通智能科技有限公司 Bidding documents management method, system and computer readable storage medium
CN110751544A (en) * 2019-10-18 2020-02-04 中国联合网络通信集团有限公司 Bidding information, supervision information and bid evaluation information processing method, terminal and system
CN110765211A (en) * 2019-11-06 2020-02-07 腾讯科技(深圳)有限公司 Engineering bid inviting management method, device, terminal and storage medium based on block chain
US20210021431A1 (en) * 2020-09-25 2021-01-21 Intel Corporation Methods, apparatus and systems to share compute resources among edge compute nodes using an overlay manager
CN116015619A (en) * 2022-11-07 2023-04-25 北京航空航天大学 Blockchain data sharing protocol with privacy protection and data availability

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
VIKAS HASSIJA等: "DAGIoV: A Framework for Vehicle to Vehicle Communication Using Directed Acyclic Graph and Game Theory", 《 IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》, vol. 69, no. 4, 22 January 2020 (2020-01-22), pages 4182 - 4191, XP011783960, DOI: 10.1109/TVT.2020.2968494 *
公昊等: "区块链在招标投标领域的应用探讨", 《物流工程与管理》, vol. 42, no. 04, 15 April 2020 (2020-04-15), pages 145 - 146 *
孙国梓等: "基于区块链技术的电子数据存证系统", 《西安邮电大学学报》, vol. 23, no. 04, 10 July 2018 (2018-07-10), pages 78 - 83 *
李璐璐: "区块链技术在招标领域中的应用研究", 《工程经济》, vol. 28, no. 11, 20 November 2018 (2018-11-20), pages 68 - 72 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254407A (en) * 2021-05-31 2021-08-13 上海万向区块链股份公司 Bid file storage method, system, medium and device based on block chain
CN113254407B (en) * 2021-05-31 2023-05-26 上海万向区块链股份公司 Bid and tendered file storage method, system, medium and equipment based on block chain
CN113704794A (en) * 2021-09-02 2021-11-26 国泰新点软件股份有限公司 Bidding file processing method and device in electronic bidding system
CN113704794B (en) * 2021-09-02 2023-09-26 国泰新点软件股份有限公司 Bid file processing method and device in electronic bidding system
CN114647862A (en) * 2022-05-23 2022-06-21 江西省精彩纵横采购咨询有限公司 Bidding processing method and user terminal
CN117541368A (en) * 2024-01-09 2024-02-09 中油物采信息技术有限公司 Bidding and bidding system and bidding and bid evaluation integrated bidding and bidding method
CN117541368B (en) * 2024-01-09 2024-04-19 中油物采信息技术有限公司 Bidding and bidding system and bidding and bid evaluation integrated bidding and bidding method

Similar Documents

Publication Publication Date Title
CN109889504B (en) Decentralized data access right transaction method and system
CN107454114B (en) Auction method, server and readable storage medium
CN109347878B (en) Decentralized data verification and data security transaction system and method
ES2957843T3 (en) Verification of data processes in a network of computing resources
CN111914027B (en) Block chain transaction keyword searchable encryption method and system
US8782422B2 (en) System and method for authenticating documents
CN108650077B (en) Block chain based information transmission method, terminal, equipment and readable storage medium
US11133936B1 (en) Methods and systems for introducing self-contained intent functionality into decentralized computer networks
CN105007301A (en) Electronic evidence processing system and method based on social platform
CN113469716A (en) Product tracing method and system based on block chain and identification analysis
CN112257085A (en) Bidding processing method, system, equipment and medium based on block chain
CN111612458A (en) Method and device for processing block chain data and readable storage medium
CN115001715B (en) Intelligent encryption contract detection method based on block chain and terminal
JP4028304B2 (en) Electronic contract system
CN114647862A (en) Bidding processing method and user terminal
CN111291122A (en) Competitive bidding method and device based on block chain
CN113409144B (en) Blockchain data transaction method with privacy protection function
CN113704794A (en) Bidding file processing method and device in electronic bidding system
CN112017017A (en) Bidding method and system based on block chain
CN111767582B (en) Electronic bidding method, device, equipment and storage medium based on block chain
CN112308741A (en) Digital asset finance system
CN111767582A (en) Block chain-based electronic bidding method, device, equipment and storage medium
Chenli et al. Fairtrade: Efficient atomic exchange-based fair exchange protocol for digital data trading
CN109525747B (en) Picture uploading method, encryption and decryption method, device and system and electronic equipment
KR102494873B1 (en) Transaction execution device to implement a virtual machine based on a zero-knowledge proof circuit for general operation verification

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210209

Address after: Room 201, building a, No.1 Qianwan 1st Road, Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong Province (settled in Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: Shenzhen saiante Technology Service Co.,Ltd.

Address before: 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong 518000

Applicant before: Ping An International Smart City Technology Co.,Ltd.

GR01 Patent grant