CN116051172B - Data element auxiliary pricing method, device and system based on blockchain - Google Patents

Data element auxiliary pricing method, device and system based on blockchain Download PDF

Info

Publication number
CN116051172B
CN116051172B CN202310210588.2A CN202310210588A CN116051172B CN 116051172 B CN116051172 B CN 116051172B CN 202310210588 A CN202310210588 A CN 202310210588A CN 116051172 B CN116051172 B CN 116051172B
Authority
CN
China
Prior art keywords
data
supply data
demand
pricing
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310210588.2A
Other languages
Chinese (zh)
Other versions
CN116051172A (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.)
Tianju Dihe Suzhou Technology Co ltd
Original Assignee
Tianju Dihe Suzhou 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 Tianju Dihe Suzhou Technology Co ltd filed Critical Tianju Dihe Suzhou Technology Co ltd
Priority to CN202310210588.2A priority Critical patent/CN116051172B/en
Publication of CN116051172A publication Critical patent/CN116051172A/en
Application granted granted Critical
Publication of CN116051172B publication Critical patent/CN116051172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0206Price or cost determination based on market factors
    • 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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a data element auxiliary pricing method, device and system based on a blockchain, and relates to the technical field of blockchains. The method comprises the following steps: invoking a first smart contract to register metadata of current supply data onto a blockchain, calculating a cost price according to the metadata of the current supply data, calculating a relative price deviation according to the metadata of the current supply data, the metadata of the already-submitted supply data and the submitted price, and calculating a provider pricing according to the cost price and the relative price deviation; invoking a second intelligent contract to calculate a matching degree according to the metadata of the current demand data and the metadata of the registered supply data, and generating auxiliary information according to the matching degree, the provider pricing and the demand pricing; when a confirmation transaction sent by the data demand side or the data providing side is received, the updated provider pricing or the demand side pricing is stored on the blockchain as the transaction price of the registered supply data. This embodiment can improve the efficiency of matching.

Description

