Block chain-based computing power transaction system and method

By establishing smart contracts and data quality verification mechanisms on the blockchain, data leakage and trust problems in the computing power network are solved, and a secure and trustworthy computing power trading environment is realized, resisting attacks and protecting privacy.

CN119151529APending Publication Date: 2024-12-17JINAN INSTITUTE OF SUPERCOMPUTING TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411093707.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In computing power network, due to the distributed characteristics of computing power computing nodes, there is a risk of leakage when data is transmitted and shared between different nodes, and in the absence of a privacy protection mechanism, it is difficult to establish trust between task publishers and participants. relation.

Method used

By establishing a computing power trading system based on smart contracts on the blockchain, using a data quality verification mechanism, the task publisher generates adjustment parameters, the task executor registers and uploads the terminal hardware fingerprint, and the data quality verification party verifies the intermediate results to ensure data transmission security and privacy.

Benefits of technology

Effectively resist a variety of attacks, including replay attacks and dishonest behavior, ensure the reliability of calculation results and the privacy of participants, establish trust relationships, and provide a safe and trustworthy trading environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119151529A_ABST
    Figure CN119151529A_ABST
Patent Text Reader

Abstract

The invention provides a computing power transaction system and method based on a block chain. The method comprises the steps that a task issuer issues a task on a transaction platform; the transaction platform receives the information published by the task publisher and uploads the information to the block chain; executing the computing power task of the task issuing party through the task executing party to obtain result data, requesting the data quality verification party to perform data quality verification, and providing the result data for the task issuing party after the data quality verification is passed; and based on the smart contract of the block chain, payment is carried out on the task executor and the data quality verifier passing the data quality verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer network information security technology, and in particular, relates to a computing power trading system and method based on blockchain. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the rapid development of technologies such as cloud computing, big data, and artificial intelligence, computing power has become a key factor in promoting digital innovation in industries and digital transformation in cities. The growing demand for computing power has led to the gradual formation of a computing power market. The computing power network is adapted to this application scenario. Through distributed computing, computing can be arbitrarily assigned to large-scale nodes, which can effectively utilize idle computing resources and make profits through transactions.

[0004] The decentralized, tamper-proof, secure, and transparent characteristics of blockchain have changed the traditional centralized payment method and provided a more efficient and secure solution for capital circulation. However, the inventors found that due to the distributed nature of computing nodes in the computing network, data will be transmitted and shared between different computing nodes, which leads to security risks such as data leakage. In addition, the calculation results and data have commercial value. Without a privacy protection mechanism, it is difficult to establish a trust relationship between the task publisher and the participants. Summary of the invention

[0005] Embodiments of the present invention provide a computing power trading system and method based on blockchain to solve the problem that data in the existing computing power trading system based on blockchain is transmitted and shared between different computing nodes, resulting in the risk of data leakage, and the problem that a trust relationship cannot be established between the task issuer and the participants in the absence of a privacy protection mechanism.

[0006] According to a first aspect of an embodiment of the present invention, a computing power trading system based on blockchain is provided, comprising:

[0007] The task publisher is used to generate the public and private keys of the computing task, estimate and construct the adjustment parameters based on the size of the computing task result value, and publish the task public key, adjustment parameters and task related information on the trading platform; and, based on the intermediate results fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, perform data quality verification, and publish the task executor information that has passed the data quality verification to the trading platform;

[0008] The task executor is used to register on the trading platform, generate an identity ID, its own public and private keys, and terminal hardware fingerprints, and upload the identity ID, its own public key, and terminal hardware fingerprints to the blockchain; and execute the computing task of the task publisher to obtain the result data, request the data quality verifier to perform data quality verification, and provide the result data to the task publisher after the data quality verification passes;

[0009] A data quality verifier, which is used to receive a data quality verification request from a task executor, calculate an intermediate result based on the relevant information submitted by the task executor, and send the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher;

[0010] A trading platform for receiving information published by a task publisher and uploading the information to the blockchain; and receiving registrations from task executors and data quality verifiers;

