Chinese Journal of Network and Information Security ›› 2018, Vol. 4 ›› Issue (7): 22-29.doi: 10.11959/j.issn.2096-109x.2018060
• Papers • Previous Articles Next Articles
Li LI,Siqin ZHOU,Qin LIU,Debiao HE
Revised:
2018-07-01
Online:
2018-07-01
Published:
2018-09-10
Supported by:
CLC Number:
Li LI,Siqin ZHOU,Qin LIU,Debiao HE. Blockchain-based digital copyright trading system[J]. Chinese Journal of Network and Information Security, 2018, 4(7): 22-29.
版权注册主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名, |
传入打包好的新Work结构 |
function onRegisterOfWork(Work) { |
var newWork=work; |
return getAssetRegistry('org.whu.dci.management.Work ') |
.then(function(){ |
return getAssetRegistry('org.whu.dci.management.Book')}); // |
在账本中记录新的work ,更新账本 |
} |
版权注册主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名, |
传入打包好的新Work结构 |
function onRegisterOfWork(Work) { |
var newWork=work; |
return getAssetRegistry('org.whu.dci.management.Work ') |
.then(function(){ |
return getAssetRegistry('org.whu.dci.management.Book')}); // |
在账本中记录新的work ,更新账本 |
} |
版权转让主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名,传入打包好的新Work结构 |
function onChangeOwnerOfWork(ChangeOwnerOfWork) { |
var newOwner=ChangeOwnerOfWork.newOwner; //获取版权转让的被转让方 |
var oldOwner=ChangeOwnerOfWork.book.owner; //获取版权转让的转让方 |
ChangeOwnerOfWork.book.owner=newOwner; |
var price=ChangeOwnerOfWork.book.price; //获取转让合约中用户确定的转让价格 |
newOwner.balance=newOwner.balance-price; //从被转让方的钱包中扣除转让费 |
oldOwner.balance=oldOwner.balance+price; //在转让方的钱包中增加转让费 |
UpdateUserRegister(); //更新账本中用户信息和该数字版权信息 |
UpdateDciRegister(); |
return 1; |
} |
版权转让主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名,传入打包好的新Work结构 |
function onChangeOwnerOfWork(ChangeOwnerOfWork) { |
var newOwner=ChangeOwnerOfWork.newOwner; //获取版权转让的被转让方 |
var oldOwner=ChangeOwnerOfWork.book.owner; //获取版权转让的转让方 |
ChangeOwnerOfWork.book.owner=newOwner; |
var price=ChangeOwnerOfWork.book.price; //获取转让合约中用户确定的转让价格 |
newOwner.balance=newOwner.balance-price; //从被转让方的钱包中扣除转让费 |
oldOwner.balance=oldOwner.balance+price; //在转让方的钱包中增加转让费 |
UpdateUserRegister(); //更新账本中用户信息和该数字版权信息 |
UpdateDciRegister(); |
return 1; |
} |
数字内容订阅主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名,传入打包好的新Work结构 |
function onSubscribeWork(SubscribeWork) { |
var subscriber=SubscribeWork.subscriber; |
var author=SubscribeWork.book.owner; |
var subscribePrice=SubscribeWork.book.subscribePrice; |
subscriber.bookList.push(SubscribeWork.book); //'书架'上新增一个数字作品 |
author.balance+=subscribePrice; //author账户钱包数额增加, |
subscriber.balance-=subscribePrice; //订阅者钱包数额减少 |
UpdateUserRegister(); //更新账本中用户信息和该数字版权信息 |
UpdateDciRegister(); |
return 1; |
} |
数字内容订阅主要代码 |
前提:链码初始化,安装到链上,用户利用客户端调用函数名,传入打包好的新Work结构 |
function onSubscribeWork(SubscribeWork) { |
var subscriber=SubscribeWork.subscriber; |
var author=SubscribeWork.book.owner; |
var subscribePrice=SubscribeWork.book.subscribePrice; |
subscriber.bookList.push(SubscribeWork.book); //'书架'上新增一个数字作品 |
author.balance+=subscribePrice; //author账户钱包数额增加, |
subscriber.balance-=subscribePrice; //订阅者钱包数额减少 |
UpdateUserRegister(); //更新账本中用户信息和该数字版权信息 |
UpdateDciRegister(); |
return 1; |
} |
[1] | 范科峰, 莫玮, 曹山 ,等. 数字版权管理技术及应用研究进展[J]. 电子学报, 2007,35(6): 1139-1147. |
FAN K F , MO W , CAO S ,et al. Progress in digital rights manage-ment technology and application[J]. Chinese Journal of Electronics, 2007,35(6): 1139-1147. | |
[2] | 翟永兴 . 我国数字出版的版权保护现状与对策研究[J]. 传播与版权, 2015(3): 178-179. |
ZHAI Y X . Research on the status quo and countermeasures of copyright protection in digital publishing in China[J]. Communica-tions and Copyright, 2015(3): 178-179. | |
[3] | 吴健, 高力, 朱静宁 . 基于区块链技术的数字版权保护[J]. 广播电视信息, 2016(7): 60-62. |
WU J , GAO L , ZHU J N . Digital copyright protection based on Blockchain technology[J]. Radio and TV Information, 2016(7): 60-62. | |
[4] | 安瑞, 何德彪, 张韵茹 ,等. 基于区块链技术的防伪系统的设计与实现[J]. 密码学报, 2017,4(2): 199-208. |
AN R , HE D B , ZHANG Y R ,et al. Design and implementation of anti-counterfeiting system based on Blockchain technology[J]. CMD Journal, 2017,4(2): 199-208. | |
[5] | 袁勇, 王飞跃 . 区块链技术发展现状与展望[J]. 自动化学报, 2016,42(4): 481-494. |
YUAN Y , WANG F Y . Current status and prospects of Blockchain technology development[J]. Journal of Automation, 2016,42(4): 481-494. | |
[6] | DUBOVITSKAYA A , XU Z , RYU S ,et al. Secure and trustable electronic medical records sharing using Blockchain[J]. arXiv pre-print arXiv:1709.06528, 2017. |
[7] | PETERS G W , PANAYI E . Understanding modern banking ledgers through Blockchain technologies:future of transaction processing and smart contracts on the internet of money[M]// Banking Beyond Banks and Money.Berlin:Springer. 2016: 239-278. |
[8] | 吴洁明, 周倩, 许传祥 ,等. DCI体系下数字版权管理服务平台的设计[J]. 计算机应用与软件, 2014(4): 62-65. |
WU J M , ZHOU Q , XU C X ,et al. Design of digital rights man-agement service platform under DCI system[J]. Journal of Com-puter Applications and Software, 2014(4): 62-65. | |
[9] | VUKOLI? M , . Rethinking permissioned blockchains[C]// ACM Workshop on Blockchain,Cryptocurrencies and Contracts. 2017: 3-7. |
[10] | CACHIN C , . Architecture of the hyperledger blockchain fabric[C]// Workshop on Distributed Cryptocurrencies and Consensus Ledgers. 2016. |
[11] | DHILLON V , METCALF D , HOOPER M . The Hyperledger pro-ject[M]// Blockchain Enabled Applications.Berlin:Springer. 2017: 139-149. |
[12] | Nakamoto S . Bitcoin:a peer-to-peer electronic cash system[J]. Consult-ed, 2008. |
[13] | SWAN M . Blockchain:blueprint for a new economy[M]. O'Reilly Media,Inc. 2015. |
[14] | PETERS G W , PANAYI E . Understanding modern banking ledgers through blockchain technologies:future of transaction processing and smart contracts on the internet of money[M]// Banking Beyond Banks and Money.Berlin:Springer. 2016: 239-278. |
[15] | CACHIN C , . Architecture of the hyperledger blockchain fabric[C]// Workshop on Distributed Cryptocurrencies and Consensus Ledgers. 2016. |
[16] | BALIGA A . Understanding blockchain consensus models[R]. 2017. |
[17] | WOOD G . Ethereum:a secure decentralised generalised transaction ledger[J]. Ethereum Project Yellow Paper, 2014,151: 1-32. |
[1] | Zhenhua CAI,Jiayun LIN,Fang LIU. Blockchain storage:technologies and challenges [J]. Chinese Journal of Network and Information Security, 2020, 6(5): 11-20. |
[2] | Sui CHENG,Xianzheng LIN,Nenghai YU. Improvement of the blockchain protocol based on memory-hard function [J]. Chinese Journal of Network and Information Security, 2020, 6(5): 21-26. |
[3] | Hao WANG,Tianhao WU,Konglin ZHU,Lin ZHANG. Anonymous vehicle authentication scheme based on blockchain technology in the intersection scenario [J]. Chinese Journal of Network and Information Security, 2020, 6(5): 27-35. |
[4] | Xu ZHANG,Xin MA. Lightweight mobile Ad Hoc network authentication scheme based on blockchain [J]. Chinese Journal of Network and Information Security, 2020, 6(4): 14-22. |
[5] | Kang QIAO,Hongbo TANG,Wei YOU,Haitao LI. Efficient and safe auditable mixed-coin service scheme based on blind signature [J]. Chinese Journal of Network and Information Security, 2020, 6(4): 23-36. |
[6] | Sijie QIAN,Liquan CHEN,Shihui WANG. PKI cross-domain authentication scheme based on advanced PBFT algorithm [J]. Chinese Journal of Network and Information Security, 2020, 6(4): 37-44. |
[7] | Kang QIAO,Wei YOU,Lingwei WANG,Hongbo TANG. Data sharing scheme for 5G IoT based on blockchain [J]. Chinese Journal of Network and Information Security, 2020, 6(4): 45-55. |
[8] | Fen LI,Jin LI,Songqi WU,Senlin ZHANG,Yueming LU. Multi-microgrid marketized transaction models and algorithms based on smart contracts [J]. Chinese Journal of Network and Information Security, 2020, 6(4): 56-66. |
[9] | Bo MENG,Jiabing LIU,Qin LIU,Xiaoxiao WANG,Xurui ZHENG,Dejun WANG. Survey of smart contract security [J]. Chinese Journal of Network and Information Security, 2020, 6(3): 1-13. |
[10] | Shaozhuo LI,Na WANG,Xuehui DU. Privacy protection mechanism of on-demand disclosure on blockchain [J]. Chinese Journal of Network and Information Security, 2020, 6(3): 19-29. |
[11] | Chuntang YU,Zhigeng HAN,Zhiyuan LI,Liangmin WANG. Blockchain-based hierarchical and multi-level smart service transaction supervision framework for crowdsourcing logistics [J]. Chinese Journal of Network and Information Security, 2020, 6(3): 50-58. |
[12] | Rensheng WANG,Tianhao WU,Lin ZHANG,Konglin ZHU. Cooperative trajectory prediction system for intelligent and automated connected convoy based on blockchain [J]. Chinese Journal of Network and Information Security, 2020, 6(3): 78-87. |
[13] | Yunxiang QIU,Hongxia ZHANG,Qi CAO,Jiancong ZHANG,Xingshu CHEN,Hongjian JIN. Blockchain data access control scheme based on CP-ABE algorithm [J]. Chinese Journal of Network and Information Security, 2020, 6(3): 88-98. |
[14] | Kai LEI,Fangxing SHU,Lei HUANG,Qichao ZHANG. Research on cross-domain trustable blockchain based decentralized DNS architecture [J]. Chinese Journal of Network and Information Security, 2020, 6(2): 19-34. |
[15] | Gansen ZHAO,Zhijian XIE,Xinming WANG,Jiahao HE,Chengzhi ZHANG,Chengchuang LIN,ZHOU Ziheng,Bingchuan CHEN,RONG Chunming. ContractGuard:defend Ethereum smart contract with embedded intrusion detection [J]. Chinese Journal of Network and Information Security, 2020, 6(2): 35-55. |
Viewed | ||||||
Full text |
|
|||||
Abstract |
|
|||||