Data element auxiliary pricing method, device and system based on blockchain
Technical Field
The invention relates to the technical field of blockchains, in particular to a data element auxiliary pricing method, device and system based on blockchains.
Background
The data elements are data which can generate use value and economic benefit. The circulation of data elements between the data provider and the data demander is beneficial to fully releasing the value thereof. In the data circulation process, how to improve the matching efficiency of the data demand party and the data provider and promote the two parties to achieve the transaction becomes a concern of technicians
Currently, data consumers and data providers bid separately and conduct trade matching off-line to obtain trade prices agreed upon by both parties.
However, the method has low matching efficiency and matching success rate due to lack of basis for determining the bid.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a data element auxiliary pricing method, device and system based on blockchain, which can improve the matching efficiency and the matching success rate.
In a first aspect, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method, applied to a data circulation platform, including:
Receiving a first transaction sent by a data providing end; wherein the first transaction includes: metadata of the current provisioning data;
according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of the current supply data to the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored in the blockchain and the transaction price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data;
receiving a second transaction sent by a data demand terminal; wherein the second transaction includes: metadata of the current demand data;
according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information;
And when receiving a confirmation transaction sent by the data demand end for updated provider pricing or receiving a confirmation transaction sent by the data demand end for updated demand side pricing, storing the updated provider pricing or the updated demand side pricing as the transaction price of the registered supply data on the blockchain.
In a second aspect, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method, applied to a data providing end, including:
transmitting the first transaction to a data flow platform; wherein the first transaction includes: metadata of the current provisioning data;
acquiring auxiliary information from a blockchain, and providing the auxiliary information to a data provider so that the data provider updates provider pricing of the registered supply data according to the auxiliary information;
and providing the updated provider pricing to the data flow platform.
In a third aspect, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method, applied to a data demand end, including:
sending a second transaction to the data flow platform; wherein the second transaction includes: metadata of the current demand data;
Acquiring the matching degree of the current demand data and the registered supply data from a blockchain, and providing the matching degree for the data demand party so that the data demand party determines the pricing of the demand party of the registered supply data according to the matching degree;
sending a third transaction to the data flow platform; wherein the third transaction includes: the demand side pricing for the registered supply data;
and sending a confirmation transaction for updated provider pricing to the data circulation platform, or providing auxiliary information in the blockchain to the data demander so that the data demander updates the pricing of the registered supply data according to the auxiliary information, and providing the updated pricing of the demander to the data circulation platform.
In a fourth aspect, an embodiment of the present invention provides a data circulation platform, including:
the price calculating module is configured to receive a first transaction sent by the data providing end; wherein the first transaction includes: metadata of the current provisioning data; according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of the current supply data to the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored in the blockchain and the transaction price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data;
The auxiliary information generation module is configured to receive a second transaction sent by the data demand end; wherein the second transaction includes: metadata of the current demand data; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information;
and the matching module is configured to store the updated provider pricing or the updated demand pricing as the transaction price of the registered supply data onto the blockchain when receiving a confirmation transaction sent by the data demand side for the updated provider pricing or receiving a confirmation transaction sent by the data demand side for the updated demand side pricing.
In a fifth aspect, an embodiment of the present invention provides a data providing terminal, including:
a metadata providing module configured to send a first transaction to the data flow platform; wherein the first transaction includes: metadata of the current provisioning data;
an auxiliary information providing module configured to obtain auxiliary information from a blockchain, and provide the auxiliary information to a data provider, so that the data provider updates provider pricing of registered supply data according to the auxiliary information;
and the matching module is configured to provide the updated provider pricing to the data circulation platform.
In a sixth aspect, an embodiment of the present invention provides a data request end, including:
the demand release module is configured to send a second transaction to the data flow platform; wherein the second transaction includes: metadata of the current demand data;
a pricing module configured to obtain a degree of matching of current demand data and registered supply data from a blockchain, and to provide the degree of matching to the data demander, so that the data demander determines a demander pricing of the registered supply data according to the degree of matching; sending a third transaction to the data flow platform; wherein the third transaction includes: the demand side pricing for the registered supply data;
And the matching module is configured to send a confirmation transaction for updated provider pricing to the data circulation platform or provide auxiliary information in the blockchain to the data demander so that the data demander updates the pricing of the registered supply data according to the auxiliary information and provide the updated pricing of the demander to the data circulation platform.
In a seventh aspect, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing system, including: the data flow platform, the data providing end and the data demand end described in the above embodiments are described in the above embodiments.
In an eighth aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments above.
In a ninth aspect, embodiments of the present invention provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as in any of the embodiments described above.
One embodiment of the above invention has the following advantages or benefits: the cost price is calculated based on the metadata so that the cost price can reflect the storage cost, management cost, etc. brought by the attribute of the current supply data itself. Based on the metadata of the already-made supply data and the price of the deal, a relative price deviation is calculated so that the relative price deviation can reflect the difference in price of the deal caused by the difference in metadata. Therefore, the provider pricing can more comprehensively and accurately measure the value of the supply data by taking into account not only the self factors of the current supply data but also the differences between the current supply data and the already-agreed supply data. Considering that data has strong timeliness, a data demand party and a data provider can adjust provider pricing, the embodiment of the invention generates auxiliary information based on matching degree between data, demand party pricing and provider pricing, and the data provider or the data demand party can adjust the provider pricing and the demand party pricing according to the auxiliary information so as to promote faster achievement of transactions. At the same time, the demand pricing is determined by the data demand based on the match, helping to facilitate transactions faster.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart of a blockchain-based data element auxiliary pricing method applied to a data flow platform provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating the generation of a eigenvalue bitmap according to one embodiment of the present invention;
FIG. 3 is a schematic diagram of bitwise and operation of a eigenvalue bitmap provided by an embodiment of the present invention;
FIG. 4 is a flow chart of a blockchain-based data element auxiliary pricing method applied to a data provider provided by an embodiment of the present invention;
FIG. 5 is a flow chart of a blockchain-based data element auxiliary pricing method applied to a data demand side provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a data flow platform according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a data provider according to one embodiment of the present invention;
FIG. 8 is a schematic diagram of a data-demand side according to one embodiment of the present invention;
FIG. 9 is a schematic diagram of a blockchain-based data element auxiliary pricing system provided by an embodiment of the invention;
Fig. 10 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method applied to a data circulation platform, including:
step 101: receiving a first transaction sent by a data providing end; wherein the first transaction includes: metadata of the current provisioning data.
The data providing end is used by a data provider, the data demand end is used by a data demand end, and the data circulation platform runs in node equipment of the block chain.
For the supply data or the demand data, metadata thereof may include: any one or more of a class, an attribute, a data amount, an update time, a data format and a ciphertext of a characteristic value; the ciphertext of the characteristic value is calculated by the characteristic value through a secure hash algorithm or an asymmetric encryption algorithm; the category may be determined by the type of service or the area of service to which it belongs, e.g., internet of things, medical, etc.; the attributes are determined by the category, e.g., volume, credit, etc.
The characteristic values of the supply data are extracted from the supply data, and the characteristic values of the demand data are extracted from the demand data.
Step 102: according to a first transaction, a first smart contract deployed in a blockchain is invoked, and execution is performed through the first smart contract: the metadata of the current supply data is registered on the blockchain, and the cost price of the current supply data is calculated according to the metadata of the current supply data.
Step 103 is also performed by the first smart contract. After registering the metadata on the blockchain, the data flow platform determines data matching the demand data from the registered supply data.
In a practical application scenario, when metadata includes different contents, there may be a difference in a cost price calculation method, and for this, a detailed description will be given in the following embodiments. The cost price can reflect acquisition cost, storage cost, management cost and the like brought by the attribute of the current supply data.
Step 103: the relative price bias of the current supply data is calculated based on the metadata of the current supply data, the metadata of the already-submitted supply data stored on the blockchain, and the deal price, and the provider pricing of the current supply data is calculated based on the cost price and the relative price bias of the current supply data.
The relative price deviation can reflect the difference in the price of the deal caused by the difference in the metadata. The similarity of the current supply data and the already-made data may be calculated based on the metadata, and the relative price deviation may be calculated based on the similarity and the price of the already-made supply data. The similarity may be further divided into a lateral similarity and a longitudinal similarity, which will be further described in the following embodiments.
The provider pricing may be the sum of the cost price and the relative price deviation, or may set weights for the cost price and the relative price deviation, respectively, and the sum of the cost price and its weight and the relative price deviation and its weight is used as the provider pricing.
Step 104: receiving a second transaction sent by a data demand terminal; wherein the second transaction includes: metadata of the current demand data.
Step 105: according to a second transaction, invoking a second smart contract deployed in the blockchain, executing by the second smart contract: and calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data.
Metadata for one or more registered supply data may be stored in the blockchain, and if there are multiple, then the matching of the current demand data to each registered supply data needs to be calculated.
Step 106: when a third transaction sent by the data demand side for the matching degree and comprising the pricing of the demand side of the registered supply data is received, auxiliary information is generated according to the matching degree, the pricing of the provider of the registered supply data and the pricing of the demand side, and the auxiliary information is uploaded into the blockchain, so that the data supply side and/or the data demand side update the pricing of the provider and/or the pricing of the demand side of the registered supply data according to the auxiliary information.
The data consumers may obtain a match from the blockchain through the data consumers and determine consumer pricing for the registered supply data based on the match. The data demander or data provider can determine whether to adjust the demander pricing or provider pricing based on the assistance information, and if so, the adjustment magnitude based on the assistance information. The auxiliary information is used to characterize the degree of difference in the demand side pricing and the provider side pricing. When there are multiple registered offer data, the data demander can select a portion of the registered offer data and provide corresponding demander pricing in order of high-to-low matching.
Step 107: and when receiving a confirmation transaction sent by the data demand end aiming at the updated provider pricing or receiving a confirmation transaction sent by the data demand end aiming at the updated demand pricing, storing the updated provider pricing or the updated demand pricing as the transaction price of the registered supply data on the blockchain.
According to the embodiment of the invention, the cost price is calculated based on the metadata, so that the cost price can reflect the storage cost, the management cost and the like caused by the attribute of the current supply data. Based on the metadata of the already-made supply data and the price of the deal, a relative price deviation is calculated so that the relative price deviation can reflect the difference in price of the deal caused by the difference in metadata. Therefore, the provider pricing can more comprehensively and accurately measure the value of the supply data by taking into account not only the self factors of the current supply data but also the differences between the current supply data and the already-agreed supply data. Considering that data has strong timeliness, a data demand party and a data provider can adjust provider pricing, the embodiment of the invention generates auxiliary information based on matching degree between data, demand party pricing and provider pricing, and the data provider or the data demand party can adjust the provider pricing and the demand party pricing according to the auxiliary information so as to promote faster achievement of transactions. At the same time, the demand pricing is determined by the data demand based on the match, helping to facilitate transactions faster.
In one embodiment of the invention, the metadata includes: data volume, update time, and attributes;
Calculating the cost price of the current provisioning data according to the metadata of the current provisioning data, including:
and calculating the cost price of the current supply data according to the data quantity, the update time and the attribute of the current supply data.
The cost price can characterize any one or more of the acquisition cost, the management cost, and the storage cost of the data. For example, the cost price may be calculated based on the magnitude to which the data amount belongs, the number of attributes, and the duration of the update time interval at the current time. The specific calculation mode can be determined according to the actual service requirement.
In an actual application scenario, the cost price may also be calculated according to any one or more of the data volume, the update time and the attribute, or other parameters may be used to calculate the cost price.
In one embodiment of the invention, the metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price bias for the current supply data based on the metadata of the current supply data, the metadata of the already-rendered supply data stored on the blockchain, and the rendered price, comprising:
according to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
Calculating the longitudinal similarity between the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the horizontal similarity, the longitudinal similarity and the price of the completed supply data.
In order to protect the privacy security of data, the embodiment of the invention adopts the ciphertext of the characteristic value to calculate, thereby preventing the privacy data from being revealed.
The lateral similarity is used for representing the similarity between the attributes of the current supply data and the attributes of the already-submitted supply data under the same category. The longitudinal similarity is used for representing the similarity between the current supply data and the ciphertext of the characteristic value of the already-submitted supply data under the same category. The similarity between the data is measured by the dependence of the horizontal similarity and the longitudinal similarity and the two dimensions of the characteristic value, so that the obtained relative price deviation is more accurate.
Specifically, the relative price deviation may be calculated by the acquisition formula (1).
(1)
Wherein F is n For characterising the relative price deviation of the current supply data n, H n,m For characterising the lateral similarity of the current supply data n to the like already-agreed supply data m, V n,m For characterizing longitudinal similarity of current supply data n and similar already-intersected supply data m, P m For characterizing the price of a transaction for the offered data m of the transaction.
In one embodiment of the invention, the metadata further comprises: updating time;
calculating the relative price deviation of the current supply data according to the horizontal similarity, the longitudinal similarity and the price of the completed supply data, comprising:
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity, the exchange price and the updating time of the exchanged supply data and the updating time of the current supply data.
In the practical application scenario, besides the attribute and the characteristic value, the influence of the update time on the price can be considered. And calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity, the updating time and the exchange price of the exchanged supply data.
Specifically, the relative price deviation may be calculated using equation (2).
(2)
Wherein T is n Update time, T, for characterizing current provisioning data n m For characterizing the update time of the rendered offer data m.
The embodiment of the invention considers the influence of the attribute, the characteristic value and the update time on the price at the same time, further improves the accuracy of the relative price deviation, and enables the accuracy to truly reflect the difference degree of the current supply data and the registered supply data.
In one embodiment of the present invention, calculating the longitudinal similarity between the current supply data and the similar already-done supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-done supply data with the same type as the current supply data includes:
generating a characteristic value bitmap of the current supply data according to the ciphertext of the characteristic value of the current supply data;
generating a characteristic value bitmap of the rendered supply data according to the ciphertext of the characteristic value of the rendered supply data with the same type as the current supply data;
and carrying out bitwise and operation on the characteristic value bitmap of the current supply data and the characteristic value bitmap of the submitted supply data to obtain longitudinal similarity.
Specifically, a Bloom Filter algorithm may be employed to generate the eigenvalue bitmap. In the embodiment of the present invention, the feature value of the current supply data refers to a Key of a main Key of the current supply data, where the Key may be a single item, for example, an ID, or a combination of multiple items, for example, an ID and a mobile phone number. As shown in FIG. 2, K 11 、K 12 And K 13 For keys corresponding to three attributes in the data record 1, encrypting the 3 keys to obtain ciphertext H of the characteristic value 1 . Similarly, K n1 、K n2 And K n3 For keys corresponding to three attributes in the data record n, encrypting the 3 keys to obtain ciphertext H of the characteristic value n . Ciphertext H of characteristic value 1 、H i 、H n And obtaining values of three bits in the characteristic value bitmap through a Bloom Filter algorithm.
Bitwise and operation as shown in fig. 3, bitmap a is the eigenvalue bitmap of the current supplied data, bitmap B is the eigenvalue bitmap of the supplied data, bitmap C is the bitmap obtained by bitwise and operation. The longitudinal similarity may be the number of 1 s in the bitmap C.
By converting the ciphertext of the characteristic value into a bitmap form and calculating the longitudinal similarity, the calculation efficiency can be improved.
In one embodiment of the invention, the metadata includes: ciphertext of the characteristic value;
calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, comprising:
generating a characteristic value bitmap of the current demand data according to the ciphertext of the characteristic value of the current demand data;
generating a characteristic value bitmap of the registered supply data according to the ciphertext of the characteristic value of the registered supply data;
performing bitwise and operation on the characteristic value bitmap of the current demand data and the characteristic value bitmap of the registered supply data to obtain a result bitmap;
and determining the matching degree of the current demand data and the registered supply data according to the result bitmap.
The matching degree of the current demand data and the registered supply data, namely the similarity of the current demand data and the registered supply data, can be calculated by adopting the mode of calculating the longitudinal similarity. The matching degree may be a ratio of the number of 1 in the result bitmap to the number of 1 in the feature value bitmap of the current demand data.
According to the embodiment of the invention, the calculation efficiency of the matching degree can be improved. In the actual application scene, the matching degree of the current demand data and the registered supply data can be calculated by adopting information such as attributes in metadata.
In one embodiment of the present invention, after determining the matching degree of the current demand data and the registered supply data, the method further includes, before generating the auxiliary information:
when a fourth transaction sent by a data demand end is received, based on zero knowledge proof of a random bitmap, verifying whether the random bitmap is randomly generated, if so, obtaining a verification passing result, and verifying whether the random bitmap is generated by a current characteristic value corresponding to the random bitmap and fed back by a data supply end aiming at the verification passing result, if so, executing a third transaction which is sent by the data demand end aiming at the matching degree and comprises pricing of a demand party of registered supply data, and generating auxiliary information according to the matching degree, the pricing of the provider of the registered supply data and the pricing of the demand party;
The third transaction further includes: when the random bitmap is generated by the current characteristic value, the data demand end determines satisfaction according to the current characteristic value;
generating auxiliary information according to the matching degree, the provider pricing and the demander pricing of the registered supply data, including:
generating auxiliary information according to the matching degree, satisfaction degree, provider pricing and demander pricing of the registered supply data;
wherein the fourth transaction includes: zero knowledge proof of the random bitmap generated by the target result bitmap and the verifiable random function; the target result bitmap is obtained by bitwise and operation of the characteristic value bitmap of the target registered supply data and the characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a matching degree threshold value.
Zero knowledge proof is used to prove that the random bitmap is randomly generated. The data demand side may determine registered supply data that matches the current demand data based on a matching degree threshold.
The data flow platform executes a second intelligent contract to verify whether the random bitmap is randomly generated through zero knowledge proof, if so, the data flow platform acquires the characteristic value corresponding to the random bitmap in the supply data searched by the data providing end, verifies whether the characteristic value is matched with the random bitmap, and if so, the data demand end can acquire the characteristic value from the blockchain, and the data demand end can determine satisfaction according to the characteristic value. If the feature Value is Key, the data providing end can upload Key and Value corresponding to Key to the block chain together, so that the data demand end can acquire Key and Value corresponding to Key from the block chain, and satisfaction is determined based on Key and Value corresponding to Key.
Specifically, the auxiliary information may be generated using equation (3).
(3)
Wherein S is used for representing auxiliary information, G is used for representing matching degree of current demand data and registered supply data, K is used for representing satisfaction degree, and P 1 Requirements pricing for characterizing registered supply data, P 2 Provider pricing for characterizing registered data.
There are various ways of generating the auxiliary information, for example, it may also be generated based on the matching degree only, the provider pricing of the registered supply data, and the requester pricing. In the practical application scene, the randomness of the random bitmap is not verified, but the randomness verification can further improve the transaction security.
As shown in fig. 4, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method applied to a data providing end, including:
step 401: transmitting the first transaction to a data flow platform; wherein the first transaction includes: metadata of the current provisioning data.
The first transaction is to invoke a first smart contract deployed in the blockchain.
Step 402: auxiliary information is obtained from the blockchain and provided to the data provider to cause the data provider to update provider pricing for the registered offer data based on the auxiliary information.
Step 403: the updated provider pricing is provided to the data flow platform.
The data flow platform may upload updated provider pricing into the blockchain to facilitate the data demander in determining whether to adjust the demander pricing. According to the embodiment of the invention, the data provider can adjust the pricing of the provider according to the auxiliary information, so that the transaction is achieved more quickly.
In one embodiment of the invention, the method further comprises:
a confirmation transaction is sent to the data flow platform for updated demand pricing to characterize agreement of the data provider to the updated demand pricing transaction.
With embodiments of the present invention, the data provider may confirm the demand pricing to determine the final pricing of the supply data.
In one embodiment of the invention, the method further comprises:
acquiring a random bitmap corresponding to the verification passing result from the block chain;
and sending the current characteristic value corresponding to the random bitmap to the data flow platform.
The embodiment of the invention provides the current characteristic value for the data circulation platform so as to facilitate the data demander to verify whether the data of the data provider meets the self requirement.
As shown in fig. 5, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing method applied to a data demand end, including:
Step 501: sending a second transaction to the data flow platform; wherein the second transaction includes: metadata of the current demand data.
Step 502: the matching degree of the current demand data and the registered supply data is obtained from the blockchain, and the matching degree is provided for the data demand party, so that the data demand party determines the pricing of the demand party of the registered supply data according to the matching degree.
Specifically, only a degree of matching greater than the threshold degree of matching may be provided to the data demander.
Step 503: transmitting a third transaction to the data flow platform; wherein the third transaction includes: the demand side of the registered provisioning data is priced.
Step 504: and sending a confirmation transaction for the updated provider pricing to the data circulation platform, or providing auxiliary information in the blockchain to the data demand party so that the data demand party updates the demand party pricing of the registered supply data according to the auxiliary information, and providing the updated demand party pricing to the data circulation platform.
According to the embodiment of the invention, the data provider or the data demander can adjust the pricing of the provider or the pricing of the demander according to the auxiliary information so as to promote the trade to be achieved as soon as possible.
In one embodiment of the invention, the method further comprises:
Obtaining a target result bitmap from a blockchain; the target result bitmap is obtained by performing bitwise operation on the characteristic value bitmap of the target registered supply data and the characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a preset matching degree threshold value;
generating a random bitmap according to the verifiable random function and the target result bitmap;
generating a zero knowledge proof of a random bitmap;
transmitting a fourth transaction to the data flow platform so that the data flow platform verifies the random bitmap; wherein the fourth transaction includes: random bitmap and zero knowledge proof;
when the verification is passed, acquiring a current characteristic value for generating a random bitmap from the block chain;
and determining the satisfaction degree of the data demand party according to the current characteristic value.
Specifically, assuming that the target result bitmap is the bitmap C shown in fig. 3, any one bit 1 in the bitmap may be changed to 0 according to the verifiable random function, so as to obtain a random bitmap.
According to the embodiment of the invention, the random bitmap is generated, and the sampling test is carried out on the supply data of the data provider so as to verify whether the supply data meets the requirement of the data demander, so that the obtained satisfaction degree and auxiliary information are closer to the actual situation, and the transaction matching efficiency is improved.
As shown in fig. 6, an embodiment of the present invention provides a data circulation platform, including:
a price calculating module 601 configured to receive a first transaction sent by a data provider; wherein the first transaction includes: metadata of the current provisioning data; according to a first transaction, a first smart contract deployed in a blockchain is invoked, and execution is performed through the first smart contract: registering metadata of the current supply data on the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-made supply data stored on the blockchain and the price of the already-made supply data, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data;
the auxiliary information generating module 602 is configured to receive a second transaction sent by the data demand end; wherein the second transaction includes: metadata of the current demand data; according to a second transaction, invoking a second smart contract deployed in the blockchain, executing by the second smart contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information to a block chain so that the data providing end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information;
The matching module 603 is configured to store the updated provider pricing or the updated demand pricing as a transaction price of the registered supply data onto the blockchain when receiving a confirmation transaction sent by the data demand side for the updated provider pricing or receiving a confirmation transaction sent by the data supply side for the updated demand side pricing.
In one embodiment of the invention, the metadata includes: data volume, update time, and attributes;
the price calculating module 601 is configured to calculate a cost price of the current supply data according to the data amount, the update time and the attribute of the current supply data.
In one embodiment of the invention, the metadata includes: ciphertext of category, attribute and characteristic value; a price calculating module 601 configured to calculate a lateral similarity between the current supply data and the similar already-done supply data according to the attribute of the current supply data and the attribute of the already-done supply data of the same type as the current supply data; calculating the longitudinal similarity between the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data; and calculating the relative price deviation of the current supply data according to the horizontal similarity, the longitudinal similarity and the price of the completed supply data.
In one embodiment of the present invention, the price computing module 601 is configured to generate a feature value bitmap of the current supply data according to ciphertext of the feature value of the current supply data; generating a characteristic value bitmap of the rendered supply data according to the ciphertext of the characteristic value of the rendered supply data with the same type as the current supply data; and carrying out bitwise and operation on the characteristic value bitmap of the current supply data and the characteristic value bitmap of the submitted supply data to obtain longitudinal similarity.
In one embodiment of the invention, the metadata further comprises: updating time; the price calculating module 601 is configured to calculate a relative price deviation of the current supply data according to the lateral similarity, the longitudinal similarity, the price and the update time of the already-done supply data, and the update time of the current supply data.
In one embodiment of the invention, the metadata includes: ciphertext of the characteristic value; the auxiliary information generating module 602 is configured to generate a feature value bitmap of the current demand data according to the ciphertext of the feature value of the current demand data; generating a characteristic value bitmap of the registered supply data according to the ciphertext of the characteristic value of the registered supply data; performing bitwise and operation on the characteristic value bitmap of the current demand data and the characteristic value bitmap of the registered supply data to obtain a result bitmap; and determining the matching degree of the current demand data and the registered supply data according to the result bitmap.
In one embodiment of the present invention, the auxiliary information generating module 602 is configured to, when receiving the fourth transaction sent by the data demand end, verify whether the random bitmap is randomly generated based on zero knowledge proof of the random bitmap, if so, obtain a verification passing result, and verify whether the random bitmap is generated by the current feature value for the current feature value corresponding to the random bitmap fed back by the received data providing end according to the verification passing result, if so, execute a third transaction including pricing of the registered suppliers of the supplied data sent by the data demand end according to the matching degree, and generate auxiliary information according to the supplier pricing and the desiring party pricing of the registered supplied data;
the third transaction further includes: when the random bitmap is generated by the current characteristic value, the data demand end determines satisfaction according to the current characteristic value;
an auxiliary information generation module 602 configured to generate auxiliary information according to the degree of matching, the degree of satisfaction, the provider pricing and the requester pricing of the registered supply data;
wherein the fourth transaction includes: zero knowledge proof of the random bitmap generated by the target result bitmap and the verifiable random function; the target result bitmap is obtained by bitwise and operation of the characteristic value bitmap of the target registered supply data and the characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a matching degree threshold value.
As shown in fig. 7, an embodiment of the present invention provides a data providing terminal, including:
a metadata providing module 701 configured to send a first transaction to a data flow platform; wherein the first transaction includes: metadata of the current provisioning data;
an auxiliary information providing module 702 configured to obtain auxiliary information from the blockchain and provide the auxiliary information to the data provider to cause the data provider to update provider pricing of the registered provisioning data based on the auxiliary information;
a matching module 703 is configured to provide updated provider pricing to the data flow platform.
In one embodiment of the invention, the matching module 703 is configured to send a confirmation transaction for updated demand pricing to the data flow platform to characterize the agreement of the data provider to the updated demand pricing transaction.
In one embodiment of the present invention, the auxiliary information providing module 702 is configured to obtain a random bitmap corresponding to a verification passing result from the blockchain; and sending the current characteristic value corresponding to the random bitmap to the data flow platform.
As shown in fig. 8, an embodiment of the present invention provides a data request end, including:
a demand issuance module 801 configured to send a second transaction to the data flow platform; wherein the second transaction includes: metadata of the current demand data;
A pricing module 802 configured to obtain a matching degree of the current demand data and the registered supply data from the blockchain, and provide the matching degree to the data demander, so that the data demander determines a demander pricing of the registered supply data according to the matching degree; transmitting a third transaction to the data flow platform; wherein the third transaction includes: demand side pricing of registered supply data;
the matching module 803 is configured to send a confirmation transaction for the updated provider pricing to the data circulation platform, or provide the auxiliary information in the blockchain to the data demander, so that the data demander updates the demander pricing of the registered supply data according to the auxiliary information, and provide the updated demander pricing to the data circulation platform.
In one embodiment of the invention, a pricing module 802 is configured to obtain a target result bitmap from a blockchain; the target result bitmap is obtained by performing bitwise operation on the characteristic value bitmap of the target registered supply data and the characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a preset matching degree threshold value; generating a random bitmap according to the verifiable random function and the target result bitmap; generating a zero knowledge proof of a random bitmap; transmitting a fourth transaction to the data flow platform so that the data flow platform verifies the random bitmap; wherein the fourth transaction includes: random bitmap and zero knowledge proof; when the verification is passed, acquiring a current characteristic value for generating a random bitmap from the block chain; and determining the satisfaction degree of the data demand party according to the current characteristic value.
As shown in FIG. 9, an embodiment of the present invention provides a blockchain-based data element auxiliary pricing system, comprising: the data flow platform 901 of any of the above embodiments, the data providing end 902 of any of the above embodiments, and the data requesting end 903 of any of the above embodiments.
The embodiment of the invention provides electronic equipment, which comprises:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
The present invention provides a computer readable medium having stored thereon a computer program which when executed by a processor implements a method as in any of the embodiments described above.
Referring now to FIG. 10, there is illustrated a schematic diagram of a computer system 1000 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 10 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU) 1001, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU1001, ROM 1002, and RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk or the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The drive 1010 is also connected to the I/O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in the drive 1010, so that a computer program read out therefrom is installed as needed in the storage section 1008.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1009, and/or installed from the removable medium 1011. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 1001.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a sending module, an obtaining module, a determining module, and a first processing module. The names of these modules do not in some cases limit the module itself, and for example, the transmitting module may also be described as "a module that transmits a picture acquisition request to a connected server".
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (17)

