同步设备与通道时 同时更新数据

This commit is contained in:
wangliwen 2022-11-23 15:22:26 +08:00
parent 55af49efa1
commit dfb2a69954
11 changed files with 232 additions and 457 deletions

View File

@ -1,45 +0,0 @@
2022-11-17 17:31:25,468 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
2022-11-17 17:36:53,874 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-24] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
2022-11-17 17:48:35,955 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]

View File

@ -1,390 +0,0 @@
2022-11-17 17:30:57,217 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 开始创表2022-11-17T17:30:57.216725700
2022-11-17 17:30:57,259 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Starting...
2022-11-17 17:30:59,461 WARN [io.vertx.core.impl.BlockedThreadChecker]-[vertx-blocked-thread-checker] Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 2464 ms, time limit is 2000 ms
2022-11-17 17:31:00,462 WARN [io.vertx.core.impl.BlockedThreadChecker]-[vertx-blocked-thread-checker] Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 3464 ms, time limit is 2000 ms
2022-11-17 17:31:00,623 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Start completed.
2022-11-17 17:31:01,462 WARN [io.vertx.core.impl.BlockedThreadChecker]-[vertx-blocked-thread-checker] Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 4465 ms, time limit is 2000 ms
2022-11-17 17:31:02,092 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 连接完成2022-11-17T17:31:02.092679800
2022-11-17 17:31:02,462 WARN [io.vertx.core.impl.BlockedThreadChecker]-[vertx-blocked-thread-checker] Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 5465 ms, time limit is 2000 ms
io.vertx.core.VertxException: Thread blocked
at java.io.RandomAccessFile.readBytes(Native Method) ~[?:?]
at java.io.RandomAccessFile.read(RandomAccessFile.java:407) ~[?:?]
at java.util.zip.ZipFile$Source.readAt(ZipFile.java:1343) ~[?:?]
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:1021) ~[?:?]
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:469) ~[?:?]
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159) ~[?:?]
at jdk.internal.loader.Resource.getBytes(Resource.java:124) ~[?:?]
at jdk.internal.loader.URLClassPath$JarLoader$2.getBytes(URLClassPath.java:884) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:797) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) ~[?:?]
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
at org.jetbrains.exposed.sql.statements.jdbc.JdbcDatabaseMetadataImpl.tableNamesFor(JdbcDatabaseMetadataImpl.kt:100) ~[exposed-jdbc-0.40.1.jar:?]
at org.jetbrains.exposed.sql.statements.jdbc.JdbcDatabaseMetadataImpl.access$tableNamesFor(JdbcDatabaseMetadataImpl.kt:18) ~[exposed-jdbc-0.40.1.jar:?]
at org.jetbrains.exposed.sql.statements.jdbc.JdbcDatabaseMetadataImpl$tableNames$1.invoke(JdbcDatabaseMetadataImpl.kt:95) ~[exposed-jdbc-0.40.1.jar:?]
at org.jetbrains.exposed.sql.statements.jdbc.JdbcDatabaseMetadataImpl$tableNames$1.invoke(JdbcDatabaseMetadataImpl.kt:94) ~[exposed-jdbc-0.40.1.jar:?]
at org.jetbrains.exposed.sql.statements.jdbc.JdbcDatabaseMetadataImpl$CachableMapWithDefault.get(JdbcDatabaseMetadataImpl.kt:87) ~[exposed-jdbc-0.40.1.jar:?]
at kotlin.collections.MapsKt__MapWithDefaultKt.getOrImplicitDefaultNullable(MapWithDefault.kt:105) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
at kotlin.collections.MapsKt__MapsKt.getValue(Maps.kt:348) ~[kotlin-stdlib-1.7.20.jar:1.7.20-release-201(1.7.20)]
at org.jetbrains.exposed.sql.vendors.VendorDialect.tableExists(Default.kt:760) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.QueriesKt.exists(Queries.kt:238) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.SchemaUtils.createStatements(SchemaUtils.kt:96) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.SchemaUtils.create(SchemaUtils.kt:258) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.SchemaUtils.create$default(SchemaUtils.kt:256) ~[exposed-core-0.40.1.jar:?]
at com.hisense.dahua_video.MainVerticle$exposed$1.invoke(MainVerticle.kt:157) ~[classes/:?]
at com.hisense.dahua_video.MainVerticle$exposed$1.invoke(MainVerticle.kt:155) ~[classes/:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:214) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:240) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:248) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:239) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:189) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:248) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:159) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:146) ~[exposed-core-0.40.1.jar:?]
at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:145) ~[exposed-core-0.40.1.jar:?]
at com.hisense.dahua_video.MainVerticle.exposed(MainVerticle.kt:155) ~[classes/:?]
at com.hisense.dahua_video.MainVerticle.start$lambda$4(MainVerticle.kt:50) ~[classes/:?]
at com.hisense.dahua_video.MainVerticle$$Lambda$172/0x00000001002b0040.handle(Unknown Source) ~[?:?]
at io.vertx.core.impl.future.FutureImpl$3.onSuccess(FutureImpl.java:141) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl$ListenerArray.onSuccess(FutureImpl.java:262) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Mapping.onSuccess(Mapping.java:40) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Mapping.onSuccess(Mapping.java:40) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.CompositeFutureImpl.trySucceed(CompositeFutureImpl.java:163) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.CompositeFutureImpl.lambda$all$0(CompositeFutureImpl.java:38) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.CompositeFutureImpl$$Lambda$180/0x00000001002b7c40.handle(Unknown Source) ~[?:?]
at io.vertx.core.impl.future.FutureImpl$3.onSuccess(FutureImpl.java:141) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Composition$1.onSuccess(Composition.java:62) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.SucceededFuture.addListener(SucceededFuture.java:88) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Composition.onSuccess(Composition.java:43) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.tryComplete(FutureImpl.java:211) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Composition$1.onSuccess(Composition.java:62) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.emitSuccess(FutureBase.java:60) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl.addListener(FutureImpl.java:196) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.PromiseImpl.addListener(PromiseImpl.java:23) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.Composition.onSuccess(Composition.java:43) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureImpl$ListenerArray.onSuccess(FutureImpl.java:262) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase.lambda$emitSuccess$0(FutureBase.java:54) ~[vertx-core-4.3.4.jar:4.3.4]
at io.vertx.core.impl.future.FutureBase$$Lambda$160/0x00000001002a8840.run(Unknown Source) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) ~[?:?]
2022-11-17 17:31:02,689 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing create tables statements took 1ms
2022-11-17 17:31:02,689 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing create tables statements took 0ms
2022-11-17 17:31:02,698 INFO [Exposed]-[vert.x-eventloop-thread-1] Extracting table columns took 8ms
2022-11-17 17:31:02,699 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing alter table statements took 9ms
2022-11-17 17:31:02,699 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing alter table statements took 0ms
2022-11-17 17:31:02,742 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_monitor_user' differs only in name: in db sys_monitor_user_userName -> in mapping sys_monitor_user_userName_unique
2022-11-17 17:31:02,743 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_user' differs only in name: in db sys_user_userName -> in mapping sys_user_userName_unique
2022-11-17 17:31:02,744 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_organization' differs only in name: in db sys_organization_org_id -> in mapping sys_organization_org_id_unique
2022-11-17 17:31:02,744 INFO [Exposed]-[vert.x-eventloop-thread-1] Checking mapping consistence took 45ms
2022-11-17 17:31:02,744 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 创表成功2022-11-17T17:31:02.744934600
2022-11-17 17:31:02,798 WARN [io.vertx.core.impl.VertxImpl]-[vert.x-eventloop-thread-1] You're already on a Vert.x context, are you sure you want to create a new Vertx instance?
2022-11-17 17:31:02,839 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 无集群配置,进行单节点部署!
2022-11-17 17:31:02,839 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] vertx.isNativeTransportEnabled:false
2022-11-17 17:31:02,839 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 截图根目录:/mnts/record/\
2022-11-17 17:31:03,347 INFO [com.hisense.dahua_video.verticle.MonitorVerticle]-[vert.x-eventloop-thread-16] monitorSessionUtil 创建成功!
2022-11-17 17:31:03,348 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 MonitorVerticle 成功!
2022-11-17 17:31:03,348 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 OrganizationVerticle 成功!
2022-11-17 17:31:03,444 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 SqlFactoryVerticle 成功!
2022-11-17 17:31:03,554 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] http 服务监听端口: 8883
2022-11-17 17:31:03,554 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] http 服务监听端口: 8883
2022-11-17 17:31:03,554 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] http 服务监听端口: 8883
2022-11-17 17:31:03,554 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] http 服务监听端口: 8883
2022-11-17 17:31:04,145 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] authorize:{"userName":"ynszdz","password":"Admin@123","monitorDomain":"http://10.132.191.3:8314","id":1}
2022-11-17 17:31:04,149 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] domain: 10.132.191.3 port:8314
2022-11-17 17:31:04,278 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] 开放管理员后台
2022-11-17 17:31:04,278 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] 开放管理员后台
2022-11-17 17:31:04,278 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] 开放管理员后台
2022-11-17 17:31:04,278 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] 开放管理员后台
2022-11-17 17:31:04,280 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] http 服务监听端口: 8883
2022-11-17 17:31:04,280 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] http 服务监听端口: 8883
2022-11-17 17:31:04,280 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] http 服务监听端口: 8883
2022-11-17 17:31:04,280 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] http 服务监听端口: 8883
2022-11-17 17:31:04,281 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] http 服务监听端口: 8883
2022-11-17 17:31:04,281 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] http 服务监听端口: 8883
2022-11-17 17:31:04,281 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] http 服务监听端口: 8883
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] http 服务监听端口: 8883
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] http 服务监听端口: 8883
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] 开放管理员后台
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] 开放管理员后台
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] 开放管理员后台
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] http 服务监听端口: 8883
2022-11-17 17:31:04,282 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] 开放管理员后台
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] 开放管理员后台
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] http 服务监听端口: 8883
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] 开放管理员后台
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] http 服务监听端口: 8883
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] 开放管理员后台
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 WebAPIVerticle 成功!
2022-11-17 17:31:04,283 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] 开放管理员后台
2022-11-17 17:31:04,284 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] 开放管理员后台
2022-11-17 17:31:04,284 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] 开放管理员后台
2022-11-17 17:31:04,284 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] 开放管理员后台
2022-11-17 17:31:04,284 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] 开放管理员后台
2022-11-17 17:31:25,468 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
2022-11-17 17:36:31,146 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 开始创表2022-11-17T17:36:31.144833
2022-11-17 17:36:31,214 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Starting...
2022-11-17 17:36:31,406 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Start completed.
2022-11-17 17:36:31,412 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 连接完成2022-11-17T17:36:31.412117800
2022-11-17 17:36:31,744 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing create tables statements took 1ms
2022-11-17 17:36:31,745 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing create tables statements took 0ms
2022-11-17 17:36:31,757 INFO [Exposed]-[vert.x-eventloop-thread-1] Extracting table columns took 11ms
2022-11-17 17:36:31,758 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing alter table statements took 13ms
2022-11-17 17:36:31,758 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing alter table statements took 0ms
2022-11-17 17:36:31,819 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_monitor_user' differs only in name: in db sys_monitor_user_userName -> in mapping sys_monitor_user_userName_unique
2022-11-17 17:36:31,820 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_user' differs only in name: in db sys_user_userName -> in mapping sys_user_userName_unique
2022-11-17 17:36:31,821 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_organization' differs only in name: in db sys_organization_org_id -> in mapping sys_organization_org_id_unique
2022-11-17 17:36:31,821 INFO [Exposed]-[vert.x-eventloop-thread-1] Checking mapping consistence took 63ms
2022-11-17 17:36:31,821 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 创表成功2022-11-17T17:36:31.821032200
2022-11-17 17:36:31,868 WARN [io.vertx.core.impl.VertxImpl]-[vert.x-eventloop-thread-1] You're already on a Vert.x context, are you sure you want to create a new Vertx instance?
2022-11-17 17:36:31,886 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 无集群配置,进行单节点部署!
2022-11-17 17:36:31,887 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] vertx.isNativeTransportEnabled:false
2022-11-17 17:36:31,887 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 截图根目录:/mnts/record/\
2022-11-17 17:36:32,163 INFO [com.hisense.dahua_video.verticle.MonitorVerticle]-[vert.x-eventloop-thread-24] monitorSessionUtil 创建成功!
2022-11-17 17:36:32,164 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 MonitorVerticle 成功!
2022-11-17 17:36:32,164 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 OrganizationVerticle 成功!
2022-11-17 17:36:32,203 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 SqlFactoryVerticle 成功!
2022-11-17 17:36:32,300 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] http 服务监听端口: 8883
2022-11-17 17:36:32,492 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-24] authorize:{"userName":"ynszdz","password":"Admin@123","monitorDomain":"http://10.132.191.3:8314","id":1}
2022-11-17 17:36:32,496 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-24] domain: 10.132.191.3 port:8314
2022-11-17 17:36:32,788 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] 开放管理员后台
2022-11-17 17:36:32,789 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] http 服务监听端口: 8883
2022-11-17 17:36:32,789 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] http 服务监听端口: 8883
2022-11-17 17:36:32,789 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] http 服务监听端口: 8883
2022-11-17 17:36:32,789 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] http 服务监听端口: 8883
2022-11-17 17:36:32,789 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] http 服务监听端口: 8883
2022-11-17 17:36:32,790 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] http 服务监听端口: 8883
2022-11-17 17:36:32,790 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] http 服务监听端口: 8883
2022-11-17 17:36:32,790 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] http 服务监听端口: 8883
2022-11-17 17:36:32,790 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] http 服务监听端口: 8883
2022-11-17 17:36:32,791 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] http 服务监听端口: 8883
2022-11-17 17:36:32,791 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] http 服务监听端口: 8883
2022-11-17 17:36:32,790 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] http 服务监听端口: 8883
2022-11-17 17:36:32,791 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] http 服务监听端口: 8883
2022-11-17 17:36:32,791 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] http 服务监听端口: 8883
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] 开放管理员后台
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] 开放管理员后台
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] http 服务监听端口: 8883
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 WebAPIVerticle 成功!
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] 开放管理员后台
2022-11-17 17:36:32,792 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] 开放管理员后台
2022-11-17 17:36:32,793 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] 开放管理员后台
2022-11-17 17:36:53,874 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-24] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
2022-11-17 17:48:13,468 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 开始创表2022-11-17T17:48:13.466077500
2022-11-17 17:48:13,535 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Starting...
2022-11-17 17:48:13,733 INFO [com.zaxxer.hikari.HikariDataSource]-[vert.x-eventloop-thread-1] HikariPool-1 - Start completed.
2022-11-17 17:48:13,740 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 连接完成2022-11-17T17:48:13.740377900
2022-11-17 17:48:13,872 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing create tables statements took 0ms
2022-11-17 17:48:13,873 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing create tables statements took 0ms
2022-11-17 17:48:13,879 INFO [Exposed]-[vert.x-eventloop-thread-1] Extracting table columns took 5ms
2022-11-17 17:48:13,879 INFO [Exposed]-[vert.x-eventloop-thread-1] Preparing alter table statements took 5ms
2022-11-17 17:48:13,879 INFO [Exposed]-[vert.x-eventloop-thread-1] Executing alter table statements took 0ms
2022-11-17 17:48:13,949 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_monitor_user' differs only in name: in db sys_monitor_user_userName -> in mapping sys_monitor_user_userName_unique
2022-11-17 17:48:13,954 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_user' differs only in name: in db sys_user_userName -> in mapping sys_user_userName_unique
2022-11-17 17:48:13,954 INFO [Exposed]-[vert.x-eventloop-thread-1] Index on table 'sys_organization' differs only in name: in db sys_organization_org_id -> in mapping sys_organization_org_id_unique
2022-11-17 17:48:13,955 INFO [Exposed]-[vert.x-eventloop-thread-1] Checking mapping consistence took 75ms
2022-11-17 17:48:13,955 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 创表成功2022-11-17T17:48:13.955767600
2022-11-17 17:48:14,016 WARN [io.vertx.core.impl.VertxImpl]-[vert.x-eventloop-thread-1] You're already on a Vert.x context, are you sure you want to create a new Vertx instance?
2022-11-17 17:48:14,035 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 无集群配置,进行单节点部署!
2022-11-17 17:48:14,035 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] vertx.isNativeTransportEnabled:false
2022-11-17 17:48:14,035 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-1] 截图根目录:/mnts/record/\
2022-11-17 17:48:14,336 INFO [com.hisense.dahua_video.verticle.MonitorVerticle]-[vert.x-eventloop-thread-16] monitorSessionUtil 创建成功!
2022-11-17 17:48:14,337 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 MonitorVerticle 成功!
2022-11-17 17:48:14,337 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 OrganizationVerticle 成功!
2022-11-17 17:48:14,346 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 SqlFactoryVerticle 成功!
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] http 服务监听端口: 8883
2022-11-17 17:48:14,446 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] http 服务监听端口: 8883
2022-11-17 17:48:14,604 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] authorize:{"userName":"ynszdz","password":"Admin@123","monitorDomain":"http://10.132.191.3:8314","id":1}
2022-11-17 17:48:14,608 INFO [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] domain: 10.132.191.3 port:8314
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-12] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-4] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-3] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-15] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-0] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-6] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-1] 开放管理员后台
2022-11-17 17:48:14,887 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-2] 开放管理员后台
2022-11-17 17:48:14,889 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] http 服务监听端口: 8883
2022-11-17 17:48:14,889 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] http 服务监听端口: 8883
2022-11-17 17:48:14,889 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] http 服务监听端口: 8883
2022-11-17 17:48:14,889 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] http 服务监听端口: 8883
2022-11-17 17:48:14,890 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] http 服务监听端口: 8883
2022-11-17 17:48:14,890 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] http 服务监听端口: 8883
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] http 服务监听端口: 8883
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] http 服务监听端口: 8883
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.MainVerticle]-[vert.x-eventloop-thread-31] 部署 WebAPIVerticle 成功!
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-13] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-7] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-10] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-11] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-14] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-5] 开放管理员后台
2022-11-17 17:48:14,891 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-9] 开放管理员后台
2022-11-17 17:48:14,892 INFO [com.hisense.dahua_video.verticle.WebAPIVerticle]-[vert.x-eventloop-thread-8] 开放管理员后台
2022-11-17 17:48:25,756 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:48:35,955 ERROR [com.hisense.dahua_video.util.MonitorSessionUtil]-[vert.x-eventloop-thread-16] 创建会话失败
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection timed out: no further information: /10.132.191.3:8314
Caused by: java.net.ConnectException: Connection timed out: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:?]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) ~[?:?]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337) ~[netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.82.Final.jar:4.1.82.Final]
at java.lang.Thread.run(Thread.java:834) [?:?]
2022-11-17 17:50:16,982 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:21,546 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:22,293 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:22,902 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:23,491 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:24,055 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:24,601 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:25,289 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:25,977 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:26,606 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:27,151 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:27,719 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:28,173 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:28,665 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:29,261 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:29,877 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:50:30,439 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:57:36,224 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:57:45,993 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:57:54,553 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:57:57,985 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:58:00,441 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 17:58:02,450 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:36,673 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:39,177 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:46,102 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:46,873 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:47,679 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:48,497 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:49,209 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:49,948 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:51,433 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:52,116 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:52,702 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:53,184 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:03:53,737 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:10:21,093 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:10:24,737 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:13,736 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:17,336 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:26,546 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:28,977 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:31,105 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:33,111 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:34,928 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:37,456 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:39,648 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:42,656 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:44,424 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:45,717 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:46,745 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:47,397 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:47,955 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:48,555 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:50,743 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:51,887 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:52,868 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:54,288 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:54,897 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:55,464 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:11:56,061 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:05,537 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:10,229 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:34,698 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:42,922 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:44,361 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:45,441 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:46,264 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:46,937 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:51,201 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:51,818 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:52,267 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:52,693 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:53,124 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:57,515 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:58,560 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:19:59,185 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:20:50,756 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:26:54,825 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:26:56,896 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:26:58,263 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:26:58,999 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:26:59,532 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:00,023 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:00,537 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:01,052 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:01,757 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:02,375 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}
2022-11-17 18:27:03,937 INFO [com.hisense.dahua_video.dao.SysUserDao]-[vert.x-eventloop-thread-9] checkLogin:{"userName":"liwen","password":"password"}

