public void systemSetParams(JSONObject requestJSON, String userAgent, int timeOut, String userID) throws Exception{ //创建Socket短连接 SocketTCPConnection conn = new SocketTCPConnection(); try{ conn.setRequestServer(mIPAddress, SmartMonitor.PORT_TCP_SHORT_CONNECTION); conn.setRequestURL("/smon/system/setparams"); conn.setRequestMethod("POST"); conn.setRequestProperty("User-Agent", userAgent); conn.setRequestProperty("Content-Type", "application/json"); conn.setRequestProperty("User-ID", userID); conn.setRequestContent(requestJSON.toString().getBytes(StandardCharsets.UTF_8)); conn.setConnectTimeout(SOCKET_TIME_OUT_CONNECT); conn.setReadTimeout(timeOut); conn.connect(); conn.send(); conn.receive(); JSONObject recvJSON = conn.getResponseContentParseJSONObject(); //判断请求是否成功 if(recvJSON.getInt("code") != 0 || !"OK".equals(recvJSON.getString("msg"))){ throw new IOException("服务器处理失败!"); } }catch (Exception e){ throw e; }finally { conn.disconnect(); } } String userAgent = getUniqueRequestUserAgent(); for(int i=0; i: ++++++++++ 不检测此模 unit_index 0 I15934 20240909-17:32:51.346 622 flowunit_standard_detect.cpp:324] : FlowPart_Cond_Nocheck √ I15935 20240909-17:32:51.348 622 rpcdistributed_core.cpp:15] I15936 20240909-17:32:51.349 622 rpcdistributed_core.cpp:16] <<<<<<<<<< create RpcDistributed_Core 281 I15937 20240909-17:32:51.350 622 rpcdistributed_core.cpp:98] (step 1) onMainWorking "RpcWork_NoCheck" I15938 20240909-17:32:51.352 622 rpcdistributed_core.cpp:173] (flush collectlist): ---Main--- "d/r:(0,true)" I15939 20240909-17:32:51.352 631 rpcdistributed_net.cpp:476] [TM_CAMS][SpreadMessage] ("BSY2312030184", "BSY2312040084", "BSY2312040234") "/smon/action/noactionmold(rpc)" I15940 20240909-17:32:51.352 622 rpcdistributed_core.cpp:219] (loopcheck perfect 1 / 4 ): no completion I15941 20240909-17:32:51.367 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040084" "/smon/action/noactionmold(rpc_back)" I15942 20240909-17:32:51.367 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 2 "d/r:(0,true)" I15943 20240909-17:32:51.367 631 rpcdistributed_core.cpp:219] (loopcheck perfect 2 / 4 ): no completion I15944 20240909-17:32:51.370 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040234" "/smon/action/noactionmold(rpc_back)" I15945 20240909-17:32:51.370 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 1 "d/r:(0,true)" I15946 20240909-17:32:51.371 631 rpcdistributed_core.cpp:219] (loopcheck perfect 3 / 4 ): no completion I15947 20240909-17:32:51.372 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040084" "/smon/action/noactionmold(rpc_back)" I15948 20240909-17:32:51.372 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 2 "d/r:(0,true)" I15949 20240909-17:32:51.373 631 rpcdistributed_core.cpp:219] (loopcheck perfect 3 / 4 ): no completion I15950 20240909-17:32:52.260 666 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.11/562.94 MB; Thread-MICSH: [1,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.102, 1] [192.168.1.106, 1] I15951 20240909-17:32:54.395 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15952 20240909-17:32:55.410 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15953 20240909-17:32:56.427 659 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15954 20240909-17:33:01.269 622 rpcdistributed_core.cpp:138] (step 4) finish_main_workevent "RpcWork_NoCheck" I15955 20240909-17:33:01.269 622 smartcamera_manager.cpp:305] ---warning--- (workevent sync error) -1: not found!! I15956 20240909-17:33:01.269 622 mojuwizard.cpp:837] ---warning--- do handlingOfExceptionalEvent I15957 20240909-17:33:01.271 630 udp_scam_io.cpp:340] [IO_OUTPUT] "00000000" -> "00100000" I15958 20240909-17:33:01.274 622 stage_define.cpp:27] ************************************************** I15959 20240909-17:33:01.275 622 stage_define.cpp:28] * work_state: -1 , sync_alltime(ms): 9921 I15960 20240909-17:33:01.275 622 stage_define.cpp:31] * name result sync(ms) calc(ms) I15961 20240909-17:33:01.276 622 stage_define.cpp:51] * main ok 2 0 I15962 20240909-17:33:01.276 622 stage_define.cpp:51] * sub_2 ok 22 0 I15963 20240909-17:33:01.276 622 stage_define.cpp:51] * sub_1 ok 21 0 I15964 20240909-17:33:01.276 630 udp_scam_io.cpp:400] [UDP_SND] "(0.0.0.0/57141 -> 192.168.1.100/10411):" "" I15965 20240909-17:33:01.276 622 stage_define.cpp:56] ************************************************** I15966 20240909-17:33:01.277 622 rpcdistributed_core.cpp:35] >>>>>>>>>> delete RpcDistributed_Core 281 I15967 20240909-17:33:01.277 622 rpcdistributed_core.cpp:36] I15988 20240909-17:34:45.384 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/action/forcerestore" usetime_ms: 0 packs: 1 I15989 20240909-17:34:45.385 622 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 0 I15990 20240909-17:34:45.386 622 flowunit_standard_detect.cpp:341] : FlowPart_Cond Checked × I15991 20240909-17:34:45.386 622 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 1 I15992 20240909-17:34:45.386 622 flowunit_standard_detect.cpp:341] : FlowPart_Cond Checked × I15993 20240909-17:34:48.613 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15994 20240909-17:34:51.404 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/action/noactionmold" usetime_ms: 0 packs: 1 I15995 20240909-17:34:51.405 622 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 0 I15996 20240909-17:34:51.405 622 flowunit_standard_detect.cpp:324] : FlowPart_Cond_Nocheck √ I15997 20240909-17:34:51.407 622 rpcdistributed_core.cpp:15] I15998 20240909-17:34:51.407 622 rpcdistributed_core.cpp:16] <<<<<<<<<< create RpcDistributed_Core 282 I15999 20240909-17:34:51.408 622 rpcdistributed_core.cpp:98] (step 1) onMainWorking "RpcWork_NoCheck" I16000 20240909-17:34:51.408 622 rpcdistributed_core.cpp:173] (flush collectlist): ---Main--- "d/r:(0,true)" I16001 20240909-17:34:51.408 622 rpcdistributed_core.cpp:219] (loopcheck perfect 1 / 4 ): no completion I16002 20240909-17:34:51.409 631 rpcdistributed_net.cpp:476] [TM_CAMS][SpreadMessage] ("BSY2312030184", "BSY2312040084", "BSY2312040234") "/smon/action/noactionmold(rpc)" I16003 20240909-17:34:51.417 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040084" "/smon/action/noactionmold(rpc_back)" I16004 20240909-17:34:51.418 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 2 "d/r:(0,true)" I16005 20240909-17:34:51.418 631 rpcdistributed_core.cpp:219] (loopcheck perfect 2 / 4 ): no completion I16006 20240909-17:34:51.423 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040084" "/smon/action/noactionmold(rpc_back)" I16007 20240909-17:34:51.424 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 2 "d/r:(0,true)" I16008 20240909-17:34:51.424 631 rpcdistributed_core.cpp:219] (loopcheck perfect 2 / 4 ): no completion I16009 20240909-17:34:51.424 631 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2312040234" "/smon/action/noactionmold(rpc_back)" I16010 20240909-17:34:51.424 631 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 1 "d/r:(0,true)" I16011 20240909-17:34:51.424 631 rpcdistributed_core.cpp:219] (loopcheck perfect 3 / 4 ): no completion I16012 20240909-17:34:52.260 666 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.13/562.94 MB; Thread-MICSH: [1,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.102, 1] [192.168.1.106, 1] I16013 20240909-17:34:54.440 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I16014 20240909-17:34:55.450 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I16015 20240909-17:34:56.459 661 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I16016 20240909-17:35:01.266 622 rpcdistributed_core.cpp:138] (step 4) finish_main_workevent "RpcWork_NoCheck" I16017 20240909-17:35:01.266 622 smartcamera_manager.cpp:305] ---warning--- (workevent sync error) -1: not found!! I16018 20240909-17:35:01.267 622 mojuwizard.cpp:837] ---warning--- do handlingOfExceptionalEvent I16019 20240909-17:35:01.269 630 udp_scam_io.cpp:340] [IO_OUTPUT] "00100000" -> "00100000" I16020 20240909-17:35:01.274 630 udp_scam_io.cpp:400] [UDP_SND] "(0.0.0.0/39010 -> 192.168.1.100/10411):" "" I16021 20240909-17:35:01.274 622 stage_define.cpp:27] ************************************************** I16022 20240909-17:35:01.274 622 stage_define.cpp:28] * work_state: -1 , sync_alltime(ms): 9860 I16023 20240909-17:35:01.274 622 stage_define.cpp:31] * name result sync(ms) calc(ms) I16024 20240909-17:35:01.275 622 stage_define.cpp:51] * main ok 1 0 I16025 20240909-17:35:01.275 622 stage_define.cpp:51] * sub_2 ok 17 0 I16026 20240909-17:35:01.275 622 stage_define.cpp:51] * sub_1 ok 17 0 I16027 20240909-17:35:01.276 622 stage_define.cpp:56] ************************************************** I16028 20240909-17:35:01.276 622 rpcdistributed_core.cpp:35] >>>>>>>>>> delete RpcDistributed_Core 282 I16029 20240909-17:35:01.276 622 rpcdistributed_core.cpp:36] I16030 20240909-17:35:01.283 630 udp_scam_io.cpp:111] [UDP_RCV] "(0.0.0.0/10412 <- 192.168.1.100/10411):" "" I16031 20240909-17:35:01.288 622 smartcamera_manager.cpp:416] [POST_2_APP] ++++++++++++++++++++++++ cls async_back2longtcp_runresult. I16032 20240909-17:35:01.289 630 udp_scam_io.cpp:340] [IO_OUTPUT] "00100000" -> "00100000" I16033 20240909-17:35:01.289 622 smartcamera_manager.cpp:448] [POST_2_APP - 1] ++++++++++++++++++++++++ runresult_info presend I16034 20240909-17:35:01.289 622 smartcamera_manager.cpp:470] [POST_2_APP - 2] ++++++++++++++++++++++++ runresult_mask presend I16035 20240909-17:35:01.294 630 udp_scam_io.cpp:400] [UDP_SND] "(0.0.0.0/39413 -> 192.168.1.100/10411):" "" I16036 20240909-17:35:01.300 632 publish_manager.cpp:576] [POST_2_APP] - "/smon/initiative/runresult_info" : all-time(ms): 10 app-recv(ms): 1 app-parse(ms): 0 I16037 20240909-17:35:01.303 630 udp_scam_io.cpp:111] [UDP_RCV] "(0.0.0.0/10412 <- 192.168.1.100/10411):" "" I16038 20240909-17:35:01.676 632 publish_manager.cpp:576] [POST_2_APP] - "/smon/initiative/runresult_mask" : all-time(ms): 381 app-recv(ms): 241 app-parse(ms): 132 I16039 20240909-17:35:02.261 666 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.16/562.94 MB; Thread-MICSH: [1,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.102, 1] [192.168.1.106, 1] I15432 20240909-17:38:57.036 660 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/action/forcerestore" usetime_ms: 0 packs: 1 I15433 20240909-17:38:57.037 623 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 0 I15434 20240909-17:38:57.038 623 flowunit_standard_detect.cpp:341] : FlowPart_Cond Checked × I15435 20240909-17:38:57.039 623 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 1 I15436 20240909-17:38:57.039 623 flowunit_standard_detect.cpp:341] : FlowPart_Cond Checked × I15437 20240909-17:38:59.964 667 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.73/561.46 MB; Thread-MICSH: [1,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.103, 1] I15438 20240909-17:39:00.296 662 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15439 20240909-17:39:05.061 660 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/action/noactionmold" usetime_ms: 1 packs: 1 I15440 20240909-17:39:05.062 623 flowgroup_standard.cpp:65] : ++++++++++ 不检测此模 unit_index 0 I15441 20240909-17:39:05.062 623 flowunit_standard_detect.cpp:324] : FlowPart_Cond_Nocheck √ I15442 20240909-17:39:05.064 623 rpcdistributed_core.cpp:15] I15443 20240909-17:39:05.064 623 rpcdistributed_core.cpp:16] <<<<<<<<<< create RpcDistributed_Core 283 I15444 20240909-17:39:05.065 623 rpcdistributed_core.cpp:98] (step 1) onMainWorking "RpcWork_NoCheck" I15445 20240909-17:39:05.066 623 rpcdistributed_core.cpp:173] (flush collectlist): ---Main--- "d/r:(0,true)" I15446 20240909-17:39:05.066 623 rpcdistributed_core.cpp:219] (loopcheck perfect 1 / 3 ): no completion I15447 20240909-17:39:05.066 632 rpcdistributed_net.cpp:476] [TM_CAMS][SpreadMessage] ("BSY2406290285", "BSY2406290421") "/smon/action/noactionmold(rpc)" I15448 20240909-17:39:05.081 632 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2406290421" "/smon/action/noactionmold(rpc_back)" I15449 20240909-17:39:05.081 632 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 1 "d/r:(0,true)" I15450 20240909-17:39:05.081 632 rpcdistributed_core.cpp:219] (loopcheck perfect 2 / 3 ): no completion I15451 20240909-17:39:05.087 632 rpcdistributed_core.cpp:276] [TM_CAMS][recv_c2C] "BSY2406290421" "/smon/action/noactionmold(rpc_back)" I15452 20240909-17:39:05.087 632 rpcdistributed_core.cpp:175] (flush collectlist): ---Sub--- 1 "d/r:(0,true)" I15453 20240909-17:39:05.088 632 rpcdistributed_core.cpp:219] (loopcheck perfect 2 / 3 ): no completion I15454 20240909-17:39:08.088 660 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15455 20240909-17:39:09.096 660 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15456 20240909-17:39:09.962 667 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.73/561.46 MB; Thread-MICSH: [0,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.103, 1] I15457 20240909-17:39:10.106 660 httpmanager.cpp:129] [Short_RCV] ********************************* "/smon/context/runresult_info" usetime_ms: 0 packs: 1 I15458 20240909-17:39:14.971 623 rpcdistributed_core.cpp:138] (step 4) finish_main_workevent "RpcWork_NoCheck" I15459 20240909-17:39:14.972 623 smartcamera_manager.cpp:305] ---warning--- (workevent sync error) -1: not found!! I15460 20240909-17:39:14.972 623 mojuwizard.cpp:837] ---warning--- do handlingOfExceptionalEvent I15461 20240909-17:39:14.975 631 udp_scam_io.cpp:340] [IO_OUTPUT] "00100000" -> "00100000" I15462 20240909-17:39:14.984 631 udp_scam_io.cpp:400] [UDP_SND] "(0.0.0.0/47160 -> 192.168.1.100/10411):" "" I15463 20240909-17:39:14.985 623 stage_define.cpp:27] ************************************************** I15464 20240909-17:39:14.985 623 stage_define.cpp:28] * work_state: -1 , sync_alltime(ms): 9908 I15465 20240909-17:39:14.985 623 stage_define.cpp:31] * name result sync(ms) calc(ms) I15466 20240909-17:39:14.986 623 stage_define.cpp:51] * main ok 1 0 I15467 20240909-17:39:14.986 623 stage_define.cpp:51] * sub_1 ok 23 0 I15468 20240909-17:39:14.986 623 stage_define.cpp:56] ************************************************** I15469 20240909-17:39:14.986 623 rpcdistributed_core.cpp:35] >>>>>>>>>> delete RpcDistributed_Core 283 I15470 20240909-17:39:14.986 623 rpcdistributed_core.cpp:36] I15471 20240909-17:39:14.993 631 udp_scam_io.cpp:111] [UDP_RCV] "(0.0.0.0/10412 <- 192.168.1.100/10411):" "" I15472 20240909-17:39:14.998 623 smartcamera_manager.cpp:416] [POST_2_APP] ++++++++++++++++++++++++ cls async_back2longtcp_runresult. I15473 20240909-17:39:14.999 631 udp_scam_io.cpp:340] [IO_OUTPUT] "00100000" -> "00100000" I15474 20240909-17:39:15.000 623 smartcamera_manager.cpp:448] [POST_2_APP - 1] ++++++++++++++++++++++++ runresult_info presend I15475 20240909-17:39:15.000 623 smartcamera_manager.cpp:470] [POST_2_APP - 2] ++++++++++++++++++++++++ runresult_mask presend I15476 20240909-17:39:15.003 631 udp_scam_io.cpp:400] [UDP_SND] "(0.0.0.0/48127 -> 192.168.1.100/10411):" "" I15477 20240909-17:39:15.010 633 publish_manager.cpp:576] [POST_2_APP] - "/smon/initiative/runresult_info" : all-time(ms): 11 app-recv(ms): 2 app-parse(ms): 1 I15478 20240909-17:39:15.012 631 udp_scam_io.cpp:111] [UDP_RCV] "(0.0.0.0/10412 <- 192.168.1.100/10411):" "" I15479 20240909-17:39:15.325 633 publish_manager.cpp:576] [POST_2_APP] - "/smon/initiative/runresult_mask" : all-time(ms): 321 app-recv(ms): 213 app-parse(ms): 99 I15480 20240909-17:39:19.962 667 smartcamera_manager.cpp:124] --- Reports --- UsedMem: 107.75/561.46 MB; Thread-MICSH: [1,1,1,1,1]; Cnted-IC: [1,1]; Apps: [192.168.1.103, 1]