翻新时间:2013-12-18
分布计算实例(JAVA实现)
摘 要
当今社会是1个信息高速发展的社会,计算机在各行各业的应用越来越广泛。计算机的硬件技术也已经达到了很高的水平,但软件水平的发展总比硬件领先1步。
计算任务对硬件的要求越来越高,在硬件未及时同步发展的时候,软件实现的方法应运而生。分布计算是基于分布式系统的1种计算模型。
分布计算模型的特点有:由多个处理机或者多个计算机组成,这些计算机或处理器可以在物理上相邻,用机器内部总线或开关连接,通过共享主存进行通信,也可以在地理上分散,用计算机网络互联,采用消息通信,同时计算过程对用户是透明的,即使用户使用计算机资源进行计算时,也不知道这些资源存在何处。由于单台计算机的计算能力有限,在实际应用中,我们常常将计算任务分成多个子任务,将每个子任务,放到网络中不同的计算机上进行计算,实现分布式计算,以加快我们的计算速度。
本实例是在JAVA开发平台Eclipse3.0上编写的,基于socket实现1个矩阵的相乘计算,从而实现分布计算的简单应用。
关键词:分布计算、socket、I/O流、多线程
Abstract
Nowadays, information technology is developing with high-speed, the computer is more and more useded extensively the every trade.The hardware technique of the computer also has already come to a the very high level, but the development of software is more faster than hardware.The request of new –builded procedure to hardware is more and more high, at the time of hardware did not develop in time and synchronously, the method of the software realization emerge with the tide of the times.Distribute the calculation is according to a kind of calculation model of the distribute type system. The characteristics of distributes to compute the model:Handle from manies machine or several computer constitute, these computer or processor can be close together in the physics, switch conjunctions using the machine internal and total line, connected through internt main line or switch, also can on the geography dispersion, use the calculator network with each other , adopt the news correspondence, compute the process at the same time transparent to customer, even customer usage the calculator resources carries on the calculation, also not know that these resourceses save where.Because the calculation ability of the single pedestal calculator is limited, in actually apply, we usually are divided into the calculation mission many statures mission, put each statures mission, the different calculator of network goes forward to go the calculation, carrying out the distribute type calculation, to speed our calculation speed.The originally solid example develops the terrace Eclipse3.0 in the JAVA to write up the plait, carrying out a calculation according to the socket, thus carrying out a imple application of distributed calculating.
Key word: distributed calculating,socket,I/O stream,mutipule-process.
下载文档
网友最新关注
- 我喜欢的人---爸爸
- 小树的四季
- 漫画《父与子》——画的局限
- 我有一个闹钟
- 我的新书包
- 爱看书的小红
- 台风
- 保护青蛙
- 市政府的景色
- 抓青蛙
- 青岛一日游
- 种树
- 第一次大扫除
- 我家的小狗
- 怀念我的小兔
- 广联达相关资料汇总
- 2011建筑认识实习报告
- 厂房新建项目工程可行性研究报告
- 浅议项目施工中的安全技术交底
- 工程从进场到竣工 资料报验的一般程序
- 鲁班造价软件相关资料汇总
- 理正软件相关资料汇总
- 写字楼地毯选择
- 3D3S相关资料汇总
- 单位工程施工质量技术交底卡
- 房屋建筑实习报告
- 新出台的《建筑工程建筑面积计算规范》
- 钢筋工程技术讨论之梁的腰筋
- 建筑工程学院实习报告
- 项目部安全生产月工作总结
- 《花的勇气》整体阅读感知
- 《花的勇气》训练素材
- 《花的勇气》写作指导
- 《花的勇气》教学设计二
- 《乡下人家》重点字词意思
- 《乡下人家》重难点分析
- 《花的勇气》重点字词分析
- 《花的勇气》考点练兵 积累篇
- 《花的勇气》范文习作
- 《乡下人家》重点字词梳理
- 《花的勇气》重点字词意思
- 《花的勇气》作家及作品介绍
- 《花的勇气》相关资料
- 《花的勇气》重点问题探究
- 《乡下人家》老师语录