View File

@ -24,8 +24,8 @@
<log4j.version>2.8.2</log4j.version> <log4j.version>2.8.2</log4j.version>
<disruptor.version>3.3.6</disruptor.version> <disruptor.version>3.3.6</disruptor.version>
<exposed.version>0.40.1</exposed.version> <exposed.version>0.40.1</exposed.version>
<sqlite-jdbc.version>3.39.4.0</sqlite-jdbc.version> <sqlite-jdbc.version>3.39.4.1</sqlite-jdbc.version>
<HikariCP.version>4.0.3</HikariCP.version> <HikariCP.version>5.0.1</HikariCP.version>
<javacv.version>1.5.7</javacv.version> <javacv.version>1.5.7</javacv.version>
<system.linux-x86_64>linux-x86_64</system.linux-x86_64> <system.linux-x86_64>linux-x86_64</system.linux-x86_64>
<ffmpeg.version>5.0</ffmpeg.version> <ffmpeg.version>5.0</ffmpeg.version>

View File

@ -117,6 +117,8 @@ class MainVerticle : AbstractVerticle() {
fs!!.mkdirs(record)?.onFailure { fail -> fs!!.mkdirs(record)?.onFailure { fail ->
logger.info("创建 $record 文件夹故障:", fail) logger.info("创建 $record 文件夹故障:", fail)
} }
} else {
logger.info("截图根目录已存在:$record")
} }
}?.onFailure { fail -> }?.onFailure { fail ->
logger.info("$record 文件夹故障:", fail) logger.info("$record 文件夹故障:", fail)

View File

@ -73,6 +73,11 @@ enum class EventBusAddress(val address: String) {
/** /**
* 获取通道的预览地址 * 获取通道的预览地址
*/ */
SYS_DEVICE_CHANNEL_PREVIEW_URL("MSG://EVENT/BUS/SQL/SYS/SYS_DEVICE_CHANNEL_PREVIEW_URL") SYS_DEVICE_CHANNEL_PREVIEW_URL("MSG://EVENT/BUS/SQL/SYS/SYS_DEVICE_CHANNEL_PREVIEW_URL"),
/**
* 通道截图
*/
SYS_DEVICE_CHANNEL_SCREENSHOT("MSG://EVENT/BUS/SQL/SYS/SYS_DEVICE_CHANNEL_SCREENSHOT")
} }

