CN111383017A - Anchoring method based on intelligent contract and business method based on method - Google Patents

Anchoring method based on intelligent contract and business method based on method Download PDF

Info

Publication number
CN111383017A
CN111383017A CN202010152048.XA CN202010152048A CN111383017A CN 111383017 A CN111383017 A CN 111383017A CN 202010152048 A CN202010152048 A CN 202010152048A CN 111383017 A CN111383017 A CN 111383017A
Authority
CN
China
Prior art keywords
anchoring
role
task
data
stage
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
CN202010152048.XA
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.)
Hefei Institutes of Physical Science of CAS
Original Assignee
Hefei Institutes of Physical Science of CAS
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 Hefei Institutes of Physical Science of CAS filed Critical Hefei Institutes of Physical Science of CAS
Priority to CN202010152048.XA priority Critical patent/CN111383017A/en
Publication of CN111383017A publication Critical patent/CN111383017A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Abstract

The invention relates to the technical field of block chains, in particular to an anchoring method based on an intelligent contract and a business method based on the anchoring method. The anchoring method is used for executing the anchoring process of data by a plurality of roles in a plurality of stages by creating an anchoring task which is intelligent contract in nature, and the business method is realized based on the method. The invention can better solve the problems of higher cost, overhigh threshold and the like existing in the chain anchoring of the existing data.

Description

