CN111556147A - Block chain-based calculation method and device - Google Patents

Block chain-based calculation method and device Download PDF

Info

Publication number
CN111556147A
CN111556147A CN202010343692.5A CN202010343692A CN111556147A CN 111556147 A CN111556147 A CN 111556147A CN 202010343692 A CN202010343692 A CN 202010343692A CN 111556147 A CN111556147 A CN 111556147A
Authority
CN
China
Prior art keywords
algorithm
calculation
data
block chain
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010343692.5A
Other languages
Chinese (zh)
Inventor
王旭明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010343692.5A priority Critical patent/CN111556147A/en
Publication of CN111556147A publication Critical patent/CN111556147A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/008Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a block chain-based computing method and device, comprising the following steps: acquiring a computing application sent by a user side; acquiring uploaded data sent by the user side, and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data; selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application; calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result; and sending the calculation result to the user side. According to the embodiment of the application, the algorithm is stored in the block chain network, and the uploaded data sent by the user side are encrypted in a homomorphic mode, so that the algorithm is not easy to be tampered, the safety of the calculated data can be guaranteed, and the safety of calculation can be improved.

Description

Block chain-based calculation method and device
Technical Field
The application relates to the technical field of internet, in particular to a block chain-based computing method and device.
Background
With the increasing maturity of cloud technology, cloud computing technology is widely applied. The user can upload data required by calculation to the cloud, calculate by using the algorithm model of the cloud, and acquire a calculation result from the cloud. Compared with the traditional computing method, the cloud computing technology has the advantages of high flexibility, high-efficiency computing capacity and the like. However, the algorithm of cloud computing is in the cloud, data also needs to be transmitted, the algorithm is easily tampered, the transmitted data is easily leaked, and the computing security cannot be ensured.
Disclosure of Invention
In view of this, embodiments of the present application provide a block chain-based computing method and apparatus, which can ensure that an algorithm is not easily tampered with and transmitted data is not leaked, so as to ensure security of computing.
In order to solve the above problem, the technical solution provided by the embodiment of the present application is as follows:
in a first aspect, the present application provides a block chain-based computation method, including:
acquiring a computing application sent by a user side;
acquiring uploaded data sent by the user side, and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data;
selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application;
calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result;
and sending the calculation result to the user side.
Optionally, the algorithm pre-stored in the blockchain network is generated by triggering of a corresponding intelligent contract.
Optionally, the selecting a target algorithm from algorithms pre-stored in a blockchain network according to the calculation application specifically includes:
determining a corresponding target algorithm interface according to the calculation requirement in the calculation application;
and selecting an algorithm corresponding to the target algorithm interface from algorithms stored in the blockchain network in advance as a target algorithm.
Optionally, the method further includes:
and encrypting the algorithm stored in the blockchain network in advance.
Optionally, the method further includes:
and encrypting the algorithm parameters corresponding to the target algorithm and storing the algorithm parameters into the block chain network.
In a second aspect, the present application provides a blockchain-based computing device, the device comprising:
the acquisition unit is used for acquiring the calculation application sent by the user side;
the data acquisition unit is used for acquiring the uploaded data sent by the user side and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data;
the selecting unit is used for selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application;
the calculation unit is used for calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result;
and the feedback unit is used for sending the calculation result to the user side.
Optionally, the algorithm pre-stored in the blockchain network is generated by triggering of a corresponding intelligent contract.
Optionally, the selecting unit is specifically configured to:
determining a corresponding target algorithm interface according to the calculation requirement in the calculation application;
and selecting an algorithm corresponding to the target algorithm interface from algorithms stored in the blockchain network in advance as a target algorithm.
Optionally, the apparatus further comprises:
and the algorithm encryption unit is used for encrypting the algorithm which is stored in the block chain network in advance.
Optionally, the apparatus further comprises:
and the parameter encryption unit is used for encrypting the algorithm parameters corresponding to the target algorithm and storing the algorithm parameters into the block chain network.
Therefore, the embodiment of the application has the following beneficial effects:
according to the block chain-based computing method provided by the embodiment of the application, computing application and uploaded data sent by a user side are obtained, homomorphic encryption processing is performed on the uploaded data to obtain the computing data, a target algorithm is selected from algorithms stored in a block chain network in advance according to the computing application, the computing data is computed by the target algorithm in a homomorphic encryption state to obtain a computing result, and the obtained computing result is sent to the client side. Through calculation application, a target algorithm is determined from algorithms stored in the block chain network, and due to the fact that the block chain network has the characteristic of being not easy to tamper, the algorithms stored in the block chain network are not easy to tamper, and the safety of the algorithms is guaranteed. In addition, the uploaded data of the user side is subjected to homomorphic encryption and is calculated in a homomorphic encryption state, so that the safety of the data can be ensured. Therefore, the algorithm is stored in the block chain network, and the uploaded data sent by the user side are encrypted in a homomorphic manner, so that the algorithm is not easy to be tampered, the safety of the calculated data can be ensured, and the calculation safety can be improved.
Drawings
Fig. 1 is a flowchart of a block chain based computing method according to an embodiment of the present disclosure;
fig. 2 is a scene schematic diagram of a block chain-based computation method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a block chain-based computing device according to an embodiment of the present disclosure.
Detailed Description
In order to facilitate understanding and explaining the technical solutions provided by the embodiments of the present application, the following description will first describe the background art of the present application.
The inventor discovers that in the cloud computing technology, a user uploads data used for computing to a cloud end, the data uploaded by the user is computed through an algorithm stored in the cloud end, the algorithm stored in the cloud end is easy to attack, and therefore the algorithm used for the cloud computing is insecure to a certain extent. In addition, data used for computing needs to be uploaded to the cloud end when cloud computing is performed, and the data are leaked during transmission, so that the cloud computing has unsafe hidden danger.
Based on this, the embodiment of the present application provides a block chain-based calculation method, which includes, first, obtaining a calculation application sent by a user side; acquiring uploaded data sent by the user side, and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data; secondly, selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application; calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result; and finally, sending the calculation result to the user side.
In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, a block chain-based calculation method provided by the embodiments of the present application is described below with reference to the accompanying drawings.
Referring to fig. 1, the figure is a flowchart of a block chain based computing method provided in an embodiment of the present application, and the method includes S101-S105.
S101: and acquiring the computing application sent by the user side.
The method comprises the steps of obtaining a computation application sent by a user side, wherein the computation application can be trigger information sent by the user side and used for computation based on a block chain. Through the calculation application sent by the user side, the relevant information required by the calculation, such as the algorithm type required by the calculation, the required calculation precision and the like, can be obtained.
It can be understood that the user terminal is a terminal that initiates a blockchain-based computation application.
S102: and acquiring the uploaded data sent by the user side, and carrying out homomorphic encryption processing on the uploaded data to obtain the calculated data.
It is to be understood that the upload data may be data for performing calculations, and the upload data is data provided by the user terminal and related to the calculations.
Homomorphic encryption is an encryption method, can realize that data encrypted by homomorphic encryption is directly calculated in an encrypted state, does not need to decrypt the data during calculation, and obtains a calculation result without being influenced by encryption. Therefore, through homomorphic encryption, the calculation processing of the data can be realized in an encrypted state, the process of decryption and re-encryption is not needed, and the data is safer and is not easy to leak.
The uploading data sent by the user side is subjected to homomorphic encryption processing to obtain the calculation data, the calculation data is obtained through homomorphic encryption processing, and the calculation data can be directly utilized to perform calculation through an algorithm to obtain a calculation result.
S103: and selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application.
The calculation application has relevant information required by the calculation, the algorithm required by the calculation can be determined through the information in the calculation application, and then the target algorithm is selected from algorithms stored in the block chain network in advance.
The algorithm is pre-stored in the blockchain network, and it can be understood that the algorithm is pre-stored in the blockchain network, so that on one hand, the safety of the algorithm can be ensured through the characteristic of the blockchain network, which is not easy to be tampered, on the other hand, the algorithm can be pre-stored, and the corresponding algorithm is selected for calculation according to the calculation application, so that the calculation efficiency of the calculation is ensured. The type of the blockchain network and the storage method of the algorithm in the blockchain network are not limited in the embodiment of the application.
In one possible implementation, the algorithm pre-stored in the blockchain network is generated by a corresponding intelligent contract trigger. It is understood that the algorithm can be uploaded to the blockchain network by an algorithm provider, and the algorithm can be specifically stored by an intelligent contract, wherein the intelligent contract has corresponding algorithm logic written by an intelligent contract language. Thus, the corresponding algorithm can be generated by triggering the intelligent contract. When a target algorithm is used, the generation of the target algorithm by an intelligent contract written using the algorithm logic of the target algorithm may be triggered. By enabling the storage, execution and use processes of the algorithm to depend on the intelligent contract, the use process of the algorithm can be guaranteed to be transparent and trackable, and the algorithm is not easy to tamper.
The target algorithm can be an algorithm required by the calculation, and can be determined according to the calculation application. The number of target algorithms is not limited in the embodiment of the application, and the target algorithms can be selected according to specific relevant information of the calculation in the calculation application.
In a possible implementation manner, according to the calculation application, a target algorithm is selected from algorithms stored in advance in the blockchain network, and specifically, the method may include the following two steps:
step one, determining a corresponding target algorithm interface according to the calculation requirement in the calculation application.
The calculation application has calculation requirements, and a corresponding target algorithm interface can be determined according to the calculation requirements, it should be noted that the calculation requirements may be information for representing the calculation requirements of this time, and may include a calculation target to be realized by the calculation of this time, and may also include names of algorithms to be used by the calculation of this time.
And determining a corresponding target algorithm interface according to the calculation requirement, wherein the target algorithm interface can be determined from the algorithm interfaces according to the calculation requirement. The algorithm interface may be a preset interface corresponding to the algorithm stored in the blockchain network, and is used for implementing selection of the algorithm through the algorithm interface. In the embodiment of the present application, the correspondence between the algorithm and the algorithm interface is not limited, and in a possible implementation manner, the algorithm and the algorithm interface may be in one-to-one correspondence. It can be understood that the algorithm interface is provided with the relevant information of the corresponding algorithm, and the selection of the target algorithm interface can be performed according to the calculation requirement and the relevant information of the algorithm interface.
And step two, selecting an algorithm corresponding to the target algorithm interface from algorithms stored in a block chain network in advance as a target algorithm.
And taking an algorithm corresponding to the target algorithm interface as a target algorithm. It is to be understood that, when the algorithm interfaces and the algorithms are in a one-to-one correspondence relationship, the algorithm corresponding to the target algorithm interface is the target algorithm, and when the algorithm interfaces and the algorithms are in a one-to-many correspondence relationship, the target algorithm may be determined from among the plurality of algorithms corresponding to the target algorithm interface.
It should be noted that, in some cases, the algorithm has a requirement of confidentiality, and accordingly, the algorithm stored in the blockchain network in advance may be encrypted to ensure the privacy of the algorithm. In this embodiment, the encryption method for the algorithm is not limited, and in a possible implementation manner, the encryption technology in the block chain technology may be used to perform off-disk encryption on the algorithm.
It can be understood that the algorithm has corresponding algorithm parameters, and the algorithm parameters corresponding to the algorithm can be encrypted and stored in the blockchain network. The algorithm parameters may be relevant parameters for the algorithm itself used in the algorithm operation process.
S104: and calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result.
After the target algorithm is determined, a calculation is performed using the calculation data. It can be understood that, since the calculation data is obtained by uploading data through homomorphic encryption, the calculation can be performed in a homomorphic encrypted state during calculation, specifically, the calculation is performed directly by using the homomorphic encrypted calculation data.
And calculating the calculation data by using a target algorithm to obtain a corresponding calculation result. Because the calculation is performed in a homomorphic encryption state, the obtained calculation result has homomorphic encryption.
S105: and sending the calculation result to the user side.
And sending the calculation result to a user side, wherein the user side can correspondingly decrypt the calculation result to obtain the final decrypted calculation result.
And the result with homomorphic encryption is sent to the user side, so that the safety and the privacy of the calculation result can be improved.
As can be seen from the above, the embodiment of the present application provides a blockchain-based computing method, which performs homomorphic encryption on uploaded data sent by a client, selects a target algorithm from algorithms pre-stored in a blockchain network according to a computing application, performs computing by using the computing data and the target algorithm, and sends a computing result to the client. The algorithm is stored in the block chain network, so that the algorithm is not easy to be tampered, and the safety of the algorithm is ensured. By adopting homomorphic encryption, the security of the uploaded data sent by the user side and the received calculation result is improved. The calculation method provided by the embodiment of the application can protect the algorithm and the related data, and improves the calculation safety.
The block chain-based calculation method provided by the embodiment of the present application is described below with reference to specific scenarios.
Referring to fig. 2, the figure is a schematic view of a scenario of a block chain-based calculation method according to an embodiment of the present application. As shown in fig. 2, in the embodiment of the present application, a computation layer, a computation output layer, and a client layer are built based on a block chain network. A calculation layer is established on a block chain network, corresponding algorithms are stored through intelligent contracts, algorithm parameters of the corresponding algorithms are stored, the algorithms and the algorithm parameters can be encrypted to ensure the safety of the algorithms and the algorithm parameters, and the algorithms and the algorithm parameters are encrypted to provide calculation power by using the algorithms on the premise of not disclosing the algorithms. On the computing layer, a computing output layer can be established, the computing output layer has the function of algorithm calling corresponding to the algorithm interface, homomorphic encryption is correspondingly adopted, and computing is ensured to be carried out in the homomorphic encryption state. In addition, the client layer is provided with an algorithm interface corresponding to the algorithm, the algorithm can be called through the algorithm interface, homomorphic encryption is adopted by the client layer, homomorphic encryption is carried out on uploaded data, and the safety of the uploaded data of the client is ensured.
And the algorithm provider writes an intelligent contract corresponding to the algorithm, wherein the intelligent contract is written according to the corresponding algorithm logic. The intelligent contracts are stored in the blockchain network in advance, and the intelligent contracts are correspondingly encrypted, namely the algorithm is encrypted. After the intelligent contracts are stored in the blockchain network, algorithm parameters of the algorithm corresponding to each intelligent contract are also stored in the blockchain network, so that algorithm calling can be conveniently calculated. And generating an algorithm interface corresponding to each algorithm.
And after the calculation application sent by the client is obtained, homomorphic encryption of the uploaded data is carried out on the client layer to obtain the corresponding calculation data. And determining a corresponding target algorithm interface on a client layer according to the calculation requirement in the calculation application. The corresponding selected target algorithm calls the algorithm on the calculation layer on the calculation output layer, namely, the corresponding intelligent contract is triggered, the calculation is carried out by utilizing the target algorithm and the calculation data, it needs to be explained that the calculation is carried out in a homomorphic encryption state, the calculation data does not need to be decrypted, and the calculation of the calculation data is directly carried out. And obtaining a calculation result on the calculation output layer, and sending the calculation result to the user side to finish the calculation.
Referring to fig. 3, the diagram is a schematic structural diagram of a block chain-based computing device according to an embodiment of the present application. As shown in fig. 3, the block chain-based computing device includes:
an obtaining unit 301, configured to obtain a computing application sent by a user side;
a data obtaining unit 302, configured to obtain upload data sent by the user side, and perform homomorphic encryption processing on the upload data to obtain calculation data;
a selecting unit 303, configured to select a target algorithm from algorithms pre-stored in a blockchain network according to the calculation application;
a calculating unit 304, configured to calculate the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result;
a feedback unit 305, configured to send the calculation result to the user side.
Optionally, the algorithm pre-stored in the blockchain network is generated by triggering of a corresponding intelligent contract.
Optionally, the selecting unit is specifically configured to:
determining a corresponding target algorithm interface according to the calculation requirement in the calculation application;
and selecting an algorithm corresponding to the target algorithm interface from algorithms stored in the blockchain network in advance as a target algorithm.
Optionally, the apparatus further comprises:
and the algorithm encryption unit is used for encrypting the algorithm which is stored in the block chain network in advance.
Optionally, the apparatus further comprises:
and the parameter encryption unit is used for encrypting the algorithm parameters corresponding to the target algorithm and storing the algorithm parameters into the block chain network.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A block chain based computing method, the method comprising:
acquiring a computing application sent by a user side;
acquiring uploaded data sent by the user side, and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data;
selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application;
calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result;
and sending the calculation result to the user side.
2. The method of claim 1, wherein the algorithm pre-stored in the blockchain network is generated by a corresponding smart contract trigger.
3. The method according to claim 1, wherein selecting a target algorithm from algorithms pre-stored in a blockchain network according to the calculation application specifically comprises:
determining a corresponding target algorithm interface according to the calculation requirement in the calculation application;
and selecting an algorithm corresponding to the target algorithm interface from algorithms stored in the blockchain network in advance as a target algorithm.
4. The method of claim 1, further comprising:
and encrypting the algorithm stored in the blockchain network in advance.
5. The method of claim 1, further comprising:
and encrypting the algorithm parameters corresponding to the target algorithm and storing the algorithm parameters into the block chain network.
6. An apparatus for blockchain-based computing, the apparatus comprising:
the acquisition unit is used for acquiring the calculation application sent by the user side;
the data acquisition unit is used for acquiring the uploaded data sent by the user side and carrying out homomorphic encryption processing on the uploaded data to obtain calculated data;
the selecting unit is used for selecting a target algorithm from algorithms stored in a block chain network in advance according to the calculation application;
the calculation unit is used for calculating the calculation data by using the target algorithm in a homomorphic encryption state to obtain a calculation result;
and the feedback unit is used for sending the calculation result to the user side.
7. The apparatus of claim 6, wherein the algorithm pre-stored in the blockchain network is generated by a corresponding smart contract trigger.
8. The apparatus according to claim 6, wherein the selecting unit is specifically configured to:
determining a corresponding target algorithm interface according to the calculation requirement in the calculation application;
and selecting an algorithm corresponding to the target algorithm interface from algorithms stored in the blockchain network in advance as a target algorithm.
9. The apparatus of claim 6, further comprising:
and the algorithm encryption unit is used for encrypting the algorithm which is stored in the block chain network in advance.
10. The apparatus of claim 6, further comprising:
and the parameter encryption unit is used for encrypting the algorithm parameters corresponding to the target algorithm and storing the algorithm parameters into the block chain network.
CN202010343692.5A 2020-04-27 2020-04-27 Block chain-based calculation method and device Pending CN111556147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010343692.5A CN111556147A (en) 2020-04-27 2020-04-27 Block chain-based calculation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010343692.5A CN111556147A (en) 2020-04-27 2020-04-27 Block chain-based calculation method and device