1. A blockchain-based data element auxiliary pricing method, applied to a data flow platform, comprising:
receiving a first transaction sent by a data providing end; wherein the first transaction includes: metadata of the current provisioning data;
according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of the current supply data to the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored in the blockchain and the transaction price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data;
Receiving a second transaction sent by a data demand terminal; wherein the second transaction includes: metadata of the current demand data;
according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information;
when receiving a confirmation transaction sent by the data demand end for updated provider pricing or receiving a confirmation transaction sent by the data demand end for updated demand side pricing, storing the updated provider pricing or the updated demand side pricing as a delivery price of the registered supply data onto the blockchain;
The metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
according to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
2. The method of claim 1, wherein,
the metadata includes: data volume, update time, and attributes;
calculating a cost price of the current provisioning data according to the metadata of the current provisioning data, including:
And calculating the cost price of the current supply data according to the data quantity, the update time and the attribute of the current supply data.
3. The method of claim 1, wherein,
according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the transacted supply data with the same type as the current supply data, calculating the longitudinal similarity of the current supply data and the transacted supply data of the same type comprises the following steps:
generating a characteristic value bitmap of the current supply data according to the ciphertext of the characteristic value of the current supply data;
generating a characteristic value bitmap of the transacted supply data according to the ciphertext of the characteristic value of the transacted supply data with the same type as the current supply data;
and carrying out bitwise and operation on the characteristic value bitmap of the current supply data and the characteristic value bitmap of the submitted supply data to obtain the longitudinal similarity.
4. The method of claim 1, wherein,
the metadata further includes: updating time;
calculating a relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the price of the already-received supply data, wherein the method comprises the following steps:
And calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity, the exchange price and the updating time of the exchanged supply data and the updating time of the current supply data.
5. The method of claim 1, wherein,
the metadata includes: ciphertext of the characteristic value;
according to the metadata of the current demand data and the metadata of the registered supply data, calculating the matching degree of the current demand data and the registered supply data comprises the following steps:
generating a characteristic value bitmap of the current demand data according to the ciphertext of the characteristic value of the current demand data;
generating a characteristic value bitmap of the registered supply data according to the ciphertext of the characteristic value of the registered supply data;
performing bitwise and operation on the characteristic value bitmap of the current demand data and the characteristic value bitmap of the registered supply data to obtain a result bitmap;
and determining the matching degree of the current demand data and the registered supply data according to the result bitmap.
6. The method of claim 5, wherein,
after determining the matching degree of the current demand data and the registered supply data, before generating auxiliary information, further comprising:
When a fourth transaction sent by the data demand end is received, verifying whether the random bitmap is randomly generated based on zero knowledge proof of the random bitmap, if so, obtaining a verification passing result, receiving a current characteristic value which is fed back by the data supply end aiming at the verification passing result and corresponds to the random bitmap, verifying whether the random bitmap is generated by the current characteristic value, and if so, executing third transaction which is sent by the data demand end aiming at the matching degree and comprises pricing of a demand party of the registered supply data, and generating auxiliary information according to the matching degree, the pricing of a provider of the registered supply data and the pricing of the demand party;
the third transaction further includes: when the random bitmap is generated by the current characteristic value, the data demand terminal determines satisfaction according to the current characteristic value;
the generating auxiliary information according to the matching degree, the provider pricing and the demander pricing of the registered supply data comprises the following steps:
generating the auxiliary information according to the matching degree, the satisfaction degree, the provider pricing and the demander pricing of the registered supply data;
Wherein the fourth transaction includes: a zero knowledge proof of the random bitmap generated by the target result bitmap and the verifiable random function; the target result bitmap is obtained by bitwise and operation of a characteristic value bitmap of the target registered supply data and a characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a matching degree threshold value.
7. A blockchain-based data element auxiliary pricing method, applied to a data providing end, comprising:
transmitting a first transaction to a data flow platform to cause the data flow platform to perform: according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of current supply data on the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored on the blockchain and the submitted price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data; receiving a second transaction sent by a data demand terminal; wherein the second transaction includes: metadata of the current demand data; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information; wherein the first transaction includes: metadata of the current provisioning data;
Acquiring auxiliary information from a blockchain, and providing the auxiliary information to a data provider so that the data provider updates provider pricing of registered supply data according to the auxiliary information;
providing the updated provider pricing to the data flow platform, such that the data flow platform stores the updated provider pricing or the updated demand pricing as a delivery price for the registered supply data onto the blockchain when receiving a confirmation transaction sent by the data demand side for the updated provider pricing or receiving a confirmation transaction sent by the data demand side for the updated demand side pricing;
the metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
according to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
Calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
8. The method as recited in claim 7, further comprising:
and sending a confirmation transaction for updated demand side pricing to the data flow platform to characterize agreement of the data provider to the updated demand side pricing transaction.
9. The method as recited in claim 7 or 8, further comprising:
acquiring a random bitmap corresponding to the verification passing result from the blockchain;
and sending the current characteristic value corresponding to the random bitmap to the data flow platform.
10. A blockchain-based data element auxiliary pricing method, applied to a data demand end, comprising:
sending a second transaction to the data flow platform; the data flow platform is used for executing: receiving a first transaction sent by a data providing end; according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of current supply data on the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored on the blockchain and the submitted price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data; receiving a second transaction sent by a data demand terminal; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the pricing of the demand side of the registered supply data is received, generating auxiliary information according to the matching degree, the pricing of the provider of the registered supply data and the pricing of the demand side, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the pricing of the provider and/or the pricing of the demand side of the registered supply data according to the auxiliary information; when receiving a confirmation transaction sent by the data demand end for updated provider pricing or receiving a confirmation transaction sent by the data demand end for updated demand side pricing, storing the updated provider pricing or the updated demand side pricing as a delivery price of the registered supply data onto the blockchain;
Wherein the first transaction includes: metadata of the current provisioning data;
the second transaction includes: metadata of the current demand data;
acquiring the matching degree of current demand data and registered supply data from a blockchain, and providing the matching degree for the data demand party so that the data demand party determines the pricing of the demand party of the registered supply data according to the matching degree;
sending a third transaction to the data flow platform; wherein the third transaction includes: the demand side pricing for the registered supply data;
transmitting a confirmation transaction for updated provider pricing to the data flow platform or providing auxiliary information in the blockchain to the data demander so that the data demander updates the demander pricing of the registered supply data according to the auxiliary information and provides the updated demander pricing to the data flow platform;
the metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
According to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
11. The method as recited in claim 10, further comprising:
obtaining a target result bitmap from the blockchain; the target result bitmap is obtained by performing bitwise and operation on a characteristic value bitmap of the target registered supply data and a characteristic value bitmap of the current demand data, and the matching degree of the target registered supply data and the current demand data is larger than a preset matching degree threshold value;
generating a random bitmap according to the verifiable random function and the target result bitmap;
Generating a zero knowledge proof of the random bitmap;
sending a fourth transaction to the data flow platform so that the data flow platform verifies the random bitmap; wherein the fourth transaction includes: the random bitmap and the zero knowledge proof;
when the verification is passed, acquiring a current characteristic value for generating the random bitmap from the blockchain;
and determining the satisfaction degree of the data requiring party according to the current characteristic value.
12. A data flow platform, comprising:
the price calculating module is configured to receive a first transaction sent by the data providing end; wherein the first transaction includes: metadata of the current provisioning data; according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of the current supply data to the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored in the blockchain and the transaction price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data;
The auxiliary information generation module is configured to receive a second transaction sent by the data demand end; wherein the second transaction includes: metadata of the current demand data; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information;
a matching module configured to store the updated provider pricing or the updated demand pricing as a transaction price of the registered supply data onto the blockchain when a confirmation transaction sent by the data demand side for the updated provider pricing is received or a confirmation transaction sent by the data demand side for the updated demand pricing is received;
The metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
according to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
13. A data providing terminal, comprising:
a metadata providing module configured to send a first transaction to a data flow platform to cause the data flow platform to perform: according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of current supply data on the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored on the blockchain and the submitted price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data; receiving a second transaction sent by a data demand terminal; wherein the second transaction includes: metadata of the current demand data; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, generating auxiliary information according to the matching degree, the provider pricing and the demand pricing of the registered supply data when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the demand pricing of the registered supply data is received, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the provider pricing and/or the demand pricing of the registered supply data according to the auxiliary information; wherein the first transaction includes: metadata of the current provisioning data;
An auxiliary information providing module configured to obtain auxiliary information from a blockchain, and provide the auxiliary information to a data provider, so that the data provider updates provider pricing of registered supply data according to the auxiliary information;
a matching module configured to provide the updated provider pricing to the data flow platform, such that the data flow platform stores the updated provider pricing or the updated demand pricing as a transaction price for the registered supply data onto the blockchain when receiving a confirmation transaction sent by the data demand side for the updated provider pricing or a confirmation transaction sent by the data demand side for the updated demand side pricing;
the metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
according to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
Calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
14. A data-requiring terminal, comprising:
the demand release module is configured to send a second transaction to the data flow platform; the data flow platform is used for executing: receiving a first transaction sent by a data providing end; according to the first transaction, a first intelligent contract deployed in a blockchain is called, and the first intelligent contract is executed: registering metadata of current supply data on the blockchain, calculating a cost price of the current supply data according to the metadata of the current supply data, calculating a relative price deviation of the current supply data according to the metadata of the current supply data, the metadata of the already-submitted supply data stored on the blockchain and the submitted price, and calculating a provider pricing of the current supply data according to the cost price and the relative price deviation of the current supply data; receiving a second transaction sent by a data demand terminal; according to the second transaction, a second intelligent contract deployed in the blockchain is called, and execution is carried out through the second intelligent contract: calculating the matching degree of the current demand data and the registered supply data according to the metadata of the current demand data and the metadata of the registered supply data, when a third transaction which is sent by the data demand end aiming at the matching degree and comprises the pricing of the demand side of the registered supply data is received, generating auxiliary information according to the matching degree, the pricing of the provider of the registered supply data and the pricing of the demand side, and uploading the auxiliary information into the blockchain so that the data supply end and/or the data demand end update the pricing of the provider and/or the pricing of the demand side of the registered supply data according to the auxiliary information; when receiving a confirmation transaction sent by the data demand end for updated provider pricing or receiving a confirmation transaction sent by the data demand end for updated demand side pricing, storing the updated provider pricing or the updated demand side pricing as a delivery price of the registered supply data onto the blockchain;
Wherein the second transaction includes: metadata of the current demand data;
a pricing module configured to obtain a degree of matching of current demand data and registered supply data from a blockchain, and to provide the degree of matching to the data demander, so that the data demander determines a demander pricing of the registered supply data according to the degree of matching; sending a third transaction to the data flow platform; wherein the third transaction includes: the demand side pricing for the registered supply data;
a matching module configured to send a confirmation transaction for updated provider pricing to the data flow platform or to provide auxiliary information in the blockchain to the data demander to cause the data demander to update the demander pricing for the registered supply data according to the auxiliary information and to provide the updated demander pricing to the data flow platform;
the metadata includes: ciphertext of category, attribute and characteristic value;
calculating a relative price deviation of the current supply data based on metadata of the current supply data, metadata of the already-rendered supply data stored on the blockchain, and a rendering price, comprising:
According to the attribute of the current supply data and the attribute of the transacted supply data with the same type as the current supply data, calculating the transverse similarity between the current supply data and the transacted supply data of the same type;
calculating the longitudinal similarity of the current supply data and the similar already-submitted supply data according to the ciphertext of the characteristic value of the current supply data and the ciphertext of the characteristic value of the already-submitted supply data with the same type as the current supply data;
and calculating the relative price deviation of the current supply data according to the transverse similarity, the longitudinal similarity and the exchange price of the exchanged supply data.
15. A blockchain-based data element auxiliary pricing system, comprising: the data flow platform of claim 12, the data providing end of claim 13, and the data requiring end of claim 14.
16. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-11.
17. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-11.
CN202310210588.2A 2023-03-07 2023-03-07 Data element auxiliary pricing method, device and system based on blockchain Active CN116051172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310210588.2A CN116051172B (en) 2023-03-07 2023-03-07 Data element auxiliary pricing method, device and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310210588.2A CN116051172B (en) 2023-03-07 2023-03-07 Data element auxiliary pricing method, device and system based on blockchain

