mes system consists of: 1. User interface part; 2. Business logic part; 3. Data storage part. MES system architecture refers to the basic organization of the MES system, including each component, the relationship between the components and the environment, and the principles that guide its design and evolution. It mainly refers to the software architecture or IT architecture of the MES.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
The so-called MES system architecture refers to the basic organization of the MES system, including each component, the relationship between the components and the environment, and guiding its design and evolution. the rules.
ES system architecture mainly refers to the software architecture or IT architecture of MES. As a large-scale software system, MES's system architecture has a very important impact on the design and development, application deployment, upgrade and maintenance of the MES system. The MES system based on advanced architecture is open, customized, configurable, scalable, and easy to integrate. It can support system reconstruction and rapid configuration for changes or reorganization of enterprise business processes to adapt to changes in the modern manufacturing environment.
Three-tier system architecture based on improved C/S structure and component technology
MES software system generally consists of three Most components include user interface part, business logic part and data storage part.
For early dedicated MES systems, the above three parts are closely integrated and inseparable; for integrated MES systems, in order to ensure the data integration between the various functions of the system, the data Centralize it on the server to realize data sharing, forming a C/S architecture with a two-layer structure; when it develops to the integrated MES stage, in order to realize the integrability and reconfigurability of the system, the three parts are separated and further Combined with component technology, a three-layer MES system architecture based on improved C/S structure and component technology is formed as shown in Figure 1. Among them, the presentation layer is used for interface guidance, accepts user input, sends service requests to the application server, and displays processing results; the business logic layer is used to execute business logic and send requests to the database; the data storage layer is used to execute data logic and run SQL or stored procedure.
The most significant advantage of the above-mentioned MES three-tier system architecture based on improved C/S structure and component technology is that it realizes the separation of MES business logic and presentation layer, and can realize The reuse of functional components greatly improves the development efficiency of MES systems. MES developed based on component technology has good configurability, reusability, scalability and integration, and can better meet the needs of modern manufacturing enterprises for MES. However, the above C/S architecture also has its obvious limitations.
First of all, the MES components under this system architecture are function-oriented and have small granularity, which cannot achieve good correspondence between the system and the manufacturing business.
Secondly, the implementation of the MES system client and server must use the same component system, and the components must be isomorphic technology, thus restricting the realization of free expansion of the system.
Thirdly, MES systems based on this system architecture can often only be deployed in a local area network and cannot run across networks, which limits the realization of remote manufacturing collaboration. Finally, although the MES system based on this architecture makes it easy to update business logic or data and does not need to reinstall a new version of the user interface on the client machine, the relationship between the client and the business logic is still close. If the presentation layer software fails Changes still require reinstalling the client. Based on the above shortcomings, the MES distributed system architecture based on B/S structure has emerged.
MES distributed system architecture based on B/S structure
B/S structure (Browser/Server, browser/server mode) , is a network structure model after the rise of WEB. The WEB browser is the most important application software on the client. In some manufacturing production workshops, the production site conditions are relatively harsh. If an MES system with a C/S structure is adopted, the system hardware configuration requirements are higher and the cost will increase significantly. Because compared with the C/S structure, MES using B/S structure does not need to go to each client to configure the client during installation and upgrade like MES with C/S structure. It only needs to be done once on the server. Just install and upgrade. The client only needs a browser, no additional configuration is required, and the configuration requirements for the client computer are low. Customers do not need to invest money in purchasing a computer with high configuration. This makes software maintenance and upgrades more convenient, enables seamless system upgrades, and greatly reduces system maintenance costs. In addition, due to the strong operability of the B/S architecture, users can use the system on any host equipped with a browser without the need for specialized client software, overcoming the difficulty of installing and maintaining the traditional C/S structure. Moreover, B/S realizes many functions that C/S structure cannot realize, such as remote operation and distributed operation. In this way, users can access the MES system from the external network instead of being limited to the intranet, thereby greatly improving office efficiency.
The MES distributed system architecture based on B/S structure is shown in the figure. The architecture also consists of three layers: the first layer is the presentation layer, which consists of a standard client based on a Web browser and a professional client based on special software, which is used to implement user requests and human-computer dialogue; the second layer is application logic Layer, the Web server uses the HTTP protocol to process user requests sent from the presentation layer, and the corresponding functional components implement the customer's specific application requirements. In the application logic layer, the functional components of MES are integrated into the system framework (soft bus) in the form of software components, and MES application services are provided externally through the application server; the third layer is the database layer, including relational databases and storage that store historical data. Real-time database for real-time data. This layer can also be an abstract data layer, including various data resources, database files, XML files, and icon program files, etc. In the process of executing business logic, the application logic layer sends data requests to the database layer, and the database layer executes the data logic and runs SQL or stored procedures.
The above-mentioned MES system architecture based on B/S structure has the following characteristics:
(1) Based on Web technology, using HTTP and HTML, the presentation layer It can be controlled centrally and use the client to display data and interact with users. When the software changes, it only needs to be upgraded and installed once on the server without reinstalling the entire client application software.
(2) Allows for more flexible deployment of the presentation layer, business logic layer and data access layer. Allows business logic to be distributed across different servers, mixing the presentation layer with the business logic layer, or combining the business logic layer with the data layer.
(3) The system has good scalability.
(4) System hardware cost is low.
(5) Support external network access, remote operation, and distributed operation.
However, the B/S architecture has shortcomings such as large communication overhead, poor security, and slow response speed. With the rapid development of the Internet and the significant improvement of server performance, the performance speed of the B/S structure has been greatly improved, making the application of this MES architecture more and more widespread.
For more related knowledge, please visit theFAQcolumn!
The above is the detailed content of What are the components of the mes system?. For more information, please follow other related articles on the PHP Chinese website!