计算机与现代化 ›› 2020, Vol. 0 ›› Issue (07): 43-49.doi: 10.3969/j.issn.1006-2475.2020.07.009

• 网络与通信 • 上一篇    下一篇

基于区块链的分布式资源共享模型设计

  

  1. (1.中国石油大学(华东)计算机科学与技术学院,山东青岛266580;
    2.中国石油大学(华东)海洋与空间信息学院,山东青岛266580)

  • 出版日期:2020-07-06 发布日期:2020-07-15
  • 作者简介:李晓雨(1995-),女,山东青州人,硕士研究生,研究方向:信息安全,区块链,E-mail: 2277604034@qq.com; 段鹏飞(1996-),男,山东潍坊人,硕士研究生,研究方向:信息安全,E-mail: 1620406085@qq.com。
  • 基金资助:
    国家自然科学基金资助项目(61772551); 山东省自然科学基金资助项目(ZR2019MF034)

Design of Distributed Resource Sharing Model Based on Blockchain

  1. (1. College of Computer Science & Technology, China University of Petroleum, Qingdao 266580, China;
    2. College of Oceanography & Space Informatics, China University of Petroleum, Qingdao 266580, China)

  • Online:2020-07-06 Published:2020-07-15

摘要: 计算机的资源共享为解决网络中计算机资源分布与计算能力需求不平衡、计算机资源浪费等问题提供了一种有效的解决方式。但是,传统计算机资源共享体系一般采用任务分配的方式,用户很难直接接触共享资源,此外,任务的分配调度都由中心节点统一管理,一旦中心节点受到破坏,那么资源共享体系的正常工作将难以为继。针对上述问题,本文提出一种分布式的资源共享模型,通过引入区块链私链来搭建资源共享模型的底层架构,以P2P的方式直接面对用户提供共享资源。本文对资源共享模型的关键实现机制进行分析,并且构建一个分布式的计算网络真正实现计算机资源共享。经过对资源共享模型在工作过程中CPU和内存使用情况的验证分析,验证了该模型能够有效提升计算机资源的使用效率,提升整体的计算能力。

关键词: 资源共享, 区块链, 共识机制, 去中心化, 防篡改

Abstract: Computer resource sharing provides an effective way to solve the imbalance of computer resource distribution and computing power demand, it also provides a way to solve the computer resource waste in the network. However, the traditional computer resource sharing system generally adopts the way of task allocation, users can hardly use the shared resource in a direct way. In addition, the task allocation and scheduling are managed by the central node. Once the central node is damaged, the resource sharing system will not function properly. In view of the above problems, this paper proposes a distributed resource sharing model. By delivering a private chain to bulid the underlying structure of the resource sharing model, we can directly provide users shared resources in P2P way. This paper analyzes the key implementation mechanism of resource sharing model, and builds a distributed computing network to truly realize computer resource sharing. We conduct experiments on CPU and memory utilization of the resource sharing model during normal operation and the results validate the effectiveness of the proposed resource sharing model in improving resource utilization and computing ability.

Key words: resource sharing, blockchain, consensus mechanism, decentralization, tamper proof

中图分类号: