Computer Engineering and Applications ›› 2022, Vol. 58 ›› Issue (21): 119-130.DOI: 10.3778/j.issn.1002-8331.2112-0465

• Network, Communication and Security • Previous Articles     Next Articles

Research on Data Trading Mode Based on Ethereum and Dynamic Pricing

CHEN Zhongwu, LING Jie   

  1. School of Computer Science and Technology, Guangdong University of Technology, Guangzhou 510006, China
  • Online:2022-11-01 Published:2022-11-01

基于以太坊和动态定价的数据交易模式研究

陈仲武,凌捷   

  1. 广东工业大学 计算机学院,广州 510006

Abstract: In order to solve the time-consuming and low efficiency of the transaction process in the existing data transaction model, information leakage and fair payment problems, an improved data transaction model is proposed. Additional constraints are preset through smart contracts, and data transactions and transactions are integrated. The function of arbitration dispute resolution is used to realize fair autonomy of transactions and control of transaction time to avoid malicious transactions in the process of data transactions. On this basis, in order to realize the dynamic balance of price in the proposed data trading model, based on the economic modeling method and the fairness and rationality of dynamic pricing, a dynamic pricing mechanism is designed to automatically balance aggregate supply and demand, and the price is dynamically adjusted according to the purchase demand and the market supply of data resources. The model is demonstrated from the dynamics of the model, which proves that the transaction price and demand can converge. This paper deploys and executes the contract based on the Ethereum experimental environment, and tests and analyzes the cost and security of each function of the smart contract. Simulation results show that the improved transaction mode can carry out data transaction with lower execution cost under dynamic pricing, and the smart contract has fewer code loopholes, which meets the feasibility and security requirements.

Key words: data transaction, ethereum, smart contract, dynamic pricing, fair payment

摘要: 为了解决现有数据交易模式中交易流程耗时较大且效率较低,信息泄露和公平支付问题,提出一种改进的数据交易模式,通过智能合约预置额外的约束条件,集成了数据交易和仲裁纠纷解决的功能,用于实现交易的公平自治性和交易时间控制,以规避数据交易过程中恶意交易行为。在此基础上,为实现所提出的数据交易模式中价格的动态平衡,基于经济建模方法和动态定价的公平合理性,设计一个自动平衡总供给和总需求的动态定价机制,依据购买需求和数据资源的市场供给进行价格动态调整。从模型的动态性对模型进行了论证,证明了交易价格和需求可以收敛。基于以太坊实验环境部署并执行该合约,并对该智能合约的各功能成本和安全性进行测试和分析。仿真实验结果表明,该改进交易模式在动态定价下能够以较低的执行成本进行数据交易,并且该智能合约存在较少代码漏洞,满足可行性和安全性要求。

关键词: 数据交易, 以太坊, 智能合约, 动态定价, 公平支付