APP下载

Application of JAVA Technology in MES System

2019-01-23LiuChao

中阿科技论坛(中英文) 2019年4期

Liu Chao

(China Special Equipment Inspection and Research Institute,Beijing 10029)

Abstract:JAVA is a relatively simple multi-line dynamic language,and JAVA technology involves more aspects,including JAVA network communication,JDBC technology,web programming,struts framework,ejb,JAVA data structure and so on.The advent of JAVA has brought life to the web by turning previously rigid documents into interactive content.MES system is a set of execution system of enterprises,and also a set of information management system of enterprise workshop production.From the perspective of the application of MES in China,it obviously lags behind developed countries,especially in the manufacturing industry,where manual data collection and management is still needed.The products and services of MES have the characteristics of diversity,complexity and particularity,which make MES have a greater demand in the Chinese market than before.The application of JAVA technology in MES system can solve the big data scheduling problem of enterprises and effectively solve a series of problems in the production process of enterprises,so as to improve the production efficiency of enterprises.

Key words:JAVA;MES system;enterprise;production system

With the development of China's society and the continuous progress of science and technology,there are more and more manufacturing enterprises in China,and the scale of enterprises is also getting larger and larger.Enterprises have started the construction of system informatization,and managers of enterprises can make decisions on the management with the help of system information construction.In these large manufacturing enterprises,most enterprises generally adopt MES and ERP system in production management and production process,which brings convenience for enterprises to process data.However,in manufacturing enterprises,the production conditions are usually full of complexity and the production process is also ever-changing,especially in some key links and bottlenecks,the production plan is uncertain,resulting in low efficiency of the entire production system,and even through improving the production efficiency,it is difficult to improve[1].If JAVA technology is properly applied in the MES system,it can solve the process bottleneck problem in the manufacturing process of the enterprise to some extent,at the same time provide reliable ideas and methods to solve the problem.

I.Status Analysis

In terms of the application status of MES system,developed countries and Europe started earlier than Asian countries.At present,Chinese enterprises started late in the application of MES,so they are relatively backward.Many enterprises in China still rely on manpower in the production process,resulting in incomplete information collection.The reason is that the enterprise's production management system is composed of several small subsystems,so the difficulty of integration is quite high.As a system for managing and controlling manufacturing process,MES is also full of complexity.As is known to all,especially after the application of MES system,we found that the existence of MES system can bring certain economic benefits to enterprises,however,the development of MES system in China is not perfect.If JAVA technology is reasonably applied and controlled in the MES system,it will be a great scientific and technological innovation[2].

II.Production Status of Enterprises

This paper mainly studies and analyzes the relevant products and specific production methods of manufacturing enterprises.Now,the production line of small parts in the production process of enterprises is taken as the specific research object,variety is much,production batch is small is the characteristic of small parts production model,specifically,it has following characteristics.

(i)Small Parts Processing

The production objects of manufacturing enterprises are generally small parts,and the processing mode adopted is mainly small parts processing mode.The processing and manufacturing equipment is ordinary machine tool.The production of small parts is basically on the machine tool collinear production,before the production,it needs to spend a lot of time to prepare,in the production process,the production efficiency is also low.

(ii)Difference in Order Size

Usually,manufacturing enterprises have great advantages in receiving orders from different channels and different sources,therefore,the size of orders usually varies a lot.Some orders have a large demand and the monthly production quantity can reach hundreds of thousands,while some orders have a small demand and the annual production quantity is only a few thousand.

(iii)Difference in the Requirements for Processing Parts

In the process of receiving orders,the processing details of parts are usually not considered.Therefore,different orders have different machining accuracy for parts,especially for some parts with high precision requirements,the parts need to be processed into special processes for production in the production.But for most parts,it only needs to be produced in the ordinary process.

Faced with the production status of the enterprise,it can be seen that the factory is a small-batch production enterprise,which has the same product structure and similar technology in the process of reproduction.Therefore,in production,parts can be processed on the same production line,and most products can be produced through the same kind of key processes,with the inherent conditions and advantages of implementing group technology.So in the process of enterprise production,group technology can be adopted to optimize and reform the production process to be used in all the processed parts,so as to improve the production efficiency of the enterprise.

III.Technology and Background

(i)Concept of MES

MES system comes from the related introduction of MES manufacturing execution system in the American manufacturing industry in the early 1990s,its most prominent function is to optimize the manufacturing process of enterprises,and the reasonable application of it can make the upper production plan and the lower production process of the enterprise coordinate properly and solve the contradictions and problems between them that are difficult to coordinate[3].MES system has various functional modules of production process-related control and management,which can be used as a modern computer-aided production management system[4].

(ii)JAVA Technology