Anchoring method based on intelligent contract and business method based on method
Technical Field
The invention relates to the technical field of block chains, in particular to an anchoring method based on an intelligent contract and a business method based on the anchoring method.
Background
To protect the local data from unauthorized alteration, this can be accomplished by anchoring the local data into the blockchain. After anchoring the local data into the block chain, the user can obtain the certificate on the chain; the user can better know whether the local data is changed or not by comparing the hash of the data stored in the chain with the real-time hash of the local data.
For the existing data chain on-anchoring, an actual anchoring demand party often does not have enough data anchoring capability, so that the data chain on-anchoring has the problems of high cost, high threshold and the like.
Disclosure of Invention
The present invention provides a smart contract-based anchoring method that overcomes some or all of the deficiencies of the prior art.
According to the intelligent contract-based anchoring method, the anchoring process of the data is executed by a plurality of roles in a plurality of stages by creating an intelligent contract-based anchoring task.
In the invention, by establishing the anchoring task based on the intelligent contract, the anchoring process of one data can be completed by different roles in different stages, so that the corresponding action can be completed by professionals in related stages in each stage of data anchoring, and the pipelining operation of data anchoring can be better realized. Given this solution, it is possible to greatly reduce the technical requirements on the anchoring demander and the costs thereof required to complete the anchoring.
Preferably, the plurality of roles includes a facilitator role siUser role uiAgent role aiAnd the mineworker role mi
Service provider role siFor anchoring service providers, a set of facilitator roles siIs expressed as S ═ S1,s2,…,sn},si∈ S, per facilitator role SiInformation SA ofiAre all registered on the blockchain;
user role uiFor data anchoring service demander, a set of user roles uiIs expressed as U ═ U1,u2,…,un},ui∈ U, per user role UiInformation UA ofiAre all registered on the blockchain;
agent role aiServing data anchorsExecutive, a set of agent roles aiIs marked as A ═ a1,a2,…,an},ai∈ A, each agent role aiInformation AA ofiAre all registered on the blockchain;
role m of mineriNotarization party serving data anchoring, a set of mineworker roles miIs expressed as M ═ M1,m2,…,mn},mi∈ M, per miner role MiInformation of (MA)iAre registered on the blockchain.
In the present invention, the facilitator role siIs the creator of the anchor task, which can create the user role u by creating the anchor taskiAgent role aiAnd the role of miner miAnd performing association so as to realize the anchoring process of the collaborative completion data. User role uiThe uploading of the data information to be anchored can be realized by screening the related anchoring tasks and signing the related intelligent contract content. Agent role aiThe execution of the data anchoring requirement pointed in the anchoring task can be realized by auction related anchoring task tasks and signing related intelligent contract contents. Role m of mineriWhether the data anchoring is successful can be notarized in a voting mode.
Preferably, the plurality of stages comprises, in sequence,
anchoring task creation phase in which facilitator role siEstablishing an anchoring task through an intelligent contract;
a data collection phase in which user roles uiSelecting a proper anchoring task to upload data information to be anchored and paying the specified cost in the corresponding anchoring task;
auction phase in which proxy character aiPaying a deposit and acquiring the execution right of a related anchoring task through auction;
anchoring stage, in which the agent role a of the execution right of the anchoring task is obtainediUser role uiAnchoring the data to be anchored into the target public chain;
a reporting phase ofAgent role a in segmentiSending the execution result of the anchoring stage to an anchoring task;
notarization phase, in which the mineworker role miTo proxy role aiSending the execution result to the anchoring task for notarization; and
settlement phase, in which the user role u is checkediAgent role aiAnd the role m of the mineriThe fee of (2) is settled.
In the invention, the anchoring process is realized in stages, so that the whole anchoring process can be implemented orderly, and the data can be anchored better.
Preferably, in the anchor task creation phase, the created anchor task can be an attribute tuple AT,
AT=(ID,CList,TargetChain,TsScope,Fee,AgentDeposit,SA,Settle):
wherein the content of the first and second substances,
ID∈{0,1}la unique identifier that is an anchor task;
CList is for collecting user roles uiThe CList is initialized to be a null list;
TargetChan is the target public chain, which is defined by the facilitator role siSpecifying and can not limit the public chain type;
the TsScope is the time limit of the anchoring task in each stage, and is defined as a set { creation, collecting, animation, reporting }, which respectively represents the end time of the anchoring task creation stage, the data collection stage, the auction stage and the reporting stage;
fee is user role uiThe service fee to be paid after successful completion of anchoring;
AgentDeposit is agent role aiA deposit to be paid;
SA as the affiliated facilitator role s of the anchor taski
A set is defined as a set agent, miner, representing the assignment of agent role a after the successful completion of the anchoring taskiAnd the role of miner miThe cost of (2).
In the invention, the created anchoring task is essentially an intelligent contract containing a plurality of contents, and the intelligent contracts of different contents can be signed with different roles, thereby better realizing the linkage anchoring of multi-role cooperative completion data.
Preferably, during the data collection phase, user roles uiThe method comprises the steps of firstly, carrying out hash calculation on data to be anchored locally to generate an Entry of the data to be anchored and an identification ID uniquely corresponding to the data to be anchored, then selecting a proper anchoring task and signing the anchoring task, further paying related cost and uploading a set (ID, Entry, UAi) to fill in CList.
In the invention, the user role u is enabled to be in the data collection stageiCan preferably select proper anchoring task to meet the requirement of data anchoring, thereby greatly simplifying user role uiAnd anchoring costs can be preferably reduced.
Preferably, in the auction phase, when new > TsScope.collecting is satisfied, the data collection phase is ended, the anchoring task enters the auction phase, and the agent role aiParticipating in the auction of the corresponding anchoring task by paying a deposit stipulated in the anchoring task; the winning rule of the auction is that p is more than or equal to 0 and less than (T) min piAgent, wherein the agent indicates that the agent role a is assigned after the corresponding anchoring task is successfully completediCost of pi(T) represents agent role aiP (t) represents the latest bid; when not tsscope is reached, p (t) wins the auction as the final price, i.e. the corresponding proxy role a for the offeriWinning the auction; meanwhile, the agent role a failing the auctioniThe anchoring task refunds the deposit paid by it.
In the invention, each agent role a is enabled to be in an auction phase through settingiCan autonomously participate in the auction of any anchoring task and can preferably realize the auction of the corresponding anchoring task by means of a low-price auction.
Preferably, in the anchoring phase and the reporting phase, the agent role a for acquiring the execution right of the corresponding anchoring taskiProxy role a before time arrives at tsscopeiAnchoring user role u to target public chainiData that needs to be anchored and sends the anchoring result (ID, Txid, AA) to the anchoring task.
In the invention, the proxy role a can be set through the TsScope reportingiIs defined, the anchor result can preferably be returned by sending it (ID, Txid, AA) to the anchor task.
Preferably, in the notarization phase, when now > TsScopeiVoting the anchoring result, counting the number of votes when the notarization stage is finished, judging that the anchoring task is successful if the number of votes of the anchoring result is not less than 50% of the total number of votes, and judging that the anchoring task fails by an anti-regularization method.
In the invention, the role m of a miner is usediAnd the voting notarization of the anchoring result in the notarization stage can better realize the judgment of the authenticity of the anchoring result.
Preferably, in the settlement stage, when the notarization stage is completed, the anchoring task is finished, at this time, the settlement stage is entered for settlement, and the settlement stage settles the roles participating in the anchoring task according to whether the anchoring task is completed or not.
The settlement in the over-settlement stage can preferably perform corresponding settlement according to the completion state of the anchoring task, so that the consideration distribution of the role participating in the anchoring task can be preferably realized.
The present invention also provides a business method that enables commercialization of data anchoring by employing any of the methods described above. The commercialization operation of data anchoring can be preferably realized.
Drawings
FIG. 1 is a block diagram of an intelligent contract-based anchoring method according to example 1;
fig. 2 is a simplified flow diagram of an intelligent contract-based anchoring method according to embodiment 1.
Detailed Description
For a further understanding of the invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings and examples. It is to be understood that the examples are illustrative of the invention and not limiting.
Example 1
The embodiment provides an anchoring method based on an intelligent contract, which executes the anchoring process of data by a plurality of roles in a plurality of stages by creating an anchoring task based on the intelligent contract.
In this embodiment, by creating an anchoring task based on an intelligent contract, the anchoring process of one data can be completed by different roles in different stages, so that a professional in a relevant stage can complete corresponding actions in each stage of data anchoring, and thus, the pipelining work of data anchoring can be preferably realized. Given this solution, it is possible to greatly reduce the technical requirements on the anchoring demander and the costs thereof required to complete the anchoring.
As shown in connection with FIG. 1, the plurality of roles includes a facilitator role siUser role uiAgent role aiAnd the mineworker role mi
Service provider role siFor anchoring service providers, a set of facilitator roles siIs expressed as S ═ S1,s2,...,sn},si∈ S, per facilitator role SiInformation SA ofiAre all registered on the blockchain;
user role uiFor data anchoring service demander, a set of user roles uiIs expressed as U ═ U1,u2,…,un},ui∈ U, per user role UiInformation UA ofiAre all registered on the blockchain;
agent role aiSet of proxy roles a for the actual executive of the data anchoring serviceiIs marked as A ═ a1,a2,...,an},ai∈ A, each agent role aiInformation AA ofiAre all registered on the blockchain;
role m of mineriNotarization party serving data anchoring, a set of mineworker roles miIs expressed as M ═ M1,m2,…,mn},mi∈ M, per miner role MiInformation of (MA)iAre registered on the blockchain.
In this embodiment, the service provider role siIs the creator of the anchor task, which can create the user role u by creating the anchor taskiAgent role aiAnd the role of miner miAnd performing association so as to realize the anchoring process of the collaborative completion data. User role uiThe uploading of the data information to be anchored can be realized by screening the related anchoring tasks and signing the related intelligent contract content. Agent role aiThe execution of the data anchoring requirement pointed in the anchoring task can be realized by auction related anchoring task tasks and signing related intelligent contract contents. Role m of mineriWhether the data anchoring is successful can be notarized in a voting mode.
It can be understood that the anchor task in this embodiment is essentially an intelligent contract containing a plurality of contents, and different roles can be associated with the anchor task by signing the intelligent contract corresponding to the contents, so that the task division and the process division of anchoring on the data chain can be preferably completed.
In this embodiment, the service provider role siThe relevant target public chain can be specified in the anchor task, i.e. can be pointed to as a data anchor.
As shown in fig. 2, the multiple stages sequentially include:
anchoring task creation phase in which facilitator role siEstablishing an anchoring task through an intelligent contract;
a data collection phase in which user roles uiSelecting a proper anchoring task to upload data information to be anchored and paying the specified cost in the corresponding anchoring task;
auction phase in which proxy character aiPaying a deposit and acquiring the execution right of a related anchoring task through auction;
anchoring stage, in which the agent role a of the execution right of the anchoring task is obtainediUser role uiAnchoring the data to be anchored into the target public chain;
a reporting phase in which the agent role aiSending the execution result of the anchoring stage to an anchoring task;
notarization phase, in which the mineworker role miTo proxy role aiSending the execution result to the anchoring task for notarization; and
settlement phase, in which the user role u is checkediAgent role aiAnd the role m of the mineriThe fee of (2) is settled.
In this embodiment, the anchoring process is implemented in stages, so that the whole anchoring process can be implemented in order, and thus, data can be anchored better.
In the anchor task creation phase, the created anchor task can be an attribute tuple AT:
AT=(ID,CList,TargetChain,TsScope,Fee,AgentDeposit,SA,Settle):
wherein the content of the first and second substances,
ID∈{0,1}la unique identifier for the anchor task;
CList is for collecting user roles uiThe CList is initialized to be a null list;
TargetChain is a target public chain, which is specified by a service provider role si and can be without limitation to the public chain type;
the TsScope is the time limit of the anchoring task in each stage, and is defined as a set { creation, collecting, animation, reporting }, which respectively represents the end time of the anchoring task creation stage, the data collection stage, the auction stage and the reporting stage;
fee is user role uiAfter anchoring successfullyThe service fee to be paid later;
AgentDeposit is agent role aiA deposit to be paid;
SA as the affiliated facilitator role s of the anchor taski
A set is defined as a set agent, miner, representing the assignment of agent role a after the successful completion of the anchoring taskiAnd the role of miner miThe cost of (2).
In this embodiment, the created anchor task is essentially an intelligent contract containing multiple items of content, and intelligent contracts of different items of content can be signed with different roles, so that it is better to implement chain anchoring of data cooperatively completed by multiple roles.
The ID in the anchoring task can be used as a unique identifier in the anchoring task, so that the corresponding anchoring task can be better identified; TargetChain can designate the public chain pointed by the anchoring task, so that the target public chain can be better defined; SA can be assigned to the associated server role s of the corresponding anchor taskiIdentification is performed so that the service provider role s can be better identifiediAnd (6) marking.
Wherein, the task of anchoring is associated with the user role uiThe related contents are CList and Fee, and the user role u is enabled to be realized by defining the two attributesiThe data information to be anchored can be preferably uploaded and the corresponding costs can be preferably paid.
Wherein the anchoring task is associated with the agent role aiThe related contents are AgentDeposit and Settle, and the agent role a is enabled through the AgentDepositiThe ability to pay a prescribed deposit when making an associated smart contract in an anchor task can preferably prevent agent role aiNon-behavior during execution; the proxy role a can be preferably realized by the setiAnd (6) settlement of the fee.
Wherein the anchoring task is associated with the miner role miThe related content is a set, and the set can preferably realize the role m of the minersiAnd (6) settlement of the fee.
Wherein, the starting time and/or the ending time of each stage of the anchoring task are defined by TsScope in the anchoring task; TsScope is defined as a set { creation, collecting, animation, reporting }, in which TsScope represents the anchor task creation phase end time, TsScope represents the data collection phase end time, TsScope represents the auction phase end time, TsScope represents the reporting phase end time; if the current time now meets the condition that now is not more than TsScope.collecting, the anchoring task is in the data collection stage; if the current time now meets the condition that the TsScope.animation is more than or equal to now and the TsScope.collecting, the anchoring task is in an auction stage; if the current time now meets the condition that TsScreen. reporting is more than or equal to now and is more than TsScreen. interaction, the anchoring task is in an anchoring and reporting stage; and if the current time now satisfies now > Tscope.
In the data collection phase, user role uiThe method comprises the steps of firstly, carrying out hash calculation on data to be anchored locally to generate an Entry of the data to be anchored and an identification ID uniquely corresponding to the data to be anchored, then selecting a proper anchoring task and signing the anchoring task, further paying related cost and uploading a set (ID, Entry, UAi) to fill in CList.
Wherein, the proper anchoring task firstly needs the anchoring task to be in a data collection stage, namely, not less than or equal to Tscope. Second, user role uiThe anchor tasks can be screened according to information such as targetcharge, fe, SA, etc. issued in the anchor tasks.
In this embodiment, the user role u is enabled to be in the data collection phaseiCan preferably select proper anchoring task to meet the requirement of data anchoring, thereby greatly simplifying user role uiAnd anchoring costs can be preferably reduced.
In the auction phase, when new is more than TsScopeiParticipating in the auction of the corresponding anchoring task by paying a deposit stipulated in the anchoring task; the winning rule of the auction is 0≤p(T)=min piAgent, wherein the agent indicates that the agent role a is assigned after the corresponding anchoring task is successfully completediCost of pi(T) represents agent role aiP (t) represents the latest bid; when not tsscope is reached, p (t) wins the auction as the final price, i.e. the corresponding proxy role a for the offeriWinning the auction; meanwhile, the agent role a failing the auctioniThe anchoring task refunds the deposit paid by it.
In this embodiment, each agent role a is enabled to be executed by setting an auction phaseiCan autonomously participate in the auction of any anchoring task and can preferably realize the auction of the corresponding anchoring task by means of a low-price auction.
In the anchoring stage and the reporting stage, the agent role a for acquiring the execution right of the corresponding anchoring taskiProxy role a before time arrives at tsscopeiAnchoring user role u to target public chainiData that needs to be anchored and sends the anchoring result (ID, Txid, AA) to the anchoring task.
In this embodiment, proxy role a can be set by tsscope reportingiIs defined, the anchor result can preferably be returned by sending it (ID, Txid, AA) to the anchor task.
Wherein, the information in the anchor result (ID, Txid, AAi) can contain the unique ID of the anchor result, the transaction number and the agent role a for executing the operationiSo that the anchoring result can be preferably traced.
In the notarization phase, entering the notarization phase when now not is larger than TsScreeniVoting the anchoring result, counting the number of votes when the notarization stage is finished, judging that the anchoring task is successful if the number of votes of the anchoring result is not less than 50% of the total number of votes, and judging that the anchoring task fails by an anti-regularization method.
In this embodiment, the role m of the miner is usediVoting communist for anchoring results in notarization phaseAnd the authenticity of the anchoring result can be judged better. Wherein the purpose of notarization is to ensure that the anchor content is anchored only on the public chain specified in the anchor task and that the content is error free; since the anchoring task must be completed within a specified time, the outcome of the notarization phase is the final outcome of the anchoring task and is also the final proof.
In this embodiment, if the anchor result is found in the anchor task, the mineworker role mi is required to vote for the anchor result when creating a block; role m of mineriWhen participating in notarization, only the authenticity of the result is of concern, which means that the notarized party needs to check the result on the target chain.
In this embodiment, a fixed time frame, that is, notary time NotarizeTime, can be set, and the notary phase is completed before notary time NotarizeTime is reached.
Wherein, the vote can be defined as a tuple (ID, Bool, MA), where ID is the unique identifier of the vote, Bool is the voting result, MA is the mineworker role m participating in the voteiA collection of (a). Upon detection of the anchoring result, the mineworker character miA vote referencing the anchor task can be created and the voting results sent to the anchor task, and only valid votes can be accepted.
In this embodiment, defining effective voting needs to satisfy the following conditions: the voter must be the miner of the current block; the vote can only be yes or no; each block can only have one vote; the voting time must be before the notarization phase begins. The formula is as follows:
Figure BDA0002402802240000101
wherein, Account thereincoinbaseTxRepresenting the submitter account of the current block, and checking the coinbase transaction through an intelligent contract to obtain; "yes" or "no" stands for iRole m of minerVoting conclusion on the anchoring result, "yes" represents positive anchoring result, and "no" represents negative anchoring result; in a block, only one is validSelecting a vote; after the arrival of NotarizeTime, the number of votes is counted, and the anchor task succeeds if it receives no less than 50% of the "yes" votes, otherwise it fails.
In the settlement stage, if the notarization stage is completed, the anchoring task is finished, at the moment, the settlement stage is entered for settlement, and the settlement stage settles the roles participating in the anchoring task according to whether the anchoring task is completed or not.
In this embodiment, the settlement in the settlement stage can preferably perform corresponding settlement according to the completion status of the anchor task, thereby preferably realizing the reward distribution for the role participating in the anchor task.
Wherein, the status of the completed anchor task comprises success and failure, and the status of the uncompleted anchor task comprises data collection phase failure, auction phase failure and report phase failure.
For successfully completed anchor tasks, during the settlement phase, the anchor task receives the user role uiPaid fee and direct to agent role aiAnd all miners' roles m for casting "yes" ticketsiPayment, facilitator role siThe remaining fee is charged.
For anchor tasks that fail to complete, the anchor task rolls back to user role u during the settlement phaseiPaid fee and charge agent role aiPaying the deposit as a penalty and allocating the collected deposit to the facilitator's character s in a proportioniAnd the miners casting no ticketsi
For incomplete anchor tasks that fail the collection phase, there is no user role uiTherefore, the fee settlement is not required in the settlement stage.
For incomplete anchoring tasks that fail in the auction phase, i.e. agentless role aiParticipate in the auction, so in the settlement stage, only the role u of the user needs to be returnediThe fee paid.
For incomplete anchor tasks that fail the reporting phase,i.e. the winning agent character aiAnchoring of data is not performed, so that in the settlement phase, the user role u is returnediPaid fee and charge agent role aiPaid deposit as facilitator role siA reward of (1).
Based on the method in this embodiment, this embodiment also provides a business method, which implements the business operation of data anchoring by the method in this embodiment.
The present invention and its embodiments have been described above schematically, without limitation, and what is shown in the drawings is only one of the embodiments of the present invention, and the actual structure is not limited thereto. Therefore, if the person skilled in the art receives the teaching, without departing from the spirit of the invention, the person skilled in the art shall not inventively design the similar structural modes and embodiments to the technical solution, but shall fall within the scope of the invention.

