To realize the integration of MES and ERP, the key lies in the optimization and integration of business processes and the concrete analysis of MES and ERP systems, so as to give full play to the advantages of each system. First of all, the information system serves the business. MES and ERP solve some business problems and reflect some business processes respectively. Process is the "adhesive" of MES and ERP integration. Through the overall optimization of the process, it is divided into which processes are handled in MES and which processes are handled in ERP. We need to analyze the functional characteristics of ERP system and MES system according to the actual business needs of enterprises, compare the advantages and disadvantages of the functions that ERP, MES, one part of ERP and another part of MES can realize in the two systems, and then decide whether to accept or reject them. It should be noted that both MES and ERP have their own implementation logic. When deciding the "ownership" of a function, we must ensure the logical integrity of the function in the selected system. It is precisely because there are so many variables in job selection and interface design between MES and ERP, and the input of MES and ERP system is very large, so it is very important and necessary for enterprises to make unified planning according to business needs before large-scale information construction.