[0011] Blockchain is used to pay remuneration to task executors and data quality verifiers who have passed data quality verification based on smart contracts.

[0012] Furthermore, the task publisher needs to estimate the size of the task result value in advance, and determine the adjustment parameter based on the size of the task result value to ensure that for any task result value, the product of the task result value and the adjustment parameter is an integer.

[0013] Furthermore, the task public key, adjustment parameters and task-related information are published on the trading platform, specifically: the task ID, task description, the remuneration that each task executor who completes the computing task can obtain, the remuneration that the data quality verifier can obtain, the data quality threshold, the task public key and adjustment parameters are published on the trading platform and uploaded to the blockchain for storage.

[0014] Furthermore, the data quality verifier needs to submit a statement to the trading platform in advance, the statement including the computing task ID to be accepted and the identity ID of the data quality verifier when registering; and the data quality verifier and the task executor cannot be the same device.

[0015] Furthermore, the task executor executes the computing task of the task issuer to obtain result data, and requests the data quality verifier to perform data quality verification, specifically: calculating the first intermediate parameter and the second intermediate parameter based on the public key of the task issuer, and sending the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor to the selected data quality verifier to perform data quality verification.

[0016] Furthermore, after the data quality verifier receives the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor, it first verifies whether the first intermediate parameter and the second intermediate parameter are valid. If valid, it calculates the intermediate result and sends the intermediate result and the terminal device fingerprint of the task executor to the task publisher, and the task publisher verifies the data quality based on the obtained intermediate result.

[0017] Furthermore, the data quality is verified based on the intermediate results obtained, specifically: by decrypting the intermediate results, a verification parameter is obtained; based on the verification parameter, whether a preset inequality holds, if so, the data is valid; if the verification parameters obtained after decryption of all the intermediate results sent by the data quality verifier do not satisfy the preset inequality, the intermediate results sent by the data quality verifier are considered to be forged.

[0018] Furthermore, the terminal hardware fingerprint of the task executor is obtained based on a hash value obtained by concatenating a CPU serial number, a memory serial number, and a terminal serial number of the task executor.

[0019] According to a second aspect of an embodiment of the present invention, a computing power trading method based on blockchain is provided, which is based on the above-mentioned computing power trading system based on blockchain, and includes:

[0020] The task publisher publishes the task on the trading platform;

[0021] The trading platform receives the information published by the task publisher and uploads the information to the blockchain;

[0022] The task executor obtains the result data by executing the computing task of the task publisher, and requests the data quality verifier to verify the data quality. When the data quality verification passes, the result data is provided to the task publisher;

[0023] The blockchain-based smart contract pays rewards to the task executors and data quality verifiers who have passed the data quality verification.

[0024] Furthermore, the data quality verification is specifically as follows: the data quality verifier receives the data quality verification request of the task executor, and calculates the intermediate result based on the relevant information submitted by the task executor, and sends the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher; the task publisher performs data quality verification based on the intermediate result fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, and publishes the task executor information that has passed the data quality verification to the trading platform.

[0025] One or more of the above technical solutions have the following beneficial effects:

[0026] (1) The present invention provides a computing power trading system and method based on blockchain. By setting up a data quality verification strategy, it can effectively deal with possible dishonest behavior of each participant, ensure the reliability of the calculation results, provide a safe and reliable environment for the transaction process, and resist multiple attacks, including but not limited to: replay attacks, resistance to random guessing of calculation results, resistance to repeated submission of calculation results, resistance to dishonest behavior of task publishers, and resistance to dishonest behavior of data quality verifiers.

[0027] (2) In the transaction scheme described in the present invention, the identity information and calculation result data of the participants are not directly involved in identity verification and data quality verification, which can effectively protect the identity privacy and data privacy of the participants.

[0028] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0030] Figure 1 This is a schematic diagram of the overall structure of a blockchain-based computing power trading system described in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0032] It should be noted that the terms used herein are for describing specific embodiments only and are not intended to be limiting of exemplary embodiments according to the present invention.

