logo

SCIENCE CHINA Information Sciences, Volume 61, Issue 4: 049102(2018) https://doi.org/10.1007/s11432-017-9245-1

DESC: enabling secure data exchange based on smart contracts

More info
  • ReceivedAug 6, 2017
  • AcceptedSep 20, 2017
  • PublishedFeb 8, 2018

Abstract

There is no abstract available for this article.


Acknowledgment

This work was supported by National Natural Science Foundation of China (NSFC) (Grant No. 61572136), and Shanghai Innovation Action Project (Grant No. 16DZ1100200).

  • Figure 1

    (Color online) DESC framework workflow.

  •   

    Algorithm 1 Policy enforcement algorithm

    Require:ea: exchange attributes; pa: policy attributes.

    Output:result: application result for data exchange.

    for $\rm{identity}~\in~\rm{pa.blacklist}$

    if $\rm{ea.identity}~=~\rm{identity}$ then

    $\rm{result}~\leftarrow~``\rm{deny~application}"$;

    Return $\rm{result};~~~\blacktriangleright$ deny application

    end if

    end for

    for $\rm{identity}~\in~\rm{pa.whitelist}$

    if $\rm{ea.identity}~=~\rm{identity}$ then

    $\rm{result}~\leftarrow~\rm{genLicense}()$;

    Return $\rm{result};~~~\blacktriangleright$ grant license

    end if

    end for

    if $\rm{ea.price}~\in~\rm{pa.priceRange}~\textbf{~and~}$ $\rm{ea.time}~\in~\rm{pa.exchangeTimeRange}~\textbf{~and~}$ $\rm{ea.sample}~\in~\rm{pa.sampleRateRange}~\textbf{~and~}$ $\rm{ea.update}~\in~\rm{pa.updateFrequencyRange}~\textbf{~and~}$ $\rm{ea.damages}~\in~\rm{pa.liquidatedDamagesRange}$ then

    $\rm{result}~\leftarrow~\rm{genLicense}()$;

    Return $\rm{result};~~~~\blacktriangleright$ grant license

    end if

    $\rm{result}~\leftarrow~``\rm{deny~application}"$;

    Return $\rm{result}.~~~~~\blacktriangleright$ deny application

Copyright 2019 Science China Press Co., Ltd. 《中国科学》杂志社有限责任公司 版权所有

京ICP备18024590号-1