View File

@ -77,4 +77,43 @@ class MonitorController(
} }
} }
/**
* 截图接口
*/
fun screenshot(requestHandler: RoutingContext) {
val userId = requestHandler.get<Int>("userId") // 用户id
val queryParams = requestHandler.queryParams()
val channelId = queryParams.get("channelId")
val subType = queryParams.get("subType")
val scheme = queryParams.get("scheme")
event!!.request<JsonArray>(EventBusAddress.SYS_MONITOR_USER_ALLMONITORUSER_TOKEN.address, JsonObject()) {
if (it.succeeded()) {
val token = it.result().body().stream().filter { index ->
index as JsonObject
index.getInteger("id") == userId
}.findFirst()
token.ifPresent { tokenInfo ->
tokenInfo as JsonObject
tokenInfo.put("channelId", channelId)
tokenInfo.put("subType", subType)
tokenInfo.put("scheme", MonitorScheme.values()[scheme.toInt()].scheme)
event!!.request<JsonObject>(EventBusAddress.SYS_DEVICE_CHANNEL_SCREENSHOT.address, tokenInfo) { previewUrl ->
if (previewUrl.succeeded()) {
requestHandler
.response()
.putHeader("content-type", "application/json")
.end(previewUrl.result().body().encode())
} else {
requestHandler
.response()
.putHeader("content-type", "application/json")
.end(JsonObject().encode())
}
}
}
}
}
}
} }