Publications (2)

Publication Number Publication Date
CN116051172A CN116051172A (en) 2023-05-02
CN116051172B true CN116051172B (en) 2023-08-08

Family

ID=86123952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310210588.2A Active CN116051172B (en) 2023-03-07 2023-03-07 Data element auxiliary pricing method, device and system based on blockchain

Country Status (1)

Country Link
CN (1) CN116051172B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805602A (en) * 2018-04-03 2018-11-13 朱志强 A kind of reverse pricing method of buyer based on block chain and system
CN109741181A (en) * 2018-12-29 2019-05-10 南京荣链科技有限公司 A kind of transaction match method, system, server and medium based on intelligent contract
CN110264347A (en) * 2019-05-06 2019-09-20 上海数据交易中心有限公司 Data trade method and device, platform are brought together automatically based on demand publication
WO2020115529A1 (en) * 2018-12-05 2020-06-11 Rudzika Kestutis Method for implementing transfer pricing using blockchain
CN111402050A (en) * 2020-03-11 2020-07-10 北京价值互联科技有限公司 Center-removing matching method and system based on block chain
CN111461717A (en) * 2020-04-03 2020-07-28 北京达龙上东文化艺术传播有限责任公司 Bulk commodity transaction method, system, equipment and readable storage medium
CN111507696A (en) * 2020-04-10 2020-08-07 杭州能链科技有限公司 Block chain-based power transaction method and device and storage medium
CN113657972A (en) * 2021-08-31 2021-11-16 卓尔智联(武汉)研究院有限公司 Article transaction method based on block chain, computer device and storage medium
CN114358947A (en) * 2022-01-13 2022-04-15 支付宝(杭州)信息技术有限公司 Block chain based pricing method and device
CN114418630A (en) * 2022-01-04 2022-04-29 浙江数秦科技有限公司 Green certificate transaction pricing method based on intelligent contract
WO2022171189A1 (en) * 2021-02-10 2022-08-18 中国人民银行数字货币研究所 Registration and execution methods and apparatuses of timed smart contract in blockchain
CN115186304A (en) * 2022-09-13 2022-10-14 天聚地合(苏州)科技股份有限公司 Transaction data verification method and system based on block chain
CN115203749A (en) * 2022-09-16 2022-10-18 天聚地合(苏州)科技股份有限公司 Data transaction method and system based on block chain
CN115358825A (en) * 2022-08-26 2022-11-18 中国长江三峡集团有限公司 Matching transaction method and system based on block chain prediction machine
CN115526634A (en) * 2022-11-21 2022-12-27 北京共识数信科技有限公司 Intelligent cross-chain interaction method and system based on block chain and storage medium
CN115618430A (en) * 2022-12-16 2023-01-17 天聚地合(苏州)科技股份有限公司 Block chain-based data provider determination method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11138597B2 (en) * 2018-11-27 2021-10-05 Advanced New Technologies Co., Ltd. System and method for improving security of smart contract on blockchain

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805602A (en) * 2018-04-03 2018-11-13 朱志强 A kind of reverse pricing method of buyer based on block chain and system
WO2020115529A1 (en) * 2018-12-05 2020-06-11 Rudzika Kestutis Method for implementing transfer pricing using blockchain
CN109741181A (en) * 2018-12-29 2019-05-10 南京荣链科技有限公司 A kind of transaction match method, system, server and medium based on intelligent contract
CN110264347A (en) * 2019-05-06 2019-09-20 上海数据交易中心有限公司 Data trade method and device, platform are brought together automatically based on demand publication
CN111402050A (en) * 2020-03-11 2020-07-10 北京价值互联科技有限公司 Center-removing matching method and system based on block chain
CN111461717A (en) * 2020-04-03 2020-07-28 北京达龙上东文化艺术传播有限责任公司 Bulk commodity transaction method, system, equipment and readable storage medium
CN111507696A (en) * 2020-04-10 2020-08-07 杭州能链科技有限公司 Block chain-based power transaction method and device and storage medium
WO2022171189A1 (en) * 2021-02-10 2022-08-18 中国人民银行数字货币研究所 Registration and execution methods and apparatuses of timed smart contract in blockchain
CN113657972A (en) * 2021-08-31 2021-11-16 卓尔智联(武汉)研究院有限公司 Article transaction method based on block chain, computer device and storage medium
CN114418630A (en) * 2022-01-04 2022-04-29 浙江数秦科技有限公司 Green certificate transaction pricing method based on intelligent contract
CN114358947A (en) * 2022-01-13 2022-04-15 支付宝(杭州)信息技术有限公司 Block chain based pricing method and device
CN115358825A (en) * 2022-08-26 2022-11-18 中国长江三峡集团有限公司 Matching transaction method and system based on block chain prediction machine
CN115186304A (en) * 2022-09-13 2022-10-14 天聚地合(苏州)科技股份有限公司 Transaction data verification method and system based on block chain
CN115203749A (en) * 2022-09-16 2022-10-18 天聚地合(苏州)科技股份有限公司 Data transaction method and system based on block chain
CN115526634A (en) * 2022-11-21 2022-12-27 北京共识数信科技有限公司 Intelligent cross-chain interaction method and system based on block chain and storage medium
CN115618430A (en) * 2022-12-16 2023-01-17 天聚地合(苏州)科技股份有限公司 Block chain-based data provider determination method and system