Claims (10)

1. An intelligent contract-based anchoring method performs an anchoring process of data by a plurality of roles in a plurality of stages by creating an intelligent contract-based anchoring task.
2. A smart contract-based anchoring method according to claim 1, characterized in that: the plurality of roles includes a facilitator role siUser role uiAgent role aiAnd the mineworker role mi
Service provider role siFor anchoring service providers, a set of facilitator roles siIs expressed as S ═ S1,s2,...,sn},si∈ S, per facilitator role SiInformation SA ofiAre all registered on the blockchain;
user role uiFor data anchoring service demander, a set of user roles uiIs expressed as U ═ U1,u2,...,un},ui∈ U, per user role UiInformation UA ofiAre all registered on the blockchain;
agent role aiSet of proxy roles a for the actual executive of the data anchoring serviceiIs marked as A ═ a1,a2,...,an},ai∈ A, each agent role aiInformation AA ofiAre all registered on the blockchain;
role m of mineriNotarization party serving data anchoring, a set of mineworker roles miIs expressed as M ═ M1,m2,...,mn},mi∈ M, per miner role MiInformation of (MA)iAre registered on the blockchain.
3. A smart contract-based anchoring method according to claim 2, characterized in that: the plurality of stages may in turn comprise,
anchoring task creation phase in which facilitator role siEstablishing an anchoring task through an intelligent contract;
a data collection phase in which user roles uiSelecting a proper anchoring task to upload data information to be anchored and paying the specified cost in the corresponding anchoring task;
auction phase during which proxy roles αiPaying a deposit and acquiring the execution right of a related anchoring task through auction;
anchoring stage, in which the agent role a of the execution right of the anchoring task is obtainediUser role uiAnchoring the data to be anchored into the target public chain;
a reporting phase in which the agent role aiSending the execution result of the anchoring stage to an anchoring task;
notarization phase, in which the mineworker role miTo proxy role aiSending the execution result to the anchoring task for notarization; and
settlement phase, in which the user role u is checkediAgent role αiAnd the role m of the mineriThe fee of (2) is settled.
4. A smart contract-based anchoring method according to claim 3, characterized in that: in the anchor task creation phase, the created anchor task can be an attribute tuple AT,
AT=(ID,CList,TαrgetChain,TsScope,Fee,AgentDeposit,SA,Settle);
wherein the content of the first and second substances,
ID∈{0,1}la unique identifier for the anchor task;
CList is for collecting user roles uiThe CList is initialized to be a null list;
TargetChan is the target public chain, which is defined by the facilitator role siSpecifying and can not limit the public chain type;
the TsScope is the time limit of the anchoring task in each stage, and is defined as a set { creation, collecting, animation, reporting }, which respectively represents the end time of the anchoring task creation stage, the data collection stage, the auction stage and the reporting stage;
fee is user role uiThe service fee to be paid after successful completion of anchoring;
AgentDeposit as agent role αiA deposit to be paid;
SA as the affiliated facilitator role s of the anchor taski
A Pattern is defined as a set agent, miner, representing the role α assigned to an agent after the successful completion of the anchoring taskiAnd the role of miner miThe cost of (2).
5. An intelligent contract-based anchoring method according to claim 4, characterized in that: in the data collection phase, user role uiThe method comprises the steps of firstly, carrying out hash calculation on data to be anchored locally to generate an Entry of the data to be anchored and an identification ID uniquely corresponding to the data to be anchored, then selecting a proper anchoring task and binding the proper anchoring task, further paying related cost and uploading a set (ID, Entry, UAi) to fill in CList.
6. An intelligent contract-based anchoring method according to claim 5, characterized in that: in the auction phase, when new is more than TsScopeiParticipating in the auction of the corresponding anchoring task by paying a deposit stipulated in the anchoring task; the winning rule of the auction is that p is more than or equal to 0 and less than (T) min piAgent, wherein the agent indicates that the agent role a is assigned after the corresponding anchoring task is successfully completediCost of pi(T) represents agent role aiP (t) represents the latest bid; when not tsscope is reached, p (t) wins the auction as the final price, i.e. the corresponding proxy role a for the offeriWinning the auction; meanwhile, the agent role a failing the auctioniThe anchoring task refunds the deposit paid by it.
7. An intelligent contract-based anchoring method according to claim 6, characterized in that: in the anchoring stage and the reporting stage, the agent role a for acquiring the execution right of the corresponding anchoring taskiProxy role a before time arrives at tsscopeiAnchoring user role u to target public chainiData that needs to be anchored and sends the anchoring result (ID, Txid, AA) to the anchoring task.
8. An intelligent contract-based anchoring method according to claim 7, characterized in that: in the notarization phase, entering the notarization phase when now not is larger than TsScreeniVoting the anchoring result, counting the number of votes when the notarization stage is finished, judging that the anchoring task is successful if the number of votes of the anchoring result is not less than 50% of the total number of votes, and judging that the anchoring task fails by an anti-regularization method.
9. A smart contract-based anchoring method according to claim 8, characterized in that: in the settlement stage, if the notarization stage is completed, the anchoring task is finished, at the moment, the settlement stage is entered for settlement, and the settlement stage settles the roles participating in the anchoring task according to whether the anchoring task is completed or not.
10. A business method for enabling commercialization of data anchoring by employing any one of the methods of claims 1-9.
CN202010152048.XA 2020-03-06 2020-03-06 Anchoring method based on intelligent contract and business method based on method Pending CN111383017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010152048.XA CN111383017A (en) 2020-03-06 2020-03-06 Anchoring method based on intelligent contract and business method based on method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010152048.XA CN111383017A (en) 2020-03-06 2020-03-06 Anchoring method based on intelligent contract and business method based on method

