Abstract-This paper first briefly introduces a Petri net, and then studies it in detail according to the selected objectoriented Petri net modeling method. This paper improves the object-oriented Petri net modeling method and studies the modeling and operation steps in detail. Finally, this paper builds a computer network TCP/IP protocol model based on an object-oriented Petri net. The model proves to be a good simulation of the computer network and the improved modeling method is also a valid method for further object-oriented Petri net modeling.