366 lines
14 KiB
Markdown
366 lines
14 KiB
Markdown
|
|
# System Operations
|
||
|
|
|
||
|
|
## 1. Function Overview
|
||
|
|
|
||
|
|
The System Management and Operations module provides system configuration, management, and operations functions for system administrators to ensure stable system operation.
|
||
|
|
|
||
|
|
**Core Functions:**
|
||
|
|
|
||
|
|
| Function | Description |
|
||
|
|
|----------|-------------|
|
||
|
|
| System Parameter Configuration | General parameters, business parameters |
|
||
|
|
| Approval Process Configuration | Approval process definition |
|
||
|
|
| Message Notification Configuration | Notification channels, templates |
|
||
|
|
| Log Management and Audit | Operation logs, security logs |
|
||
|
|
| Data Backup and Recovery | Backup strategy, data recovery |
|
||
|
|
| Permission Security Policy | Password policy, login security |
|
||
|
|
|
||
|
|
## 2. System Parameter Configuration
|
||
|
|
|
||
|
|
### 2.1 General Parameters
|
||
|
|
|
||
|
|
**System Information Configuration:**
|
||
|
|
|
||
|
|
| Parameter Item | Description | Default Value |
|
||
|
|
|----------------|-------------|---------------|
|
||
|
|
| System Name | Displayed in system title | HF-MES |
|
||
|
|
| System Logo | Login page logo | - |
|
||
|
|
| Company Name | System owner company | - |
|
||
|
|
| Work Start Time | Default work start time | 08:00 |
|
||
|
|
| Work End Time | Default work end time | 18:00 |
|
||
|
|
| Date Format | Date display format | YYYY-MM-DD |
|
||
|
|
| Time Format | Time display format | HH:mm:ss |
|
||
|
|
|
||
|
|
### 2.2 Business Parameters
|
||
|
|
|
||
|
|
**Production Parameter Configuration:**
|
||
|
|
|
||
|
|
| Parameter Item | Description | Default Value |
|
||
|
|
|----------------|-------------|---------------|
|
||
|
|
| Process Flow Rule | Sequential/Parallel | Sequential |
|
||
|
|
| Reporting Advance Time | Advance minutes allowed for reporting | 10 minutes |
|
||
|
|
| Work Order Overdue Warning | Days in advance for warning | 3 days |
|
||
|
|
| Reporting Delay Time | Delay minutes allowed for reporting | 30 minutes |
|
||
|
|
|
||
|
|
**Quality Parameter Configuration:**
|
||
|
|
|
||
|
|
| Parameter Item | Description | Default Value |
|
||
|
|
|----------------|-------------|---------------|
|
||
|
|
| Default Inspection Standard | Default inspection standard | - |
|
||
|
|
| Batch Number Code Rule | Batch number format | LOT-YYYYMMDD-XXX |
|
||
|
|
| Acceptable Quality Level (AQL) | Default AQL value | 1.0 |
|
||
|
|
|
||
|
|
**Equipment Parameter Configuration:**
|
||
|
|
|
||
|
|
| Parameter Item | Description | Default Value |
|
||
|
|
|----------------|-------------|---------------|
|
||
|
|
| Inspection Reminder Time | Advance minutes for reminder | 30 minutes |
|
||
|
|
| Maintenance Reminder Time | Advance days for reminder | 7 days |
|
||
|
|
| Equipment OEE Calculation Cycle | OEE statistics cycle | Daily/Monthly |
|
||
|
|
|
||
|
|
**[Caution]** Modifying system parameters may affect business operations. Please proceed with caution.
|
||
|
|
|
||
|
|
## 3. Approval Process Configuration
|
||
|
|
|
||
|
|
### 3.1 Approval Process Definition
|
||
|
|
|
||
|
|
**Process Elements:**
|
||
|
|
|
||
|
|
| Element | Description |
|
||
|
|
|---------|-------------|
|
||
|
|
| Process Code | Unique process identifier |
|
||
|
|
| Process Name | Display name of process |
|
||
|
|
| Process Type | Business type for approval |
|
||
|
|
| Process Nodes | Approval stages |
|
||
|
|
| Approvers | Approvers for each stage |
|
||
|
|
| Flow Rules | Condition judgments |
|
||
|
|
|
||
|
|
### 3.2 Process Types
|
||
|
|
|
||
|
|
| Process Type | Description | Example |
|
||
|
|
|--------------|-------------|---------|
|
||
|
|
| Work Order Change | Approval for work order information changes | Quantity adjustment, extension |
|
||
|
|
| Material Release | Approval for special material release | Concession acceptance |
|
||
|
|
| Equipment Scrap | Approval for equipment scrapping | Equipment scrapping |
|
||
|
|
| Defective Handling | Approval for defective product disposal | MRB processing |
|
||
|
|
| Material Replenishment | Approval for production material replenishment | Material addition |
|
||
|
|
|
||
|
|
### 3.3 Approval Node Configuration
|
||
|
|
|
||
|
|
**Node Configuration Items:**
|
||
|
|
|
||
|
|
| Configuration Item | Description |
|
||
|
|
|-------------------|-------------|
|
||
|
|
| Node Name | Approval stage name |
|
||
|
|
| Approval Role | Approver role |
|
||
|
|
| Approver | Specific approver |
|
||
|
|
| Approval Method | Joint/Single approval |
|
||
|
|
| Time Limit | Approval time limit |
|
||
|
|
| Timeout Handling | Handling method after timeout |
|
||
|
|
|
||
|
|
**Approval Methods:**
|
||
|
|
|
||
|
|
| Method | Description |
|
||
|
|
|--------|-------------|
|
||
|
|
| Joint Approval | All approvers must approve |
|
||
|
|
| Single Approval | Any single approver can approve |
|
||
|
|
|
||
|
|
## 4. Message Notification Configuration
|
||
|
|
|
||
|
|
### 4.1 Notification Channels
|
||
|
|
|
||
|
|
| Channel Type | Description | Configuration Requirements |
|
||
|
|
|--------------|-------------|----------------------------|
|
||
|
|
| System Message | In-system message notification | Built-in |
|
||
|
|
| Email Notification | Send to email | SMTP configuration |
|
||
|
|
| SMS Notification | Send to mobile phone | SMS gateway configuration |
|
||
|
|
| DingTalk Notification | DingTalk enterprise message | DingTalk app configuration |
|
||
|
|
| WeChat Work | WeChat Work message | WeChat Work configuration |
|
||
|
|
|
||
|
|
### 4.2 Notification Type Configuration
|
||
|
|
|
||
|
|
| Business Event | Notification Type | Recipient |
|
||
|
|
|---------------|-------------------|-----------|
|
||
|
|
| Work Order Release | System Message/Email | Workshop Supervisor |
|
||
|
|
| Work Order Completion | System Message | Planner |
|
||
|
|
| Quality Abnormality | System Message/SMS | Quality Engineer |
|
||
|
|
| Equipment Failure | System Message/SMS | Equipment Engineer |
|
||
|
|
| Low Inventory | System Message/Email | Warehouse Clerk |
|
||
|
|
| Pending Approval | System Message/Email | Approver |
|
||
|
|
|
||
|
|
### 4.3 Notification Templates
|
||
|
|
|
||
|
|
**Template Configuration Items:**
|
||
|
|
|
||
|
|
| Configuration Item | Description |
|
||
|
|
|-------------------|-------------|
|
||
|
|
| Template Code | Unique template identifier |
|
||
|
|
| Template Name | Template name |
|
||
|
|
| Notification Channel | Delivery channel |
|
||
|
|
| Title Template | Message title |
|
||
|
|
| Content Template | Message content |
|
||
|
|
|
||
|
|
**Template Variables:**
|
||
|
|
|
||
|
|
| Variable | Description |
|
||
|
|
|----------|-------------|
|
||
|
|
| ${WorkOrderNo} | Work order number |
|
||
|
|
| ${ProductName} | Product name |
|
||
|
|
| ${Quantity} | Quantity |
|
||
|
|
| ${Time} | Time |
|
||
|
|
| ${Approver} | Approver name |
|
||
|
|
|
||
|
|
## 5. Log Management and Audit
|
||
|
|
|
||
|
|
### 5.1 Log Types
|
||
|
|
|
||
|
|
| Log Type | Description | Retention Period |
|
||
|
|
|----------|-------------|------------------|
|
||
|
|
| Operation Log | User operation records | 6 months |
|
||
|
|
| System Log | System running logs | 3 months |
|
||
|
|
| Interface Log | Interface call logs | 6 months |
|
||
|
|
| Exception Log | Exception error logs | 12 months |
|
||
|
|
| Security Log | Login security logs | 12 months |
|
||
|
|
|
||
|
|
### 5.2 Operation Log Content
|
||
|
|
|
||
|
|
| Record Item | Description |
|
||
|
|
|-------------|-------------|
|
||
|
|
| Operation Time | Time when operation occurred |
|
||
|
|
| User Account | User performing the operation |
|
||
|
|
| User Name | User's display name |
|
||
|
|
| Operation Type | Operation category |
|
||
|
|
| Operation Content | Specific operation description |
|
||
|
|
| Operation Object | Data object being operated |
|
||
|
|
| IP Address | Operator's IP address |
|
||
|
|
| Result | Success/Failure |
|
||
|
|
|
||
|
|
### 5.3 Log Query
|
||
|
|
|
||
|
|
**Query Conditions:**
|
||
|
|
|
||
|
|
| Query Dimension | Optional Conditions |
|
||
|
|
|-----------------|---------------------|
|
||
|
|
| Time Range | Start time - End time |
|
||
|
|
| User | Operator |
|
||
|
|
| Operation Type | Add/Modify/Delete, etc. |
|
||
|
|
| Operation Module | Functional module |
|
||
|
|
| Operation Result | Success/Failure |
|
||
|
|
|
||
|
|
### 5.4 Audit Reports
|
||
|
|
|
||
|
|
| Report Type | Description |
|
||
|
|
|-------------|-------------|
|
||
|
|
| User Operation Statistics | Operation frequency per user |
|
||
|
|
| Module Operation Statistics | Operation statistics per module |
|
||
|
|
| Exception Operation Statistics | Failed operation statistics |
|
||
|
|
| Login Audit | Login situation audit |
|
||
|
|
|
||
|
|
## 6. Data Backup and Recovery
|
||
|
|
|
||
|
|
### 6.1 Backup Strategy
|
||
|
|
|
||
|
|
| Backup Type | Execution Frequency | Retention Count | Description |
|
||
|
|
|-------------|---------------------|-----------------|-------------|
|
||
|
|
| Full Backup | Weekly | 4 copies | Complete backup once a week |
|
||
|
|
| Incremental Backup | Daily | 7 copies | Backup incremental data daily |
|
||
|
|
| Real-time Backup | Real-time | - | Database log backup |
|
||
|
|
|
||
|
|
### 6.2 Backup Configuration
|
||
|
|
|
||
|
|
**Backup Task Configuration:**
|
||
|
|
|
||
|
|
| Configuration Item | Description |
|
||
|
|
|-------------------|-------------|
|
||
|
|
| Task Name | Backup task name |
|
||
|
|
| Backup Type | Full/Incremental |
|
||
|
|
| Execution Time | Backup execution time |
|
||
|
|
| Storage Location | Backup file storage location |
|
||
|
|
| Retention Policy | Number of backups to retain |
|
||
|
|
| Compression Method | Whether to compress |
|
||
|
|
|
||
|
|
### 6.3 Manual Backup
|
||
|
|
|
||
|
|
**Operation Steps:**
|
||
|
|
|
||
|
|
1. Go to [System Management] → [Data Backup]
|
||
|
|
2. Click [Manual Backup]
|
||
|
|
3. Select backup type
|
||
|
|
4. Click [Start Backup]
|
||
|
|
5. System executes backup
|
||
|
|
6. Backup file displayed upon completion
|
||
|
|
|
||
|
|
### 6.4 Data Recovery
|
||
|
|
|
||
|
|
**Recovery Operation Steps:**
|
||
|
|
|
||
|
|
1. Go to [System Management] → [Data Recovery]
|
||
|
|
2. Select recovery time point
|
||
|
|
3. Select backup file
|
||
|
|
4. Confirm recovery information
|
||
|
|
5. Confirm recovery (requires confirmation code)
|
||
|
|
6. System executes recovery
|
||
|
|
7. Restart service after recovery completes
|
||
|
|
|
||
|
|
**[Important]** Data recovery will overwrite current data. Please ensure current data has been backed up!
|
||
|
|
|
||
|
|
## 7. Permission Security Policy
|
||
|
|
|
||
|
|
### 7.1 Password Policy
|
||
|
|
|
||
|
|
| Policy Item | Configuration Value | Description |
|
||
|
|
|-------------|---------------------|-------------|
|
||
|
|
| Minimum Length | 8 characters | Minimum password length |
|
||
|
|
| Complexity Requirement | Must contain letters and numbers | Complexity rule |
|
||
|
|
| Validity Period | 90 days | Password valid days |
|
||
|
|
| Expiration Warning | 7 days | Warning before expiration |
|
||
|
|
| History Password | 5 | Cannot reuse previous passwords |
|
||
|
|
| Attempt Limit | 5 times | Failed attempt limit |
|
||
|
|
| Lockout Duration | 30 minutes | Account lockout duration |
|
||
|
|
|
||
|
|
### 7.2 Login Security
|
||
|
|
|
||
|
|
| Configuration Item | Description |
|
||
|
|
|-------------------|-------------|
|
||
|
|
| Allow Concurrent Login | Yes/No |
|
||
|
|
| Session Timeout | 30 minutes |
|
||
|
|
| IP Whitelist | Allowed login IPs |
|
||
|
|
| IP Blacklist | Blocked login IPs |
|
||
|
|
| Remote Login Alert | Yes/No |
|
||
|
|
|
||
|
|
### 7.3 Data Permission
|
||
|
|
|
||
|
|
**Data Permission Levels:**
|
||
|
|
|
||
|
|
| Permission Level | Description |
|
||
|
|
|------------------|-------------|
|
||
|
|
| All Data | Can view all data |
|
||
|
|
| Factory Level | Can only view factory data |
|
||
|
|
| Workshop Level | Can only view workshop data |
|
||
|
|
| Production Line Level | Can only view production line data |
|
||
|
|
| Personal Data | Can only view own data |
|
||
|
|
|
||
|
|
## 8. System Performance Monitoring
|
||
|
|
|
||
|
|
### 8.1 Monitoring Metrics
|
||
|
|
|
||
|
|
| Metric Category | Specific Metric | Normal Range |
|
||
|
|
|-----------------|-----------------|--------------|
|
||
|
|
| Server Performance | CPU Usage | < 80% |
|
||
|
|
| Server Performance | Memory Usage | < 85% |
|
||
|
|
| Server Performance | Disk Usage | < 90% |
|
||
|
|
| Database Performance | Connection Count | < Connection Pool Limit |
|
||
|
|
| Database Performance | Query Response Time | < 1 second |
|
||
|
|
| Application Performance | API Response Time | < 3 seconds |
|
||
|
|
| Application Performance | Concurrent Users | < Licensed Quantity |
|
||
|
|
|
||
|
|
### 8.2 Monitoring Dashboard
|
||
|
|
|
||
|
|
**Monitoring Dashboard Display:**
|
||
|
|
|
||
|
|
```
|
||
|
|
┌─────────────────────────────────────────────────────────────┐
|
||
|
|
│ System Monitoring Dashboard │
|
||
|
|
├─────────────────────────────────────────────────────────────┤
|
||
|
|
│ │
|
||
|
|
│ Server Status │
|
||
|
|
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │
|
||
|
|
│ │ CPU │ │ Memory │ │ Disk │ │
|
||
|
|
│ │ 45.2% │ │ 68.5% │ │ 52.3% │ │
|
||
|
|
│ └───────────────┘ └───────────────┘ └───────────────┘ │
|
||
|
|
│ │
|
||
|
|
│ Application Service Status │
|
||
|
|
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │
|
||
|
|
│ │ Web Service │ │ API Service │ │ Scheduler │ │
|
||
|
|
│ │ Normal │ │ Normal │ │ Normal │ │
|
||
|
|
│ └───────────────┘ └───────────────┘ └───────────────┘ │
|
||
|
|
│ │
|
||
|
|
│ Database Status │
|
||
|
|
│ ┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │
|
||
|
|
│ │ Connections │ │ Active Sessions│ │ Query Response│ │
|
||
|
|
│ │ 45/200 │ │ 12 │ │ 0.5秒 │ │
|
||
|
|
│ └───────────────┘ └───────────────┘ └───────────────┘ │
|
||
|
|
│ │
|
||
|
|
└─────────────────────────────────────────────────────────────┘
|
||
|
|
```
|
||
|
|
|
||
|
|
### 8.3 Alert Configuration
|
||
|
|
|
||
|
|
| Alert Item | Alert Condition | Alert Method |
|
||
|
|
|------------|-----------------|--------------|
|
||
|
|
| High CPU | > 90% | SMS/Email |
|
||
|
|
| High Memory | > 95% | SMS/Email |
|
||
|
|
| Low Disk Space | < 10% | SMS/Email |
|
||
|
|
| Service Down | Service stopped | SMS/Phone |
|
||
|
|
| Database Connection Full | 100% | SMS/Phone |
|
||
|
|
|
||
|
|
## 9. Version Upgrade
|
||
|
|
|
||
|
|
### 9.1 Upgrade Process
|
||
|
|
|
||
|
|
```
|
||
|
|
Backup Data → Download Upgrade → Execute Upgrade → Verify Functions → Release
|
||
|
|
```
|
||
|
|
|
||
|
|
### 9.2 Pre-Upgrade Checklist
|
||
|
|
|
||
|
|
| Check Item | Description |
|
||
|
|
|------------|-------------|
|
||
|
|
| Data Backup | Confirm data has been backed up |
|
||
|
|
| Environment Check | Server environment meets requirements |
|
||
|
|
| Compatibility Check | Confirm upgrade package compatibility |
|
||
|
|
| Downtime Notification | Notify relevant personnel |
|
||
|
|
| Rollback Plan | Prepare rollback plan |
|
||
|
|
|
||
|
|
### 9.3 Post-Upgrade Verification
|
||
|
|
|
||
|
|
| Verification Item | Description |
|
||
|
|
|-------------------|-------------|
|
||
|
|
| Service Startup | Confirm services running normally |
|
||
|
|
| Function Verification | Verify core functions |
|
||
|
|
| Data Verification | Confirm data integrity |
|
||
|
|
| Performance Verification | Confirm system performance normal |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**End of System Operations**
|