As a simple multi-line dynamic language,JAVA has distributed,neutral,structured,multi-platform,object oriented and secure characteristics.JAVA is an object-oriented programming language,the technical style of JAVA programming language is very similar to C,C++language,and absorbs the advantages of C++language,inherits C++language object-oriented technology,abandons the complex and unpredictable C++concepts such as multiple inheritance and compass,and the garbage collector is added to clean up and recycle the system memory occupied by discarded objects,greatly freeing the system space and memory.In future development,staff will no longer worry about insufficient memory in the development process[5].The JAVA language compiles the relevant source code into binary byte code and interprets the execution through relevant virtual machines on different platforms,which is the biggest difference from the general compilation and interpretation execution languages,so the JAVA language is powerful and easy to use.In addition,it is a perfect implementation of object-oriented theory,allowing programmers to do complex programming with the simple thinking,and then achieve"one compilation,multiple execution" cross-platform operation.

IV.The Fundamentals of Group Technology

The core of group technology is group process.The concept of group process is to form an identical part group with roughly identical parts in structure,and then process and manufacture parts according to the procedures of part group in the production process[6].In order to use the group technique,the processing conditions of the parts must be similar.The similarity of the parts is expressed in the accuracy of geometric shapes,the size of the parts and the same manufacturing process.For example,using the same type of fixture when installing fixed parts,using similar measuring tools and roughly the same manufacturing method when measuring parts size.In this way,the production efficiency of the enterprise can be greatly improved,thus expanding the production batch of the enterprise.

V.Module Function Introduction

(i)Data Collection Module

The data acquisition module has two functions and functions.The first one is to control the automatic data acquisition and input.The network interface machine with data cache and security isolation is used to connect with multiple systems to ensure that each control system can operate independently and safely and that the data can be stored in the database.The second function is manual monitoring and input.In other words,when there is no way to collect data automatically in the production process,manual input can be carried out on the keyboard through the input interface.In the realization process of this mode,the data is collected,while JAVA technology can timely complete the client-side browser reading to ensure the timeliness of the operation[7].

(ii)Production Scheduling Module

One of the functions of the production scheduling module is to issue scheduling instructions through the scheduling management system in case of abnormal operation of equipment and devices,so as to timely and effectively solve various problems existing in the production process.Another function of the production scheduling module is to manage the transfer of text and the type of document,as well as the global system in the central control room.It provides a platform for scheduling management and operators to communicate with each other,which mainly USES JAVA technology platform to operate and process the database,and remote manipulation operator can upload and input data by logging in directly.

(iii)Production Planner Module

The production planning module can make timely statistics on the data of production results and processes.On this basis,the production report and statistical table can be compiled to facilitate enterprises to query and verify relevant data,which brings great convenience to enterprise management.When implementing this module,enterprise leaders can also adjust product information and even output.

(iv)Production Control Application Module

This module mainly involves two aspects,one is production technology management,the other is data analysis.The former is mainly to manage the technical regulations and technical indicators of enterprise production,so as to achieve the purpose of technical management;the latter is to analyze the historical data,statistical data and alarm data collected by the system,so as to improve the utilization rate of production information,optimize production,improve product quality and output,and maintain the safe operation of equipment.

VI.Key Program

The advantage of integrating JAVA program into MES system is to optimize the sequencing and scheduling of groups of parts,so as to improve the work efficiency of the production line,expand production output,and improve the economic benefits of enterprises.This is the purpose and significance of using JAVA program to develop a set of programs.Under the framework of the current MES system,the model algorithm library mainly contains algorithms developed by JAVA.When the system needs to sort and schedule the parts of key process,the algorithm is immediately called from the algorithm library for operation to complete relevant sorting and scheduling in the system.

This key program USES the classical algorithm of genetic algorithm to perform iterative operation when calculating the probabilistic parameters of the classification of related grouped parts,and then calculates the optimal scheme needed by the method of parameter iteration.After the completion of the iteration of the optimal scheme,continue to use other algorithms to optimize the sorting operation of the orders that have been grouped and completed,with the purpose of maximizing the production of the key process,in this way,not only the utilization rate of the equipment is greatly improved,but the production cost of the enterprise is also reduced and the economic benefits are greatly improved.

VII.Conclusion

The practical application is sufficient to show that this procedure can be applied to the production of enterprises,it is able to calculate production line scheduling plan in line with high production efficiency and production site conditions through algorithm,at the same time,this procedure also standardizes the blanking production management,reduces the production cost and improves the production efficiency.Embedding JAVA technology into MES system can collect information of parts in the process of processing and production more efficiently,accurately and timely,and transmit various information of production to workers accurately,so as to facilitate better operation and production,and realize monitoring and managing various states of production process by enterprise in real time during production.