文档详情

基于UML的P2P游戏系统建模分析与实现软件工程专业论文.docx

发布:2018-12-14约5.68万字共91页下载文档
文本预览下载声明
摘 要 计算机对等网络(Peer-to-Peer Networking,P2P)技术是目前新一代网络技术 研究的活跃领域。本文研究了主流的P2P技术及其在游戏中的运用,同时结合统一 建模语言(Unified Modeling Language,UML)和它的核心建模技术Use Case(用例)) 对相关的P2P游戏进行了建模。设计建立的模型包括用例模型、类图、交互图和总 体的静态模型。论文分析了用户数据报协议(User Datagram Protocol,UDP)和网络 地址转换(Network Address Translate,NAT)的基本原理,给出了一种基于UDP 协议实现穿透NAT的P2P应用的设计方案,并对相关的模型进行了详细设计。论文最 后对P2P游戏对战平台做了全面测试,演示了系统的部分操作和功能。 关键词:对等网络,游戏平台,统一建模语言,用例,网络地址转换 ABSTRACT ABSTRACT The Peer-to-Peer networking technology is the current research hot topic in the new generation of network. This paper studies the mainstream of P2P technology and its application in the game; then employs UML and Use Case together for P2P game system modeling. The system model includes the following parts: use case diagram, class diagram, interaction diagram, and so on. The paper analyzes the foundational principle of UDP and NAT principle. It provides a design solution based on UDP protocol to traverse NAT, and makes detailed design to related model of the system. In the end, it gives a testing for the P2P Game Platform, and demonstrates the system’s functions successfully. Keywords : Peer-to-Peer, Game Platform, Unified modeling language, Use Case, Network Address Translate 目 录 HYPERLINK \l _bookmark0 第一章 绪论 1 HYPERLINK \l _bookmark1 1.1 论文研究背景 1 HYPERLINK \l _bookmark2 P2P 技术简介 1 HYPERLINK \l _bookmark3 P2P 研究现状 3 HYPERLINK \l _bookmark4 1.1.3 P2P 网络游戏 11 HYPERLINK \l _bookmark5 1.2 论文研究内容及组织 14 HYPERLINK \l _bookmark6 第二章 NAT 穿透技术 15 HYPERLINK \l _bookmark7 2.1 NAT 技术[19-23] 15 HYPERLINK \l _bookmark8 NAT 相关术语 16 HYPERLINK \l _bookmark9 NAT 分类 17 HYPERLINK \l _bookmark10 2.1.3 网络地址转换(NAT)的实现 18 HYPERLINK \l _bookmark11 2.1.4 NAT 的存在带来的问题 21 HYPERLINK \l _bookmark12 2.2 UDP 穿透 NAT 的原理 22 HYPERLINK \l _bookmark13 2.3 解决方案 24 HYPERLINK \l _bookmark14 2.4 本章小结 26 HYPERLINK \l _bookmark15 第三章 P2P 游戏对战平台的分析与设计 27 HYPERLINK \l _bookmark16 3.1 UML 及其核心 Use case 技术 27 HYPERLINK \l _bookmark17 3.2 标准建模语言 UML 27 HYPERLINK \l
显示全部
相似文档