分布计算基本原理模拟——客户端设计与实现(Java版)

 2023-03-08 03:03

论文总字数:14423字

摘 要

本系统主要模拟分布计算过程,通过构建分布计算的客户端,客户端的需求分析设计。论述了分布计算设计过程,分布计算结构和框架,和分布计算的思想。设计中首先了解掌握分布计算的基本概念、分布计算的发展过程,以及分布式系统的相关技术,设计过程中了解中间件和应用、分布计算系统的运行环境。系统实现,首先新建函数,生成代理即将网络通信发送部分放入上述函数中,用到功能按钮的监听和套接字技术,同时网络通信也用到多线程技术。在构建函数完成后,编写主函数调用上述函数,一个简单的模拟分布计算过程的客户端生成,运行客户端后在相应的位置编写函数实参,获取函数,与服务器端进行通信进行计算,客户端接收服务器端返回报报文,并显示计算结果。客户端获取函数可以计算实验中需要的计算任务,模拟分布计算基本计算过程。作者从设计过程中更加深刻的体会了分布计算思想,了解了分布计算相对其他计算的优势,可设想分布计算在到来的大数据时代,应用前景非常广阔。

本设计是在Java开发平台Eclipse3.0进行编写,基于socket实现函数的基本运算,以此实现分布计算的简单应用。

关键词:分布计算;socket;多线程

Abstract

The system mainly simulates the distributed computing process, through the construction of distributed computing client, client needs analysis and design. This paper discusses the design of distributed computing, the structure and framework of distributed computing, and the idea of distributed computing. The design of the first understanding of the basic concepts of distributed computing, distributed computing development process, as well as distributed systems related technologies, design process to understand the middleware and applications, distributed computing system operating environment. System implementation first create a new function, the generation agent is about to send part of the network communication into the above function, the use of function button monitoring and socket technology, while network communication is also used in multi-threaded technology. After the build function is completed, write the main function call the above function, a simple simulation of the distribution process of the client to generate the process, run the client in the corresponding position after the preparation of function parameters, access to function, and the server to communicate, The receiving server returns the message and displays the result. The client get function can calculate the computational tasks required in the experiment, and simulate the basic calculation process of the distribution calculation. The author understands the idea of distributed computing from the design process and understands the advantages of distributed computing relative to other calculations. It can be assumed that the distribution is very broad in the era of large data.

This design is written in the Java development platform Eclipse3.0, which is based on the basic operation of the socket implementation function to realize the relevant application of distributed computing.

Keywords: distributed calculating. socket. mutipule-process

目录

摘要 I

Abstract 1

第一章 引言 1

1.1研究的背景与意义 1

1.2现状研究与分析 2

1.3研究的目标和内容 3

1.3.1课题目标 3

1.3.2课题内容 3

1.4结构与框架 3

第二章 相关开发环境与介绍 5

2.1项目相关理论和技术 5

2.1.1开发理论 5

2.1.2开发技术 5

2.2项目开发与运行环境 6

2.2.1开发环境 6

2.2.2开发工具介绍 6

第三章 系统设计与实现 7

3.1系统功能需求分析 7

3.1.1功能分析 7

3.1.2系统用例图 7

3.2系统业务流程 8

3.3系统总体设计与实现 10

3.4系统开发方案 10

3.5系统功能功能详细设计 11

3.5.1.新建函数功能设计 11

3.5.2.导入和保存功能设计 11

3.5.3.生成代理功能设计 12

3.5.4.生成客户端功能设计 13

3.5.5.获取函数功能设计 13

3.5.6.计算功能设计 14

3.5.7.退出按钮功能设计 14

3.6数据操作说明 14

第四章 系统测试与分析 16

4.1概述 16

4.2测试步骤 16

4.3测试环境 16

4.4结果分析与评价 16

第五章 总结 18

5.1完成的工作 18

5.2工作展望 18

致谢 20

参考文献 21

引言

随着互联网的发展,伴随着信息数据增多,大数据时代已经到来。很多应用中都会出现海量数据,比如一些社交网络应用中,用户行为日志通常都以GB甚至是TB为单位。计算机硬件的发展程度达不到需求,根本支撑不了如此巨大的数据量。软件开发相比单纯的提高硬件水平要更容易,也就是在这种情况下分布式计算框架与分布计算应运而生,将巨大的计算任务分成一个个单台计算机可以承受的计算任务,进行分布式计算。

剩余内容已隐藏,请支付后下载全文,论文总字数:14423字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;