From bf3bbb2950e5d13b6ca4a2b4f35a2c27f416f8e1 Mon Sep 17 00:00:00 2001 From: wulin Date: Sat, 7 Oct 2023 09:01:33 +0800 Subject: [PATCH] shi jian chuli --- .../java/com/qiuguo/iot/base/date/Date.java | 7 + .../com/qiuguo/iot/base/date/DateEnum.java | 211 +++ .../java/com/qiuguo/iot/base/date/IDate.java | 7 + .../com/qiuguo/iot/base/date/Tomorrow.java | 7 + .../iot/third/nlp/action/ActionTime.java | 18 +- logs/iot-box-websocket-api/error.log | 1313 +++++++++++++++++ logs/iot-box-websocket-api/info.log | 1313 +++++++++++++++++ logs/iot-box-websocket-api/warn.log | 1313 +++++++++++++++++ 8 files changed, 4173 insertions(+), 16 deletions(-) create mode 100644 iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Date.java create mode 100644 iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/DateEnum.java create mode 100644 iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/IDate.java create mode 100644 iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Tomorrow.java diff --git a/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Date.java b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Date.java new file mode 100644 index 0000000..a8c5f62 --- /dev/null +++ b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Date.java @@ -0,0 +1,7 @@ +package com.qiuguo.iot.base.date; + +import java.time.LocalDateTime; + +public abstract class Date{ + +} diff --git a/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/DateEnum.java b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/DateEnum.java new file mode 100644 index 0000000..64d9f49 --- /dev/null +++ b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/DateEnum.java @@ -0,0 +1,211 @@ +package com.qiuguo.iot.base.date; + +import java.time.LocalDateTime; + +public enum DateEnum implements IDate{ + //现在,今天,明天,后天,昨天,前天,*天后,*天, + // 下周*, *周后,*周, + // 下个月*, *个月 *月后 + // 今年,明年,后年,去年,前年,*年 *年后 + //*分钟 + //*小时 + //*秒 + + /** + * 今天 + */ + TODAY("今天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime; + } + + }, + /** + * 今天 + */ + NOW("现在"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime; + } + + }, + + /** + * 明天 + */ + TOMORROW("明天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-1); + } + + }, + /** + * 明天 + */ + YESTERDAY("昨天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(1); + } + + }, + /** + * 明天 + */ + BEFOR_YESTERDAY("前天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(2); + } + + }, + /** + * 后天 + */ + AFTER_TOMORROW("后天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * n天后 + */ + N_AFTER_DAY("天后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * n天 + */ + N_DAY("天"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N月后 + */ + N_AFTER_MONTH("月后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N月 + */ + N_MONTH("月"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N年后 + */ + N_AFTER_YEAR("年后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N年 + */ + N_YEAR("年"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N小时后 + */ + N_AFTER_HOUR("小时后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N小时 + */ + N_HOUR("小时"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N分钟后 + */ + N_AFTER_MINUTE("分钟后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N分钟 + */ + N_MINUTE("分钟"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N秒后 + */ + N_AFTER_SECOND("秒后"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + /** + * N秒 + */ + N_SECOND("秒"){ + @Override + public LocalDateTime getDateTime(LocalDateTime localDateTime){ + return localDateTime.minusDays(-2); + } + + }, + ; + Date date; + String code; + DateEnum(String c) { + code = c; + } + + public static DateEnum getWithCode(String c) { + for (DateEnum dateEnum:values() + ) { + if(c.equals(dateEnum.code)){ + return dateEnum; + } + } + return null; + } +} diff --git a/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/IDate.java b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/IDate.java new file mode 100644 index 0000000..63e5963 --- /dev/null +++ b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/IDate.java @@ -0,0 +1,7 @@ +package com.qiuguo.iot.base.date; + +import java.time.LocalDateTime; + +public interface IDate { + public LocalDateTime getDateTime(LocalDateTime localDateTime); +} diff --git a/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Tomorrow.java b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Tomorrow.java new file mode 100644 index 0000000..4d76a98 --- /dev/null +++ b/iot-common/iot-base/src/main/java/com/qiuguo/iot/base/date/Tomorrow.java @@ -0,0 +1,7 @@ +package com.qiuguo.iot.base.date; + +import java.time.LocalDateTime; + +public class Tomorrow extends Date{ + +} diff --git a/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/nlp/action/ActionTime.java b/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/nlp/action/ActionTime.java index 81889cd..b07c3a2 100644 --- a/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/nlp/action/ActionTime.java +++ b/iot-common/iot-third/src/main/java/com/qiuguo/iot/third/nlp/action/ActionTime.java @@ -1,15 +1,11 @@ package com.qiuguo.iot.third.nlp.action; +import com.qiuguo.iot.base.date.DateEnum; import com.qiuguo.iot.base.utils.StringUtils; -import com.qiuguo.iot.data.entity.system.SystemTalkAnswerConfigEntity; import lombok.Data; -import java.text.SimpleDateFormat; -import java.time.DayOfWeek; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; -import java.util.Date; -import java.util.List; @Data public class ActionTime { @@ -47,17 +43,7 @@ public class ActionTime { DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd"); DateTimeFormatter df1 = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); - if(t.equals("今天")){ - - }else if(t.equals("明天")){ - localDateTime = localDateTime.minusDays(-1); - }else if(t.equals("后天")){ - localDateTime = localDateTime.minusDays(-2); - }else if(t.equals("昨天")){ - localDateTime = localDateTime.minusDays(1); - }else if(t.equals("前天")){ - localDateTime = localDateTime.minusDays(2); - } + localDateTime = DateEnum.getWithCode(t).getDateTime(localDateTime); dateTime = localDateTime.format(df); dateDetailTime = localDateTime.format(df1); diff --git a/logs/iot-box-websocket-api/error.log b/logs/iot-box-websocket-api/error.log index 72fadfd..fbaa96d 100644 --- a/logs/iot-box-websocket-api/error.log +++ b/logs/iot-box-websocket-api/error.log @@ -21102,3 +21102,1316 @@ Caused by: java.net.ConnectException: Connection refused (Connection refused) ... 51 common frames omitted 17:05:33.660 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] 17:05:33.661 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] +17:09:08.500 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +17:09:09.270 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +17:09:09.279 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +17:09:09.280 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +17:09:09.293 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +17:09:09.877 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.878 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +17:09:09.885 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 3 ms. Found 0 R2DBC repository interfaces. +17:09:09.891 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.892 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:09:09.897 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +17:09:10.065 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +17:09:10.159 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$54b2b606] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.167 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.168 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/345060426] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.170 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.171 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.172 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.173 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.174 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$af54e618] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.193 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.194 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$7e41b534] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.196 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$7eced4a2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.203 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.205 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.238 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.240 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.256 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.279 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$233cf00a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.458 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +17:09:10.502 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +17:09:11.068 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +17:09:11.078 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +17:09:11.102 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +17:09:11.162 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了50条自定义回答指令 +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +17:09:12.562 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +17:09:13.115 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +17:09:14.307 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.311 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.325 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +17:09:14.758 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='192.168.8.175', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +17:09:14.759 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='192.168.8.175', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +17:09:14.766 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 192.168.8.175:8080 register finished +17:09:14.845 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [run,97] []- received push data: {"type":"dom","data":"{\"name\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"clusters\":\"DEFAULT\",\"cacheMillis\":10000,\"hosts\":[{\"instanceId\":\"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"172.31.133.185\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"127.0.0.1\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"192.168.8.175\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000}],\"lastRefTime\":1695892155870,\"checksum\":\"\",\"allIPs\":false,\"reachProtectionThreshold\":false,\"valid\":true}","lastRefTime":793397484867370} from /192.168.8.109 +17:09:14.847 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.848 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:15.202 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 7.438 seconds (JVM running for 8.479) +17:09:15.206 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +17:09:15.297 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +17:09:15.416 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$9,146] []- ==> Updated: 1 +17:09:15.424 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +17:09:15.425 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.425 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +17:09:15.532 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +17:09:15.554 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [createBareConnection,590] []- Created new connection: rabbitConnectionFactory#6818fd48:0/SimpleConnection@119c8e6c [delegate=amqp://guest@127.0.0.1:5672/, localPort= 59745] +17:10:31.664 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [c689a5ca-1]- api start time:1695892231664 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"BEGxjO7SzgLkTwy7EFE8Ig==", Sec-WebSocket-Version:"13", signature:"5B5337F0FFE5F3EFEF0B4458E852E917", sn:"QGBOX230922015335H7r", time:"1695892231673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:10:31.689 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:10:31.696 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [c689a5ca-1]- api end time:1695892231696, total time:32 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:10:43.865 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:10:43.918 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:10:43.948 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:43.950 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:44.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.530 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.550 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:10:44.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.579 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:11:23.640 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"暂停。","sn":"QGBOX230922015335H7r"} +17:11:23.642 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:暂停。 +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令null +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,83] []- 调用千问 +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),暂停。(String),0(Integer),暂停(String),暂时无法理解,我还在努力学习中(String) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '暂停。' , 0 , '暂停' , '暂时无法理解,我还在努力学习中' ) +17:11:23.654 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:11:23.721 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:08.555 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯。","sn":"QGBOX230922015335H7r"} +17:13:08.557 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯。 +17:13:08.560 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.580 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.588 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.592 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.640 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.660 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.726 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:08.729 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/token +17:13:09.025 [reactor-tcp-nio-2] INFO c.t.c.o.a.t.TuyaTokenManager - [getToken,57] []- Get token success, token: TuyaToken(access_token=992d2517ffd195e13b1d40357ac769c0, expire_time=7200, refresh_token=4782e663b6bcc672f42035e0d0265e90, uid=bay1691027968678PMt4, expire_at=null) +17:13:09.198 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.283 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.395 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.399 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:09.482 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.554 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.670 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.671 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.675 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.677 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.679 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.752 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:09.759 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:18.012 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [ab80b348-2]- api start time:1695892518011 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停音乐]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:18.040 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [ab80b348-2]- [ab80b348-2] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:18.041 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [ab80b348-2]- [ab80b348-2] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:18.049 [reactor-http-nio-3] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [ab80b348-2]- [ab80b348-2] Encoding [org.hswebframework.web.crud.web.ResponseMessage@2eb4d377] +17:15:18.051 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [ab80b348-2]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":6,"tagName":"n","key":"音乐","proportion":null}]},"status":200,"timestamp":1695892518047} +17:15:18.054 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [ab80b348-2]- api end time:1695892518054, total time:43 +17:15:37.491 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [26f731f2-3]- api start time:1695892537491 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [26f731f2-3]- [26f731f2-3] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [26f731f2-3]- [26f731f2-3] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:37.501 [reactor-http-nio-5] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [26f731f2-3]- [26f731f2-3] Encoding [org.hswebframework.web.crud.web.ResponseMessage@5ab624ca] +17:15:37.501 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [26f731f2-3]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892537500} +17:15:37.502 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [26f731f2-3]- api end time:1695892537502, total time:11 +17:15:57.481 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:15:57.482 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,打开风扇2号。 +17:15:57.486 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.487 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.488 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.495 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:15:57.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.601 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.609 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:57.843 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:57.963 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:15:58.136 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.256 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:58.338 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.440 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.450 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.451 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.546 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:15:58.631 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:15:58.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.738 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.742 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.742 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:15:58.746 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.781 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.785 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:16:03.624 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:16:04.421 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [dd2a706c-4]- api start time:1695892564421 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"M2ao2pHmm+uQCSSWtBH2hw==", Sec-WebSocket-Version:"13", signature:"81731A43AD6D63E11D4500DFD9AFD195", sn:"QGBOX230922015335H7r", time:"1695892564519", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:16:04.422 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:16:04.423 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [dd2a706c-4]- api end time:1695892564423, total time:2 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:16:35.905 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:16:35.907 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:16:35.911 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:35.912 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:36.356 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:16:36.807 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:19:30.089 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-5]- api start time:1695892770089 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[马上播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:30.092 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-5]- [66203aeb-5] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:30.093 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-5]- [66203aeb-5] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:30.098 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-5]- [66203aeb-5] Encoding [org.hswebframework.web.crud.web.ResponseMessage@7d9823db] +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-5]- response:{"message":"success","result":{"keys":[{"type":10,"tagName":"d","key":"马上","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892770098} +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-5]- api end time:1695892770099, total time:10 +17:19:42.877 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-6]- api start time:1695892782877 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[停止播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:42.880 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-6]- [66203aeb-6] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:42.881 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-6]- [66203aeb-6] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:42.885 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-6]- [66203aeb-6] Encoding [org.hswebframework.web.crud.web.ResponseMessage@c26e701] +17:19:42.885 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-6]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"停止","proportion":null},{"type":0,"tagName":"vn","key":"播放","proportion":null}]},"status":200,"timestamp":1695892782885} +17:19:42.886 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-6]- api end time:1695892782886, total time:9 +17:21:20.762 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:21:20.763 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:21:20.767 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:20.768 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:21.213 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:21.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:21.248 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.315 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:22.318 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:22.324 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.432 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:26.341 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [65a625be-7]- api start time:1695893006341 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"eYrQ/Dg/TC9dCWE+qgOpYg==", Sec-WebSocket-Version:"13", signature:"E6055E7B6884FBAA474A940E645F6C77", sn:"QGBOX230922015335H7r", time:"1695893006450", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:23:26.343 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:23:26.344 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [65a625be-7]- api end time:1695893006344, total time:3 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:23:26.363 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:23:38.334 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:23:38.336 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:38.933 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:38.936 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:38.964 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:23:39.117 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:39.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:39.226 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:15.428 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [2aaa3f10-8]- api start time:1695893115428 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"egLrQXFJOMKfmt4UNVhLQQ==", Sec-WebSocket-Version:"13", signature:"05448B4CAA2C9A73B636182A2B869349", sn:"QGBOX230922015335H7r", time:"1695893105524", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:25:15.429 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:25:15.430 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [2aaa3f10-8]- api end time:1695893115430, total time:2 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:25:15.443 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:25:23.984 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:25:23.986 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:25:23.991 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:23.992 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:24.505 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.555 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.563 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.575 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.693 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:27:53.815 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [4f87fa70-9]- api start time:1695893273815 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"pprkg/xeAHJXZKF0bc8RCA==", Sec-WebSocket-Version:"13", signature:"F90BBF3378DB6A103FA603FE5B7D6DBB", sn:"QGBOX230922015335H7r", time:"1695893273937", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:27:53.816 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:27:53.817 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [4f87fa70-9]- api end time:1695893273817, total time:2 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:27:53.830 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:28:05.059 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:28:05.061 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:28:05.065 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.066 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.477 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:28:06.473 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:37:24.064 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:37:34.859 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [07f2a44b-10]- api start time:1695893854859 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"hTLup8Kb2SP11xmhJ8AGgA==", Sec-WebSocket-Version:"13", signature:"7D8ED18547213299B9B0328A26D94A56", sn:"QGBOX230922015335H7r", time:"1695893844954", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [07f2a44b-10]- api end time:1695893854861, total time:2 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:37:43.260 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:37:43.262 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯,打开风扇2号。 +17:37:43.267 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.268 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.269 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.313 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.322 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.330 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.624 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.710 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:43.815 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:43.816 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:37:43.818 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.909 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.984 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:44.088 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.092 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.094 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.101 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:44.193 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:37:44.279 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:37:44.384 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.385 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.390 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),灯已打开(String) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '灯已打开' ) +17:37:44.398 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.399 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.407 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:21.492 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,关闭风扇2号。","sn":"QGBOX230922015335H7r"} +17:38:21.493 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,关闭风扇2号。 +17:38:21.496 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.497 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.498 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:38:21.539 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.554 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.605 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.607 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:21.745 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:21.834 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:21.951 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:21.953 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:21.972 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.057 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:22.143 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:22.257 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.259 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.263 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.363 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:38:22.446 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:38:22.558 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:22.562 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.563 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:38:22.565 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:38:22.570 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.591 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.594 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:42.652 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:38:42.654 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:38:42.658 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:42.659 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:43.055 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:43.142 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.287 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:38:58.288 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:38:58.291 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.292 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.725 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.748 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:48:02.395 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:48:02.397 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:48:02.402 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.403 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.005 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.037 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.715 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.910 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:49:07.553 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [e9c41889-11]- api start time:1695894547553 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"mRUvJmgT8ogVmJ5lTvW8iQ==", Sec-WebSocket-Version:"13", signature:"A15339991F27940CF206DADC8AD6E0F1", sn:"QGBOX230922015335H7r", time:"1695894547673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:49:07.554 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:49:07.555 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [e9c41889-11]- api end time:1695894547555, total time:2 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:49:15.543 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:49:15.545 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:49:15.549 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:15.550 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:16.025 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:49:16.036 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:52:16.738 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:52:17.449 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [73b2d57d-12]- api start time:1695894737448 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"TTEFXzlxPxC0YA+j7dZgKg==", Sec-WebSocket-Version:"13", signature:"4BA89AF976D0F3C70996C1E5590A6CE1", sn:"QGBOX230922015335H7r", time:"1695894737575", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:52:17.450 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:52:17.451 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [73b2d57d-12]- api end time:1695894737451, total time:3 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:53:43.089 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"开灯。","sn":"QGBOX230922015335H7r"} +17:53:43.091 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:开灯。 +17:53:43.095 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.096 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.113 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.160 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.465 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.635 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:43.751 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:43.753 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.864 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.960 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:44.072 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.081 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.112 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:53:44.115 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:15.819 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关灯。","sn":"QGBOX230922015335H7r"} +17:54:15.820 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关灯。 +17:54:15.823 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.824 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.870 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.885 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.893 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:15.967 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.037 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.133 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:16.218 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.296 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.400 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.403 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.406 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.409 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +18:05:36.654 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r diff --git a/logs/iot-box-websocket-api/info.log b/logs/iot-box-websocket-api/info.log index 2c5f537..1962e66 100644 --- a/logs/iot-box-websocket-api/info.log +++ b/logs/iot-box-websocket-api/info.log @@ -21102,3 +21102,1316 @@ Caused by: java.net.ConnectException: Connection refused (Connection refused) ... 51 common frames omitted 17:05:33.660 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] 17:05:33.661 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] +17:09:08.500 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +17:09:09.270 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +17:09:09.279 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +17:09:09.280 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +17:09:09.293 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +17:09:09.877 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.878 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +17:09:09.885 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 3 ms. Found 0 R2DBC repository interfaces. +17:09:09.891 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.892 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:09:09.897 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +17:09:10.065 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +17:09:10.159 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$54b2b606] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.167 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.168 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/345060426] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.170 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.171 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.172 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.173 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.174 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$af54e618] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.193 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.194 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$7e41b534] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.196 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$7eced4a2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.203 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.205 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.238 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.240 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.256 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.279 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$233cf00a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.458 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +17:09:10.502 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +17:09:11.068 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +17:09:11.078 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +17:09:11.102 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +17:09:11.162 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了50条自定义回答指令 +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +17:09:12.562 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +17:09:13.115 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +17:09:14.307 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.311 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.325 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +17:09:14.758 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='192.168.8.175', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +17:09:14.759 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='192.168.8.175', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +17:09:14.766 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 192.168.8.175:8080 register finished +17:09:14.845 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [run,97] []- received push data: {"type":"dom","data":"{\"name\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"clusters\":\"DEFAULT\",\"cacheMillis\":10000,\"hosts\":[{\"instanceId\":\"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"172.31.133.185\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"127.0.0.1\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"192.168.8.175\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000}],\"lastRefTime\":1695892155870,\"checksum\":\"\",\"allIPs\":false,\"reachProtectionThreshold\":false,\"valid\":true}","lastRefTime":793397484867370} from /192.168.8.109 +17:09:14.847 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.848 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:15.202 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 7.438 seconds (JVM running for 8.479) +17:09:15.206 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +17:09:15.297 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +17:09:15.416 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$9,146] []- ==> Updated: 1 +17:09:15.424 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +17:09:15.425 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.425 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +17:09:15.532 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +17:09:15.554 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [createBareConnection,590] []- Created new connection: rabbitConnectionFactory#6818fd48:0/SimpleConnection@119c8e6c [delegate=amqp://guest@127.0.0.1:5672/, localPort= 59745] +17:10:31.664 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [c689a5ca-1]- api start time:1695892231664 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"BEGxjO7SzgLkTwy7EFE8Ig==", Sec-WebSocket-Version:"13", signature:"5B5337F0FFE5F3EFEF0B4458E852E917", sn:"QGBOX230922015335H7r", time:"1695892231673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:10:31.689 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:10:31.696 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [c689a5ca-1]- api end time:1695892231696, total time:32 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:10:43.865 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:10:43.918 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:10:43.948 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:43.950 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:44.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.530 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.550 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:10:44.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.579 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:11:23.640 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"暂停。","sn":"QGBOX230922015335H7r"} +17:11:23.642 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:暂停。 +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令null +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,83] []- 调用千问 +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),暂停。(String),0(Integer),暂停(String),暂时无法理解,我还在努力学习中(String) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '暂停。' , 0 , '暂停' , '暂时无法理解,我还在努力学习中' ) +17:11:23.654 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:11:23.721 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:08.555 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯。","sn":"QGBOX230922015335H7r"} +17:13:08.557 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯。 +17:13:08.560 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.580 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.588 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.592 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.640 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.660 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.726 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:08.729 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/token +17:13:09.025 [reactor-tcp-nio-2] INFO c.t.c.o.a.t.TuyaTokenManager - [getToken,57] []- Get token success, token: TuyaToken(access_token=992d2517ffd195e13b1d40357ac769c0, expire_time=7200, refresh_token=4782e663b6bcc672f42035e0d0265e90, uid=bay1691027968678PMt4, expire_at=null) +17:13:09.198 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.283 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.395 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.399 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:09.482 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.554 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.670 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.671 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.675 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.677 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.679 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.752 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:09.759 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:18.012 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [ab80b348-2]- api start time:1695892518011 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停音乐]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:18.040 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [ab80b348-2]- [ab80b348-2] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:18.041 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [ab80b348-2]- [ab80b348-2] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:18.049 [reactor-http-nio-3] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [ab80b348-2]- [ab80b348-2] Encoding [org.hswebframework.web.crud.web.ResponseMessage@2eb4d377] +17:15:18.051 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [ab80b348-2]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":6,"tagName":"n","key":"音乐","proportion":null}]},"status":200,"timestamp":1695892518047} +17:15:18.054 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [ab80b348-2]- api end time:1695892518054, total time:43 +17:15:37.491 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [26f731f2-3]- api start time:1695892537491 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [26f731f2-3]- [26f731f2-3] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [26f731f2-3]- [26f731f2-3] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:37.501 [reactor-http-nio-5] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [26f731f2-3]- [26f731f2-3] Encoding [org.hswebframework.web.crud.web.ResponseMessage@5ab624ca] +17:15:37.501 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [26f731f2-3]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892537500} +17:15:37.502 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [26f731f2-3]- api end time:1695892537502, total time:11 +17:15:57.481 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:15:57.482 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,打开风扇2号。 +17:15:57.486 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.487 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.488 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.495 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:15:57.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.601 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.609 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:57.843 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:57.963 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:15:58.136 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.256 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:58.338 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.440 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.450 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.451 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.546 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:15:58.631 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:15:58.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.738 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.742 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.742 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:15:58.746 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.781 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.785 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:16:03.624 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:16:04.421 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [dd2a706c-4]- api start time:1695892564421 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"M2ao2pHmm+uQCSSWtBH2hw==", Sec-WebSocket-Version:"13", signature:"81731A43AD6D63E11D4500DFD9AFD195", sn:"QGBOX230922015335H7r", time:"1695892564519", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:16:04.422 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:16:04.423 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [dd2a706c-4]- api end time:1695892564423, total time:2 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:16:35.905 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:16:35.907 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:16:35.911 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:35.912 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:36.356 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:16:36.807 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:19:30.089 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-5]- api start time:1695892770089 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[马上播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:30.092 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-5]- [66203aeb-5] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:30.093 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-5]- [66203aeb-5] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:30.098 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-5]- [66203aeb-5] Encoding [org.hswebframework.web.crud.web.ResponseMessage@7d9823db] +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-5]- response:{"message":"success","result":{"keys":[{"type":10,"tagName":"d","key":"马上","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892770098} +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-5]- api end time:1695892770099, total time:10 +17:19:42.877 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-6]- api start time:1695892782877 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[停止播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:42.880 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-6]- [66203aeb-6] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:42.881 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-6]- [66203aeb-6] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:42.885 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-6]- [66203aeb-6] Encoding [org.hswebframework.web.crud.web.ResponseMessage@c26e701] +17:19:42.885 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-6]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"停止","proportion":null},{"type":0,"tagName":"vn","key":"播放","proportion":null}]},"status":200,"timestamp":1695892782885} +17:19:42.886 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-6]- api end time:1695892782886, total time:9 +17:21:20.762 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:21:20.763 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:21:20.767 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:20.768 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:21.213 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:21.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:21.248 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.315 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:22.318 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:22.324 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.432 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:26.341 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [65a625be-7]- api start time:1695893006341 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"eYrQ/Dg/TC9dCWE+qgOpYg==", Sec-WebSocket-Version:"13", signature:"E6055E7B6884FBAA474A940E645F6C77", sn:"QGBOX230922015335H7r", time:"1695893006450", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:23:26.343 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:23:26.344 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [65a625be-7]- api end time:1695893006344, total time:3 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:23:26.363 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:23:38.334 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:23:38.336 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:38.933 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:38.936 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:38.964 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:23:39.117 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:39.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:39.226 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:15.428 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [2aaa3f10-8]- api start time:1695893115428 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"egLrQXFJOMKfmt4UNVhLQQ==", Sec-WebSocket-Version:"13", signature:"05448B4CAA2C9A73B636182A2B869349", sn:"QGBOX230922015335H7r", time:"1695893105524", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:25:15.429 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:25:15.430 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [2aaa3f10-8]- api end time:1695893115430, total time:2 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:25:15.443 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:25:23.984 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:25:23.986 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:25:23.991 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:23.992 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:24.505 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.555 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.563 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.575 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.693 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:27:53.815 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [4f87fa70-9]- api start time:1695893273815 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"pprkg/xeAHJXZKF0bc8RCA==", Sec-WebSocket-Version:"13", signature:"F90BBF3378DB6A103FA603FE5B7D6DBB", sn:"QGBOX230922015335H7r", time:"1695893273937", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:27:53.816 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:27:53.817 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [4f87fa70-9]- api end time:1695893273817, total time:2 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:27:53.830 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:28:05.059 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:28:05.061 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:28:05.065 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.066 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.477 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:28:06.473 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:37:24.064 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:37:34.859 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [07f2a44b-10]- api start time:1695893854859 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"hTLup8Kb2SP11xmhJ8AGgA==", Sec-WebSocket-Version:"13", signature:"7D8ED18547213299B9B0328A26D94A56", sn:"QGBOX230922015335H7r", time:"1695893844954", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [07f2a44b-10]- api end time:1695893854861, total time:2 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:37:43.260 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:37:43.262 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯,打开风扇2号。 +17:37:43.267 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.268 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.269 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.313 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.322 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.330 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.624 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.710 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:43.815 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:43.816 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:37:43.818 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.909 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.984 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:44.088 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.092 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.094 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.101 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:44.193 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:37:44.279 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:37:44.384 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.385 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.390 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),灯已打开(String) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '灯已打开' ) +17:37:44.398 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.399 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.407 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:21.492 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,关闭风扇2号。","sn":"QGBOX230922015335H7r"} +17:38:21.493 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,关闭风扇2号。 +17:38:21.496 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.497 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.498 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:38:21.539 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.554 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.605 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.607 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:21.745 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:21.834 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:21.951 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:21.953 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:21.972 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.057 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:22.143 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:22.257 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.259 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.263 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.363 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:38:22.446 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:38:22.558 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:22.562 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.563 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:38:22.565 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:38:22.570 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.591 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.594 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:42.652 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:38:42.654 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:38:42.658 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:42.659 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:43.055 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:43.142 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.287 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:38:58.288 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:38:58.291 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.292 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.725 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.748 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:48:02.395 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:48:02.397 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:48:02.402 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.403 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.005 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.037 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.715 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.910 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:49:07.553 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [e9c41889-11]- api start time:1695894547553 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"mRUvJmgT8ogVmJ5lTvW8iQ==", Sec-WebSocket-Version:"13", signature:"A15339991F27940CF206DADC8AD6E0F1", sn:"QGBOX230922015335H7r", time:"1695894547673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:49:07.554 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:49:07.555 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [e9c41889-11]- api end time:1695894547555, total time:2 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:49:15.543 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:49:15.545 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:49:15.549 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:15.550 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:16.025 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:49:16.036 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:52:16.738 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:52:17.449 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [73b2d57d-12]- api start time:1695894737448 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"TTEFXzlxPxC0YA+j7dZgKg==", Sec-WebSocket-Version:"13", signature:"4BA89AF976D0F3C70996C1E5590A6CE1", sn:"QGBOX230922015335H7r", time:"1695894737575", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:52:17.450 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:52:17.451 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [73b2d57d-12]- api end time:1695894737451, total time:3 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:53:43.089 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"开灯。","sn":"QGBOX230922015335H7r"} +17:53:43.091 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:开灯。 +17:53:43.095 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.096 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.113 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.160 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.465 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.635 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:43.751 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:43.753 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.864 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.960 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:44.072 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.081 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.112 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:53:44.115 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:15.819 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关灯。","sn":"QGBOX230922015335H7r"} +17:54:15.820 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关灯。 +17:54:15.823 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.824 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.870 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.885 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.893 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:15.967 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.037 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.133 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:16.218 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.296 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.400 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.403 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.406 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.409 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +18:05:36.654 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r diff --git a/logs/iot-box-websocket-api/warn.log b/logs/iot-box-websocket-api/warn.log index 7dde7dd..495f1d2 100644 --- a/logs/iot-box-websocket-api/warn.log +++ b/logs/iot-box-websocket-api/warn.log @@ -21102,3 +21102,1316 @@ Caused by: java.net.ConnectException: Connection refused (Connection refused) ... 51 common frames omitted 17:05:33.660 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] 17:05:33.661 [com.alibaba.nacos.client.naming.updater] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatTimeOut":15000,"instanceHeartBeatInterval":5000,"ipDeleteTimeout":30000}] +17:09:08.500 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 6.2.5.Final +17:09:09.270 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket] & group[DEFAULT_GROUP] +17:09:09.279 [main] WARN c.a.c.n.c.NacosPropertySourceBuilder - [loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[qiuguo-iot-box-websocket-dev.yml] & group[DEFAULT_GROUP] +17:09:09.280 [main] INFO o.s.c.b.c.PropertySourceBootstrapConfiguration - [doInitialize,134] - Located property source: [BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket-dev.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-qiuguo-iot-box-websocket,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application-dev.yml,DEFAULT_GROUP'}] +17:09:09.293 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStartupProfileInfo,637] []- The following 1 profile is active: "dev" +17:09:09.877 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.878 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data R2DBC repositories in DEFAULT mode. +17:09:09.885 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 3 ms. Found 0 R2DBC repository interfaces. +17:09:09.891 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [multipleStoresDetected,262] []- Multiple Spring Data modules found, entering strict repository configuration mode +17:09:09.892 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,132] []- Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:09:09.897 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - [registerRepositoriesIn,201] []- Finished Spring Data repository scanning in 0 ms. Found 0 Redis repository interfaces. +17:09:10.065 [main] INFO o.s.c.c.s.GenericScope - [setSerializationId,283] []- BeanFactory id=455209d6-5bf4-3323-a7af-a2beadd73ae3 +17:09:10.159 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$$EnhancerBySpringCGLIB$$54b2b606] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.167 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration' of type [org.springframework.cloud.commons.config.CommonsConfigAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.168 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'loadBalancerClientsDefaultsMappingsProvider' of type [org.springframework.cloud.client.loadbalancer.LoadBalancerDefaultMappingsProviderAutoConfiguration$$Lambda$447/345060426] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.169 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'defaultsBindHandlerAdvisor' of type [org.springframework.cloud.commons.config.DefaultsBindHandlerAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.170 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'expressionDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.ExpressionDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.171 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'annotationDataSourceSwitchStrategyMatcher' of type [org.hswebframework.web.datasource.strategy.AnnotationDataSourceSwitchStrategyMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.172 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'alwaysNoMatchStrategyMatcher' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.173 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'switcherMethodMatcherPointcutAdvisor' of type [org.hswebframework.web.datasource.AopDataSourceSwitcherAutoConfiguration$SwitcherMethodMatcherPointcutAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.174 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration' of type [org.hswebframework.web.authorization.simple.DefaultAuthorizationAutoConfiguration$$EnhancerBySpringCGLIB$$af54e618] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.193 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'easyorm-org.hswebframework.web.crud.configuration.EasyormProperties' of type [org.hswebframework.web.crud.configuration.EasyormProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.194 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.EasyormConfiguration' of type [org.hswebframework.web.crud.configuration.EasyormConfiguration$$EnhancerBySpringCGLIB$$7e41b534] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.196 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration' of type [org.hswebframework.web.crud.configuration.R2dbcSqlExecutorConfiguration$$EnhancerBySpringCGLIB$$7eced4a2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.203 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration' of type [org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfigurations$PoolConfiguration$PooledConnectionFactoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.205 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'spring.r2dbc-org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties' of type [org.springframework.boot.autoconfigure.r2dbc.R2dbcProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.238 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'connectionFactory' of type [io.r2dbc.pool.ConnectionPool] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.240 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'reactiveSqlExecutor' of type [org.hswebframework.web.crud.sql.DefaultR2dbcExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.256 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'syncSqlExecutor' of type [org.hswebframework.ezorm.rdb.executor.reactive.ReactiveSyncSqlExecutor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.279 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'databaseMetadata' of type [org.hswebframework.ezorm.rdb.metadata.RDBDatabaseMetadata] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - [postProcessAfterInitialization,376] []- Bean 'org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration' of type [org.hswebframework.web.datasource.DynamicDataSourceAutoConfiguration$$EnhancerBySpringCGLIB$$233cf00a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +17:09:10.458 [main] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [initGroup,44] []- 初始化自定义回答缓存数据 +17:09:10.502 [main] INFO c.t.c.s.c.ConnectorFactoryBean - [registerErrorProcessor,80] []- register processor for error code: 1010 +17:09:11.068 [reactor-tcp-nio-2] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadataReactive$3,110] []- reactive load table [system_talk_answer_config] metadata ,use parser:MysqlTableMetadataParser +17:09:11.078 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.079 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='system_talk_answer_config' +17:09:11.102 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.103 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.104 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 'system_talk_answer_config' +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,41] []- ==> Parameters: qiuguo_iot(String),system_talk_answer_config(String) +17:09:11.105 [reactor-tcp-nio-2] DEBUG o.h.e.r.s.c.RDBTableMetadataParser - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 'system_talk_answer_config' +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,39] []- ==> Preparing: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = ? limit ?,? +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,41] []- ==> Parameters: 0(Integer),0(Integer),1000(Integer) +17:09:11.131 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkAnswerConfigEntity - [printSql,43] []- ==> Native: select system_talk_answer_config.`id` as `id` , system_talk_answer_config.`is_delete` as `isDelete` , system_talk_answer_config.`create_time` as `createTime` , system_talk_answer_config.`modify_time` as `modifyTime` , system_talk_answer_config.`user_id` as `userId` , system_talk_answer_config.`ask_key` as `askKey` , system_talk_answer_config.`answer_value` as `answerValue` , system_talk_answer_config.`answer_value_faild` as `answerValueFaild` , system_talk_answer_config.`answer_action` as `answerAction` , system_talk_answer_config.`answer_action_faild` as `answerActionFaild` , system_talk_answer_config.`answer_back_sound` as `answerBackSound` , system_talk_answer_config.`answer_back_img` as `answerBackImg` , system_talk_answer_config.`key_order` as `keyOrder` , system_talk_answer_config.`answer_type` as `answerType` from qiuguo_iot.system_talk_answer_config system_talk_answer_config where system_talk_answer_config.`is_delete` = 0 limit 0,1000 +17:09:11.162 [reactor-tcp-nio-2] INFO c.q.i.d.s.s.SystemTalkAnswerConfigService - [lambda$initGroup$1,53] []- 配置最多读取1000条,实际读取了50条自定义回答指令 +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/commons/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication/messages_zh.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_en.properties -> messages +17:09:11.760 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/core/messages_zh.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_en.properties -> messages +17:09:11.761 [main] INFO o.h.w.s.i.I18nConfiguration - [autoResolveI18nMessageSource,42] []- register i18n message resource i18n/authentication-default/messages_zh.properties -> messages +17:09:12.562 [main] INFO c.a.n.client.naming - [call,65] []- initializer namespace from System Property :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,74] []- initializer namespace from System Environment :null +17:09:12.563 [main] INFO c.a.n.client.naming - [call,84] []- initializer namespace from System Property :null +17:09:13.115 [main] INFO o.s.b.a.e.w.EndpointLinksResolver - [,58] []- Exposing 18 endpoint(s) beneath base path '/actuator' +17:09:14.307 [main] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.311 [main] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(2) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.325 [main] INFO o.s.b.w.e.n.NettyWebServer - [start,111] []- Netty started on port 8080 +17:09:14.758 [main] INFO c.a.n.client.naming - [addBeatInfo,81] []- [BEAT] adding beat: BeatInfo{port=8080, ip='192.168.8.175', weight=1.0, serviceName='DEFAULT_GROUP@@qiuguo-iot-box-websocket', cluster='DEFAULT', metadata={preserved.register.source=SPRING_CLOUD}, scheduled=false, period=5000, stopped=false} to beat map. +17:09:14.759 [main] INFO c.a.n.client.naming - [registerService,230] []- [REGISTER-SERVICE] public registering service DEFAULT_GROUP@@qiuguo-iot-box-websocket with instance: Instance{instanceId='null', ip='192.168.8.175', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}} +17:09:14.766 [main] INFO c.a.c.n.r.NacosServiceRegistry - [register,75] []- nacos registry, DEFAULT_GROUP qiuguo-iot-box-websocket 192.168.8.175:8080 register finished +17:09:14.845 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [run,97] []- received push data: {"type":"dom","data":"{\"name\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"clusters\":\"DEFAULT\",\"cacheMillis\":10000,\"hosts\":[{\"instanceId\":\"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"172.31.133.185\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"127.0.0.1\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000},{\"instanceId\":\"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"ip\":\"192.168.8.175\",\"port\":8080,\"weight\":1.0,\"healthy\":true,\"enabled\":true,\"ephemeral\":true,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@qiuguo-iot-box-websocket\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"instanceHeartBeatInterval\":5000,\"instanceHeartBeatTimeOut\":15000,\"ipDeleteTimeout\":30000}],\"lastRefTime\":1695892155870,\"checksum\":\"\",\"allIPs\":false,\"reachProtectionThreshold\":false,\"valid\":true}","lastRefTime":793397484867370} from /192.168.8.109 +17:09:14.847 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,232] []- new ips(1) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:14.848 [com.alibaba.nacos.naming.push.receiver] INFO c.a.n.client.naming - [processServiceJson,271] []- current ips:(3) service: DEFAULT_GROUP@@qiuguo-iot-box-websocket@@DEFAULT -> [{"instanceId":"172.31.133.185#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"172.31.133.185","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"127.0.0.1#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"127.0.0.1","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000},{"instanceId":"192.168.8.175#8080#DEFAULT#DEFAULT_GROUP@@qiuguo-iot-box-websocket","ip":"192.168.8.175","port":8080,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@qiuguo-iot-box-websocket","metadata":{"preserved.register.source":"SPRING_CLOUD"},"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"ipDeleteTimeout":30000}] +17:09:15.202 [main] INFO c.q.i.b.w.a.IotBoxWebsocketApplication - [logStarted,61] []- Started IotBoxWebsocketApplication in 7.438 seconds (JVM running for 8.479) +17:09:15.206 [main] DEBUG o.h.e.c.m.AbstractSchemaMetadata - [lambda$loadMetadata$2,94] []- load table metadata s_system ,use parser:MysqlTableMetadataParser +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select count(1) as 'total' from information_schema.`TABLES` where table_schema=? and table_name=? +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.214 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select count(1) as 'total' from information_schema.`TABLES` where table_schema='qiuguo_iot' and table_name='s_system' +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema=? and table_name like ? +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.229 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select column_name as `name`, data_type as `data_type`, character_maximum_length as `data_length`, numeric_precision as `data_precision`, numeric_scale as `data_scale`, column_comment as `comment`, table_name as `table_name`, case when is_nullable='YES' then 0 else 1 end as 'not_null' from information_schema.columns where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema=? and table_name like ? +17:09:15.247 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.248 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select table_comment as `comment` ,table_name as `table_name` from information_schema.tables where table_schema='qiuguo_iot' and table_name like 's_system' +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = ? and TABLE_NAME like ? +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: qiuguo_iot(String),s_system(String) +17:09:15.269 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: SELECT * FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_SCHEMA = 'qiuguo_iot' and TABLE_NAME like 's_system' +17:09:15.297 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = ? limit ?,? +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: default(String),0(Integer),1(Integer) +17:09:15.298 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: select s_system.`framework_version` as `frameworkVersion` , s_system.`website` as `website` , s_system.`major_version` as `majorVersion` , s_system.`name` as `name` , s_system.`revision_version` as `revisionVersion` , s_system.`comment` as `comment` , s_system.`dependencies` as `dependencies` , s_system.`minor_version` as `minorVersion` from qiuguo_iot.s_system s_system where s_system.`name` = 'default' limit 0,1 +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,39] []- ==> Preparing: update qiuguo_iot.s_system set `framework_version` = ? , `website` = ? , `major_version` = ? , `name` = ? , `revision_version` = ? , `dependencies` = ? , `minor_version` = ? where `name` = ? +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,41] []- ==> Parameters: {"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}(String),(String),1(Integer),default(String),0(Integer),[](String),0(Integer),default(String) +17:09:15.411 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [printSql,43] []- ==> Native: update qiuguo_iot.s_system set `framework_version` = '{"name":"hsweb framework","comment":"","website":"http://www.hsweb.io","majorVersion":4,"minorVersion":0,"revisionVersion":0,"snapshot":true}' , `website` = '' , `major_version` = 1 , `name` = 'default' , `revision_version` = 0 , `dependencies` = '[]' , `minor_version` = 0 where `name` = 'default' +17:09:15.416 [reactor-tcp-nio-2] DEBUG o.h.e.r.e.r.r.R2dbcReactiveSqlExecutor - [lambda$null$9,146] []- ==> Updated: 1 +17:09:15.424 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket.yml+DEFAULT_GROUP +17:09:15.425 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.425 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket-dev.yml+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket-dev.yml, group=DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.ClientWorker - [addCacheDataIfAbsent,169] []- [fixed-192.168.8.146_32470] [subscribe] qiuguo-iot-box-websocket+DEFAULT_GROUP +17:09:15.426 [main] INFO c.a.n.c.c.i.CacheData - [addListener,92] []- [fixed-192.168.8.146_32470] [add-listener] ok, tenant=, dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP, cnt=1 +17:09:15.426 [main] INFO c.a.c.n.r.NacosContextRefresher - [registerNacosListenersForApplications,105] []- listening config: dataId=qiuguo-iot-box-websocket, group=DEFAULT_GROUP +17:09:15.532 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [connectAddresses,639] []- Attempting to connect to: [localhost:5672] +17:09:15.554 [RMI TCP Connection(3)-192.168.8.175] INFO o.s.a.r.c.CachingConnectionFactory - [createBareConnection,590] []- Created new connection: rabbitConnectionFactory#6818fd48:0/SimpleConnection@119c8e6c [delegate=amqp://guest@127.0.0.1:5672/, localPort= 59745] +17:10:31.664 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [c689a5ca-1]- api start time:1695892231664 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"BEGxjO7SzgLkTwy7EFE8Ig==", Sec-WebSocket-Version:"13", signature:"5B5337F0FFE5F3EFEF0B4458E852E917", sn:"QGBOX230922015335H7r", time:"1695892231673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:10:31.689 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:10:31.696 [reactor-http-nio-2] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [c689a5ca-1]- api end time:1695892231696, total time:32 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:10:31.737 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:10:31.759 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:10:43.865 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:10:43.918 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:10:43.948 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:43.950 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:10:44.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.527 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.530 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.550 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:10:44.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放雇佣者。(String),5(Integer),播放(String),现在为您播放雇佣者.来自黑乐团(String) +17:10:44.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放雇佣者。' , 5 , '播放' , '现在为您播放雇佣者.来自黑乐团' ) +17:10:44.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:10:44.579 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:11:23.640 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"暂停。","sn":"QGBOX230922015335H7r"} +17:11:23.642 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:暂停。 +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令null +17:11:23.646 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,83] []- 调用千问 +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),暂停。(String),0(Integer),暂停(String),暂时无法理解,我还在努力学习中(String) +17:11:23.652 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '暂停。' , 0 , '暂停' , '暂时无法理解,我还在努力学习中' ) +17:11:23.654 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:11:23.721 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:08.555 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯。","sn":"QGBOX230922015335H7r"} +17:13:08.557 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯。 +17:13:08.560 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.580 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:13:08.588 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.589 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:13:08.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:13:08.592 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.611 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.612 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:13:08.613 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.639 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.640 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:13:08.641 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.659 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.660 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:13:08.661 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:13:08.726 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:08.729 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/token +17:13:09.025 [reactor-tcp-nio-2] INFO c.t.c.o.a.t.TuyaTokenManager - [getToken,57] []- Get token success, token: TuyaToken(access_token=992d2517ffd195e13b1d40357ac769c0, expire_time=7200, refresh_token=4782e663b6bcc672f42035e0d0265e90, uid=bay1691027968678PMt4, expire_at=null) +17:13:09.198 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.283 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.395 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.399 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:13:09.482 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:13:09.554 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:13:09.670 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:13:09.671 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.672 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.675 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:13:09.676 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯。(String),1(Integer),打开(String),灯已打开(String) +17:13:09.677 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯。' , 1 , '打开' , '灯已打开' ) +17:13:09.679 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:13:09.752 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:13:09.759 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:18.012 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [ab80b348-2]- api start time:1695892518011 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停音乐]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:18.040 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [ab80b348-2]- [ab80b348-2] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:18.041 [reactor-http-nio-3] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [ab80b348-2]- [ab80b348-2] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:18.049 [reactor-http-nio-3] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [ab80b348-2]- [ab80b348-2] Encoding [org.hswebframework.web.crud.web.ResponseMessage@2eb4d377] +17:15:18.051 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [ab80b348-2]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":6,"tagName":"n","key":"音乐","proportion":null}]},"status":200,"timestamp":1695892518047} +17:15:18.054 [reactor-http-nio-3] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [ab80b348-2]- api end time:1695892518054, total time:43 +17:15:37.491 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [26f731f2-3]- api start time:1695892537491 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[暂停播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [26f731f2-3]- [26f731f2-3] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:15:37.496 [reactor-http-nio-5] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [26f731f2-3]- [26f731f2-3] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:15:37.501 [reactor-http-nio-5] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [26f731f2-3]- [26f731f2-3] Encoding [org.hswebframework.web.crud.web.ResponseMessage@5ab624ca] +17:15:37.501 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [26f731f2-3]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"暂停","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892537500} +17:15:37.502 [reactor-http-nio-5] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [26f731f2-3]- api end time:1695892537502, total time:11 +17:15:57.481 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:15:57.482 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,打开风扇2号。 +17:15:57.486 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.487 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.488 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:15:57.495 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:15:57.541 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:15:57.542 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:15:57.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.558 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:15:57.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:15:57.561 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.584 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.585 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:15:57.586 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:15:57.591 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.599 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:57.600 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:15:57.601 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:15:57.609 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:57.843 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:57.963 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:15:58.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:15:58.136 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.256 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:15:58.338 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:15:58.440 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.446 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:15:58.449 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:15:58.450 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.451 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:15:58.546 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:15:58.631 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:15:58.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:15:58.738 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.742 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.742 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,打开风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:15:58.743 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,打开风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:15:58.746 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:15:58.781 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:15:58.785 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:16:03.624 [reactor-http-nio-2] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:16:04.421 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [dd2a706c-4]- api start time:1695892564421 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"M2ao2pHmm+uQCSSWtBH2hw==", Sec-WebSocket-Version:"13", signature:"81731A43AD6D63E11D4500DFD9AFD195", sn:"QGBOX230922015335H7r", time:"1695892564519", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:16:04.422 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:16:04.423 [reactor-http-nio-7] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [dd2a706c-4]- api end time:1695892564423, total time:2 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:16:04.429 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:16:04.437 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:16:35.905 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:16:35.907 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:16:35.911 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:35.912 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:16:36.356 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596267 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:16:36.807 [reactor-http-nio-7] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695892596733 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:19:30.089 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-5]- api start time:1695892770089 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[马上播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:30.092 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-5]- [66203aeb-5] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:30.093 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-5]- [66203aeb-5] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:30.098 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-5]- [66203aeb-5] Encoding [org.hswebframework.web.crud.web.ResponseMessage@7d9823db] +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-5]- response:{"message":"success","result":{"keys":[{"type":10,"tagName":"d","key":"马上","proportion":null},{"type":0,"tagName":"v","key":"播放","proportion":null}]},"status":200,"timestamp":1695892770098} +17:19:30.099 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-5]- api end time:1695892770099, total time:10 +17:19:42.877 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [66203aeb-6]- api start time:1695892782877 ip:192.168.8.246 method:GET url:/websocket/test/nlp param:{value=[停止播放]} headers:[Host:"192.168.8.175:8080", Connection:"keep-alive", Upgrade-Insecure-Requests:"1", User-Agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.35", Accept:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", Accept-Encoding:"gzip, deflate", Accept-Language:"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"] +17:19:42.880 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [selectMediaType,161] [66203aeb-6]- [66203aeb-6] Using 'application/json' given [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, application/signed-exchange;v=b3;q=0.7, */*;q=0.8] and supported [application/json, application/*+json, application/x-ndjson, text/event-stream] +17:19:42.881 [reactor-http-nio-9] DEBUG o.h.w.c.w.ResponseMessageWrapper - [writeBody,174] [66203aeb-6]- [66203aeb-6] 0..1 [org.hswebframework.web.crud.web.ResponseMessage] +17:19:42.885 [reactor-http-nio-9] DEBUG o.h.w.s.j.CustomJackson2jsonEncoder - [debug,127] [66203aeb-6]- [66203aeb-6] Encoding [org.hswebframework.web.crud.web.ResponseMessage@c26e701] +17:19:42.885 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$writeWith$1,122] [66203aeb-6]- response:{"message":"success","result":{"keys":[{"type":0,"tagName":"v","key":"停止","proportion":null},{"type":0,"tagName":"vn","key":"播放","proportion":null}]},"status":200,"timestamp":1695892782885} +17:19:42.886 [reactor-http-nio-9] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [66203aeb-6]- api end time:1695892782886, total time:9 +17:21:20.762 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:21:20.763 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:21:20.767 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:20.768 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:21:21.213 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:21.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:21.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:21.248 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.315 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:21:22.316 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:21:22.318 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:21:22.324 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:21:22.432 [reactor-http-nio-7] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:26.341 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [65a625be-7]- api start time:1695893006341 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"eYrQ/Dg/TC9dCWE+qgOpYg==", Sec-WebSocket-Version:"13", signature:"E6055E7B6884FBAA474A940E645F6C77", sn:"QGBOX230922015335H7r", time:"1695893006450", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:23:26.343 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:23:26.344 [reactor-http-nio-10] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [65a625be-7]- api end time:1695893006344, total time:3 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:23:26.347 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:23:26.363 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:23:26.364 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:23:38.334 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:23:38.336 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.340 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:38.932 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:38.933 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:38.936 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:38.964 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:23:39.117 [reactor-http-nio-10] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:23:39.214 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:23:39.217 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:23:39.226 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:15.428 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [2aaa3f10-8]- api start time:1695893115428 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"egLrQXFJOMKfmt4UNVhLQQ==", Sec-WebSocket-Version:"13", signature:"05448B4CAA2C9A73B636182A2B869349", sn:"QGBOX230922015335H7r", time:"1695893105524", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:25:15.429 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:25:15.430 [reactor-http-nio-11] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [2aaa3f10-8]- api end time:1695893115430, total time:2 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:25:15.435 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:25:15.442 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:25:15.443 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:25:23.984 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:25:23.986 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:25:23.991 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:23.992 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:25:24.505 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.555 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:25:24.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:25:24.563 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:25:24.575 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:25:24.693 [reactor-http-nio-11] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:27:53.815 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [4f87fa70-9]- api start time:1695893273815 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"pprkg/xeAHJXZKF0bc8RCA==", Sec-WebSocket-Version:"13", signature:"F90BBF3378DB6A103FA603FE5B7D6DBB", sn:"QGBOX230922015335H7r", time:"1695893273937", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:27:53.816 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:27:53.817 [reactor-http-nio-12] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [4f87fa70-9]- api end time:1695893273817, total time:2 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:27:53.823 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:27:53.830 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:27:53.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:28:05.059 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:28:05.061 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:28:05.065 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.066 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:28:05.477 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893285391 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:28:06.473 [reactor-http-nio-12] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893286405 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:37:24.064 [reactor-http-nio-12] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:37:34.859 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [07f2a44b-10]- api start time:1695893854859 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"hTLup8Kb2SP11xmhJ8AGgA==", Sec-WebSocket-Version:"13", signature:"7D8ED18547213299B9B0328A26D94A56", sn:"QGBOX230922015335H7r", time:"1695893844954", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:37:34.861 [reactor-http-nio-13] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [07f2a44b-10]- api end time:1695893854861, total time:2 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:37:34.865 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:37:34.873 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:37:43.260 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"打开灯,打开风扇2号。","sn":"QGBOX230922015335H7r"} +17:37:43.262 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:打开灯,打开风扇2号。 +17:37:43.267 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.268 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.269 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=1, isDelete=0, createTime=Tue Sep 19 09:30:32 CST 2023, modifyTime=Tue Sep 19 09:30:32 CST 2023, userId=1, askKey=打开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:37:43.274 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.275 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:37:43.276 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.292 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.293 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:37:43.294 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:37:43.295 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.308 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),fs(String),0(Integer),1(Integer) +17:37:43.309 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:37:43.313 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),dj(String),0(Integer),1(Integer) +17:37:43.314 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 1 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.321 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.322 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),18(Long),0(Integer),1(Integer) +17:37:43.325 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 18 limit 0,1 +17:37:43.330 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.624 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.710 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:43.815 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:43.816 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:37:43.817 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:37:43.818 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:43.909 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:37:43.984 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:37:44.088 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.091 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.092 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.094 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),风扇2号已打开(String) +17:37:44.095 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '风扇2号已打开' ) +17:37:44.101 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:37:44.193 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:37:44.279 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:37:44.384 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:37:44.385 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.390 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),打开灯,打开风扇2号。(String),1(Integer),打开(String),灯已打开(String) +17:37:44.391 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '打开灯,打开风扇2号。' , 1 , '打开' , '灯已打开' ) +17:37:44.398 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:37:44.399 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:37:44.407 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:21.492 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关闭灯,关闭风扇2号。","sn":"QGBOX230922015335H7r"} +17:38:21.493 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关闭灯,关闭风扇2号。 +17:38:21.496 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.497 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.498 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=2, isDelete=0, createTime=Tue Sep 19 09:31:28 CST 2023, modifyTime=Tue Sep 19 09:31:28 CST 2023, userId=1, askKey=关闭, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:38:21.504 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.506 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String) +17:38:21.508 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.524 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%风扇2号%(String),0(Integer),2(Integer) +17:38:21.525 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%风扇2号%' limit 0,2 +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:38:21.526 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:38:21.539 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.540 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.543 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),fs(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'fs' limit 0,1 +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),2(Long),dj(String),0(Integer),1(Integer) +17:38:21.544 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 2 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.553 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.554 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.557 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),19(Long),0(Integer),1(Integer) +17:38:21.605 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 19 limit 0,1 +17:38:21.607 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:21.745 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:21.834 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:21.951 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:21.953 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:38:21.954 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:21.957 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:21.972 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.057 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/status +17:38:22.143 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/71605850c45bbe6584fb/commands +17:38:22.257 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.259 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.263 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:38:22.363 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:38:22.446 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:38:22.558 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:38:22.559 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),风扇2号已关闭(String) +17:38:22.560 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '风扇2号已关闭' ) +17:38:22.562 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.563 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:38:22.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关闭灯,关闭风扇2号。(String),1(Integer),关闭(String),灯已关闭(String) +17:38:22.565 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关闭灯,关闭风扇2号。' , 1 , '关闭' , '灯已关闭' ) +17:38:22.570 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:38:22.591 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:22.594 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:38:42.652 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:38:42.654 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:38:42.658 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:42.659 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:43.055 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922988 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:43.142 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695893922981 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.287 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放雇佣者。","sn":"QGBOX230922015335H7r"} +17:38:58.288 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放雇佣者。 +17:38:58.291 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.292 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:38:58.725 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938658 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:38:58.748 [reactor-http-nio-13] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=1938990752,1947794087,1921066409,1942878138,1901371647,1985221664,468513979,1945925077×tamp=1695893938671 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:48:02.395 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:48:02.397 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:48:02.402 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.403 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:02.998 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.005 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),播放音乐。(String),5(Integer),播放(String),现在为您播放音乐家来自Cai.(String) +17:48:03.034 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '播放音乐。' , 5 , '播放' , '现在为您播放音乐家来自Cai.' ) +17:48:03.037 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:48:03.715 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.736 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:48:03.910 [reactor-http-nio-13] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:49:07.553 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [e9c41889-11]- api start time:1695894547553 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"mRUvJmgT8ogVmJ5lTvW8iQ==", Sec-WebSocket-Version:"13", signature:"A15339991F27940CF206DADC8AD6E0F1", sn:"QGBOX230922015335H7r", time:"1695894547673", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:49:07.554 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:49:07.555 [reactor-http-nio-14] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [e9c41889-11]- api end time:1695894547555, total time:2 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:49:07.558 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:49:07.564 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:49:15.543 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"播放音乐。","sn":"QGBOX230922015335H7r"} +17:49:15.545 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:播放音乐。 +17:49:15.549 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:15.550 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=50, isDelete=0, createTime=Thu Sep 28 16:22:40 CST 2023, modifyTime=Thu Sep 28 16:22:40 CST 2023, userId=1, askKey=播放, answerValue=, answerValueFaild=未找到相应的资源, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=5) +17:49:16.025 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555953 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:49:16.036 [reactor-http-nio-14] ERROR r.c.p.Operators - [error,324] []- Operator called default onErrorDropped +reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 +Caused by: org.springframework.web.reactive.function.client.WebClientResponseException$NotFound: 404 Not Found from GET http://121.40.172.241:8031/song/url?id=2037728099,1920586336,2017985549,1464833040,1944371819,1905918971,26438333,1951801113,473986636,2005211278×tamp=1695894555902 + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: +Error has been observed at the following site(s): + *__checkpoint ⇢ 404 from GET http://121.40.172.241/song/url [DefaultWebClient] +Original Stack Trace: + at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:223) + at org.springframework.web.reactive.function.client.DefaultClientResponse.lambda$createException$1(DefaultClientResponse.java:207) + at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:106) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxOnErrorReturn$ReturnSubscriber.onNext(FluxOnErrorReturn.java:162) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxDefaultIfEmpty$DefaultIfEmptySubscriber.onNext(FluxDefaultIfEmpty.java:101) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.FluxFilterFuseable$FilterFuseableSubscriber.onNext(FluxFilterFuseable.java:118) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onNext(LogMdcConfiguration.java:66) + at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) + at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) + at reactor.core.publisher.MonoCollect$CollectSubscriber.onComplete(MonoCollect.java:160) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) + at com.qiuguo.iot.box.websocket.api.filter.LogMdcConfiguration$MdcContextSubscriber.onComplete(LogMdcConfiguration.java:47) + at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) + at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:413) + at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:424) + at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:478) + at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:712) + at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) + at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) + at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:750) +17:52:16.738 [reactor-http-nio-14] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r +17:52:17.449 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [filter,51] [73b2d57d-12]- api start time:1695894737448 ip:192.168.9.50 method:GET url:/websocket/box param:{} headers:[api-type:"Android", api-version:"1", Connection:"Upgrade", deviceType:"0", Host:"192.168.8.175:8080", osVersion:"215071e270a6b3106bd62db39150347d4", Sec-WebSocket-Key:"TTEFXzlxPxC0YA+j7dZgKg==", Sec-WebSocket-Version:"13", signature:"4BA89AF976D0F3C70996C1E5590A6CE1", sn:"QGBOX230922015335H7r", time:"1695894737575", token:"64991316", Upgrade:"websocket", userId:"6025"] +17:52:17.450 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [handle,78] []- 登录成功SN:QGBOX230922015335H7r +17:52:17.451 [reactor-http-nio-15] INFO c.q.i.b.w.a.f.LogWebFilter - [lambda$filter$1,75] [73b2d57d-12]- api end time:1695894737451, total time:3 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$checkToken$6,178] []- 设备QGBOX230922015335H7r,验签成功 +17:52:17.454 [lettuce-nioEventLoop-5-1] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [bindBox,190] []- 开始绑定设备userId:6025, SN:DeviceInfoEntity(id=4, isDelete=0, createTime=Fri Sep 22 09:53:37 CST 2023, modifyTime=Wed Sep 27 09:23:10 CST 2023, batchId=1, name=果box, sn=QGBOX230922015335H7r, key=VDNCQWXyGL, status=null, btMac=efdc26bb4a11918e, wifiMac=215071e270a6b3106bd62db39150347d4, firmwareVersion=null, deviceType=0, onLine=null, lastOnLineTime=null, protocolType=0, operatingModeId=0, otaType=0, otaStartTime=null, otaEndTime=null, factoryTime=Fri Sep 22 09:53:37 CST 2023, saleTime=null) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`device_id` = ? limit ?,? +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),4(Long),0(Integer),1(Integer) +17:52:17.459 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`device_id` = 4 limit 0,1 +17:53:43.089 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"开灯。","sn":"QGBOX230922015335H7r"} +17:53:43.091 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:开灯。 +17:53:43.095 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.096 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=36, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=开, answerValue=#name#已打开, answerValueFaild=打开#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.102 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:53:43.103 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:53:43.113 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.114 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:53:43.115 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:53:43.133 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.134 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),36(Long),dj(String),0(Integer),1(Integer) +17:53:43.135 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 36 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.154 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),1(Long),0(Integer),1(Integer) +17:53:43.155 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 1 limit 0,1 +17:53:43.160 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.465 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.635 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:43.751 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:43.753 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:53:43.864 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:53:43.960 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:53:44.072 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.076 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),开灯。(String),1(Integer),开(String),灯已打开(String) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '开灯。' , 1 , '开' , '灯已打开' ) +17:53:44.078 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.081 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:53:44.112 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:53:44.115 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:15.819 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,83] []- 设备端收到消息:{"message":"关灯。","sn":"QGBOX230922015335H7r"} +17:54:15.820 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$1,101] []- 收到SN:QGBOX230922015335H7r,消息:关灯。 +17:54:15.823 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.824 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [processAction,81] []- 匹配到自定义指令SystemTalkAnswerConfigEntity(id=37, isDelete=0, createTime=Tue Sep 26 13:58:29 CST 2023, modifyTime=Tue Sep 26 13:58:29 CST 2023, userId=1, askKey=关, answerValue=#name#已关闭, answerValueFaild=关闭#name#失败, answerAction=null, answerActionFaild=null, answerBackSound=null, answerBackImg=1, keyOrder=500, answerType=1) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.831 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String) +17:54:15.832 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select count(1) as `_total` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.847 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,39] []- ==> Preparing: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = ? and device_user_bind.`user_id` = ? and device_user_bind.`bind_name` like ? limit ?,? +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,41] []- ==> Parameters: 0(Integer),6025(Long),%灯%(String),0(Integer),2(Integer) +17:54:15.848 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserBindEntity - [printSql,43] []- ==> Native: select device_user_bind.`id` as `id` , device_user_bind.`is_delete` as `isDelete` , device_user_bind.`create_time` as `createTime` , device_user_bind.`modify_time` as `modifyTime` , device_user_bind.`user_id` as `userId` , device_user_bind.`device_id` as `deviceId` , device_user_bind.`other_device_id` as `otherDeviceId` , device_user_bind.`space_id` as `spaceId` , device_user_bind.`device_type` as `deviceType` , device_user_bind.`is_main` as `isMain` , device_user_bind.`bind_name` as `bindName` , device_user_bind.`country` as `country` , device_user_bind.`province` as `province` , device_user_bind.`city` as `city` , device_user_bind.`county` as `county` , device_user_bind.`village` as `village` , device_user_bind.`address` as `address` , device_user_bind.`category_code` as `categoryCode` from qiuguo_iot.device_user_bind device_user_bind where device_user_bind.`is_delete` = 0 and device_user_bind.`user_id` = 6025 and device_user_bind.`bind_name` like '%灯%' limit 0,2 +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.867 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,39] []- ==> Preparing: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = ? and system_talk_bind_device.`system_talk_id` = ? and system_talk_bind_device.`category_code` = ? limit ?,? +17:54:15.869 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),37(Long),dj(String),0(Integer),1(Integer) +17:54:15.870 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.s.SystemTalkBindDeviceEntity - [printSql,43] []- ==> Native: select system_talk_bind_device.`id` as `id` , system_talk_bind_device.`is_delete` as `isDelete` , system_talk_bind_device.`create_time` as `createTime` , system_talk_bind_device.`modify_time` as `modifyTime` , system_talk_bind_device.`system_talk_id` as `systemTalkId` , system_talk_bind_device.`user_handling_id` as `userHandlingId` , system_talk_bind_device.`category_code` as `categoryCode` , system_talk_bind_device.`ask_common` as `askCommon` , system_talk_bind_device.`answer_value` as `answerValue` , system_talk_bind_device.`answer_value_faild` as `answerValueFaild` , system_talk_bind_device.`answer_action` as `answerAction` , system_talk_bind_device.`answer_action_faild` as `answerActionFaild` , system_talk_bind_device.`answer_back_sound` as `answerBackSound` , system_talk_bind_device.`answer_back_img` as `answerBackImg` , system_talk_bind_device.`remark` as `remark` from qiuguo_iot.system_talk_bind_device system_talk_bind_device where system_talk_bind_device.`is_delete` = 0 and system_talk_bind_device.`system_talk_id` = 37 and system_talk_bind_device.`category_code` = 'dj' limit 0,1 +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.884 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.885 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,39] []- ==> Preparing: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = ? and user_handling_device.`id` = ? limit ?,? +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,41] []- ==> Parameters: 0(Integer),7(Long),0(Integer),1(Integer) +17:54:15.886 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.u.UserHandlingDeviceEntity - [printSql,43] []- ==> Native: select user_handling_device.`id` as `id` , user_handling_device.`code` as `code` , user_handling_device.`value` as `value` , user_handling_device.`type` as `type` , user_handling_device.`max` as `max` , user_handling_device.`min` as `min` , user_handling_device.`step` as `step` , user_handling_device.`matching_fields` as `matchingFields` , user_handling_device.`category_code` as `categoryCode` , user_handling_device.`category_name` as `categoryName` , user_handling_device.`is_delete` as `isDelete` , user_handling_device.`create_time` as `createTime` , user_handling_device.`modify_time` as `modifyTime` from qiuguo_iot.user_handling_device user_handling_device where user_handling_device.`is_delete` = 0 and user_handling_device.`id` = 7 limit 0,1 +17:54:15.893 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:15.967 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.037 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.131 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.133 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v2.0/cloud/thing/batch +17:54:16.218 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/status +17:54:16.296 [reactor-tcp-nio-2] INFO c.t.c.o.a.h.TuyaHeaderProcessor - [isWithToken,181] []- URL PATH: /v1.0/iot-03/devices/6c41ec425b5af5b81bxgas/commands +17:54:16.400 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$null$0,144] []- 执行指令 +17:54:16.403 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.404 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.406 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,39] []- ==> Preparing: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( ? , ? , ? , ? , ? , ? ) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,41] []- ==> Parameters: 6025(Long),4(Long),关灯。(String),1(Integer),关(String),灯已关闭(String) +17:54:16.407 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [printSql,43] []- ==> Native: insert into qiuguo_iot.device_user_talk_record ( `user_id` , `device_id` , `ask_value` , `ask_type` , `ask_key` , `answer_value` ) values ( 6025 , 4 , '关灯。' , 1 , '关' , '灯已关闭' ) +17:54:16.409 [reactor-tcp-nio-2] DEBUG c.q.i.d.e.d.DeviceUserTalkRecordEntity - [lambda$null$9,146] []- ==> Updated: 1 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +17:54:16.494 [reactor-tcp-nio-2] INFO c.q.i.b.w.a.h.BaseWebSocketProcess - [lambda$sendMessage$5,273] []- 推送通知到客户端 +18:05:36.654 [reactor-http-nio-15] INFO c.q.i.b.w.a.h.BoxWebSocketHandler - [lambda$handle$3,120] []- 设备断开连接SN:QGBOX230922015335H7r