View File

@ -4,16 +4,12 @@ import com.github.benmanes.caffeine.cache.Caffeine
import com.hisense.dahua_video.consts.EventBusAddress import com.hisense.dahua_video.consts.EventBusAddress
import com.hisense.dahua_video.modules.device.Device import com.hisense.dahua_video.modules.device.Device
import com.hisense.dahua_video.modules.device.DeviceChannel import com.hisense.dahua_video.modules.device.DeviceChannel
import com.hisense.dahua_video.modules.device.Organization
import io.vertx.core.eventbus.EventBus import io.vertx.core.eventbus.EventBus
import io.vertx.core.impl.logging.Logger import io.vertx.core.impl.logging.Logger
import io.vertx.core.impl.logging.LoggerFactory import io.vertx.core.impl.logging.LoggerFactory
import io.vertx.core.json.JsonArray import io.vertx.core.json.JsonArray
import io.vertx.core.json.JsonObject import io.vertx.core.json.JsonObject
import org.jetbrains.exposed.sql.StdOutSqlLogger import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.addLogger
import org.jetbrains.exposed.sql.batchInsert
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.transactions.transaction
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
import java.util.stream.Collectors import java.util.stream.Collectors
@ -24,7 +20,8 @@ class DeviceChannelDao(
private val logger: Logger = LoggerFactory.getLogger(DeviceChannelDao::class.java) private val logger: Logger = LoggerFactory.getLogger(DeviceChannelDao::class.java)
private val cpuNum = Runtime.getRuntime().availableProcessors() private val cpuNum = Runtime.getRuntime().availableProcessors()
private var event: EventBus? = null private var event: EventBus? = null
// private val organization = Organization()
// private val organization = Organization()
private val device = Device() private val device = Device()
private val deviceChannel = DeviceChannel() private val deviceChannel = DeviceChannel()
@ -110,6 +107,52 @@ class DeviceChannelDao(
this[deviceChannel.subType] = device_.getString("subType") this[deviceChannel.subType] = device_.getString("subType")
} }
} }
val updateInfo = message.stream().filter { index ->
index as JsonObject
index.getInteger("nodeType") == 3 &&
deviceCaffeineClient.get(index.getString("parentId")) != -1 &&
deviceChannelCaffeineClient.get(index.getString("channelId")) != -1 //节点为通道类型 设备表内存在该设备 且 该设备通道未入库
}.map {
it as JsonObject
it.put("deviceId", deviceCaffeineClient.get(it.getString("parentId")))
it
}.collect(Collectors.toList())
logger.info("设备通道更新·${updateInfo.size}")
updateInfo.stream().forEach { device_ ->
transaction {
addLogger(StdOutSqlLogger)
deviceChannel.update({ deviceChannel.channelId eq device_.getString("channelId") }) {
it[deviceChannel.name] = device_.getString("name")
it[deviceChannel.orgCode] = device_.getString("orgCode")
it[deviceChannel.orgType] = device_.getString("orgType")
it[deviceChannel.online] = device_.getString("online")
it[deviceChannel.status] = device_.getInteger("status")
it[deviceChannel.sort] = device_.getInteger("sort")
it[deviceChannel.cameraType] = device_.getString("cameraType")
it[deviceChannel.cameraFunctions] = device_.getString("cameraFunctions")
it[deviceChannel.category] = device_.getString("category")
it[deviceChannel.isParent] = device_.getBoolean("isParent")
it[deviceChannel.parentId] = device_.getString("parentId")
it[deviceChannel.deviceCode] = device_.getString("deviceCode")
it[deviceChannel.channelCode] = device_.getString("channelCode")
it[deviceChannel.channelName] = device_.getString("channelName")
it[deviceChannel.channelSeq] = device_.getInteger("channelSeq")
it[deviceChannel.channelSn] = device_.getString("channelSn")
it[deviceChannel.channelType] = device_.getString("channelType")
it[deviceChannel.sn] = device_.getString("sn")
it[deviceChannel.stat] = device_.getInteger("stat")
it[deviceChannel.gpsX] = device_.getString("gpsX")
it[deviceChannel.gpsY] = device_.getString("gpsY")
it[deviceChannel.sn] = device_.getString("sn")
it[deviceChannel.unitType] = device_.getString("unitType")
it[deviceChannel.paasId] = device_.getString("paasId")
it[deviceChannel.intelliState] = device_.getInteger("intelliState")
it[deviceChannel.subType] = device_.getString("subType")
}
}
}
} }
} }

