376 lines
25 KiB
Markdown
376 lines
25 KiB
Markdown
|
|
# Document Guide
|
|||
|
|
## System Overview
|
|||
|
|
|
|||
|
|
## 1. System Introduction
|
|||
|
|
|
|||
|
|
HF-MES v5.0 (Manufacturing Execution System) is a production execution management system for manufacturing enterprises, designed to achieve digital and intelligent management of production processes, improve production efficiency, ensure product quality, and reduce operational costs.
|
|||
|
|
|
|||
|
|
### 1.1 System Positioning
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌─────────────────────────────────────────────────────────┐
|
|||
|
|
│ Enterprise IT Pyramid │
|
|||
|
|
├─────────────────────────────────────────────────────────┤
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────┐ │
|
|||
|
|
│ │ ERP │ Enterprise Resource Planning │
|
|||
|
|
│ │ Enterprise Layer │ │
|
|||
|
|
│ └──────┬──────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ┌──────▼──────┐ │
|
|||
|
|
│ │ MES │ Manufacturing Execution System │
|
|||
|
|
│ │ Production Execution Layer │ │ ← Our System
|
|||
|
|
│ └──────┬──────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ┌──────▼──────┐ │
|
|||
|
|
│ │ SCADA │ Data Acquisition & Monitoring System │
|
|||
|
|
│ │ Equipment Control Layer │ │
|
|||
|
|
│ └─────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
└─────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### 1.2 Core Values
|
|||
|
|
|
|||
|
|
| Core Value | Description | Customer Benefit |
|
|||
|
|
|------------|-------------|------------------|
|
|||
|
|
| Production Transparency | Real-time monitoring of production progress | Real-time production status visibility |
|
|||
|
|
| Process Traceability | Full-process data traceability | Quick quality issue localization |
|
|||
|
|
| Quality Control | Full-process quality control | Guaranteed product quality |
|
|||
|
|
| Efficiency Improvement | Optimized production processes | Increased production efficiency |
|
|||
|
|
| Cost Reduction | Reduced waste and losses | Lower production costs |
|
|||
|
|
|
|||
|
|
## 2. System Architecture
|
|||
|
|
|
|||
|
|
### 2.1 Technical Architecture
|
|||
|
|
|
|||
|
|
**The system adopts a front-end and back-end separation architecture:**
|
|||
|
|
|
|||
|
|
| Layer | Technology Stack | Description |
|
|||
|
|
|-------|------------------|-------------|
|
|||
|
|
| Front-end Presentation | Vue.js + Element UI | User interface interaction |
|
|||
|
|
| Back-end Service | Java Spring Boot | Business logic processing |
|
|||
|
|
| Data Storage | MySQL + Redis | Data storage and caching |
|
|||
|
|
| Message Middleware | RabbitMQ | Asynchronous message processing |
|
|||
|
|
| File Storage | MinIO/OSS | File and attachment storage |
|
|||
|
|
|
|||
|
|
### 2.2 System Deployment Architecture
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌────────────────────────────────────────────────────────────┐
|
|||
|
|
│ Client Layer │
|
|||
|
|
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|||
|
|
│ │ Web Browser │ │ Mobile │ │ Large Screen │ │
|
|||
|
|
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|||
|
|
└────────────────────────────────────────────────────────────┘
|
|||
|
|
│
|
|||
|
|
▼
|
|||
|
|
┌────────────────────────────────────────────────────────────┐
|
|||
|
|
│ Application Service Layer │
|
|||
|
|
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|||
|
|
│ │ Web Service │ │ API Service │ │ Scheduler │ │
|
|||
|
|
│ │ (Nginx) │ │ (Gateway) │ │ (Scheduler) │ │
|
|||
|
|
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|||
|
|
└────────────────────────────────────────────────────────────┘
|
|||
|
|
│
|
|||
|
|
▼
|
|||
|
|
┌────────────────────────────────────────────────────────────┐
|
|||
|
|
│ Data Service Layer │
|
|||
|
|
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|||
|
|
│ │ Database │ │ Cache │ │ Message Queue │ │
|
|||
|
|
│ │ (MySQL) │ │ (Redis) │ │ (RabbitMQ) │ │
|
|||
|
|
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|||
|
|
└────────────────────────────────────────────────────────────┘
|
|||
|
|
│
|
|||
|
|
▼
|
|||
|
|
┌────────────────────────────────────────────────────────────┐
|
|||
|
|
│ Equipment Integration Layer │
|
|||
|
|
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|||
|
|
│ │ PLC/SCADA │ │ RFID │ │ Barcode Scanner │ │
|
|||
|
|
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|||
|
|
└────────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### 2.3 System Network Architecture
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌─────────────────┐
|
|||
|
|
│ Internet Users │
|
|||
|
|
└────────┬────────┘
|
|||
|
|
│
|
|||
|
|
▼
|
|||
|
|
┌────────────────────────────────────────────────────────────┐
|
|||
|
|
│ Enterprise Intranet │
|
|||
|
|
│ │
|
|||
|
|
│ ┌────────────────────┐ ┌────────────────────┐ │
|
|||
|
|
│ │ MES App Server │◀────▶│ ERP Server │ │
|
|||
|
|
│ │ (Application Cluster) │ (SAP/Ufida/Kingdee)│ │
|
|||
|
|
│ └─────────┬──────────┘ └────────────────────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ├──────────┬──────────┬──────────┐ │
|
|||
|
|
│ │ │ │ │ │
|
|||
|
|
│ ▼ ▼ ▼ ▼ │
|
|||
|
|
│ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │
|
|||
|
|
│ │ Shop 1 │ │ Shop 2 │ │ Shop 3 │ │ Warehouse │ │
|
|||
|
|
│ │ Client │ │ Client │ │ Client │ │ Client │ │
|
|||
|
|
│ └────────┘ └────────┘ └────────┘ └────────┘ │
|
|||
|
|
│ │ │ │ │ │
|
|||
|
|
│ └──────────┴──────────┴──────────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ▼ │
|
|||
|
|
│ ┌────────────┐ │
|
|||
|
|
│ │ DB Server │ │
|
|||
|
|
│ │ (Active-Standby Cluster) │ │
|
|||
|
|
│ └────────────┘ │
|
|||
|
|
└────────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## 3. Functional Modules
|
|||
|
|
|
|||
|
|
### 3.1 Functional Module Overview
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌─────────────────────────────────────────────────────────┐
|
|||
|
|
│ HF-MES v5.0 Functional Architecture │
|
|||
|
|
├─────────────────────────────────────────────────────────┤
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ System Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ User Mgmt│ │ Role Mgmt│ │ Permission│ │ Param Config││ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Production Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ Prod Plan│ │ Work Order│ │ Reporting│ │ Production Scheduling││ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Quality Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ IQC │ │ IPQC │ │ FQC │ │ Quality Trace│ │ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Warehouse Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ Receiving│ │ Issuing│ │ Inventory│ │ Location Mgmt││ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Equipment Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ Equipment│ │ Inspection│ │ Fault Repair│ │ OEE Analysis││ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Report Management Layer │ │
|
|||
|
|
│ │ ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐ │ │
|
|||
|
|
│ │ │ Prod Report│ │ Quality│ │ Equipment│ │ Inventory│ │ │
|
|||
|
|
│ │ └────────┘ └────────┘ └────────┘ └────────┘ │ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
└─────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### 3.2 Module Details
|
|||
|
|
|
|||
|
|
#### 3.2.1 Production Management Module
|
|||
|
|
|
|||
|
|
**Core Functions:**
|
|||
|
|
|
|||
|
|
| Function | Description |
|
|||
|
|
|----------|-------------|
|
|||
|
|
| Production Planning | Generate production plans based on sales orders |
|
|||
|
|
| Work Order Management | Create, review, release, and modify work orders |
|
|||
|
|
| Production Reporting | Production reporting, completion confirmation |
|
|||
|
|
| Production Monitoring | Real-time monitoring of production progress and status |
|
|||
|
|
| Process Management | Process routes, process definitions |
|
|||
|
|
| Material Flow | Material release, picking, semi-finished product flow |
|
|||
|
|
|
|||
|
|
#### 3.2.2 Quality Management Module
|
|||
|
|
|
|||
|
|
**Core Functions:**
|
|||
|
|
|
|||
|
|
| Function | Description |
|
|||
|
|
|----------|-------------|
|
|||
|
|
| Inspection Standards | Inspection items, inspection standard definitions |
|
|||
|
|
| IQC Inspection | Incoming quality control |
|
|||
|
|
| IPQC Inspection | In-process quality control |
|
|||
|
|
| FQC/OQC | Final/Outgoing inspection |
|
|||
|
|
| Quality Abnormality | Defective product handling, MRB management |
|
|||
|
|
| Quality Traceability | Forward/reverse traceability |
|
|||
|
|
|
|||
|
|
#### 3.2.3 Warehouse Management Module
|
|||
|
|
|
|||
|
|
**Core Functions:**
|
|||
|
|
|
|||
|
|
| Function | Description |
|
|||
|
|
|----------|-------------|
|
|||
|
|
| Receiving Management | Purchase receiving, production receiving, other receiving |
|
|||
|
|
| Issuing Management | Production picking, sales issuing, other issuing |
|
|||
|
|
| Inventory Management | Inventory query, inventory warning, inventory counting |
|
|||
|
|
| Location Management | Location definition, location allocation |
|
|||
|
|
| Batch Management | Batch definition, batch traceability |
|
|||
|
|
| Material Availability Check | Material availability check |
|
|||
|
|
|
|||
|
|
#### 3.2.4 Equipment Management Module
|
|||
|
|
|
|||
|
|
**Core Functions:**
|
|||
|
|
|
|||
|
|
| Function | Description |
|
|||
|
|
|----------|-------------|
|
|||
|
|
| Equipment Ledger | Equipment information, classification management |
|
|||
|
|
| Inspection Management | Daily inspection, inspection standards |
|
|||
|
|
| Maintenance Management | Planned maintenance, maintenance standards |
|
|||
|
|
| Fault Management | Fault reporting, repair records |
|
|||
|
|
| OEE Analysis | Overall equipment efficiency analysis |
|
|||
|
|
| Spare Parts Management | Spare parts inventory, spare parts issue |
|
|||
|
|
|
|||
|
|
### 3.3 Function Matrix
|
|||
|
|
|
|||
|
|
| Functional Module | Basic Edition | Standard Edition | Advanced Edition | Enterprise Edition |
|
|||
|
|
|-------------------|---------------|------------------|------------------|-------------------|
|
|||
|
|
| Production Management | ✓ | ✓ | ✓ | ✓ |
|
|||
|
|
| Quality Management | ✓ | ✓ | ✓ | ✓ |
|
|||
|
|
| Warehouse Management | ✓ | ✓ | ✓ | ✓ |
|
|||
|
|
| Equipment Management | - | ✓ | ✓ | ✓ |
|
|||
|
|
| Report Analysis | Basic | Basic | Advanced | Advanced |
|
|||
|
|
| System Integration | - | Basic | Advanced | Advanced |
|
|||
|
|
| Secondary Development | - | - | ✓ | ✓ |
|
|||
|
|
| Private Deployment | - | - | ✓ | ✓ |
|
|||
|
|
|
|||
|
|
## 4. Applicable Industries
|
|||
|
|
|
|||
|
|
### 4.1 Typical Industry Applications
|
|||
|
|
|
|||
|
|
| Industry | Typical Scenarios |
|
|||
|
|
|----------|------------------|
|
|||
|
|
| Electronics Manufacturing | SMT assembly, testing, packaging and shipping |
|
|||
|
|
| Automotive Parts | Stamping, welding, painting, assembly |
|
|||
|
|
| Machinery Processing | CNC machining, assembly, inspection |
|
|||
|
|
| Food and Beverage | Formula production, filling and packaging, quality traceability |
|
|||
|
|
| Pharmaceutical and Chemical | Formulation production, packaging, batch traceability |
|
|||
|
|
| New Energy | Battery production, photovoltaic modules |
|
|||
|
|
|
|||
|
|
### 4.2 Industry Solutions
|
|||
|
|
|
|||
|
|
For different industries, we provide customized solutions, including:
|
|||
|
|
|
|||
|
|
- Industry-specific functional modules
|
|||
|
|
- Industry best practice processes
|
|||
|
|
- Industry-specific report templates
|
|||
|
|
- Industry integration interface solutions
|
|||
|
|
|
|||
|
|
## 5. Performance Metrics
|
|||
|
|
|
|||
|
|
### 5.1 System Performance
|
|||
|
|
|
|||
|
|
| Metric | Standard Value | Description |
|
|||
|
|
|--------|---------------|-------------|
|
|||
|
|
| System Response Time | < 3 seconds | Page loading time |
|
|||
|
|
| API Response Time | < 1 second | API call response |
|
|||
|
|
| Concurrent Users | 500+ | Simultaneous online users |
|
|||
|
|
| Data Processing Capacity | 100,000+/day | Daily document processing volume |
|
|||
|
|
| System Availability | 99.9% | System uptime |
|
|||
|
|
| Data Backup | Daily incremental | Automatic backup mechanism |
|
|||
|
|
|
|||
|
|
### 5.2 Operating Environment
|
|||
|
|
|
|||
|
|
| Environment Requirement | Configuration |
|
|||
|
|
|-------------------------|---------------|
|
|||
|
|
| Browser | Chrome, Firefox, Edge, 360, etc. |
|
|||
|
|
| Minimum Resolution | 1280×720 |
|
|||
|
|
| Network Requirement | LAN ≥ 100M |
|
|||
|
|
| Server Configuration | CPU 8-core+, Memory 16G+, Hard Disk 500G+ |
|
|||
|
|
|
|||
|
|
## 6. Security Features
|
|||
|
|
|
|||
|
|
### 6.1 Security Assurance System
|
|||
|
|
|
|||
|
|
| Security Dimension | Assurance Measures |
|
|||
|
|
|-------------------|-------------------|
|
|||
|
|
| Identity Authentication | Username/password, LDAP integration |
|
|||
|
|
| Permission Control | RBAC permission model |
|
|||
|
|
| Data Security | Transmission encryption, sensitive field encryption |
|
|||
|
|
| Operation Audit | Complete operation log recording |
|
|||
|
|
| Security Policy | Password policy, session management |
|
|||
|
|
| Data Backup | Automatic backup, off-site backup |
|
|||
|
|
|
|||
|
|
### 6.2 Permission Model
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌─────────────────────────────────────────────────────────┐
|
|||
|
|
│ Permission Model │
|
|||
|
|
├─────────────────────────────────────────────────────────┤
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────┐ │
|
|||
|
|
│ │ User │ ←────────────┐ │
|
|||
|
|
│ └────┬────┘ │ │
|
|||
|
|
│ │ │ Belongs to │
|
|||
|
|
│ ▼ │ │
|
|||
|
|
│ ┌─────────┐ │ │
|
|||
|
|
│ │ Role │──────────────┼──────────┐ │
|
|||
|
|
│ └────┬────┘ │ │ │
|
|||
|
|
│ │ │ Has │ │
|
|||
|
|
│ ▼ │ ▼ │
|
|||
|
|
│ ┌─────────┐ │ ┌───────────┐ │
|
|||
|
|
│ │ Permission│◀─────────────┘ │ Function Menu│ │
|
|||
|
|
│ └─────────┘ └───────────┘ │
|
|||
|
|
│ │
|
|||
|
|
│ ┌─────────────────────────────────────────────────┐ │
|
|||
|
|
│ │ Data Permission │ │
|
|||
|
|
│ │ Factory Level ─ Workshop Level ─ Line Level ─ Personal││ │
|
|||
|
|
│ └─────────────────────────────────────────────────┘ │
|
|||
|
|
│ │
|
|||
|
|
└─────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## 7. Integration with Other Systems
|
|||
|
|
|
|||
|
|
### 7.1 System Integration Architecture
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
┌─────────────────────────────────────────────────────────┐
|
|||
|
|
│ System Integration Architecture │
|
|||
|
|
├─────────────────────────────────────────────────────────┤
|
|||
|
|
│ │
|
|||
|
|
│ ┌───────────┐ │
|
|||
|
|
│ │ ERP │ ←──→ Material master data, work orders, purchase orders │
|
|||
|
|
│ │ (SAP) │ │
|
|||
|
|
│ └─────┬─────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ▼ │
|
|||
|
|
│ ┌───────────┐ │
|
|||
|
|
│ │ MES │ ←──→ Production execution, quality data, equipment data │
|
|||
|
|
│ │ (Self) │ │
|
|||
|
|
│ └─────┬─────┘ │
|
|||
|
|
│ │ │
|
|||
|
|
│ ▼ │
|
|||
|
|
│ ┌───────────┐ │
|
|||
|
|
│ │ SCADA │ ←──→ Equipment data, real-time status │
|
|||
|
|
│ │ (Device Layer)│ │
|
|||
|
|
│ └───────────┘ │
|
|||
|
|
│ │
|
|||
|
|
└─────────────────────────────────────────────────────────┘
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
### 7.2 Integration Methods
|
|||
|
|
|
|||
|
|
| Integration Method | Description | Applicable Scenarios |
|
|||
|
|
|-------------------|-------------|---------------------|
|
|||
|
|
| API Interface | RESTful API | Real-time data exchange |
|
|||
|
|
| Intermediate Database | Direct database connection | Batch data synchronization |
|
|||
|
|
| File Import | Excel/CSV import | Periodic data exchange |
|
|||
|
|
| Message Queue | Event-driven | Asynchronous message notification |
|
|||
|
|
| WebService | SOAP interface | Legacy system integration |
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
**End of System Overview**
|