[0033] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0034] like Figure 1 As shown, an embodiment of the present invention provides a computing power trading system based on blockchain, including:

[0035] The task publisher is used to generate the public and private keys of the computing task, estimate and construct the adjustment parameters based on the size of the computing task result value, and publish the task public key, adjustment parameters and task related information on the trading platform; and, based on the intermediate results fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, perform data quality verification, and publish the task executor information that has passed the data quality verification to the trading platform;

[0036] The task executor is used to register on the trading platform, generate an identity ID, its own public and private keys, and terminal hardware fingerprints, and upload the identity ID, its own public key, and terminal hardware fingerprints to the blockchain; and execute the computing task of the task publisher to obtain the result data, request the data quality verifier to perform data quality verification, and provide the result data to the task publisher after the data quality verification passes;

[0037] A data quality verifier, which is used to receive a data quality verification request from a task executor, calculate an intermediate result based on the relevant information submitted by the task executor, and send the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher;

[0038] A trading platform for receiving information published by a task publisher and uploading the information to the blockchain; and receiving registrations from task executors and data quality verifiers;

[0039] Blockchain is used to pay remuneration to task executors and data quality verifiers who have passed data quality verification based on smart contracts.

[0040] In a specific implementation, the task publisher needs to estimate the size of the task result value in advance, and determine the adjustment parameter based on the size of the task result value to ensure that for any task result value, the product of the task result value and the adjustment parameter is an integer.

[0041] The task public key, adjustment parameters and task-related information are published on the trading platform, specifically: the task ID, task description, the remuneration that each task executor who completes the computing task can obtain, the remuneration that the data quality verifier can obtain, the data quality threshold, the task public key and adjustment parameters are published on the trading platform and uploaded to the blockchain for storage.

[0042] Specifically, during the task release phase, the following processing is performed:

[0043] When the task publisher needs to recruit task executors to perform data computing tasks, the computing tasks need to be published on the trading platform.

[0044] (1) Task publisher T generates a public and private key pair (k pT ,ksT ) where k pT = {n, G, G1, e, h, k}, k sT = q1, where G is a cyclic group of order n, and n = q1q2, q1 and q2 are two large prime numbers; e is a bilinear mapping defined on G: G×G -> G1, where G1 is a cyclic group of order n; k, u are randomly selected on G, h = u2 q .

[0045] (2) The task publisher T estimates the magnitude of the task result value p and determines the constant integer m such that mp is an integer for any result value of p. For example, if the range of p is between 0 and 1, with two decimal places, i.e., 0.00 < p < 1.00, then m = 100, and its function is to convert the decimal to an integer.

[0046] (3) The task publisher T publishes the task ID T , the task description, the reward r1 that each task executor who completes the computing task can obtain, the reward r2 that the data quality verifier can obtain, the task public key k pT , the integer m, and the data quality threshold t on the trading platform. The trading platform writes the above content into the blockchain for users to view.

[0047] In the specific implementation, the data quality verifier needs to submit a statement to the trading platform in advance. The statement includes the computing task ID to be accepted and the identity ID when the data quality verifier registers; and the data quality verifier and the task executor cannot be the same device.

[0048] Specifically, the statement process includes:

[0049] (1) User i submits a statement to the trading platform: where represents any signature algorithm calculated with the private key k si of user i. After a user declares to be a data quality verifier, he / she cannot execute the computing task to submit the computing result data anymore;

[0050] (2) The trading platform verifies whether the digital signature is correct with the public key k pi of user i. If it is correct, it writes {ID T , ID i} into the blockchain, indicating that user i is the data verifier of the task ID T for other users to view.

[0051] During the data quality verification process, the task executor executes the computing task of the task issuer to obtain result data, and requests the data quality verifier to perform data quality verification, specifically: calculating the first intermediate parameter and the second intermediate parameter based on the public key of the task issuer, and sending the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor to the selected data quality verifier to perform data quality verification.