Publications (1)

Publication Number Publication Date
CN111383017A true CN111383017A (en) 2020-07-07

Family

ID=71215183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010152048.XA Pending CN111383017A (en) 2020-03-06 2020-03-06 Anchoring method based on intelligent contract and business method based on method

Country Status (1)

Country Link
CN (1) CN111383017A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103405A (en) * 2017-03-22 2017-08-29 暨南大学 A kind of mass-rent system and its building method based on block chain technology
US20180276626A1 (en) * 2017-03-21 2018-09-27 Dappsters, LLC Blockchain systems and methods
CN109711817A (en) * 2019-01-16 2019-05-03 杭州基尔区块链科技有限公司 Data processing method, device and system based on block chain
CN110232507A (en) * 2019-05-28 2019-09-13 中国人民解放军国防科技大学 Intelligent contract-based crowdsourcing activity overall process supervision method and system
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
US20200027315A1 (en) * 2018-07-17 2020-01-23 Justin D. Cotton System, method, and decentralized application for blockchain-based gambling

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180276626A1 (en) * 2017-03-21 2018-09-27 Dappsters, LLC Blockchain systems and methods
CN107103405A (en) * 2017-03-22 2017-08-29 暨南大学 A kind of mass-rent system and its building method based on block chain technology
US20200027315A1 (en) * 2018-07-17 2020-01-23 Justin D. Cotton System, method, and decentralized application for blockchain-based gambling
CN109711817A (en) * 2019-01-16 2019-05-03 杭州基尔区块链科技有限公司 Data processing method, device and system based on block chain
CN110232507A (en) * 2019-05-28 2019-09-13 中国人民解放军国防科技大学 Intelligent contract-based crowdsourcing activity overall process supervision method and system
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈稼珅: "基于区块链智能合约的去中心化在线众包机制" *