Also Published As

Publication number Publication date
CN116051172A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
WO2020024995A1 (en) Privacy transaction method and system, and device
CA2943562C (en) Real time virtual draft system and method
KR20210089682A (en) Zero-knowledge proof payment using blockchain
US20110131102A1 (en) Secure mobile payment processing
US11133936B1 (en) Methods and systems for introducing self-contained intent functionality into decentralized computer networks
WO2022120886A1 (en) Commodity transaction method and apparatus, computer device, storage medium, and system
CN111553792A (en) Data verification method and device based on block chain
US20220052921A1 (en) Methods and systems for introducing self-contained intent functionality into decentralized computer networks
CN115203749B (en) Data transaction method and system based on block chain
US20230162196A1 (en) Secure multi-factor tokenization-based sub-cryptocurrency payment platform
CN111815308A (en) Trade data processing method based on block chain and related equipment thereof
CN114096978A (en) Digital asset management system and method
CN111192147A (en) Block chain-based fund checking method and device, electronic equipment and medium
CN113177822A (en) Cross-border e-commerce multi-channel order management method, system and equipment
CN116257589A (en) Transaction data processing method, system, device, electronic equipment and storage medium
CN111861462B (en) Financial product transaction method and device based on blockchain
KR20200000595A (en) Blockchain based certificate management method and device, server and system thereof
CN116051172B (en) Data element auxiliary pricing method, device and system based on blockchain
US20200242573A1 (en) Cryptographic transactions supporting real world requirements
CN110473108B (en) Method and device for generating contracts based on block chain
CN110751467B (en) Digital currency generation method and system
CN111402029B (en) Intelligent evaluation method and device based on blockchain and knowledge federation
US10972349B1 (en) Cryptographic verification of data inputs for executables on a network
KR102469685B1 (en) Online trading system and method of stock automatic trading algorithm using block-chain technology
CN108898446B (en) Method and apparatus for outputting information

Legal Events

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