Data sharing method and device based on block chain, equipment and medium
By adopting blockchain technology on the data sharing platform, determining the value of data and implementing incentive mechanisms, manufacturing enterprises are solved inadequate willingness to share data and concerns about data security, and effective sharing of high-quality data and a fair and just data environment are achieved.
Patent Information
- Application Number
- CN202510110250.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-06-10
Smart Images

Figure CN120124095A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data sharing, and in particular, to a data sharing method, device, equipment and medium based on blockchain. Background Art
[0002] Effective data sharing can promote resource integration, reduce costs, and improve production efficiency, etc. At present, various fields are exploring implementation solutions for data sharing. Taking the manufacturing industry as an example, the integration, sharing, development and utilization of quality big data resources can effectively solve the problems and urgent needs faced by the upgrading of the quality management ability and the improvement of product quality in the manufacturing industry, and thus achieve "targeted treatment". However, in the process of building a quality big data sharing platform, manufacturing enterprises are not willing to share their own data, believing that sharing data is unfair and there is a risk of providing false or even malicious data. Therefore, how to promote the sharing of more high-quality data has become a technical problem to be solved urgently. Summary of the Invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present invention provides a data sharing method, device, equipment and medium based on blockchain.
[0004] In a first aspect, the present invention provides a data sharing method based on blockchain, which is applied to a data sharing platform based on blockchain. The method includes:
[0005] When receiving a data request from a first user, determining the data value of the data required by the first user;
[0006] When the first user conducts a transaction with a second user who responds to the data request to share the required data, based on the data value of the required data and the positive incentive mechanism and the negative incentive mechanism in the blockchain, respectively update the first electronic resources of the first user and the second user; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for long-term transactions; the negative incentive mechanism includes a penalty mechanism for malicious behaviors;
[0007] Based on the negative incentive mechanism and the first electronic resources of the first user and the second user, respectively update the permissions of the first user and the second user in the data sharing platform.
[0008] According to the data sharing method based on blockchain provided by the present invention, before respectively updating the first electronic resources of the first user and the second user based on the data value of the required data and the positive incentive mechanism and the negative incentive mechanism in the blockchain, it further includes:
[0009] Based on the data value of the demand data, generate a second electronic resource corresponding to this transaction according to the incentive mechanism of this single transaction; wherein, the second electronic resource is used to describe the contribution degree of the user who provides data in a single transaction.
[0010] Broadcast the information of the second electronic resource corresponding to this transaction and the acquisition conditions of the second electronic resource to all users on the data supply side in the data sharing platform.
[0011] Based on the smart contract in the blockchain, select the second user who meets the acquisition conditions from each user who responds to the data request.
[0012] According to a blockchain-based data sharing method provided by the present invention, updating the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive incentive mechanism and the negative incentive mechanism in the blockchain includes:
[0013] Based on the second electronic resource, update the third electronic resources of the first user and the second user respectively according to the incentive mechanism of the long-term transaction, and the third electronic resource is used to describe the cumulative contribution degree of the user in the long-term transaction.
[0014] Based on the negative incentive mechanism, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resources of the first user and the second user, update the first electronic resources of the first user and the second user respectively.
[0015] According to a blockchain-based data sharing method provided by the present invention, updating the third electronic resources of the first user and the second user respectively based on the second electronic resource according to the incentive mechanism of the long-term transaction includes:
[0016] Based on the second electronic resource, determine the change amount of the third electronic resource of the first user generated in this transaction, and update the current third electronic resource of the first user according to the change amount of the third electronic resource of the first user, so that the third electronic resource of the first user decreases.
[0017] Based on the second electronic resource, determine the change amount of the third electronic resource of the second user generated in this transaction, and update the current third electronic resource of the second user according to the change amount of the third electronic resource of the second user, so that the third electronic resource of the second user increases.
[0018] A data sharing method based on blockchain provided by the present invention, updating the first electronic resources of the first user and the second user respectively based on the reverse incentive mechanism, the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources of the first user and the second user, includes:
[0019] Determine whether the behavior of the second user sharing the demand data is a malicious behavior;
[0020] Obtain the number of times of the malicious behavior of the second user according to the determination result;
[0021] Update the first electronic resources of the second user according to the number of times of the malicious behavior of the second user, the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources of the second user;
[0022] Update the first electronic resources of the first user according to the number of times of the malicious behavior of the first user, the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources of the first user;
[0023] Wherein, the increase in the number of times of the malicious behavior can reduce the first electronic resources, and the increase in the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources can increase the first electronic resources.
[0024] A data sharing method based on blockchain provided by the present invention, the incentive mechanism for a single transaction includes a first functional relationship; the first functional relationship includes the functional relationship between the second electronic resources and the data value, wherein, the greater the data value, the more the second electronic resources and it has nothing to do with whether other users other than the user providing the data provide data;
[0025] Generating the second electronic resources corresponding to this transaction based on the data value of the demand data according to the incentive mechanism for a single transaction, includes:
[0026] Generate the second electronic resources corresponding to the data value of the demand data by using the first functional relationship as the second electronic resources corresponding to this transaction.
[0027] A data sharing method based on blockchain provided by the present invention, updating the permissions of the first user and the second user in the data sharing platform respectively based on the reverse incentive mechanism and the first electronic resources of the first user and the second user, includes:
[0028] Determine the number of malicious acts of the first user and the second user respectively;
[0029] Compare the number of malicious acts of the first user and the second user with a first threshold to obtain first comparison results of the first user and the second user respectively;
[0030] Compare the first electronic resources of the first user and the second user with a second threshold to obtain second comparison results of the first user and the second user respectively;
[0031] Update the list of high - contribution entities, the list of low - contribution entities and the blacklist in the data sharing platform based on the first comparison result and the second comparison result of the first user and the first comparison result and the second comparison result of the second user;
[0032] Among them, the blacklist includes users whose number of malicious acts is greater than the first threshold;
[0033] The list of high - contribution entities includes users whose number of malicious acts is less than or equal to the first threshold and whose first electronic resources are greater than or equal to the second threshold;
[0034] The list of low - contribution entities includes users whose number of malicious acts is less than or equal to the first threshold and whose first electronic resources are less than the second threshold;
[0035] The permissions of users in the blacklist are all restricted;
[0036] The permissions of users in the list of high - contribution entities are greater than the permissions of users in the list of low - contribution entities.
[0037] According to a data sharing method based on blockchain provided by the present invention, the determining the data value of the data required by the first user includes:
[0038] Determine the value density based on the total number of users on the chain in the data sharing platform and the number of users providing the required data;
[0039] Determine the data value of the data required by the first user based on the value density, the providing time of the required data and the data quality.
[0040] In a second aspect, the present invention provides a data sharing device based on blockchain, which is applied to a data sharing platform based on blockchain. The device includes:
[0041] A value determination module, configured to determine the data value of the data required by the first user when receiving a data request from the first user;
[0042] A resource update module, configured to update the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive incentive mechanism and the negative incentive mechanism in the blockchain when the first user conducts a transaction with the second user who responds to the data request to share the demand data; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for single transactions and an incentive mechanism for long-term transactions; the negative incentive mechanism includes a penalty mechanism for malicious behaviors;
[0043] A permission update module, configured to update the permissions of the first user and the second user in the data sharing platform respectively based on the negative incentive mechanism and the first electronic resources of the first user and the second user.
[0044] In a third aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the program, it implements the blockchain-based data sharing method as described in any one of the above.
[0045] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the blockchain-based data sharing method as described in any one of the above.
[0046] The technical solution provided by the embodiments of the present invention has the following advantages compared with the prior art:
[0047] In the solution of the present invention, there is both a positive incentive mechanism for long-term transactions and single transactions of users, and a negative incentive mechanism for punishing malicious behaviors. The data value of the demand data during the transaction is also considered, realizing the coordination of rewards and punishments. Thus, the first electronic resources used to describe the comprehensive contribution degree of the user in the data sharing platform are updated by integrating multiple factors. Furthermore, the permissions of the user are dynamically updated in combination with the negative incentive mechanism and the amount of the first electronic resources, which can encourage users to actively move closer to high-contribution entities in order to obtain greater permissions and benefits, making them pay more attention to long-term transaction behaviors, and can also effectively avoid only focusing on single transactions. In this way, from a technical level, the willingness of users to share data is maximally stimulated, false data provided by users is avoided, and a fair and just data sharing atmosphere is created to promote the sharing of more high-quality data. Description of the Drawings
[0048] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention and used together with the specification to explain the principles of the present invention.
[0049] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0050] Figure 1 is one of the schematic diagrams of the architecture of the blockchain-based data sharing platform provided by the present invention;
[0051] Figure 2 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0052] Figure 3 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0053] Figure 4 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0054] Figure 5 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0055] Figure 6 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0056] Figure 7 is one of the schematic diagrams of the process of the blockchain-based data sharing method provided by the present invention;
[0057] Figure 8 is the schematic diagram of the structure of the blockchain-based data sharing device provided by the present invention;
[0058] Figure 9 is the schematic diagram of the structure of the electronic device provided by the present invention. Detailed implementation manners
[0059] In order to more clearly understand the above-mentioned objects, features, and advantages of the present invention, the following will further describe the solutions of the present invention. It should be noted that, without conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.
[0060] Many specific details are set forth in the following description in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present invention, rather than all the embodiments.
[0061] Effective data sharing can promote resource integration, reduce costs, and improve production efficiency. At present, various fields are exploring data sharing implementation solutions. Taking the manufacturing industry as an example, the integration, sharing, development and utilization of quality big data resources can effectively solve the problems and urgent needs faced by the upgrading of manufacturing quality management capabilities and product quality improvement, thereby achieving "targeted treatment".
[0062] However, in the process of implementing the present invention, the inventors found that in the process of building a quality big data sharing platform, users such as enterprises (such as manufacturing enterprises) generally have the following cognitive biases:
[0063] 1. Enterprises generally believe that sharing their own data will weaken their competitiveness and are unwilling to share their own data.
[0064] Second, companies generally believe that their own value is greater than the data provided by other entities and that data sharing is unfair. Therefore, they are more willing to accept shared data through one-time transactions and do not focus on long-term sharing behavior.
[0065] 3. Companies generally believe that there is a risk of providing false or even malicious data due to competitive considerations.
[0066] Promoting more enterprises and related entities to share high-quality data and achieving cross-enterprise collaboration based on quality data resources has become the focus of enterprises.
[0067] Therefore, how to promote the sharing of more high-quality data has become a technical problem that needs to be solved urgently.
[0068] Combine the following Figures 1 to 9 The present invention describes the blockchain-based data sharing method, device, equipment and medium.
[0069] This embodiment provides a blockchain-based data sharing method, which is applied to a blockchain-based data sharing platform and executed by the data sharing platform.
[0070] This embodiment is based on a data sharing platform and integrates blockchain technology. Blockchain technology is based on a distributed network and is implemented based on a combination of technologies such as a chain structure, consensus mechanism, incentive mechanism, and smart contracts based on parallel distributed data ledgers. It can record all transaction information and can be maintained by all users on the chain. Without the participation of a third party, it can achieve decentralized and secure multi-party collaboration in a network composed of a large number of mutually untrusted nodes. It has the characteristics of decentralization, immutability, traceability, and collective maintenance. Based on this, Figure 1 As shown, the architecture of the blockchain-based data sharing platform includes at least a chain structure, a consensus layer, an incentive mechanism, and a smart contract.
[0071] Among them, the chain structure:
[0072] The data structure stored in the blockchain adopts a chained structure. Blocks record transaction information after a transaction is completed, and the blocks are concatenated in chronological order to form a blockchain. Among them, each block contains two parts: a block header and a block body. In addition to containing the information of this block, the block header also includes the hash of the previous block. Therefore, if a certain block in the blockchain is forged or tampered with, it is necessary to change the corresponding information in all blocks after this block in the chained structure. The computing power and difficulty required to modify the information of the block increase significantly, which can effectively guarantee the security of data. Therefore, the data sharing platform adopting blockchain technology has high security.
[0073] Consensus layer:
[0074] Based on a large number of nodes in the blockchain network, the consensus layer can enable nodes that do not trust each other to reach an agreement on the order of transactions before and after, so as to ensure the consistency of data on different nodes. The blockchain consensus process realizes the data verification and bookkeeping work of sharing the blockchain ledger by aggregating the computing power resources of a large number of consensus nodes.
[0075] Incentive mechanism:
[0076] The incentive mechanism integrates economic factors into the blockchain technology system, including the issuance mechanism and the distribution mechanism, etc. In the blockchain, nodes that abide by the rules and participate in bookkeeping are incentivized, and nodes that do not abide by the rules are punished, so that the entire system can develop in a virtuous cycle.
[0077] Smart contract (i.e., contract layer):
[0078] A smart contract is a computer program embedded in the blockchain network, which can automatically execute the operations required in the protocol. After the execution is completed, the transaction is traceable and irreversible. Smart contracts mainly provide verification and execution of the conditions specified in the contract, and allow trusted transactions between anonymous parties without the participation of a third-party institution.
[0079] Users participating in data sharing can include enterprises, such as manufacturing enterprises, and can also include individuals and organizations, etc.
[0080] Based on the above data sharing platform, as Figure 2 shown, the blockchain-based data sharing method includes:
[0081] Step S21, when a data request from a first user is received, determine the data value of the data required by the first user.
[0082] The first user is a data requester. When the first user has a data requirement, a data request can be initiated. When receiving the data request of the first user, the data value of the data required by the first user can be determined first. The size of the data value can reflect the contribution degree of the data provider to data sharing. The greater the data value, the greater the contribution degree; the smaller the data value, the smaller the contribution degree, so as to ensure the fairness and justice of data sharing.
[0083] Step S22: When the first user conducts a transaction with the second user who responds to the data request to share the required data, based on the data value of the required data and the positive incentive mechanism and negative incentive mechanism in the blockchain, update the first electronic resources of the first user and the second user respectively; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes the incentive mechanism for a single transaction and the incentive mechanism for long-term transactions; the negative incentive mechanism includes the punishment mechanism for malicious behaviors.
[0084] In this embodiment, an incentive mechanism oriented by contribution is set in the incentive mechanism of the blockchain, including a positive incentive mechanism and a negative incentive mechanism.
[0085] Among them, the positive incentive mechanism includes the incentive mechanism for a single transaction to encourage the nodes that abide by the rules and actively participate in bookkeeping, and also includes the incentive mechanism for long-term transactions to promote more users to be willing to become nodes sharing data in the blockchain-based data sharing platform by using the positive incentive mechanisms of single transactions and long-term transactions, and stimulate the willingness of users to share data resources in the long term. In this way, the incentive measures are no longer single and the effect is greater.
[0086] The negative incentive mechanism is a reverse punishment mechanism for malicious behaviors (such as providing false data or malicious data, etc.) to punish the nodes that do not abide by the rules and prevent the provision of false data or malicious data.
[0087] The second user is a data provider. When the first user conducts a transaction with the second user, the contribution of the user in data sharing is comprehensively determined through the data value of the required data, the positive incentive mechanism and the negative incentive mechanism, and the first electronic resources used to describe the comprehensive contribution degree of the user in the data sharing platform are updated.
[0088] The electronic resources in this embodiment can be contribution values or coupons and other resources used to quantify the contribution degree.
[0089] Step S23: Based on the negative incentive mechanism and the first electronic resources of the first user and the second user, update the permissions of the first user and the second user in the data sharing platform respectively.
[0090] After data sharing is completed, the reverse incentive mechanism and the first electronic resource describing the comprehensive contribution degree are combined to update the user's permissions in the data sharing platform, prompting the user to reduce malicious behaviors and move closer to high-contribution entities in order to obtain the maximum permissions and benefits.
[0091] In this embodiment, there is both a positive incentive mechanism for the user's long-term transactions and single transactions, and a reverse incentive mechanism for punishing malicious behaviors. The data value of the demand data during the transaction is also considered, achieving coordinated rewards and punishments. Thus, the first electronic resource used to describe the comprehensive contribution degree of the user in the data sharing platform is updated by considering multiple factors. Furthermore, the user's permissions are dynamically updated in combination with the reverse incentive mechanism and the amount of the first electronic resource, which can prompt the user to actively move closer to high-contribution entities in order to obtain greater permissions and benefits, making the user pay more attention to long-term transaction behaviors and effectively avoiding focusing only on single transactions. In this way, the willingness of users to share data is maximally stimulated from a technical level, preventing users from providing false data, creating a fair and just data sharing atmosphere, and promoting the sharing of more high-quality data.
[0092] In some embodiments, before updating the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive and reverse incentive mechanisms in the blockchain, as Figure 3 shown, it further includes:
[0093] Step S31: Based on the data value of the demand data, generate a second electronic resource corresponding to this transaction according to the incentive mechanism of this single transaction; wherein, the second electronic resource is used to describe the contribution degree of the user providing data in this single transaction.
[0094] For a single transaction, the size of the data value of the demand data traded can more accurately reflect the user's contribution degree. Therefore, the incentive mechanism of the single transaction motivates the user through the data value of the demand data, generating a corresponding second electronic resource to describe the contribution degree of the user providing data in this single transaction. The greater the data value, the more the second electronic resource, and the smaller the data value, the less the second electronic resource.
[0095] Step S32: Broadcast the information of the second electronic resource corresponding to this transaction and the acquisition conditions of the second electronic resource to all users on the data supply side in the data sharing platform.
[0096] The information of the second electronic resource includes the resource size of the second electronic resource, such as the contribution value.
[0097] When the first user initiates a data request, the provision time of the required data can be specified. Correspondingly, the acquisition conditions of the second electronic resource can at least include the provision time of the required data. Then, the information of the second electronic resource corresponding to this transaction and the acquisition conditions of the second electronic resource are broadcast to all users on the data supply side in the data sharing platform.
[0098] Step S33: Based on the smart contract in the blockchain, select the second user who meets the acquisition conditions from the users who respond to the data request.
[0099] Through the smart contract of the blockchain, users who meet the acquisition conditions can be screened out from all users on the data supply side as the users who conduct transactions with the first user, that is, the second users.
[0100] For example, the data required by the first user is relatively urgent, and a quick response to the data request is required. The data needs to be provided within 1 day. Users who provide data after 1 day do not meet the acquisition conditions and cannot participate in the transaction, while users who provide data within 1 day meet the acquisition conditions and can participate in the transaction.
[0101] In this embodiment, since the size of the data value of the required data accurately reflects the contribution degree of the user, the first user and the second user conduct transactions based on the second electronic resource corresponding to the data value of the required data, which is more fair and just, and further promotes data sharing among users in the data sharing platform.
[0102] Exemplarily, the incentive mechanism for the single transaction includes a first functional relationship. The first functional relationship includes the functional relationship between the second electronic resource and the data value. Among them, the greater the data value, the more the second electronic resource, and it is independent of whether other users other than the user providing the data provide data.
[0103] The first functional relationship is expressed as follows:
[0104] C i = c(V) and C i ′≥0 (1)
[0105] Among them, C i represents the second electronic resource, V represents the data value, c( ) represents the corresponding rule, and C i ′ represents the derivative of C i .
[0106] In this embodiment, the second electronic resource C i is designed as a function related to the provided data value and independent of whether other users provide data. Among them, C i'≥0 indicates that the greater the data value provided by a user as a data provider, the greater the contribution degree, and the more the second electronic resources. It has nothing to do with whether other users provide data. That is to say, C i ' is independent of the total number n of users on the chain in the data sharing platform and the number k of users who can provide a certain data. In practical applications, the second functional relationship can be designed according to actual needs as long as the above conditions are met.
[0107] Correspondingly, based on the data value of the required data, the second electronic resources corresponding to this transaction are generated according to the incentive mechanism of this single transaction. Specifically, it may include: using the first functional relationship to generate the second electronic resources corresponding to the data value of the required data as the second electronic resources corresponding to this transaction. In this way, it can encourage users to actively provide more data with high data value.
[0108] In some embodiments, determining the data value of the data required by the first user may specifically include: based on the total number of users on the chain in the data sharing platform and the number of users who provide the required data, determining the value density; based on the value density, the provision time and data quality of the required data, determining the data value of the data required by the first user.
[0109] In practical applications, when the required data is scarcer, the response to the data request is faster (that is, the timeliness of data supply is better), and the data quality is better, the data value is greater; conversely, the data value is smaller. Based on this, the data value can be expressed as:
[0110] V = v(d, t, q) (2)
[0111] Among them, d represents the value density, t represents the provision time of the required data, q represents the data quality, and v( ) represents the corresponding rule. In practical applications, the specific operation formula of V can be set according to needs, and no specific limitation is made here.
[0112] The value density d of the data is related to the total number n of users on the chain in the data sharing platform and the number k of users who can provide a certain data, that is, d = d(n, k). Among them, the larger n is, the smaller d is. When the data value density is small, the data is scarce.
[0113] In this embodiment, various factors such as the rarity of data, the timeliness of supply, and data quality are fully considered, and the data value is comprehensively measured. The degree of contribution to the data sharing platform is affected by the size of the data value, avoiding the unfair phenomenon caused by a single factor determining the data value, so as to ensure fairness and justice.
[0114] In some embodiments, based on the data value of the demand data and the positive incentive mechanism and the negative incentive mechanism in the blockchain, the first electronic resources of the first user and the second user are updated respectively, as Figure 4 shown, which may specifically include:
[0115] Step S41: Based on the second electronic resources, the third electronic resources of the first user and the second user are updated respectively according to the incentive mechanism of the long-term transaction, and the third electronic resources are used to describe the cumulative contribution degree of the user in the long-term transaction.
[0116] Individual single transactions of users in the data sharing platform form long-term transactions. Therefore, the contribution degree of a single transaction affects the cumulative contribution degree of the long-term transaction. In this step, the incentive mechanism of the long-term transaction updates the third electronic resources used to describe the cumulative contribution degree of the user in the long-term transaction through the second electronic resources corresponding to the single transaction, which is conducive to more fairly and justly incentivizing the long-term transaction behavior of users.
[0117] Step S42: Based on the negative incentive mechanism, the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources of the first user and the second user, the first electronic resources of the first user and the second user are updated respectively.
[0118] By comprehensively considering multiple levels such as the data value of the demand data, the second electronic resources corresponding to a single transaction, the third electronic resources corresponding to the long-term transaction, and the negative incentive mechanism, and then updating the first electronic resources of the user, the consideration factors for the comprehensive contribution degree of the user are more comprehensive and accurate, which is conducive to promoting data sharing among users in the data sharing platform.
[0119] Specifically, the updating of the third electronic resources of the first user and the second user respectively according to the incentive mechanism of the long-term transaction based on the second electronic resources includes:
[0120] Based on the second electronic resources, determine the change amount of the third electronic resources of the first user generated in this transaction, and update the current third electronic resources of the first user according to the change amount of the third electronic resources of the first user, so that the third electronic resources of the first user decrease;
[0121] Based on the second electronic resources, determine the change amount of the third electronic resources of the second user generated in this transaction, and update the current third electronic resources of the second user according to the change amount of the third electronic resources of the second user, so that the third electronic resources of the second user increase.
[0122] It should be noted that before the update, for users who participate in the transaction for the first time, the current third electronic resource is the initial resource; for users who are not participating in the transaction for the first time, the current third electronic resource is the third electronic resource after all previous historical transactions. In other words, the third electronic resource includes the initial resource and the cumulative sum of the change amounts corresponding to each historical transaction.
[0123] Among them, the initial resource is determined by the ratio of the data value of the shared data when first joining the data sharing platform to the total data value of the shared data in the data sharing platform, and can be specifically set according to actual needs.
[0124] In this embodiment, the incentive mechanism for long-term transactions may include a second functional relationship, which is expressed as follows:
[0125]
[0126] Among them, C C represents the third electronic resource, C C0 represents the initial resource, represents the change amount of the third electronic resource corresponding to the i-th transaction.
[0127] The change amount of the third electronic resource is related to the second electronic resource. For the first user, the first user is the party that needs to pay for the electronic resource. Therefore, the change amount of the third electronic resource can be -C i . For the second user, the second user is the party that needs to obtain the electronic resource. Therefore, the change amount of the third electronic resource can be +C i .
[0128] In this embodiment, each user who requests transaction request data will consume a certain amount of the third electronic resource, while the user who actually provides the required data will obtain a certain amount of the third electronic resource, thereby preventing a user from requesting data for a long time without contributing data and ensuring fair operation.
[0129] In some embodiments, based on the reverse incentive mechanism, the data value of the required data, the second electronic resource corresponding to this transaction, and the third electronic resources of the first user and the second user, the first electronic resources of the first user and the second user are respectively updated, as Figure 5 shown, including:
[0130] Step S51, determine whether the behavior of the second user sharing the required data is a malicious behavior.
[0131] In practical applications, an analysis program can be preset in the smart contract: after data sharing is completed, it is analyzed whether the demand data shared by the second user is false data or malicious data. If it is false data or malicious data, the behavior of the second user sharing the demand data is a malicious act, and the distributed data ledger will permanently record the malicious act of the second user and will not eliminate it. Among them, the process of analyzing whether the demand data shared by the second user is false data or malicious data can refer to related technologies and will not be limited here.
[0132] Step S52: Obtain the number of malicious acts of the second user according to the determination result.
[0133] When it is determined that the behavior of the second user sharing the demand data is a malicious act, the number M of malicious acts of the second user is incremented by 1 through the smart contract. Among them, M≥0. When the user initially goes on the chain, the initial value of the number M of malicious acts is 0.
[0134] Step S53: Update the first electronic resource of the second user according to the number of malicious acts of the second user, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resource of the second user.
[0135] Step S54: Update the first electronic resource of the first user according to the number of malicious acts of the first user, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resource of the first user.
[0136] Among them, the increase in the number of malicious acts can reduce the first electronic resource, and the increase in the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resource can increase the first electronic resource.
[0137] The first electronic resource is expressed as follows:
[0138] C=(V,C C ,C i ,M)(4)
[0139] Among them, C represents the first electronic resource.
[0140] During implementation, the number of malicious behaviors of the first user, the data value of the demand data, the operation relationship between the second electronic resource and the third electronic resource corresponding to this transaction can be set according to actual needs, which is not specifically limited here. Exemplarily, corresponding weighting coefficients are respectively set for the number of malicious behaviors of the first user, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resource. Based on this, the first electronic resource is the sum of the products of the number of malicious behaviors of the first user, the data value of the demand data, the second electronic resource corresponding to this transaction, the third electronic resource, and their corresponding weighting coefficients.
[0141] In this embodiment, the number of malicious behaviors such as the user providing false data or malicious data is counted. By reducing the first electronic resource, malicious behaviors are restricted, and data value, single transaction, and long-term transaction are incentivized by increasing the first electronic resource, so as to encourage users to share data positively and improve permissions.
[0142] In some embodiments, based on the reverse incentive mechanism and the first electronic resources of the first user and the second user, the permissions of the first user and the second user in the data sharing platform are respectively updated, as Figure 6 shown, which may specifically include:
[0143] Step S61: Determine the number of malicious behaviors of the first user and the second user respectively.
[0144] Step S62: Compare the number of malicious behaviors of the first user and the second user with a first threshold to obtain the first comparison results of the first user and the second user respectively.
[0145] Step S63: Compare the first electronic resources of the first user and the second user with a second threshold to obtain the second comparison results of the first user and the second user respectively.
[0146] Step S64: Based on the first comparison result and the second comparison result of the first user and the first comparison result and the second comparison result of the second user, update the list of high-contribution subjects, the list of low-contribution subjects, and the blacklist in the data sharing platform.
[0147] Among them, the blacklist includes users whose number of malicious behaviors is greater than the first threshold; the permissions of users in the blacklist are all restricted;
[0148] The list of high-contribution subjects includes users whose number of malicious behaviors is less than or equal to the first threshold and whose first electronic resources are greater than or equal to the second threshold;
[0149] The list of low - contribution entities includes users whose number of the said malicious acts is less than or equal to the first threshold and whose first electronic resources are less than the second threshold;
[0150] The permissions of users in the blacklist are all restricted;
[0151] The permissions of users in the high - contribution entity list are greater than those of users in the low - contribution entity list.
[0152] In practical applications, two important thresholds, namely the first threshold T1 and the second threshold T2, are set in the smart contract.
[0153] The first threshold T1 is used to restrict users' malicious acts. The blacklist is updated in real - time through the smart contract. Specifically, the number of a user's malicious acts is compared with the first threshold T1. When M > T1 for a user, the user is added to the blacklist, and all their permissions are restricted, and they are not allowed to conduct transactions or make any requests.
[0154] The second threshold T2 is used to distinguish high - contribution entities and low - contribution entities. High - contribution entities and low - contribution entities enjoy different permissions, and the permissions of high - contribution entities are greater than those of low - contribution entities. The high - contribution entity list and the low - contribution entity list are updated dynamically through the smart contract. Specifically, the user's first electronic resources are compared with the second threshold T2. When C ≥ T2, the user is added to the high - contribution entity list; otherwise, the user is added to the low - contribution entity list.
[0155] In this embodiment, by the mechanism of dynamically updating the high - and low - contribution entity lists and stipulating the permissions of the two different types of contribution entities, it can encourage users to actively move closer to high - contribution entities in order to obtain greater permissions and benefits, thus paying more attention to long - term behavior. It can also effectively prevent only focusing on single - transaction behavior, and restrict users from providing false or malicious data through the blacklist mechanism, so as to form a virtuous cycle in data sharing.
[0156] The following takes the first electronic resource, the second electronic resource, and the third electronic resource as contribution values for illustration.
[0157] The first electronic resource is the comprehensive contribution value, the second electronic resource is the contribution value of a single transaction, and the third electronic resource is the cumulative contribution value of long - term transactions.
[0158] As Figure 7 shown, after the data sharing platform shown in Figure 1 is initialized, when user X (i.e., the first user) initiates a data request, after the data sharing platform receives the data request, it calculates the contribution value C corresponding to this transaction by calling the contract layer i(i.e., calculating the contribution value), and broadcasting the contribution value corresponding to this transaction and the acquisition conditions to all users on the data supply side.
[0159] When user Y (i.e., the second user) responds to the data request, it is determined whether user X and user Y conduct a transaction. If not, the process ends. If so, user X and user Y conduct a transaction to share the required data. User X pays the contribution value corresponding to this transaction (i.e., pays the contribution value). When user Y meets the acquisition conditions for the contribution value corresponding to this transaction, user Y obtains the contribution value corresponding to this transaction (i.e., gets the contribution value).
[0160] For user X and user Y respectively, update the cumulative contribution value of the long-term transaction, and then update the comprehensive contribution value. Determine whether the comprehensive contribution value is greater than or equal to the second threshold, and update the list of high-contribution entities and the list of low-contribution entities in real time according to the judgment result. Also, determine whether the number of malicious behaviors is greater than the first threshold, and update the blacklist in real time according to the judgment result.
[0161] The following describes the blockchain-based data sharing device provided by the present invention. The blockchain-based data sharing device described below can be mutually referred to with the blockchain-based data sharing method described above.
[0162] This embodiment provides a blockchain-based data sharing device, which is applied to a blockchain-based data sharing platform, as Figure 8 shown. The device includes:
[0163] A value determination module 801, configured to determine the data value of the data required by the first user when receiving a data request from the first user;
[0164] A resource update module 802, configured to, when the first user conducts a transaction with a second user who responds to the data request to share the required data, update the first electronic resources of the first user and the second user respectively based on the data value of the required data and the positive incentive mechanism and the negative incentive mechanism in the blockchain; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for a long-term transaction; the negative incentive mechanism includes a penalty mechanism for malicious behaviors;
[0165] A permission update module 803, configured to update the permissions of the first user and the second user in the data sharing platform respectively based on the negative incentive mechanism and the first electronic resources of the first user and the second user.
[0166] In an exemplary embodiment, the resource update module 802 is further configured to:
[0167] Based on the data value of the demand data, generate a second electronic resource corresponding to this transaction according to the incentive mechanism of this single transaction; wherein, the second electronic resource is used to describe the contribution degree of the user who provides data in a single transaction.
[0168] Broadcast the information of the second electronic resource corresponding to this transaction and the acquisition conditions of the second electronic resource to all users on the data supply side in the data sharing platform.
[0169] Based on the smart contract in the blockchain, select the second user who meets the acquisition conditions from each user who responds to the data request.
[0170] In an exemplary embodiment, the resource update module 802 is specifically configured to:
[0171] Based on the second electronic resource, update the third electronic resources of the first user and the second user respectively according to the incentive mechanism of the long-term transaction, and the third electronic resource is used to describe the cumulative contribution degree of the user in the long-term transaction.
[0172] Based on the reverse incentive mechanism, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resources of the first user and the second user, update the first electronic resources of the first user and the second user respectively.
[0173] In an exemplary embodiment, the resource update module 802 is specifically configured to:
[0174] Based on the second electronic resource, determine the change amount of the third electronic resource of the first user generated in this transaction, and update the current third electronic resource of the first user according to the change amount of the third electronic resource of the first user, so that the third electronic resource of the first user decreases.
[0175] Based on the second electronic resource, determine the change amount of the third electronic resource of the second user generated in this transaction, and update the current third electronic resource of the second user according to the change amount of the third electronic resource of the second user, so that the third electronic resource of the second user increases.
[0176] In an exemplary embodiment, the resource update module 802 is specifically configured to:
[0177] Determine whether the behavior of the second user sharing the demand data is a malicious behavior.
[0178] Obtain the number of times of the malicious behavior of the second user according to the determination result.
[0179] Update the first electronic resource of the second user according to the number of malicious acts of the second user, the data value of the demand data, the second electronic resource corresponding to the current transaction, and the third electronic resource of the second user;
[0180] Update the first electronic resource of the first user according to the number of malicious acts of the first user, the data value of the demand data, the second electronic resource corresponding to the current transaction, and the third electronic resource of the first user;
[0181] Among them, an increase in the number of malicious acts can reduce the first electronic resource, and an increase in the data value of the demand data, the second electronic resource corresponding to the current transaction, and the third electronic resource can increase the first electronic resource.
[0182] In an exemplary embodiment, the incentive mechanism for a single transaction includes a first functional relationship; the first functional relationship includes the functional relationship between the second electronic resource and the data value, where the greater the data value, the more the second electronic resource and it is independent of whether other users other than the user providing the data provide data;
[0183] The resource update module 802 is specifically configured to:
[0184] Generate the second electronic resource corresponding to the data value of the demand data by using the first functional relationship as the second electronic resource corresponding to the current transaction.
[0185] In an exemplary embodiment, the permission update module 802 is specifically configured to:
[0186] Determine the number of malicious acts of the first user and the second user respectively;
[0187] Compare the number of malicious acts of the first user and the second user with a first threshold respectively to obtain the first comparison results of the first user and the second user;
[0188] Compare the first electronic resources of the first user and the second user with a second threshold respectively to obtain the second comparison results of the first user and the second user;
[0189] Update the list of high - contribution entities, the list of low - contribution entities, and the blacklist in the data sharing platform based on the first comparison result and the second comparison result of the first user and the first comparison result and the second comparison result of the second user;
[0190] Among them, the blacklist includes users whose number of malicious acts is greater than the first threshold;
[0191] Users whose number of occurrences of the malicious behavior in the high - contribution subject list is less than or equal to the first threshold and whose first electronic resources are greater than or equal to the second threshold;
[0192] Users whose number of occurrences of the malicious behavior in the low - contribution subject list is less than or equal to the first threshold and whose first electronic resources are less than the second threshold;
[0193] The permissions of users in the blacklist are all restricted;
[0194] The permissions of users in the high - contribution subject list are greater than those of users in the low - contribution subject list.
[0195] In an exemplary embodiment, the value determination module is specifically configured to:
[0196] Determine the value density based on the total number of users on the blockchain in the data sharing platform and the number of users providing the demand data;
[0197] Determine the data value of the data demanded by the first user based on the value density, the providing time of the demand data, and the data quality.
[0198] Figure 9 An exemplary physical structure diagram of an electronic device is shown as Figure 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930, and a communication bus 940. Among them, the processor 910, the communication interface 920, and the memory 930 complete mutual communication through the communication bus 940. The processor 910 may call logical instructions in the memory 930 to execute a blockchain - based data sharing method, which is applied to a blockchain - based data sharing platform. The method includes:
[0199] When receiving a data request from a first user, determine the data value of the data demanded by the first user;
[0200] When the first user conducts a transaction with a second user responding to the data request to share the demand data, update the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive incentive mechanism and the negative incentive mechanism in the blockchain; wherein, the first electronic resources are used to describe the comprehensive contribution degree of users in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for long - term transactions; the negative incentive mechanism includes a penalty mechanism for malicious behaviors;
[0201] Based on the reverse incentive mechanism and the first electronic resources of the first user and the second user, update the permissions of the first user and the second user in the data sharing platform respectively.
[0202] In addition, when the logical instructions in the above-mentioned memory 930 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0203] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the blockchain-based data sharing method provided by the above-mentioned various methods, which is applied to a blockchain-based data sharing platform. The method includes:
[0204] When receiving a data request from a first user, determine the data value of the data required by the first user;
[0205] When the first user conducts a transaction with a second user who responds to the data request to share the required data, based on the data value of the required data and the positive incentive mechanism and reverse incentive mechanism in the blockchain, update the first electronic resources of the first user and the second user respectively; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for single transactions and an incentive mechanism for long-term transactions; the reverse incentive mechanism includes a penalty mechanism for malicious behaviors;
[0206] Based on the reverse incentive mechanism and the first electronic resources of the first user and the second user, update the permissions of the first user and the second user in the data sharing platform respectively.
[0207] In another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is used to execute the above-mentioned blockchain-based data sharing method, which is applied to a blockchain-based data sharing platform. The method includes:
[0208] When receiving a data request from a first user, determining the data value of the data required by the first user;
[0209] When the first user conducts a transaction with a second user who responds to the data request to share the required data, based on the data value of the required data and the positive incentive mechanism and negative incentive mechanism in the blockchain, respectively update the first electronic resources of the first user and the second user; wherein, the first electronic resources are used to describe the comprehensive contribution degree of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for long-term transactions; the negative incentive mechanism includes a penalty mechanism for malicious behaviors;
[0210] Based on the negative incentive mechanism and the first electronic resources of the first user and the second user, respectively update the permissions of the first user and the second user in the data sharing platform.
[0211] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.
[0212] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution, in essence, or the part that makes a contribution to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0213] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A data sharing method based on blockchain, characterized in that: Applied to a blockchain-based data sharing platform, the method comprises: When receiving a data request from a first user, determining a data value of the data requested by the first user; When the first user conducts a transaction with the second user who responds to the data request to share the required data, the first electronic resources of the first user and the second user are updated respectively based on the data value of the required data and the positive incentive mechanism and the reverse incentive mechanism in the blockchain; wherein the first electronic resource is used to describe the comprehensive contribution of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for a long-term transaction; and the reverse incentive mechanism includes a penalty mechanism for malicious behavior; Based on the reverse incentive mechanism and the first electronic resources of the first user and the second user, the permissions of the first user and the second user in the data sharing platform are updated respectively.
2. The data sharing method based on blockchain according to claim 1 is characterized in that: Before respectively updating the first electronic resources of the first user and the second user based on the data value of the demand data and the positive incentive mechanism and the reverse incentive mechanism in the blockchain, the method further includes: Based on the data value of the demand data, a second electronic resource corresponding to the transaction is generated according to the incentive mechanism of the single transaction; wherein the second electronic resource is used to describe the contribution degree of the single transaction of the user providing the data; Broadcasting the information of the second electronic resource corresponding to the transaction and the acquisition conditions of the second electronic resource to all users on the data supply side of the data sharing platform; Based on the smart contract in the blockchain, the second user who meets the acquisition condition is selected from the users who respond to the data request.
3. The data sharing method based on blockchain according to claim 2 is characterized in that: The updating of the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive incentive mechanism and the reverse incentive mechanism in the blockchain includes: Based on the second electronic resource, updating the third electronic resources of the first user and the second user respectively according to the incentive mechanism of the long-term transaction, wherein the third electronic resource is used to describe the cumulative contribution of the user in the long-term transaction; Based on the reverse incentive mechanism, the data value of the demand data, the second electronic resource corresponding to this transaction, and the third electronic resources of the first user and the second user, the first electronic resources of the first user and the second user are updated respectively.
4. The data sharing method based on blockchain according to claim 3 is characterized in that: The updating of the third electronic resources of the first user and the second user respectively based on the second electronic resource and according to the incentive mechanism of the long-term transaction includes: Based on the second electronic resource, determining the change amount of the third electronic resource of the first user generated in this transaction, and updating the third electronic resource of the current first user according to the change amount of the third electronic resource of the first user, so that the third electronic resource of the first user is reduced; Based on the second electronic resource, determine the change in the third electronic resource of the second user generated in this transaction, and update the current third electronic resource of the second user according to the change in the third electronic resource of the second user to increase the third electronic resource of the second user.
5. The data sharing method based on blockchain according to claim 3 is characterized in that: The updating of the first electronic resources of the first user and the second user respectively based on the reverse incentive mechanism, the data value of the demand data, the second electronic resource corresponding to the transaction, and the third electronic resources of the first user and the second user includes: Determining whether the behavior of the second user sharing the demand data is a malicious behavior; Obtaining the number of malicious behaviors of the second user according to the determination result; updating the first electronic resource of the second user according to the number of malicious behaviors of the second user, the data value of the demand data, the second electronic resource corresponding to the transaction, and the third electronic resource of the second user; updating the first electronic resource of the first user according to the number of malicious behaviors of the first user, the data value of the demand data, the second electronic resource corresponding to the transaction, and the third electronic resource of the first user; Among them, the increase in the number of malicious behaviors can reduce the first electronic resources, and the increase in the data value of the demand data, the second electronic resources corresponding to this transaction, and the third electronic resources can increase the first electronic resources.
6. The data sharing method based on blockchain according to claim 2 is characterized in that: The incentive mechanism for a single transaction includes a first functional relationship; the first functional relationship includes a functional relationship between the second electronic resource and the value of the data, wherein the greater the value of the data, the more the second electronic resource is and it is irrelevant whether other users other than the user providing the data provide the data; The generating of the second electronic resource corresponding to the transaction based on the data value of the demand data and the incentive mechanism of the single transaction includes: The second electronic resource corresponding to the data value of the demand data is generated by using the first functional relationship as the second electronic resource corresponding to this transaction.
7. The data sharing method based on blockchain according to claim 1 is characterized in that: The updating of the permissions of the first user and the second user in the data sharing platform based on the reverse incentive mechanism and the first electronic resources of the first user and the second user respectively includes: Determining the number of malicious behaviors of the first user and the second user respectively; Compare the number of malicious behaviors of the first user and the second user with a first threshold, and obtain first comparison results of the first user and the second user respectively; Compare the first electronic resources of the first user and the second user with a second threshold to obtain second comparison results of the first user and the second user respectively; Based on the first comparison result and the second comparison result of the first user and the first comparison result and the second comparison result of the second user, updating a list of high-contribution entities, a list of low-contribution entities, and a blacklist in the data sharing platform; The blacklist includes users whose number of malicious behaviors is greater than the first threshold; The high-contribution subject list includes users whose number of malicious behaviors is less than or equal to the first threshold and whose first electronic resources are greater than or equal to the second threshold; The low-contribution subject list includes users whose number of malicious behaviors is less than or equal to the first threshold and whose first electronic resources are less than the second threshold; All rights of users in the blacklist are restricted; The authority of the users in the high-contribution subject list is greater than the authority of the users in the low-contribution subject list.
8. The data sharing method based on blockchain according to claim 1 is characterized in that: The determining the data value of the data required by the first user includes: Determine the value density based on the total number of users on the chain in the data sharing platform and the number of users providing the demand data; The data value of the data required by the first user is determined based on the value density, the provision time of the required data, and the data quality.
9. A data sharing device based on blockchain, characterized in that: Applied to a data sharing platform based on blockchain, the device comprises: a value determination module, configured to determine the data value of the data required by the first user when receiving a data request from the first user; A resource update module, used for updating the first electronic resources of the first user and the second user respectively based on the data value of the demand data and the positive incentive mechanism and the reverse incentive mechanism in the blockchain when the first user trades with the second user who responds to the data request to share the demand data; wherein the first electronic resource is used to describe the comprehensive contribution of the user in the data sharing platform; the positive incentive mechanism includes an incentive mechanism for a single transaction and an incentive mechanism for a long-term transaction; and the reverse incentive mechanism includes a penalty mechanism for malicious behavior; A permission updating module is used to update the permissions of the first user and the second user in the data sharing platform respectively based on the reverse incentive mechanism and the first electronic resources of the first user and the second user.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the blockchain-based data sharing method as described in any one of claims 1 to 8 is implemented.
11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the blockchain-based data sharing method as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Shared platform transaction method based on blockchain reputation value
CN110473058A
Data sharing and incentive method based on block chain
CN114528597A
Reward and punishment method for exciting data sharing of Internet of Things based on block chain
CN116980426A
Systems and methods for using shared user inventory information to initiate a peer-to-peer exchange of a non-fungible digital asset
US10984400B1
Data verification methods, apparatuses, and devices
US20210328806A1