wvp-gb28181-project/sql/mysql.sql

585 lines
639 KiB
MySQL
Raw Normal View History

2022-10-17 17:16:59 +08:00
-- MySQL dump 10.13 Distrib 8.0.30, for Linux (x86_64)
2022-01-25 15:43:52 +08:00
--
2022-10-17 17:16:59 +08:00
-- Host: 127.0.0.1 Database: wvp
2022-01-25 15:43:52 +08:00
-- ------------------------------------------------------
2022-10-17 17:16:59 +08:00
-- Server version 8.0.30
2021-07-26 12:30:58 +08:00
2022-09-08 17:51:12 +08:00
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
2022-07-03 07:40:54 +08:00
/*!50503 SET NAMES utf8mb4 */;
2022-09-08 17:51:12 +08:00
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
2022-01-25 15:43:52 +08:00
--
-- Table structure for table `device`
--
DROP TABLE IF EXISTS `device`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `device` (
`id` int NOT NULL AUTO_INCREMENT,
`deviceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`manufacturer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`firmware` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`transport` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`streamMode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`online` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`registerTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`keepaliveTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`port` int NOT NULL,
`expires` int NOT NULL,
`subscribeCycleForCatalog` int NOT NULL,
`hostAddress` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`charset` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`subscribeCycleForMobilePosition` int DEFAULT NULL,
`mobilePositionSubmissionInterval` int DEFAULT '5',
`subscribeCycleForAlarm` int DEFAULT NULL,
`ssrcCheck` int DEFAULT '0',
`geoCoordSys` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`treeType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
2022-10-17 17:16:59 +08:00
`custom_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
2022-09-08 17:51:12 +08:00
PRIMARY KEY (`id`),
UNIQUE KEY `device_deviceId_uindex` (`deviceId`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `device`
--
LOCK TABLES `device` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `device` VALUES (36,'44010000001110008008','111','Mercury','MIPC368(P)W-4','1.0.1 Build 210304 Rel.60784n','UDP','UDP','1','2022-10-17 16:17:44','2022-10-17 17:08:44','192.168.1.17','2022-09-14 20:33:41','2022-10-17 17:15:44',5060,3600,0,'192.168.1.17:5060','GB2312',0,5,0,1,'WGS84','CivilCode','2222'),(37,'34020000001320090001','CMCC-IPC-E419','Dahua','CMCC-IPC-E419','2.820.17H4000.0.R,2021-10-13','UDP','UDP','0','2022-09-23 14:59:01','2022-09-23 14:59:01','192.168.1.171','2022-09-14 20:33:47','2022-10-17 17:14:13',5060,3600,0,'192.168.1.171:5060','GB2312',0,5,0,1,'WGS84','CivilCode','3434'),(38,'34020000001370000005','IPC-HFW4433M-I2','Dahua','IPC-HFW4433M-I2','2.622.0000000.31.R,2017-12-14','UDP','UDP','1','2022-10-17 17:11:45','2022-10-17 17:08:46','192.168.1.100','2022-09-14 20:33:48','2022-10-17 17:15:46',5060,3600,0,'192.168.1.100:5060','GB2312',0,5,0,1,'WGS84','CivilCode','IPC-HFW4433M-I2'),(39,'34020000002000000005','DH-NVR5864-I','Dahua','DH-NVR5864-I','4.001.0000000.3,2020-10-22','UDP','UDP','1','2022-10-17 17:11:46','2022-10-17 17:07:47','192.168.1.19','2022-09-14 20:34:37','2022-10-17 17:15:47',5062,3600,90,'192.168.1.19:5062','GB2312',0,5,0,1,'WGS84','CivilCode','DH-NVR5864-I'),(40,'34020000013000000001','242-3','wvp','wvp-28181-2.0','2.0.202107','UDP','UDP','0','2022-09-22 16:02:07','2022-09-22 16:04:17','192.168.1.242','2022-09-22 15:47:37','2022-09-22 16:04:17',15060,300,0,'192.168.1.242:15060','GB2312',0,5,0,1,'WGS84','CivilCode',NULL),(41,'34020000001320000001','IP CAMERA','Hikvision','DS-2CD3346FWDA3-I','V5.7.2','UDP','UDP','0','2022-09-26 10:19:12','2022-09-26 10:32:18','192.168.1.64','2022-09-23 15:31:54','2022-09-26 10:41:36',5060,3600,0,'192.168.1.64:5060','GB2312',0,5,0,1,'WGS84','CivilCode',NULL),(42,'66620000002000000001','242_liveGBS',NULL,NULL,NULL,'UDP','UDP','0','2022-09-23 15:42:46','2022-09-23 15:45:46','192.168.1.242','2022-09-23 15:42:46','2022-09-23 15:45:46',58433,3600,0,'192.168.1.242:58433','GB2312',0,5,0,1,'WGS84','CivilCode',NULL);
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `device_alarm`
--
DROP TABLE IF EXISTS `device_alarm`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `device_alarm` (
`id` int NOT NULL AUTO_INCREMENT,
`deviceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`channelId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`alarmPriority` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`alarmMethod` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`alarmTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`alarmDescription` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`longitude` double DEFAULT NULL,
`latitude` double DEFAULT NULL,
`alarmType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `device_alarm`
--
LOCK TABLES `device_alarm` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device_alarm` DISABLE KEYS */;
/*!40000 ALTER TABLE `device_alarm` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `device_channel`
--
DROP TABLE IF EXISTS `device_channel`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `device_channel` (
`id` int NOT NULL AUTO_INCREMENT,
`channelId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`manufacture` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`model` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`owner` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`civilCode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`block` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`address` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`parentId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`safetyWay` int DEFAULT NULL,
`registerWay` int DEFAULT NULL,
`certNum` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`certifiable` int DEFAULT NULL,
`errCode` int DEFAULT NULL,
`endTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`secrecy` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`ipAddress` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`port` int DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`PTZType` int DEFAULT NULL,
`status` int DEFAULT NULL,
`longitude` double DEFAULT NULL,
`latitude` double DEFAULT NULL,
`streamId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`deviceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`parental` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`hasAudio` bit(1) DEFAULT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`subCount` int DEFAULT '0',
`longitudeGcj02` double DEFAULT NULL,
`latitudeGcj02` double DEFAULT NULL,
`longitudeWgs84` double DEFAULT NULL,
`latitudeWgs84` double DEFAULT NULL,
`businessGroupId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`gpsTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `device_channel_id_uindex` (`id`),
UNIQUE KEY `device_channel_pk` (`channelId`,`deviceId`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=60287 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `device_channel`
--
LOCK TABLES `device_channel` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device_channel` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `device_channel` VALUES (60163,'34020000001320000001','IPCamera 01','Mercury','MIPC368(P)W-4','Owner','CivilCode','','Address','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,NULL,'44010000001110008008','0',_binary '','','',0,0,0,0,0,'','2022-09-26 10:03:11'),(60164,'34020000001370000001','GB_Chn_001','Dahua','CMCC-IPC-E419','0','340200','','axy','34020000001320090001',0,1,'',0,0,NULL,'0','',0,'',3,0,0,0,NULL,'34020000001320090001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-23 14:59:01'),(60165,'34020000001370000001','上地科实大华','Dahua','IPC-HFW4433M-I2','0','340200','','axy','34020000001370000005',0,1,'',0,0,NULL,'0','',0,'',3,1,0,0,'','34020000001370000005','0',_binary '','','',0,0,0,0,0,'','2022-10-17 16:17:46'),(60166,'34020000001310000001','上地科实大华','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','192.168.1.251',37777,'',3,0,0,0,NULL,'34020000002000000005','0',_binary '\0','','',0,0,0,0,0,'','2022-10-17 11:53:11'),(60167,'34020000001310000065','GB_Chn_065','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','',0,'',3,0,0,0,NULL,'34020000002000000005','0',_binary '\0','','',0,0,0,0,0,'','2022-10-17 11:53:11'),(60238,'12345678901381234567','A雷神奇','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60239,'12345678901210000032','手雷l502','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60240,'1111111111111111','模拟器百','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60241,'22222222222222222222','手雷133哈哈','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60242,'11111111111111111112','终端9038','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60243,'11011011011011011011','PAD9599','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60244,'12345678909876543210','A组说话功能组说话功能-组说话功能组说话','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60245,'1023488294320948320429340924','m10','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60246,'12345678909876543211','A测试名称测试名称测试名称测试名称测试名','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60247,'12345678900123456789','11','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60248,'12345678998523658956','F301执法仪','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '\0','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60249,'11223344771387854120','华为P9测试测试测试测试测试测试','wvp-pro','live','34020000013000000001','340200','','','',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000013000000001','0',_binary '','','',0,0,0,0,0,'','2022-09-22 15:48:02'),(60250,'11447788551383669922','手雷242','wvp-pro','live','340200000130000
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `device_mobile_position`
--
DROP TABLE IF EXISTS `device_mobile_position`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `device_mobile_position` (
`id` int NOT NULL AUTO_INCREMENT,
`deviceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`channelId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`deviceName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`time` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`longitude` double NOT NULL,
`latitude` double NOT NULL,
`altitude` double DEFAULT NULL,
`speed` double DEFAULT NULL,
`direction` double DEFAULT NULL,
`reportSource` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`longitudeGcj02` double DEFAULT NULL,
`latitudeGcj02` double DEFAULT NULL,
`longitudeWgs84` double DEFAULT NULL,
`latitudeWgs84` double DEFAULT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=55589 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `device_mobile_position`
--
LOCK TABLES `device_mobile_position` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;
/*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `gb_stream`
--
DROP TABLE IF EXISTS `gb_stream`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `gb_stream` (
`gbStreamId` int NOT NULL AUTO_INCREMENT,
`app` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`stream` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`gbId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`longitude` double DEFAULT NULL,
`latitude` double DEFAULT NULL,
`streamType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`mediaServerId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`gbStreamId`) USING BTREE,
UNIQUE KEY `app` (`app`,`stream`) USING BTREE,
UNIQUE KEY `gbId` (`gbId`) USING BTREE
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=301059 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `gb_stream`
--
LOCK TABLES `gb_stream` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `gb_stream` VALUES (301057,'1000','1000','12345678901321111111','11111111111111111',0,0,'push','3003','2022-09-19 17:21:40'),(301058,'111','11','3223232323323','11',0,0,'proxy','3003','2022-09-23 15:53:19');
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `log`
--
DROP TABLE IF EXISTS `log`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `log` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`uri` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`address` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`result` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`timing` bigint NOT NULL,
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=733379 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `log`
--
LOCK TABLES `log` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `log` VALUES (727574,'登录','GET','/api/user/login','127.0.0.1','200 OK',246,'admin','2022-09-14 20:34:59'),(727575,'','GET','/api/push/list','127.0.0.1','200 OK',51,'admin','2022-09-14 20:35:22'),(727576,'','GET','/api/push/list','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:24'),(727577,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:35:24'),(727578,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:24'),(727579,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:35:26'),(727580,'','GET','/api/push/list','127.0.0.1','200 OK',12,'admin','2022-09-14 20:35:28'),(727581,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:30'),(727582,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:35:32'),(727583,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:34'),(727584,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:35:36'),(727585,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:38'),(727586,'','GET','/api/push/list','127.0.0.1','200 OK',10,'admin','2022-09-14 20:35:40'),(727587,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',12,'admin','2022-09-14 20:35:40'),(727588,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:42'),(727589,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',5,'admin','2022-09-14 20:35:42'),(727590,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:44'),(727591,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:44'),(727592,'','GET','/api/push/list','127.0.0.1','200 OK',5,'admin','2022-09-14 20:35:46'),(727593,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',7,'admin','2022-09-14 20:35:46'),(727594,'','GET','/api/push/list','127.0.0.1','200 OK',5,'admin','2022-09-14 20:35:48'),(727595,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:48'),(727596,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:50'),(727597,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:50'),(727598,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:35:52'),(727599,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',14,'admin','2022-09-14 20:35:52'),(727600,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:54'),(727601,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',8,'admin','2022-09-14 20:35:54'),(727602,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:35:56'),(727603,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:56'),(727604,'','GET','/api/push/list','127.0.0.1','200 OK',6,'admin','2022-09-14 20:35:58'),(727605,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',8,'admin','2022-09-14 20:35:58'),(727606,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:36:00'),(727607,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:36:00'),(727608,'','GET','/api/push/list','127.0.0.1','200 OK',3,'admin','2022-09-14 20:36:02'),(727609,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:36:02'),(727610,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:36:04'),(727611,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',5,'admin','2022-09-14 20:36:04'),(727612,'','GET','/api/push/list','127.0.0.1','200 OK',5,'admin','2022-09-14 20:36:06'),(727613,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',7,'admin','2022-09-14 20:36:06'),(727614,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:36:08'),(727615,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:36:08'),(727616,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:36:10'),(727617,'','GET','/api/push/getPlayUrl','127.0.0.1','200 OK',6,'admin','2022-09-14 20:36:10'),(727618,'','GET','/api/push/list','127.0.0.1','200 OK',4,'admin','2022-09-14 20:36:12'),
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `media_server`
--
DROP TABLE IF EXISTS `media_server`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `media_server` (
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`hookIp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`sdpIp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`streamIp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`httpPort` int NOT NULL,
`httpSSlPort` int NOT NULL,
`rtmpPort` int NOT NULL,
`rtmpSSlPort` int NOT NULL,
`rtpProxyPort` int NOT NULL,
`rtspPort` int NOT NULL,
`rtspSSLPort` int NOT NULL,
`autoConfig` int NOT NULL,
`secret` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`rtpEnable` int NOT NULL,
`rtpPortRange` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`sendRtpPortRange` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`recordAssistPort` int NOT NULL,
`defaultServer` int NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`hookAliveInterval` int NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `media_server_i` (`ip`,`httpPort`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `media_server`
--
LOCK TABLES `media_server` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `media_server` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `media_server` VALUES ('3003','192.168.1.3','192.168.1.3','192.168.1.3','192.168.1.3',3080,30443,30935,19353,31000,30554,30332,1,'035c73f7-bb6b-4889-a715-d9eb2d1925cc',1,'40000,40500','30000,30500',18089,1,'2022-10-17 17:13:56','2022-10-17 17:13:56',30);
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `media_server` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `parent_platform`
--
DROP TABLE IF EXISTS `parent_platform`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `parent_platform` (
`id` int NOT NULL AUTO_INCREMENT,
`enable` int DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`serverGBId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`serverGBDomain` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`serverIP` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`serverPort` int DEFAULT NULL,
`deviceGBId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`deviceIp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`devicePort` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`password` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`expires` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`keepTimeout` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`transport` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`characterSet` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`catalogId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`ptz` int DEFAULT NULL,
`rtcp` int DEFAULT NULL,
`status` bit(1) DEFAULT NULL,
`startOfflinePush` int DEFAULT '0',
`administrativeDivision` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`catalogGroup` int DEFAULT '1',
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`treeType` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `parent_platform_id_uindex` (`id`),
UNIQUE KEY `parent_platform_pk` (`serverGBId`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `parent_platform`
--
LOCK TABLES `parent_platform` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `parent_platform` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `parent_platform` VALUES (42,1,'linlin_test','34020000013000000001','3402000001','192.168.1.242',15060,'44010200492110000001','192.168.1.3','35060','44010200492110000001','12345678','300','60','UDP','GB2312','44010200492110000001',1,0,_binary '',1,'440102',1,NULL,'2022-09-21 16:31:36','BusinessGroup'),(43,1,'3_wvp','66620000002000000001','6662000000','192.168.1.242',1506,'44010200492000000001','192.168.1.3','35060','44010200492000000001','12345678','300','60','UDP','GB2312','44010200492000000001',1,1,_binary '',1,'440102',1,'2022-09-23 15:46:49','2022-09-23 15:46:49','BusinessGroup');
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `platform_catalog`
--
DROP TABLE IF EXISTS `platform_catalog`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `platform_catalog` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`platformId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`parentId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`civilCode` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`businessGroupId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `platform_catalog`
--
LOCK TABLES `platform_catalog` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;
/*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `platform_gb_channel`
--
DROP TABLE IF EXISTS `platform_gb_channel`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `platform_gb_channel` (
`id` int NOT NULL AUTO_INCREMENT,
`platformId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`catalogId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`deviceChannelId` int NOT NULL,
PRIMARY KEY (`id`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `platform_gb_channel`
--
LOCK TABLES `platform_gb_channel` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `platform_gb_channel` VALUES (88,'34020000013000000001','44010200492110000001',60163),(89,'34020000013000000001','44010200492110000001',60164),(90,'34020000013000000001','44010200492110000001',60165),(91,'34020000013000000001','44010200492110000001',60166),(92,'34020000013000000001','44010200492110000001',60167),(96,'66620000002000000001','44010200492000000001',60264);
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `platform_gb_stream`
--
DROP TABLE IF EXISTS `platform_gb_stream`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `platform_gb_stream` (
`platformId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`catalogId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`gbStreamId` int NOT NULL,
`id` int NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`),
UNIQUE KEY `platform_gb_stream_pk` (`platformId`,`catalogId`,`gbStreamId`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=301766 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `platform_gb_stream`
--
LOCK TABLES `platform_gb_stream` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `platform_gb_stream` VALUES ('34020000013000000001','44010200492110000001',301057,301761),('66620000002000000001','44010200492000000001',301057,301765),('66620000002000000001','44010200492000000001',301058,301764);
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `stream_proxy`
--
DROP TABLE IF EXISTS `stream_proxy`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `stream_proxy` (
`id` int NOT NULL AUTO_INCREMENT,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`app` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`stream` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`src_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`dst_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`timeout_ms` int DEFAULT NULL,
`ffmpeg_cmd_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`rtp_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`mediaServerId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`enable_hls` bit(1) DEFAULT NULL,
`enable_mp4` bit(1) DEFAULT NULL,
`enable` bit(1) NOT NULL,
`status` bit(1) NOT NULL,
`enable_remove_none_reader` bit(1) NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
2022-10-17 17:16:59 +08:00
`enable_disable_none_reader` bit(1) DEFAULT NULL,
2022-09-08 17:51:12 +08:00
PRIMARY KEY (`id`),
UNIQUE KEY `stream_proxy_pk` (`app`,`stream`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=548 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `stream_proxy`
--
LOCK TABLES `stream_proxy` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `stream_proxy` VALUES (545,'default','111','11','rtsp://admin:admin123@192.168.1.252:1554/h264/ch1/main/av_stream','','rtmp://127.0.0.1:30935/111/11',0,'ffmpeg.cmd','','3003',_binary '',_binary '\0',_binary '',_binary '',_binary '\0','2022-09-23 15:53:19','11',NULL,NULL),(547,'default','33','33','rtsp://admin:admin123@192.168.1.252:1554/h264/ch1/main/av_stream','','rtmp://127.0.0.1:30935/33/33',0,'ffmpeg.cmd','','3003',_binary '',_binary '\0',_binary '\0',_binary '',_binary '\0','2022-10-17 16:17:53','33',NULL,_binary '');
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `stream_push`
--
DROP TABLE IF EXISTS `stream_push`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `stream_push` (
`id` int NOT NULL AUTO_INCREMENT,
`app` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`stream` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`totalReaderCount` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`originType` int DEFAULT NULL,
`originTypeStr` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`aliveSecond` int DEFAULT NULL,
`mediaServerId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`serverId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`pushTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`status` int DEFAULT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`pushIng` int DEFAULT NULL,
`self` int DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `stream_push_pk` (`app`,`stream`)
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=310558 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `stream_push`
--
LOCK TABLES `stream_push` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;
2022-10-17 17:16:59 +08:00
INSERT INTO `stream_push` VALUES (310552,'1000','1000','0',2,'rtsp_push','2022-09-19 17:21:14',0,'3003','741268','2022-09-22 15:28:35',0,'2022-09-22 15:28:35',0,1);
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `user` (
`id` int NOT NULL AUTO_INCREMENT,
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`roleId` int NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`pushKey` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `user_username_uindex` (`username`) USING BTREE
2022-10-17 17:16:59 +08:00
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
2022-01-25 15:43:52 +08:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021 - 04 - 13 14:14:57','2021 - 04 - 13 14:14:57','3e80d1762a324d5b0ff636e0bd16f1e3');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
2022-01-25 15:43:52 +08:00
UNLOCK TABLES;
--
-- Table structure for table `user_role`
--
DROP TABLE IF EXISTS `user_role`;
2022-09-08 17:51:12 +08:00
/*!40101 SET @saved_cs_client = @@character_set_client */;
2022-07-03 07:40:54 +08:00
/*!50503 SET character_set_client = utf8mb4 */;
2022-09-08 17:51:12 +08:00
CREATE TABLE `user_role` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`authority` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`updateTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user_role`
--
LOCK TABLES `user_role` WRITE;
2022-09-08 17:51:12 +08:00
/*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
INSERT INTO `user_role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
/*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
UNLOCK TABLES;
2022-09-08 17:51:12 +08:00
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2022-01-25 15:43:52 +08:00
2022-09-08 17:51:12 +08:00
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2022-01-25 15:43:52 +08:00
2022-10-17 17:16:59 +08:00
-- Dump completed on 2022-10-17 17:16:03