View File

@ -11,10 +11,7 @@ import io.vertx.core.impl.logging.Logger
import io.vertx.core.impl.logging.LoggerFactory import io.vertx.core.impl.logging.LoggerFactory
import io.vertx.core.json.JsonArray import io.vertx.core.json.JsonArray
import io.vertx.core.json.JsonObject import io.vertx.core.json.JsonObject
import org.jetbrains.exposed.sql.StdOutSqlLogger import org.jetbrains.exposed.sql.*
import org.jetbrains.exposed.sql.addLogger
import org.jetbrains.exposed.sql.batchInsert
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.transactions.transaction import org.jetbrains.exposed.sql.transactions.transaction
import java.util.concurrent.TimeUnit import java.util.concurrent.TimeUnit
import java.util.stream.Collectors import java.util.stream.Collectors
@ -128,6 +125,41 @@ class DeviceDao(
this[device.ip] = device_.getString("ip") this[device.ip] = device_.getString("ip")
} }
} }
val upateInfo = message.stream().filter { index ->
index as JsonObject
index.getInteger("nodeType") == 2 &&
orgCaffeineClient.get(index.getString("parentId")) != -1 &&
deviceCaffeineClient.get(index.getString("deviceId")) != -1 //节点为设备类型 组织表内存在该组织 且 该设备已入库
}.map {
it as JsonObject
it.put("organizationId", orgCaffeineClient.get(it.getString("parentId")))
it
}.collect(Collectors.toList())
logger.info("设备更新·${upateInfo.size}")
upateInfo.stream().forEach { index ->
transaction {
addLogger(StdOutSqlLogger)
device.update({ device.deviceId eq index.getString("deviceId") }) {
it[device.organizationId] = index.getInteger("organizationId")
it[device.nodeType] = index.getInteger("nodeType")
it[device.category] = index.getString("category")
it[device.deviceId] = index.getString("deviceId")
it[device.name] = index.getString("name")
it[device.online] = index.getString("online")
it[device.isParent] = index.getBoolean("isParent")
it[device.parentId] = index.getString("parentId")
it[device.orgCode] = index.getString("orgCode")
it[device.orgType] = index.getString("orgType")
it[device.deviceCode] = index.getString("deviceCode")
it[device.deviceName] = index.getString("deviceName")
it[device.sort] = index.getInteger("sort")
it[device.intelliFlag] = index.getInteger("intelliFlag")
it[device.manufacturer] = index.getString("manufacturer")
it[device.subType] = index.getString("subType")
it[device.ip] = index.getString("ip")
}
}
}
message.stream().forEach { index -> message.stream().forEach { index ->
index as JsonObject index as JsonObject
val task = taskOrgCaffeineClient.get( val task = taskOrgCaffeineClient.get(

View File

@ -10,26 +10,36 @@ import io.vertx.ext.web.client.WebClient
import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import org.bytedeco.javacv.FFmpegFrameGrabber
import org.bytedeco.javacv.Java2DFrameConverter
import java.io.File
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import java.util.concurrent.atomic.AtomicInteger import java.util.concurrent.atomic.AtomicInteger
import java.util.stream.Collectors import java.util.stream.Collectors
import javax.imageio.ImageIO
/** /**
* 第三方设备管理 * 第三方设备管理
*/ */
class DevicesManagerUtil(vertx: Vertx) { class DevicesManagerUtil(vertx: Vertx) {
private val logger = LoggerFactory.getLogger(MonitorSessionUtil::class.java) private val logger = LoggerFactory.getLogger(DevicesManagerUtil::class.java)
private val cpuNum = Runtime.getRuntime().availableProcessors() private val cpuNum = Runtime.getRuntime().availableProcessors()
private var vertx: Vertx private var vertx: Vertx
private var event: EventBus? = null private var event: EventBus? = null
private var client: WebClient? = null private var client: WebClient? = null
private var record: String? = null
init { init {
this.vertx = vertx this.vertx = vertx
this.event = this.vertx.eventBus() this.event = this.vertx.eventBus()
client = WebClient.create(this.vertx) client = WebClient.create(this.vertx)
record =
vertx.orCreateContext.config().getString("recroot", System.getProperty("user.dir") + File.separator + "record")
realmonitorUrl() realmonitorUrl()
screenshot()
} }
@ -242,7 +252,7 @@ class DevicesManagerUtil(vertx: Vertx) {
} }
/** /**
* * 获取通道预览地址
*/ */
private fun realmonitorUrl() { private fun realmonitorUrl() {
event!!.consumer<JsonObject>(EventBusAddress.SYS_DEVICE_CHANNEL_PREVIEW_URL.address)?.handler { replay -> event!!.consumer<JsonObject>(EventBusAddress.SYS_DEVICE_CHANNEL_PREVIEW_URL.address)?.handler { replay ->
@ -271,4 +281,88 @@ class DevicesManagerUtil(vertx: Vertx) {
} }
} }
/**
* 截图通道画面
*/
private fun screenshot() {
/**
* 执行截图
*/
fun screenshotAction(screenshot: JsonObject): JsonObject {
val url = screenshot.getString("url")
logger.info("抓取url:$url")
val result = JsonObject()
result.put("startTime", LocalDateTime.now().toString())
GlobalScope.launch(Dispatchers.IO) {
val grabber = FFmpegFrameGrabber(url)// 使用协程
try {
grabber.start()
logger.info("grabber启动成功")
val converter = Java2DFrameConverter()
while (true) {
when (val frame = grabber.grabImage()) {
null -> {
logger.info("截图取帧失败")
}
else -> {
val bufferedImage = converter.getBufferedImage(frame)
val filePath = record + File.separator + screenshot.getString("channelId")
if (!File(filePath).exists()) {
File(filePath).mkdir()
}
val fileName =
record + File.separator + screenshot.getString("channelId") + File.separator + screenshot.getString("channelId") + "_" + DateTimeFormatter.ofPattern(
"yyyyMMddHHmmss-HHmmss"
)
.format(LocalDateTime.now()) + ".jpg"
logger.info("保存地址:$fileName")
ImageIO.write(bufferedImage, "jpg", File(fileName))
break
}
}
}
} catch (e: Exception) {
logger.error("抓取截图·失败·", e)
} finally {
grabber.stop()
grabber.release()
}
}
return result
}
event!!.consumer<JsonObject>(EventBusAddress.SYS_DEVICE_CHANNEL_SCREENSHOT.address)?.handler { replay ->
val message = replay.body()
val port = message.getString("monitorDomain").substringAfterLast(":").toInt()
var domain = message.getString("monitorDomain").substringBeforeLast(":").substringAfterLast("/")
val tokenString = message.getString("token")
val channelId = message.getString("channelId")
val subType = message.getString("subType")
val scheme = message.getString("scheme")
val realmonitorUrl = "/videoService/realmonitor/uri?channelId=$channelId&subType=$subType&scheme=$scheme"
logger.info("获取设备通道预览url:$realmonitorUrl")
client!!.get(port, domain, realmonitorUrl)
.putHeader("X-Subject-Token", tokenString)
.send()
.onSuccess { res ->
val result = res.bodyAsJsonObject()
logger.info("获取设备通道预览 statusCode:" + res.statusCode())
if (res.statusCode() == 200) {
result.put("channelId", channelId) // 通道id
replay.reply(screenshotAction(result))
} else {
replay.reply(JsonObject().put("msg", "获取预览地址失败"))
}
}
.onFailure {
replay.reply(JsonObject().put("msg", "获取预览地址失败"))
}
}
}
} }

View File

@ -163,13 +163,7 @@ class MonitorSessionUtil(vertx: Vertx) {
* 同步该第三方用户的组织 * 同步该第三方用户的组织
*/ */
private fun syncOrganization(token: JsonObject, monitorUser: JsonObject): Long { private fun syncOrganization(token: JsonObject, monitorUser: JsonObject): Long {
// devicesManagerUtil!!.syncOrganization( val syncOrganizationTaskId = vertx.setPeriodic(6 * 60 * 60 * 1000) { // 每间隔6小时进行一次全量组织同步与设备同步、设备通道
// JsonObject()
// .put("monitorDomain", monitorUser.getString("monitorDomain"))
// .put("token", token.getString("token"))
// .put("id", monitorUser.getInteger("id"))
// ) // 尝试同步该用户对应组织
val syncOrganizationTaskId = vertx.setPeriodic(6 * 60 * 60 * 1000) { // 每间隔6小时进行一次全量组织同步与设备同步
logger.info("--------------------------全量组织同步---------------------") logger.info("--------------------------全量组织同步---------------------")
devicesManagerUtil!!.syncOrganization( devicesManagerUtil!!.syncOrganization(
JsonObject() JsonObject()

View File

@ -88,5 +88,6 @@ class WebAPIVerticle : CoroutineVerticle() {
router.route(HttpMethod.POST, "/admin/monitor_user/sign_up").handler(monitorUserController::sign_up) // 第三方平台注册表单 router.route(HttpMethod.POST, "/admin/monitor_user/sign_up").handler(monitorUserController::sign_up) // 第三方平台注册表单
router.route(HttpMethod.GET, "/admin/realmonitorUrl").handler(monitorController::realmonitorUrl) // 获取预览地址 router.route(HttpMethod.GET, "/admin/realmonitorUrl").handler(monitorController::realmonitorUrl) // 获取预览地址
router.route(HttpMethod.GET, "/admin/screenshot").handler(monitorController::screenshot)
} }
} }