Nowadays in automotive industry JIT production mode is an overwhelming trend. And it resulted in an unprecedented challenge to the traditional mode of production designing, operation and information transaction. To solve the problems mentioned above a novel method is proposed to establish planning system models with tree discrete view structure, to visualize control and optimization in designing production line based on processing work flow. This model gave attention to various paths to access and control the production line, and also to communications with other systems among enterprises. Finally, this paper proposed a prototype system and took a production line of 5V engine cylinder head for example to examine the planning method. The results show it helps a lot in improving the efficiency and accuracy of production line planning.