2022-07-03 07:40:54 +08:00
|
|
|
-- MySQL dump 10.13 Distrib 8.0.29, for Linux (x86_64)
|
2022-01-25 15:43:52 +08:00
|
|
|
--
|
2022-07-04 01:08:26 +08:00
|
|
|
-- Host: 127.0.0.1 Database: wvp2
|
2022-01-25 15:43:52 +08:00
|
|
|
-- ------------------------------------------------------
|
2022-07-03 07:40:54 +08:00
|
|
|
-- Server version 8.0.29-0ubuntu0.22.04.2
|
2021-07-26 12:30:58 +08:00
|
|
|
|
2022-01-25 15:43:52 +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-01-25 15:43:52 +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 */;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `device`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `device`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `device` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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) COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
|
`treeType` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `device_deviceId_uindex` (`deviceId`) USING BTREE
|
2022-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=52 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`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `device` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `device` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `device` VALUES (48,'34020000002000000005','DH-NVR5864-I','Dahua','DH-NVR5864-I','4.001.0000000.3,2020-10-22','UDP','UDP','1','2022-07-25 10:37:31','2022-07-25 11:15:31','192.168.1.19','2022-07-25 09:16:29','2022-07-25 11:15:31',5061,3600,0,'192.168.1.19:5061','GB2312',0,5,0,1,'WGS84','CivilCode'),(49,'44010000001110008008',NULL,'Mercury','MIPC368(P)W-4','1.0.1 Build 210304 Rel.60784n','UDP','UDP','1','2022-07-25 10:58:32','2022-07-25 11:15:32','192.168.1.17','2022-07-25 09:16:29','2022-07-25 11:15:32',5060,3600,0,'192.168.1.17:5060','GB2312',0,5,0,1,'WGS84','CivilCode'),(50,'34020000013000000001','lin-test','wvp','wvp-28181-2.0','2.0.202107','UDP','UDP','1','2022-07-25 11:13:38','2022-07-25 11:15:38','192.168.1.242','2022-07-25 09:31:36','2022-07-25 11:15:38',15060,300,0,'192.168.1.242:15060','GB2312',0,5,0,1,'WGS84','CivilCode'),(51,'34020000002110000001','66','wvp','wvp-28181-2.0','2.0.202107','UDP','UDP','0','2022-07-25 11:10:28','2022-07-25 11:13:28','192.168.1.66','2022-07-25 10:23:01','2022-07-25 11:13:28',5060,300,0,'192.168.1.66:5060','GB2312',0,5,0,1,'WGS84','CivilCode');
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `device` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `device_alarm`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `device_alarm`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `device_alarm` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2022-07-03 07:40:54 +08:00
|
|
|
) 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;
|
|
|
|
/*!40000 ALTER TABLE `device_alarm` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `device_alarm` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `device_channel`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `device_channel`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `device_channel` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`gpsTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `device_channel_id_uindex` (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `device_channel_pk` (`channelId`,`deviceId`) USING BTREE
|
2022-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=19410 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_channel`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `device_channel` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `device_channel` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `device_channel` VALUES (19356,'34020000001310000001','上地科实大华','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','192.168.1.251',37777,'',3,1,0,0,'','34020000002000000005','0',NULL,'','',0,0,0,0,0,'','2022-07-25 09:17:29'),(19357,'34020000001310000065','GB_Chn_065','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','',0,'',3,1,0,0,'','34020000002000000005','0',NULL,'','',0,0,0,0,0,'','2022-07-25 09:17:29'),(19358,'34020000001320000001','IPCamera 01','Mercury','MIPC368(P)W-4','Owner','CivilCode','','Address','',0,1,'',0,0,NULL,'0','',0,'',0,1,0,0,'','44010000001110008008','0',NULL,'','',0,0,0,0,0,'','2022-07-25 09:16:29'),(19362,'13','13','','','','','','','',0,0,'',0,0,NULL,'','',0,'',0,0,0,0,'','34020000002110000001','1',NULL,'2022-07-25 10:23:02','2022-07-25 11:10:28',1,0,0,0,0,'',''),(19363,'14','14','','','','','','','',0,0,'',0,0,NULL,'','',0,'',0,0,0,0,'','34020000002110000001','1',NULL,'2022-07-25 10:23:02','2022-07-25 11:10:28',0,0,0,0,0,'',''),(19364,'21111111111100004','测试通道00004','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28'),(19365,'21111111111100003','测试通道00003','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28'),(19366,'21111111111100005','测试通道00005','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28'),(19367,'22222222222222','123','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28'),(19368,'21111111111100002','测试通道00002','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28'),(19369,'21111111111100001','测试通道00001','wvp-pro','live','wvp-pro','13','','null','13',0,1,'',0,0,NULL,'0','',0,'',0,0,0,0,'','34020000002110000001','0',NULL,'','',0,0,0,0,0,'','2022-07-25 11:10:28');
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `device_mobile_position`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `device_mobile_position`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `device_mobile_position` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`id` int NOT NULL AUTO_INCREMENT,
|
|
|
|
`deviceId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
|
|
|
|
`channelId` varchar(50) COLLATE utf8mb4_general_ci DEFAULT 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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2022-07-11 17:34:22 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=6751 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_mobile_position`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `device_mobile_position` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `gb_stream`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `gb_stream`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `gb_stream` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
|
`gpsTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`gbStreamId`) USING BTREE,
|
|
|
|
UNIQUE KEY `app` (`app`,`stream`) USING BTREE,
|
|
|
|
UNIQUE KEY `gbId` (`gbId`) USING BTREE
|
2022-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=301754 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;
|
|
|
|
/*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `gb_stream` VALUES (301749,'1000','20000003','21111111111100003','测试通道00003',0,0,'push','FQ3TF8yT83wh5Wvz','2022-07-25 09:50:18',NULL),(301750,'1000','20000005','21111111111100005','测试通道00005',0,0,'push','FQ3TF8yT83wh5Wvz','2022-07-25 09:50:18',NULL),(301751,'1000','10015416','22222222222222','123',0,0,'push','FQ3TF8yT83wh5Wvz','2022-07-25 09:50:18',NULL),(301752,'1000','20000002','21111111111100002','测试通道00002',0,0,'push','FQ3TF8yT83wh5Wvz','2022-07-25 09:50:18',NULL),(301753,'1000','20000001','21111111111100001','测试通道00001',0,0,'push','FQ3TF8yT83wh5Wvz','2022-07-25 09:50:18',NULL);
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `log`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `log`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `log` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=42000 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;
|
|
|
|
/*!40000 ALTER TABLE `log` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `log` VALUES (40669,'登录','GET','/api/user/login','192.168.1.3','200 OK',251,'admin','2022-07-25 09:25:36'),(40670,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',67,'admin','2022-07-25 09:25:38'),(40671,'','GET','/api/platform/server_config','192.168.1.3','200 OK',5,'admin','2022-07-25 09:25:39'),(40672,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',9,'admin','2022-07-25 09:25:48'),(40673,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',10,'admin','2022-07-25 09:25:58'),(40674,'','POST','/api/platform/exit/34020000002000000111','192.168.1.3','405 METHOD_NOT_ALLOWED',3,'admin','2022-07-25 09:26:07'),(40675,'','POST','/api/platform/add','192.168.1.3','200 OK',24,'admin','2022-07-25 09:26:07'),(40676,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',12,'admin','2022-07-25 09:26:07'),(40677,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',7,'admin','2022-07-25 09:26:08'),(40678,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',13,'admin','2022-07-25 09:26:19'),(40679,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',5,'admin','2022-07-25 09:26:29'),(40680,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',5,'admin','2022-07-25 09:26:39'),(40681,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',8,'admin','2022-07-25 09:26:49'),(40682,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',13,'admin','2022-07-25 09:26:59'),(40683,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',13,'admin','2022-07-25 09:27:09'),(40684,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',18,'admin','2022-07-25 09:27:19'),(40685,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',15,'admin','2022-07-25 09:27:29'),(40686,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',4,'admin','2022-07-25 09:27:39'),(40687,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',15,'admin','2022-07-25 09:27:49'),(40688,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',9,'admin','2022-07-25 09:27:59'),(40689,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',11,'admin','2022-07-25 09:28:09'),(40690,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',16,'admin','2022-07-25 09:28:19'),(40691,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',6,'admin','2022-07-25 09:28:29'),(40692,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',12,'admin','2022-07-25 09:28:39'),(40693,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',10,'admin','2022-07-25 09:28:49'),(40694,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',4,'admin','2022-07-25 09:28:59'),(40695,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',7,'admin','2022-07-25 09:29:09'),(40696,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',10,'admin','2022-07-25 09:29:19'),(40697,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',5,'admin','2022-07-25 09:29:29'),(40698,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',8,'admin','2022-07-25 09:29:39'),(40699,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',9,'admin','2022-07-25 09:29:49'),(40700,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',8,'admin','2022-07-25 09:29:59'),(40701,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',4,'admin','2022-07-25 09:30:09'),(40702,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',11,'admin','2022-07-25 09:30:19'),(40703,'登录','GET','/api/user/login','192.168.1.3','200 OK',269,'admin','2022-07-25 09:30:53'),(40704,'','GET','/api/role/all','192.168.1.3','200 OK',4,'admin','2022-07-25 09:30:54'),(40705,'','GET','/api/user/users','192.168.1.3','200 OK',53,'admin','2022-07-25 09:30:54'),(40706,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',20,'admin','2022-07-25 09:30:55'),(40707,'移除上级平台','DELETE','/api/platform/delete/34020000013000000001','192.168.1.3','200 OK',15,'admin','2022-07-25 09:30:56'),(40708,'','GET','/api/platform/query/15/1','192.168.1.3','200 OK',17,'admin','2022-07-25 09:30:56'),(40709,'','GET','/api/platform/query/15/1','1
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `log` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `media_server`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `media_server`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `media_server` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
|
|
|
`streamNoneReaderDelayMS` int 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
|
2022-07-03 07:40:54 +08:00
|
|
|
) 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;
|
|
|
|
/*!40000 ALTER TABLE `media_server` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `media_server` VALUES ('FQ3TF8yT83wh5Wvz','192.168.1.3','192.168.1.3','192.168.1.3','192.168.1.3',6080,10443,10935,19350,10000,10554,10332,1,'035c73f7-bb6b-4889-a715-d9eb2d1925cc',10000,1,'40000,40500','30000,30500',18081,1,'2022-07-25 11:15:31','2022-07-25 11:15:31',30);
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `media_server` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `parent_platform`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `parent_platform`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `parent_platform` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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',
|
2022-07-06 09:44:37 +08:00
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
|
`updateTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-17 23:17:36 +08:00
|
|
|
`treeType` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `parent_platform_id_uindex` (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `parent_platform_pk` (`serverGBId`) USING BTREE
|
2022-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=39 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;
|
|
|
|
/*!40000 ALTER TABLE `parent_platform` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `platform_catalog`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `platform_catalog`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `platform_catalog` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-17 23:17:36 +08:00
|
|
|
`civilCode` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
|
`businessGroupId` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
2022-07-03 07:40:54 +08:00
|
|
|
) 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;
|
|
|
|
/*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `platform_gb_channel`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `platform_gb_channel`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `platform_gb_channel` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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`) USING BTREE
|
2022-07-22 16:05:23 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4915 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_channel`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `platform_gb_channel` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `platform_gb_stream`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `platform_gb_stream`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `platform_gb_stream` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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`) USING BTREE,
|
|
|
|
UNIQUE KEY `platform_gb_stream_pk` (`platformId`,`catalogId`,`gbStreamId`) USING BTREE
|
2022-07-22 16:05:23 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=302148 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;
|
|
|
|
/*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `stream_proxy`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `stream_proxy`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `stream_proxy` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`updateTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `stream_proxy_pk` (`app`,`stream`) USING BTREE
|
2022-07-11 17:34:22 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=66 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 `stream_proxy`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `stream_proxy` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;
|
|
|
|
/*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `stream_push`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `stream_push`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `stream_push` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-06 09:44:37 +08:00
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
`aliveSecond` int DEFAULT NULL,
|
|
|
|
`mediaServerId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
|
`serverId` varchar(50) COLLATE utf8mb4_general_ci NOT NULL,
|
2022-07-06 09:44:37 +08:00
|
|
|
`pushTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
|
|
|
`updateTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-11 17:34:22 +08:00
|
|
|
`status` int DEFAULT NULL,
|
2022-07-22 16:05:23 +08:00
|
|
|
`pushIng` int DEFAULT NULL,
|
2022-07-25 11:17:46 +08:00
|
|
|
`self` int DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `stream_push_pk` (`app`,`stream`) USING BTREE
|
2022-07-25 11:17:46 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=305411 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 `stream_push`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `stream_push` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;
|
2022-07-25 11:17:46 +08:00
|
|
|
INSERT INTO `stream_push` VALUES (305405,'1000','20000003','0',2,'rtsp_push','2022-07-25 09:50:18',NULL,'FQ3TF8yT83wh5Wvz','',NULL,NULL,0,0,NULL),(305406,'1000','20000005','0',2,'rtsp_push','2022-07-25 09:50:18',NULL,'FQ3TF8yT83wh5Wvz','',NULL,NULL,0,0,NULL),(305407,'1000','10015416','0',2,'rtsp_push','2022-07-25 09:50:18',NULL,'FQ3TF8yT83wh5Wvz','',NULL,NULL,0,0,NULL),(305408,'1000','20000002','0',2,'rtsp_push','2022-07-25 09:50:18',NULL,'FQ3TF8yT83wh5Wvz','',NULL,NULL,0,0,NULL),(305409,'1000','20000001','0',2,'rtsp_push','2022-07-25 09:50:18',NULL,'FQ3TF8yT83wh5Wvz','',NULL,NULL,0,0,NULL),(305410,'1000','20000004','0',2,'rtsp_push','2022-07-25 11:16:03',3,'FQ3TF8yT83wh5Wvz','741268','2022-07-25 11:16:03','2022-07-25 11:16:03',NULL,1,1);
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `user`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `user`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-01-25 15:43:52 +08:00
|
|
|
CREATE TABLE `user` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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,
|
2022-07-11 17:34:22 +08:00
|
|
|
`pushKey` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
2022-07-04 01:08:26 +08:00
|
|
|
PRIMARY KEY (`id`) USING BTREE,
|
|
|
|
UNIQUE KEY `user_username_uindex` (`username`) USING BTREE
|
2022-07-03 07:40:54 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 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;
|
|
|
|
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
|
2022-07-22 16:05:23 +08:00
|
|
|
INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021 - 04 - 13 14:14:57','2021 - 04 - 13 14:14:57','01685cb9573ae25ec6c52142402da7c5');
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
2022-02-22 11:44:56 +08:00
|
|
|
|
|
|
|
--
|
|
|
|
-- Table structure for table `user_role`
|
|
|
|
--
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `user_role`;
|
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
2022-07-03 07:40:54 +08:00
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
2022-02-22 11:44:56 +08:00
|
|
|
CREATE TABLE `user_role` (
|
2022-07-04 01:08:26 +08:00
|
|
|
`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
|
2022-07-03 07:40:54 +08:00
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
2022-02-22 11:44:56 +08:00
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Dumping data for table `user_role`
|
|
|
|
--
|
|
|
|
|
|
|
|
LOCK TABLES `user_role` WRITE;
|
|
|
|
/*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
|
2022-07-03 07:40:54 +08:00
|
|
|
INSERT INTO `user_role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
|
2022-02-22 11:44:56 +08:00
|
|
|
/*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
|
|
|
|
UNLOCK TABLES;
|
2022-01-25 15:43:52 +08:00
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
|
|
/*!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-07-25 11:17:46 +08:00
|
|
|
-- Dump completed on 2022-07-25 11:16:38
|