[0052] When the data quality verifier receives the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor, it first verifies whether the first intermediate parameter and the second intermediate parameter are valid. If valid, it calculates the intermediate result and sends the intermediate result and the terminal device fingerprint of the task executor to the task publisher. The task publisher verifies the data quality based on the obtained intermediate result.

[0053] The data quality verification based on the obtained intermediate results is specifically as follows: the verification parameters are obtained by decrypting the intermediate results; whether a preset inequality holds based on the verification parameters, if so, the data is valid; if the verification parameters obtained after decryption of all the intermediate results sent by the data quality verifier do not satisfy the preset inequality, the intermediate results sent by the data quality verifier are considered to be forged.

[0054] Specifically, during the data quality verification process, the following processing is performed:

[0055] (1) When user i completes the computing task, he obtains data P i , then use the public key K of the homomorphic encryption algorithm BGN pT calculate:

[0056]

[0057] Among them, a and e are random numbers in group G.

[0058] (2) User i searches for {ID T ,ID i}, randomly select a data quality verifier and pass {c i ,d i ,f i} is sent to the selected data quality verifier, where f i It is the terminal device fingerprint of user i, which prevents user i from submitting calculation data repeatedly.

[0059] (3) When the data quality verifier receives j {c i ,d i ,f i}, confirm that the same f has not been received before i , thus confirming that {c i ,di} is valid and calculates: Where b1, b2 are random numbers in group G.

[0060] (4) Data quality verifiers will i ,f i} is sent to the task publisher. When the task publisher receives all the q i Then, the private key k of the homomorphic encryption algorithm BGN is used sT Decryptionq i get

[0061]

[0062] (5) Verification Is it true? If true, then the corresponding data p i Valid; if all q sent by a data quality verifier i After decryption, if the inequality is not satisfied, it is considered that the q sent by the data quality verifier i is fake.

[0063] In the specific implementation, the task executor, task publisher, and data quality verifier (for the sake of ease of description, all three parties are referred to as users below) need to register on the trading platform in advance. The specific registration process is as follows:

[0064] (1) Each user i who wishes to register on the trading platform first generates a pair of public and private keys (k pi ,k si ), where k pi represents the public key of user i, k si Represents the private key of user i.

[0065] (2) The terminal used by user i to perform computing tasks generates a hardware fingerprint f i The CPU serial number, memory serial number and terminal serial number on the terminal can be hashed, that is, f i = hash (CPU serial number, memory serial number, terminal serial number) The solution described in this embodiment does not limit the specific method for generating hardware fingerprints.

[0066] (3) User i sends the triple (ID i , k pi , f i ) is uploaded to the trading platform when registering, where ID i It represents the identity ID of user i when registering. The trading platform records the triplet of each registered user in plain text in the blockchain so that everyone can find the public key of others.

[0067] Furthermore, when the task publisher completes the verification of all data, the f of all valid data is published. i and the ID of a valid data quality verifier, the corresponding user submits the original data p to the task publisher i At the same time, the blockchain automatically pays computing task executors and data quality verifiers through smart contracts.

[0068] In one or more embodiments, a computing power trading method based on blockchain is provided, which is based on the above-mentioned computing power trading system based on blockchain, including:

[0069] The task publisher publishes the task on the trading platform;

[0070] The trading platform receives the information published by the task publisher and uploads the information to the blockchain;

[0071] The task executor obtains the result data by executing the computing task of the task publisher, and requests the data quality verifier to verify the data quality. When the data quality verification passes, the result data is provided to the task publisher;

[0072] The blockchain-based smart contract pays rewards to the task executors and data quality verifiers who have passed the data quality verification.

[0073] In the specific implementation, the data quality verification is specifically as follows: the data quality verifier receives the data quality verification request from the task executor, calculates the intermediate result based on the relevant information submitted by the task executor, and sends the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher; the task publisher performs data quality verification based on the intermediate result fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, and publishes the task executor information that has passed the data quality verification to the trading platform.

