随着一个系统功能的增强,设计、详细说明和实现它会变得很繁重,通常采用面向对象的方法,把系统的功能分解成一些更容易操纵的模块。Internet的快速发展与网络技术在商业领域的广泛应用,现有的单块式的网络协议越来越不能满足各种场合下网络应用的需要和各种新型网络的应用需要,因此必须要对现有的网络协议进行扩充或者提出全新的网络协议组。本文考虑把面向对象的方法运用的网络协议组中,使协议具有面向对象的特点,提高协议的可重用性、扩展性和可组装性。
本文使用UML(统一建模语言)对传输层的TCP协议进行建模将原先面向过程的协议分解成多个模块,然后根据面向对象的思想进行组装设计,建立了各自的对象协议模型。
关键词:UML(统一建模语言)、面向对象协议模型、TCP协议
With the enhancement function of a system, design, elaboration and realize it can become very strenuous, usually we resolve functions of the system into some more handy module by using OO (Object-Oriented) method. The fast development of the Internet and wide application in the commercial field of the network technology, existing protocol cannot meet the needs of application of different new-type network or network application under the various kinds of occasion, so the exiting must be expanded or implemented in new way. This text considers applying object-oriented thought to the network protocol, So that the exiting protocol can support more new functions because of the advantage of the object-oriented method.
This text uses UML (unify modeling language) to model TCP protocol by OO method, decomposed the exiting single-module protocol to some separate models , then assemble designing according to the object-oriented method . Research of this text is proved that it is feasible to set up object-oriented models by using UML and assemble them using object-oriented protocol. It provides a kind of method to ameliorate protocol.
Key words: Unified Modeling Language (UML), Object-Oriented Protocol Model, TCP Protocol
目录