摘 要
超三代(B3G)移动通信作为一种前沿的通信技术,正在逐步取得广泛的应用,受到越来越多人的关注。本次本业设计是在B3G空中接口技术评估测试平台课题的背景下,主要实现测试平台的网络化功能,使得客户可以远程调用测试服务,完成对客户系统的测试评估。
本论文首先简要阐述了课题背景和平台的基本情况,介绍了网络通信和Vc++网络编程的基础知识,然后详细说明了毕业设计的主要工作。第一步,基于CSocket的支持,实现了网络多机通信机制的模型,以此熟悉网络通信原理和熟练Vc++网络编程;第二步,在分布式平台结构的思路下,实现了分布式测试平台的简化模型,虽然最终放弃了此方案,但也为后续工作提供了经验;第三步,采用集中式的结构,实现了网络化的B3G空中接口技术评估测试平台,完成毕业设计任务。
关键词 B3G移动通信,网络通信,套接字,侦听,连接,分布式结构,集中式结构
ABSTRACT
As an advanced technique of communication, technique of B3G mobile communications is gradually used in more and more cases and noticed by more and more people. Under the background of B3G air interface estimation and testing flat roof, I accomplished the network function of the flat roof, so that the clients can get service from the estimation and testing flat roof through internet.
At the first place, this paper presents a brief introduction of the background of the project and the fundamental of estimation and testing flat roof, also the fundamental of network communications and Vc++ network programming. Then it expatiates on my main work in detail which could be generally divided into three parts. First step, I made the model of multi computer communications based on CSocket, in order to acquaint myself with the fundamental of network communications and be proficient in Vc++ network programming. Second step, guided by idea of distributed flat roof structure, I accomplished the simplified model of distributed flat roof, though this idea was abandoned finally, this part of work gained me a lot of experience. Third step, I accomplished the B3G air interface estimation and testing flat roof with network function in which centralized structure was adopted, and finished my task.
KEY WORDS B3G mobile communications, network communications, socket, listen, connect, distributed structure, centralized structure
目录
第一章 前 言 1
1.1 项目背景.................................................... 1
1.2 论文研究内容................................................ 2
第二章 测试平台介绍与网络通信原理 3
2.1 测试平台.................................................... 3
2.1.1 平台概述 3
2.1.2 平台结构 4
2.2 网络通信基础................................................ 6
2.2.1 网络间进程通信 6
2.2.2 端口 6
2.2.3 地址 7
2.2.4 网络字节顺序 7
2.2.5 连接 8
2.3 套接字与通信模式............................................ 8
2.3.1 套接字(socket) 8
2.3.2 客户端/服务器模式 9
2.4 Windows Socket基础..........................................10
第三章 基于CSocket的多机通信模型 14
3.1 CSocket.....................................................14