Similar Documents

Publication Publication Date Title
CN111563786B (en) Virtual power plant regulation and control platform based on block chain and operation method
US11429592B2 (en) Systems and methods for recording data representing multiple interactions
CN106934611B (en) Data processing method and device
CN112020705A (en) Block chain random timer transaction synchronization
UA126395C2 (en) Fund requirement handling service providing system, method for same, operator server, and program
EP4089616A1 (en) Blockchain-based green certificate transaction system
WO2019038137A1 (en) Indirect transaction processes on the basis of a blockchain architecture
CN110599348B (en) Method, device, equipment and storage medium for stock right incentive
CN110599323A (en) Resource processing method and processing equipment
CN111680098A (en) Block chain system for data acquisition, data annotation, AI model training and verification
CN110648135A (en) Electronic payment and settlement method based on object
CN110610421A (en) Guarantee fund management method and device under fragment framework
CN110175885A (en) A kind of project Real-Time Sharing trading platform system
CN113656505A (en) Digitalization of distributed project management system and method for synchronizing data thereof
CN115063233A (en) Method, system and device for realizing banking business service process
KR102419327B1 (en) Agent system for selective sorting and recommending of project information
CN110599340A (en) Token method, system and wallet based on alliance chain
CN111383017A (en) Anchoring method based on intelligent contract and business method based on method
CN111401873A (en) Task creation method and device, storage medium and electronic equipment
KR102062644B1 (en) System and method for management of collective building
CN116308377A (en) Account management method, device, equipment and storage medium
CN114881639A (en) Multi-stage prepayment transaction method, system and storage medium based on block chain
CN112991054B (en) Electric futures contract design method based on block chain
Yu et al. Bridging BRC-20 to Ethereum
CN114240588A (en) Annuity plan reconciliation method, device, equipment and medium 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