CN114640535B - Multi-party secure computing task scheduling method and system based on blockchain - Google Patents

Multi-party secure computing task scheduling method and system based on blockchain Download PDF

Info

Publication number
CN114640535B
CN114640535B CN202210326509.XA CN202210326509A CN114640535B CN 114640535 B CN114640535 B CN 114640535B CN 202210326509 A CN202210326509 A CN 202210326509A CN 114640535 B CN114640535 B CN 114640535B
Authority
CN
China
Prior art keywords
execution
event
scheduling
task
treaty
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210326509.XA
Other languages
Chinese (zh)
Other versions
CN114640535A (en
Inventor
张亮
胡姣姣
张强龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Original Assignee
Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd filed Critical Shenzhen Qianhai Huanrong Lianyi Information Technology Service Co Ltd
Priority to CN202210326509.XA priority Critical patent/CN114640535B/en
Publication of CN114640535A publication Critical patent/CN114640535A/en
Application granted granted Critical
Publication of CN114640535B publication Critical patent/CN114640535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security

Abstract

The invention is suitable for the technical field of network space safety, and provides a multiparty safety calculation task scheduling method system based on a blockchain, which comprises a blockchain network, wherein the blockchain network comprises a scheduling operation certificate storing treaty, a scheduling treaty and an event notification module which are sequentially connected, the scheduling operation certificate storing treaty is used for storing certificate information of a user, the certificate information carries out safety calculation tasks through the scheduling treaty, and when the scheduling treaty executes a certain event mechanism code, the event notification module transmits an event message; several participants: each participant comprises an event monitoring module and a task processing module which are connected with each other, wherein each event monitoring module is connected with the event notification module and is used for monitoring corresponding event messages and timely processing respective security calculation tasks; each participant can independently monitor and solve task events from the local area network, and the problem of data security caused by the introduction of a trusted third party is avoided.

Description

Multi-party secure computing task scheduling method and system based on blockchain
Technical Field
The invention belongs to the technical field of computer security, and particularly relates to a multi-party security computing task scheduling method and system based on a block chain.
Background
The multiparty secure computation is a theoretical framework which is proposed for solving the problem of collaborative computation among a group of mutually-untrusted participants under the premise of protecting private information of each party. However, in a general multiparty secure computing system, due to the existence of multiple participants, a trusted third party needs to be found as a dispatcher for tasks, and task execution of the parties is coordinated and managed. In the process of honest, because the requirement of each party in the system on data privacy is high, it is difficult to find a trusted third party which is approved by each party; meanwhile, due to the intervention of a third party, partial private data can not be prevented from being leaked in the execution process of the multiparty secure computing task, and the data privacy of each party is difficult to protect. On the other hand, in the current general multiparty safety computing system design, one multiparty safety computing task can involve multiparty, the operation records of the whole task are difficult to collect uniformly, and the operation audit of the multiparty safety computing task is affected.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a multi-party secure computing task scheduling method based on a block chain and a scheduling system for generating the method.
The invention is realized in the following way: a multi-party secure computing task scheduling method based on a blockchain comprises the following steps:
S1, a plurality of participants agree on the execution flow of a multiparty security calculation task, wherein one participant serves as a registration participant, and the execution flow of the registration task is sent to a scheduling treaty on a blockchain network;
s2, checking task execution flows in the scheduling treaty by other participants, if the task execution flows are not objectively checked by the other participants, calling a flow approval interface in the scheduling treaty, formally validating the task execution flows, and allowing execution of task execution flow codes, wherein the execution link data information of the task execution flows mainly comprises step marks of task execution, identity information of an executing party, an execution link name and an execution link interface;
s3, the registration participant activates execution of a task execution flow, and the registration participant calls a task activation interface of a scheduling treaty in the form of blockchain transaction; after the task activation interface of the scheduling treaty is executed, the scheduling treaty triggers the state check events of all the participants, and the state check events are broadcast to all the participants;
S4, all the participants receive the state check event, check the state information of the task processing module, and call a scheduling treaty to store the state information of each participant in the form of a blockchain transaction; after the scheduling treaty finishes storing the state information, triggering a first execution event of the registered participators, and broadcasting the first execution event to all the participators;
s5, all the participants receive the first execution event, only the registered participant accords with the identity information of the executor of the first execution event, the name of the first execution link and the first execution link interface in the first execution event are analyzed, and meanwhile the registered participant calls the first execution link interface to inform the dispatch treaty that the first execution event is executed in a block chain transaction mode;
s6, after the scheduling treaty receives that the first execution event link of the registered participant is executed, triggering a second execution event of a second participant, and broadcasting the second execution event to all participants;
S7, all the participants receive a second execution event, and only the second participant accords with the identity information of the execution party of the second execution event, and the name and the second execution link interface of the second execution link in the second execution event are analyzed; meanwhile, the second participant calls a second execution link interface to inform the scheduling treaty that the second execution event is executed in the form of blockchain transaction;
s8, after the scheduling treaty receives that the second execution event of the second participant is executed, repeating S6-S7 to trigger the execution events of other participants in sequence, and finally triggering the task execution completion event, and broadcasting the task execution completion event to all the participants;
S9, all the participants receive the task execution completion event, update the local task execution state of the respective participant, and finish the scheduling and execution of the multiparty safe calculation task.
Further, the data information record of the registered participant in the task execution flow is {1, participant a, task1, task1_interface }, similarly, the data information record of the second participant in the task execution flow is {2, participant B, task2, task2_interface }, and so on.
Further, in step S3, after the blockchain network receives the execution message of the task execution flow, the blockchain network triggers the execution of a scheduling treaty and updates an operation record of task execution.
Further, in step S5, the system checks whether the identity information of the executing party of the first executing event is the same as that of other participating parties, and if the identity information of the executing party of the first executing event is not met by other participating parties, the system discards the received first executing event and does not perform subsequent processing.
Further, in step S7, the system checks whether the identity information of the executing party of the second executing event is the same as that of other parties, including the registered party, and if the registered party does not conform to the identity information of the executing party of the second executing event, the system discards the received second executing event and does not perform subsequent processing.
The invention also discloses a multiparty safe computing task scheduling system based on the block chain for generating the scheduling method, which comprises the following steps:
The system comprises a blockchain network, a database and a database, wherein the blockchain network comprises a scheduling operation certification treaty, a scheduling treaty and an event notification module which are sequentially connected, the scheduling operation certification treaty is used for storing certificate information of a user, the certificate information is used for carrying out a safe calculation task through the scheduling treaty, event mechanism codes are embedded in the scheduling treaty codes, and when the scheduling treaty executes certain event mechanism codes, the event notification module transmits event information;
several participants: each participant comprises an event monitoring module and a task processing module which are connected with each other, and each event monitoring module is connected with the event notification module and is used for monitoring corresponding event messages and timely processing respective security calculation tasks.
According to the multi-party secure computing task scheduling method and system based on the blockchain, task scheduling of all the participants is carried out by means of the decentralized scheduling treaty, each participant can monitor task events from the regional chain network, the problem that a trusted third party needs to be found as a scheduling party in a multi-party secure computing application scene is solved, and the problem of data security caused by the introduction of the trusted third party is avoided. In addition, due to the non-falsification and traceability of the blockchain network, complete task execution and scheduling records can be recorded while task scheduling is performed, so that subsequent security audit work is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
The following drawings are only for purposes of illustration and explanation of the present invention and are not intended to limit the scope of the invention.
FIG. 1 is a flow chart of a multi-party secure computing task scheduling method based on a blockchain of the present invention.
FIG. 2 is a schematic diagram of a multi-party secure computing task scheduling system based on a blockchain in accordance with the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, a multi-party secure computing task scheduling method based on blockchain disclosed by the invention includes:
S1, a plurality of participants agree on the execution flow of a multiparty security calculation task, wherein one participant serves as a registration participant, and the execution flow of the registration task is sent to a scheduling treaty on a blockchain network; assuming that three participants are respectively a participant A, a participant B and a participant C, namely, the participant A, the participant B and the participant C agree on the execution flow of the multiparty secure calculation task, the participant A is used as the registered participant, namely, the task execution flow of the participant A, and specifically, the execution link data information of the task execution flow mainly comprises step marks of task execution, identity information of the executing party, an execution link name and an execution link interface. The data information record of the registered participant, namely, participant A, in the task execution flow is {1, participant A, task1, task1_interface }, the data information record of the second participant, namely, participant B, in the task execution flow is {2, participant B, task2, task2_interface }, and the like; wherein, 1 and 2 are task execution steps, task1 and task2 are execution link names, and task1_ INTERFACE, TASK2_interface is an execution link interface.
S2, checking task execution flows in the scheduling treaty by other participants, namely a participant B and a participant C, and calling a flow approval interface in the scheduling treaty if the task execution flows are not objection by the other participants, wherein the task execution flows are formally effective, and executing task execution flow codes is allowed.
S3, registering a participant, namely a participant A, activating execution of a task execution flow, and calling a task activation interface of a scheduling treaty by the registering participant in the form of blockchain transaction; further, after the blockchain network receives the execution information of the task execution flow, triggering the execution of a scheduling treaty and updating an operation record of task execution; when the task activation interface of the scheduling treaty is completed, the scheduling treaty triggers a Status check EVENT of all the participants, called event_status, and the Status check EVENT event_status is broadcast to all the participants.
S4, all the participants receive a state checking EVENT event_status, check the state information of the task processing module, and call a scheduling treaty to store the state information of each participant in a block chain transaction mode; after the scheduling treaty finishes storing the state information, triggering a first execution EVENT called event_1 of the registered participant, namely, a step 1 link {1 of the participant a, the task1, the task1_interface }, and broadcasting the first execution EVENT event_1 to all the participants.
S5, all the participants receive the first execution EVENT event_1, only the registered participant, namely the participant A, accords with the identity information of the executor of the first execution EVENT event_1, analyzes the first execution link name task1 and the first execution link interface task1_interface in the first execution EVENT event_1, and simultaneously calls the first execution link interface task1_interface by the registered participant, and notifies the scheduling treaty that the first execution EVENT is executed in a block chain transaction mode, namely the step 1 link of the scheduling treaty is executed. Further, the system checks whether the identity information of the executing party of the first executing EVENT event_1 is the same as the identity information of other participating parties, namely, the participating party B and the participating party C, if the participating party B and the participating party C do not conform to the identity information of the executing party of the first executing EVENT event_1, the participating party B and the participating party C discard the received first executing EVENT event_1 and do not do subsequent processing.
S6, after the first execution EVENT link of the registered participant is received by the scheduling treaty, namely after the step 1 link of the participant A is received by the scheduling treaty, triggering a second execution EVENT of a second participant, namely a step 2 link {2 of the participant B, the task2 and the task2_interface }, which is called event_2, and broadcasting the second execution EVENT event_2 to all participants;
S7, similarly, all the participants receive a second execution EVENT event_2, only the second participant is namely a participant B, the identity information of the executor conforming to the second execution EVENT event_2 is analyzed, and a second execution link name task2 and a second execution link interface task2_interface in the second execution EVENT event_2 are analyzed; meanwhile, a second participant, namely a participant B, calls a second execution link interface task2_interface, and notifies a scheduling treaty that a second execution event is executed in a block chain transaction mode, wherein the step 2 link of the scheduling treaty is executed; further, the system checks whether the identity information of the executing party of the second executing EVENT event_2 is the same as the identity information of the other participating parties, namely, the participating party a and the participating party C, and if the participating party a and the participating party C do not conform to the identity information of the executing party of the second executing EVENT event_2, the system discards the received second executing EVENT event_2 and does not perform subsequent processing.
And S8, after the scheduling treaty receives the second execution event of the second party, namely after the step 2 of the scheduling treaty receiving the party B is finished. And repeating S6-S7 to trigger the execution EVENTs of other participants in turn, and finally triggering the EVENT of completing the task, namely event_complete, wherein the event_complete of completing the task is broadcasted to all the participants.
In cooperation with the steps S5-S8, each participant can independently process the corresponding execution event, a third party is not required to be introduced as a dispatcher to complete the calculation task, and the safety of data in the whole calculation task is ensured.
S9, all the participants receive the event_complete of task execution, update the local task execution states of the respective participants, and finish the scheduling and execution of the multiparty security calculation task.
The invention also discloses a multiparty secure computing task scheduling system based on block chains for generating the scheduling method, as shown in figure 2, comprising:
The system comprises a blockchain network, a database and a database, wherein the blockchain network comprises a scheduling operation certification treaty, a scheduling treaty and an event notification module which are sequentially connected, the scheduling operation certification treaty is used for storing certificate information of a user, the certificate information is used for carrying out a safe calculation task through the scheduling treaty, event mechanism codes are embedded in the scheduling treaty codes, and when the scheduling treaty executes certain event mechanism codes, the event notification module transmits event information; also comprises a plurality of participants: each participant comprises an event monitoring module and a task processing module which are connected with each other, and each event monitoring module is connected with the event notification module and is used for monitoring corresponding event messages and timely processing respective security calculation tasks. After receiving the transaction, any party can check the validity of transaction data and the validity of the issuing identity by searching the corresponding certificate information in the blockchain network account book, so that the safe transmission of the data is ensured.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, or alternatives falling within the spirit and principles of the invention.

Claims (6)

1.A multi-party secure computing task scheduling method based on a block chain is characterized by comprising the following steps of: comprising the following steps:
S1, a plurality of participants agree on the execution flow of a multiparty security calculation task, wherein one participant serves as a registration participant, and the execution flow of the registration task is sent to a scheduling treaty on a blockchain network;
s2, checking task execution flows in the scheduling treaty by other participants, if the task execution flows are not objectively checked by the other participants, calling a flow approval interface in the scheduling treaty, formally validating the task execution flows, and allowing execution of task execution flow codes, wherein the execution link data information of the task execution flows mainly comprises step marks of task execution, identity information of an executing party, an execution link name and an execution link interface;
s3, the registration participant activates execution of a task execution flow, and the registration participant calls a task activation interface of a scheduling treaty in the form of blockchain transaction; after the task activation interface of the scheduling treaty is executed, the scheduling treaty triggers the state check events of all the participants, and the state check events are broadcast to all the participants;
S4, all the participants receive the state check event, check the state information of the task processing module, and call a scheduling treaty to store the state information of each participant in the form of a blockchain transaction; after the scheduling treaty finishes storing the state information, triggering a first execution event of the registered participators, and broadcasting the first execution event to all the participators;
s5, all the participants receive the first execution event, only the registered participant accords with the identity information of the executor of the first execution event, the name of the first execution link and the first execution link interface in the first execution event are analyzed, and meanwhile the registered participant calls the first execution link interface to inform the dispatch treaty that the first execution event is executed in a block chain transaction mode;
s6, after the scheduling treaty receives that the first execution event link of the registered participant is executed, triggering a second execution event of a second participant, and broadcasting the second execution event to all participants;
S7, all the participants receive a second execution event, and only the second participant accords with the identity information of the execution party of the second execution event, and the name and the second execution link interface of the second execution link in the second execution event are analyzed; meanwhile, the second participant calls a second execution link interface to inform the scheduling treaty that the second execution event is executed in the form of blockchain transaction;
s8, after the scheduling treaty receives that the second execution event of the second participant is executed, repeating S6-S7 to trigger the execution events of other participants in sequence, and finally triggering the task execution completion event, and broadcasting the task execution completion event to all the participants;
S9, all the participants receive the task execution completion event, update the local task execution state of the respective participant, and finish the scheduling and execution of the multiparty safe calculation task.
2. The multi-party secure computing task scheduling method based on blockchain as in claim 1, wherein: the data information record of the registered participant in the task execution flow is {1, participant A, task1, task1_interface }, and similarly, the data information record of the second participant in the task execution flow is {2, participant B, task2, task2_interface }, and so on.
3. The multi-party secure computing task scheduling method based on blockchain as in claim 1, wherein: in step S3, after the blockchain network receives the execution message of the task execution flow, the blockchain network triggers the execution of the scheduling treaty and updates the operation record of task execution.
4. The multi-party secure computing task scheduling method based on blockchain as in claim 1, wherein: in step S5, the system checks whether the identity information of the executing party of the first executing event is the same as that of other participating parties, and if the identity information of the executing party of the first executing event is not met by other participating parties, the system discards the received first executing event and does not perform subsequent processing.
5. The multi-party secure computing task scheduling method based on blockchain as in claim 1, wherein: in step S7, the system checks whether the identity information of the executing party of the second executing event is the same as that of other parties, including the registration party, and if the registration party does not conform to the identity information of the executing party of the second executing event, the system discards the received second executing event and does not perform subsequent processing.
6. A multiparty secure computing task scheduling system based on a blockchain is characterized in that: a multi-party secure computing task scheduling method for generating a blockchain-based system as in any of claims 1-5, the scheduling system comprising:
The system comprises a blockchain network, a database and a database, wherein the blockchain network comprises a scheduling operation certification treaty, a scheduling treaty and an event notification module which are sequentially connected, the scheduling operation certification treaty is used for storing certificate information of a user, the certificate information is used for carrying out a safe calculation task through the scheduling treaty, event mechanism codes are embedded in the scheduling treaty codes, and when the scheduling treaty executes certain event mechanism codes, the event notification module transmits event information;
several participants: each participant comprises an event monitoring module and a task processing module which are connected with each other, and each event monitoring module is connected with the event notification module and is used for monitoring corresponding event messages and timely processing respective security calculation tasks.
CN202210326509.XA 2022-03-30 2022-03-30 Multi-party secure computing task scheduling method and system based on blockchain Active CN114640535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210326509.XA CN114640535B (en) 2022-03-30 2022-03-30 Multi-party secure computing task scheduling method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210326509.XA CN114640535B (en) 2022-03-30 2022-03-30 Multi-party secure computing task scheduling method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN114640535A CN114640535A (en) 2022-06-17
CN114640535B true CN114640535B (en) 2024-05-03

Family

ID=81950970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210326509.XA Active CN114640535B (en) 2022-03-30 2022-03-30 Multi-party secure computing task scheduling method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN114640535B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046352A (en) * 2019-12-13 2020-04-21 浙江师范大学 Identity information security authorization system and method based on block chain
CN112100659A (en) * 2020-09-14 2020-12-18 电子科技大学 Block chain federal learning system and Byzantine attack detection method
CN113379066A (en) * 2021-06-10 2021-09-10 重庆邮电大学 Federal learning method based on fog calculation
CN113590354A (en) * 2021-07-30 2021-11-02 工银科技有限公司 Block chain-based information push method, apparatus, device, medium, and program product
CN113962674A (en) * 2021-12-22 2022-01-21 国家电网有限公司客户服务中心 Block chain-based power transaction contract security system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3525389B1 (en) * 2016-10-04 2021-02-17 Nec Corporation Embedded sim management system, node device, embedded sim management method, program, and information registrant device
US11922532B2 (en) * 2020-01-15 2024-03-05 Digimarc Corporation System for mitigating the problem of deepfake media content using watermarking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111046352A (en) * 2019-12-13 2020-04-21 浙江师范大学 Identity information security authorization system and method based on block chain
CN112100659A (en) * 2020-09-14 2020-12-18 电子科技大学 Block chain federal learning system and Byzantine attack detection method
CN113379066A (en) * 2021-06-10 2021-09-10 重庆邮电大学 Federal learning method based on fog calculation
CN113590354A (en) * 2021-07-30 2021-11-02 工银科技有限公司 Block chain-based information push method, apparatus, device, medium, and program product
CN113962674A (en) * 2021-12-22 2022-01-21 国家电网有限公司客户服务中心 Block chain-based power transaction contract security system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
属性感知的MCS任务分配与隐私保护协同机制;杨鹏;吴其明;;华南理工大学学报(自然科学版);20200815(08);全文 *

Also Published As

Publication number Publication date
CN114640535A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
CN111027936B (en) Workflow realization method, device and medium based on intelligent contract in alliance network
WO2021233049A1 (en) Blockchain–based data processing method, apparatus, device, and readable storage medium
CN109255482B (en) Disposal system applied to emergency management
CN105553683A (en) Conference sign-in method and system
CN109727131A (en) Method of commerce and system are executed under a kind of chain based on block chain contract layer
CN110929229A (en) Block chain-based office document credibility verification method and system
CN111311410A (en) Community problem multi-department cooperative processing system and method based on block chain
CN111221914A (en) Data exchange sharing tracing method based on block chain
CN111340340B (en) Event processing method and device
CN109919614A (en) A kind of method for protecting intelligent contract privacy using zero-knowledge proof in block chain
CN109285066B (en) Intelligent contract generating and executing method based on banking business flow
WO2014075503A1 (en) Conference access method and device
CN114640535B (en) Multi-party secure computing task scheduling method and system based on blockchain
CN105988886B (en) Fault handling method and device during a kind of O&M
CN104093217B (en) A kind of group of digital cluster system exhales management method and device
CN109639913A (en) A kind of automatic speech harassing and wrecking number processing method, apparatus and system
CN113706106A (en) Government affair cooperation system constructed based on block chain
CN113014540B (en) Data processing method, device, equipment and storage medium
CN112926981B (en) Transaction information processing method, device and medium for block chain and electronic equipment
CN111680968B (en) Building rights management system and method based on block chain
CN112804647A (en) Target user tracking method, system, server and storage medium based on communication
CN112651588A (en) Intelligent cloud management system for hazardous waste disposal of block chain
CN104507064A (en) Emergency communication telephone traffic priority ordering method based on PageRank algorithm
CN114157020B (en) System and method for realizing dispatching instruction networking order-issuing across secure partition
CN110888935A (en) Data transaction method based on block chain

Legal Events

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