Publications (1)

Publication Number Publication Date
CN111556147A true CN111556147A (en) 2020-08-18

Family

ID=72003045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010343692.5A Pending CN111556147A (en) 2020-04-27 2020-04-27 Block chain-based calculation method and device

Country Status (1)

Country Link
CN (1) CN111556147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114398684A (en) * 2022-03-25 2022-04-26 腾讯科技(深圳)有限公司 Block chain-based information processing method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615378A (en) * 2019-01-24 2019-04-12 上海点融信息科技有限责任公司 Multi-party computations method, apparatus and readable storage medium storing program for executing based on block chain
CN109690551A (en) * 2018-08-24 2019-04-26 区链通网络有限公司 Block chain data guard method, device, system and computer readable storage medium
CN110245514A (en) * 2019-04-30 2019-09-17 清华大学 A kind of distributed computing method and system based on block chain
CN110995408A (en) * 2019-12-19 2020-04-10 深圳市超算科技开发有限公司 Distributed computing method and system based on data encryption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109690551A (en) * 2018-08-24 2019-04-26 区链通网络有限公司 Block chain data guard method, device, system and computer readable storage medium
CN109615378A (en) * 2019-01-24 2019-04-12 上海点融信息科技有限责任公司 Multi-party computations method, apparatus and readable storage medium storing program for executing based on block chain
CN110245514A (en) * 2019-04-30 2019-09-17 清华大学 A kind of distributed computing method and system based on block chain
CN110995408A (en) * 2019-12-19 2020-04-10 深圳市超算科技开发有限公司 Distributed computing method and system based on data encryption

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114398684A (en) * 2022-03-25 2022-04-26 腾讯科技(深圳)有限公司 Block chain-based information processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US9252942B2 (en) Method and system for secure multiparty cloud computation
CN109146481B (en) Method, medium and device for automatically importing account private key of blockchain wallet and blockchain system
NL2013944B1 (en) Public-key encryption system.
US20170005792A1 (en) Key agreement device and method
JP2016526851A (en) System for sharing encryption keys
CN112801307B (en) Block chain-based federal learning method and device and computer equipment
CN114584278A (en) Data homomorphic encryption method and device and data transmission method and device
CN112133386A (en) Block chain-based information processing method, device, equipment and medium
CN114286131A (en) Transmission method and device for anchor image model file in live broadcast wheat
CN113569259B (en) Data sharing method, system, equipment and computer readable storage medium
CN109274659B (en) Certificateless online/offline searchable ciphertext method
CN111556147A (en) Block chain-based calculation method and device
CN117879820A (en) Block chain-based data sharing method
CN115567200B (en) Http interface anti-brushing method, system and related equipment
CN114357522A (en) Privacy calculation grouping query method and system
CN114070591A (en) Cloud storage data authorization method and device based on terminal identity verification
CN112699391A (en) Target data sending method and privacy computing platform
Daniel et al. A cost effective dynamic auditing scheme for outsourced data storage in cloud environment
CN108933950A (en) Terminal iidentification determines method and device, computer equipment and storage medium
CN116071137B (en) Guarantee evaluation method and device, storage medium and electronic equipment
CN114255529B (en) Door lock authorization method, device, computing equipment and computer storage medium
CN117176351B (en) Data transmission processing method, system, computer equipment and storage medium
CN115589293B (en) Privacy query method, device and storage medium
CN113806755A (en) Power data privacy protection and access control method based on block chain
Kumar et al. A Statistical Fractal Diffie-Hellman Key Exchange Authentication Protocol for Intelligent IoT Irrigation Systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200818