[0074] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in the present embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A computing power trading system based on blockchain, It is characterized in that include: The task publisher is used to generate the public and private keys of the computing task, estimate and construct the adjustment parameters based on the size of the computing task result value, and publish the task public key, adjustment parameters and task related information on the trading platform; and, based on the intermediate results fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, perform data quality verification, and publish the task executor information that has passed the data quality verification to the trading platform; The task executor is used to register on the trading platform, generate an identity ID, its own public and private keys, and terminal hardware fingerprints, and upload the identity ID, its own public key, and terminal hardware fingerprints to the blockchain; and execute the computing task of the task publisher to obtain the result data, request the data quality verifier to perform data quality verification, and provide the result data to the task publisher after the data quality verification passes; A data quality verifier, which is used to receive a data quality verification request from a task executor, calculate an intermediate result based on the relevant information submitted by the task executor, and send the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher; A trading platform for receiving information published by a task publisher and uploading the information to the blockchain; and receiving registrations from task executors and data quality verifiers; Blockchain is used to pay remuneration to task executors and data quality verifiers who have passed data quality verification based on smart contracts.

2. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that The task publisher needs to estimate the size of the task result value in advance, and determine the adjustment parameter based on the size of the task result value to ensure that for any task result value, the product of the task result value and the adjustment parameter is an integer.

3. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that The task public key, adjustment parameters and task-related information are published on the trading platform, specifically: the task ID, task description, the remuneration that each task executor who completes the computing task can obtain, the remuneration that the data quality verifier can obtain, the data quality threshold, the task public key and adjustment parameters are published on the trading platform and uploaded to the blockchain for storage.

4. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that The data quality verifier needs to submit a statement to the trading platform in advance, which includes the computing task ID to be accepted and the identity ID of the data quality verifier when registering; and the data quality verifier and the task executor cannot be the same device.

5. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that The task executor executes the computing task of the task issuer to obtain result data, and requests the data quality verifier to perform data quality verification, specifically: calculating the first intermediate parameter and the second intermediate parameter based on the public key of the task issuer, and sending the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor to the selected data quality verifier to perform data quality verification.

6. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that When the data quality verifier receives the first intermediate parameter, the second intermediate parameter and the terminal device fingerprint of the task executor, it first verifies whether the first intermediate parameter and the second intermediate parameter are valid. If valid, it calculates the intermediate result and sends the intermediate result and the terminal device fingerprint of the task executor to the task publisher. The task publisher verifies the data quality based on the obtained intermediate result.

7. A computing power trading system based on blockchain as claimed in claim 6, It is characterized in that The data quality verification based on the obtained intermediate results is specifically as follows: the verification parameters are obtained by decrypting the intermediate results; whether a preset inequality holds based on the verification parameters, if so, the data is valid; if the verification parameters obtained after decryption of all the intermediate results sent by the data quality verifier do not satisfy the preset inequality, the intermediate results sent by the data quality verifier are considered to be forged.

8. A computing power trading system based on blockchain as claimed in claim 1, It is characterized in that The terminal hardware fingerprint of the task executor is obtained based on a hash value obtained by concatenating the CPU serial number, the memory serial number and the terminal serial number of the task executor.

9. A computing power trading method based on blockchain, which is based on a computing power trading system based on blockchain as claimed in any one of claims 1 to 8, It is characterized in that include: The task publisher publishes the task on the trading platform; The trading platform receives the information published by the task publisher and uploads the information to the blockchain; The task executor obtains the result data by executing the computing task of the task publisher, and requests the data quality verifier to verify the data quality. When the data quality verification passes, the result data is provided to the task publisher; The blockchain-based smart contract pays rewards to the task executors and data quality verifiers who have passed the data quality verification.

10. A computing power transaction method based on blockchain as claimed in claim 9, It is characterized in that The data quality verification is specifically as follows: the data quality verifier receives the data quality verification request from the task executor, calculates the intermediate result based on the relevant information submitted by the task executor, and sends the intermediate result and the terminal hardware fingerprint of the task executor to the task publisher; the task publisher performs data quality verification based on the intermediate result fed back by the data quality verifier and the terminal hardware fingerprint of the task executor, and publishes the task executor information that has passed the data quality verification to the trading platform.