VLStream Cloud is an intelligent video stream management system developed based on SpringBoot + MyBatis Plus + MySQL technology stack, providing backend API services for device management, algorithm management, intelligent analysis, monitoring and alerting functions.
- Framework: Spring Boot 2.7.18
- ORM: MyBatis Plus 3.5.3.1
- Database: MySQL 8.0+
- Cache: Redis 6.0+
- API Documentation: Knife4j 3.0.3
- Tool Libraries: Hutool, Apache Commons Lang3
- JSON: FastJSON 2.0.25
VLStream-server/
├── src/
│ ├── main/
│ │ ├── java/com/vlstream/server/
│ │ │ ├── entity/ # Entity classes
│ │ │ ├── mapper/ # Data access layer
│ │ │ ├── service/ # Business logic layer
│ │ │ ├── controller/ # Controller layer
│ │ │ ├── config/ # Configuration classes
│ │ │ ├── common/ # Common classes
│ │ │ └── utils/ # Utility classes
│ │ └── resources/
│ │ ├── application.yml # Application configuration
│ │ └── mapper/ # MyBatis XML mapping files
│ └── test/ # Test code
├── docs/
│ ├── sql/ # Database scripts
│ └── api/ # API documentation
├── pom.xml # Maven configuration
└── README.md # Project description
- Add, delete, modify and query device information
- Device status monitoring and management
- Device grouping and tag management
- Device connection testing
- Algorithm information management
- Algorithm training task management
- Algorithm model management
- Algorithm annotation data management
- Analysis request management
- Analysis result query
- Real-time analysis monitoring
- Device alert management
- Alert rule configuration
- Alert processing flow
- JDK 8+
- Maven 3.6+
- MySQL 8.0+
- Redis 6.0+
- Create Database
CREATE DATABASE vlstream CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;- Execute SQL Script
mysql -u root -p vlstream < docs/sql/vlstream_schema.sql-
Modify Configuration Edit
src/main/resources/application.ymlto modify database and Redis connection information -
Start Application
mvn spring-boot:run- Access API Documentation After successful startup, visit: http://localhost:8080/api/doc.html
| Method | Path | Description |
|---|---|---|
| GET | /api/device/page | Pagination query device information |
| GET | /api/device/{id} | Query device by ID |
| POST | /api/device | Add new device |
| PUT | /api/device | Update device |
| DELETE | /api/device/{id} | Delete device |
| GET | /api/device/statistics | Get device statistics |
All API responses follow a unified format:
{
"code": 200,
"message": "Operation successful",
"data": {},
"timestamp": 1704038400000
}- Project Homepage: https://vls.oortcloudsmart.com
- Technical Support: [email protected]