In the field of petrochemical industry,the digitization of drawings is an important technological trend.P&ID drawings are a kind of commonly used process flow diagrams,which contain a large amount of information about complete sets of equipment,pipelines,automatic control instruments and so on.This paper discusses how to construct a set of artifi-cial intelligence-based intelligent recognition method for P&ID drawings,which intelligently recognizes and extracts drawing information,including legend symbols,text,lines and tables,etc.,through computer vision technology,and at the same time,it can be correlated according to pipeline connectivity in order to analyze pipeline connectivity.The method in this paper can greatly improve the efficiency of drawing recognition and analysis,and realize the digital conversion,storage and management of P&ID drawings.