Commit 0d72f97b5c471c97ad3d7104699bb90ea21ac453
1 parent
2f519872
Exists in
master
修改提交
Showing
174 changed files
with
756 additions
and
7570 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 174 files displayed.
... | ... | @@ -0,0 +1,10 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<project version="4"> | |
3 | + <component name="RunConfigurationProducerService"> | |
4 | + <option name="ignoredProducers"> | |
5 | + <set> | |
6 | + <option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" /> | |
7 | + </set> | |
8 | + </option> | |
9 | + </component> | |
10 | +</project> | |
0 | 11 | \ No newline at end of file | ... | ... |
cloud/dahua/log/2019-11-07/下发指令.txt
cloud/dahua/log/2019-11-15/下发指令.txt
cloud/dahua/sdklog/2021-01-14_17-27-37.log
... | ... | @@ -1,64 +0,0 @@ |
1 | -Begin Time:2021-01-14 17:27:37.827 | |
2 | -[2021-01-14 17:27:37.827][P:26536/T:31436][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-14 17:27:37.845][P:26536/T:31436][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002DE90000 | |
4 | - | |
5 | -[2021-01-14 17:27:37.845][P:26536/T:31436][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-14 17:27:37.853][P:26536/T:31436][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001E090050, dwUser=0000000000000000]. | |
7 | -[2021-01-14 17:27:37.853][P:26536/T:31436][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-14 17:27:37.853][P:26536/T:31436][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-14 17:27:37.853][P:26536/T:31436][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-14 17:27:37.854][P:26536/T:31436][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-14 17:27:37.854][P:26536/T:31436][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-14 17:27:37.862][P:26536/T:31436][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001E090090, dwUserData=0000000000000000.] | |
13 | -[2021-01-14 17:27:37.864][P:26536/T:31436][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=593722880.] | |
14 | -[2021-01-14 17:27:38.653][P:26536/T:38860][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-14 17:27:38.653][P:26536/T:38860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:54528 | |
16 | -[2021-01-14 17:27:38.847][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-14 17:27:38.847][P:26536/T:29612][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54528, connectID is 0, chn is 0, registed | |
18 | -[2021-01-14 17:28:08.877][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
19 | -[2021-01-14 17:28:08.877][P:26536/T:29612][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54528, connectID is 0, chn is 0, registed | |
20 | -[2021-01-14 17:28:33.435][P:26536/T:38832][TPIOCPMultiplexer.cpp:155][Error][90002007] iocp disconnected by remote host or something:GetLastError:997, connId:1 | |
21 | -[2021-01-14 17:28:33.435][P:26536/T:38832][TPTCPClient.cpp:170][Info][90010007] Disconnect, ip:172.16.2.94, port is 54528 | |
22 | -[2021-01-14 17:28:33.435][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
23 | -[2021-01-14 17:28:33.435][P:26536/T:38832][TcpSocket.cpp:535][Error][90010007] Disconnect, ip:172.16.2.94, port:54528 | |
24 | -[2021-01-14 17:28:33.459][P:26536/T:38860][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
25 | -[2021-01-14 17:28:33.459][P:26536/T:38860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:54530 | |
26 | -[2021-01-14 17:28:33.665][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
27 | -[2021-01-14 17:28:48.799][P:26536/T:28972][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=54528, SpeCap=2, lpDeviceInfo=00000000313A71A0.] | |
28 | -[2021-01-14 17:28:48.799][P:26536/T:28972][Manager.cpp:7946][Error][80000053] Cannot Find Socket from Serinal | |
29 | -[2021-01-14 17:28:48.799][P:26536/T:28972][Manager.cpp:7549][Error][90010002] device is NULL | |
30 | -[2021-01-14 17:28:48.799][P:26536/T:28972][Manager.cpp:7646][Error][90010002] Login device failed, errorcode:0! | |
31 | -[2021-01-14 17:28:48.799][P:26536/T:28972][dhnetsdk.cpp:609][Error][90010002] Login failed, ip:172.16.2.94, port:54528, specCap:2! | |
32 | -[2021-01-14 17:28:48.799][P:26536/T:28972][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=0.] | |
33 | -[2021-01-14 17:28:48.800][P:26536/T:28972][dhnetsdk.cpp:6505][Info][0] Enter CLIENT_GetLastError. | |
34 | -[2021-01-14 17:28:48.800][P:26536/T:28972][dhnetsdk.cpp:6508][Info][0] Leave CLIENT_GetLastError.[Error code=8000006c.] | |
35 | -[2021-01-14 17:28:48.800][P:26536/T:28972][dhnetsdk.cpp:6505][Info][0] Enter CLIENT_GetLastError. | |
36 | -[2021-01-14 17:28:48.800][P:26536/T:28972][dhnetsdk.cpp:6508][Info][0] Leave CLIENT_GetLastError.[Error code=8000006c.] | |
37 | -[2021-01-14 17:28:48.860][P:26536/T:29612][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54530, connectID is 0, chn is 0, registed | |
38 | -[2021-01-14 17:29:03.708][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
39 | -[2021-01-14 17:29:03.709][P:26536/T:29612][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54530, connectID is 0, chn is 0, registed | |
40 | -[2021-01-14 17:29:19.055][P:26536/T:28972][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=54528, SpeCap=2, lpDeviceInfo=00000000313A6640.] | |
41 | -[2021-01-14 17:29:19.055][P:26536/T:28972][Manager.cpp:7946][Error][80000053] Cannot Find Socket from Serinal | |
42 | -[2021-01-14 17:29:19.056][P:26536/T:28972][Manager.cpp:7549][Error][90010002] device is NULL | |
43 | -[2021-01-14 17:29:19.056][P:26536/T:28972][Manager.cpp:7646][Error][90010002] Login device failed, errorcode:0! | |
44 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:609][Error][90010002] Login failed, ip:172.16.2.94, port:54528, specCap:2! | |
45 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=0.] | |
46 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:6505][Info][0] Enter CLIENT_GetLastError. | |
47 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:6508][Info][0] Leave CLIENT_GetLastError.[Error code=8000006c.] | |
48 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:6505][Info][0] Enter CLIENT_GetLastError. | |
49 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:6508][Info][0] Leave CLIENT_GetLastError.[Error code=8000006c.] | |
50 | -[2021-01-14 17:29:19.056][P:26536/T:28972][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=54530, SpeCap=2, lpDeviceInfo=00000000313A6790.] | |
51 | -[2021-01-14 17:29:19.059][P:26536/T:28972][dhdevprob.cpp:2735][Info][0] try_connect_autoregdev: Login to Device is 00000000236B41F0 ip is 172.16.2.94, port is 54530 | |
52 | -[2021-01-14 17:29:19.267][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
53 | -[2021-01-14 17:29:19.331][P:26536/T:28972][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=594231792.] | |
54 | -[2021-01-14 17:29:29.879][P:26536/T:28972][dhnetsdk.cpp:8628][Info][0] Enter CLIENT_RealLoadPictureEx. [lLoginID=594231792, nChannelID=0, dwAlarmType=1, bNeedPicFile=1, cbAnalyzerData=000000001E0900D0, dwUser=0000000000C944D0, Reserved=0000000000000000.] | |
55 | -[2021-01-14 17:29:29.883][P:26536/T:28972][Utils.cpp:4792][Info][0] mutil NIC client | |
56 | -[2021-01-14 17:29:29.916][P:26536/T:28972][dvrdevice.cpp:6655][Info][0] CDvrDevice::FindSubSocket WaitForSingleObjectEx device is 00000000236B41F0, connetID 6 | |
57 | -[2021-01-14 17:29:29.949][P:26536/T:38860][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
58 | -[2021-01-14 17:29:29.950][P:26536/T:38860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:54532 | |
59 | -[2021-01-14 17:29:29.950][P:26536/T:38832][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
60 | -[2021-01-14 17:29:29.950][P:26536/T:29612][Manager.cpp:1236][Info][0] Device[00000000236B41F0] get pRegSubSocket 00000000236CAA60 up, nConnectID 6 Chn:1 | |
61 | -[2021-01-14 17:29:29.950][P:26536/T:29612][dvrdevice.cpp:6404][Info][0] CDvrDevice::dit_add_reg_sub_connect, device is 00000000236B41F0, subsocket ID is 6 | |
62 | -[2021-01-14 17:29:29.950][P:26536/T:29612][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54532, connectID is 6, chn is 1, registed | |
63 | -[2021-01-14 17:29:29.950][P:26536/T:28972][dvrdevice.cpp:6694][Info][0] CDvrDevice::FindSubSocket device 00000000236B41F0 find socket connectID is 6 | |
64 | -[2021-01-14 17:29:29.993][P:26536/T:28972][dhnetsdk.cpp:8647][Info][0] Leave CLIENT_RealLoadPictureEx. [ret=594322528.] |
cloud/dahua/sdklog/2021-01-14_18-09-48.log
... | ... | @@ -1,32 +0,0 @@ |
1 | -Begin Time:2021-01-14 18:09:48.877 | |
2 | -[2021-01-14 18:09:48.877][P:37036/T:20888][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-14 18:09:48.901][P:37036/T:20888][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000313B0000 | |
4 | - | |
5 | -[2021-01-14 18:09:48.901][P:37036/T:20888][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-14 18:09:48.906][P:37036/T:20888][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003550050, dwUser=0000000000000000]. | |
7 | -[2021-01-14 18:09:48.906][P:37036/T:20888][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-14 18:09:48.907][P:37036/T:20888][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-14 18:09:48.907][P:37036/T:20888][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-14 18:09:48.913][P:37036/T:20888][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-14 18:09:48.913][P:37036/T:20888][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-14 18:09:48.924][P:37036/T:20888][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=0000000003550090, dwUserData=0000000000000000.] | |
13 | -[2021-01-14 18:09:48.925][P:37036/T:20888][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=506532192.] | |
14 | -[2021-01-14 18:09:52.573][P:37036/T:37184][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-14 18:09:52.573][P:37036/T:37184][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:54656 | |
16 | -[2021-01-14 18:09:52.769][P:37036/T:36116][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-14 18:09:52.770][P:37036/T:34116][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54656, connectID is 0, chn is 0, registed | |
18 | -[2021-01-14 18:10:03.088][P:37036/T:36496][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=54656, SpeCap=2, lpDeviceInfo=00000000010402D0.] | |
19 | -[2021-01-14 18:10:03.088][P:37036/T:36496][dhdevprob.cpp:2735][Info][0] try_connect_autoregdev: Login to Device is 000000001E390FB0 ip is 172.16.2.94, port is 54656 | |
20 | -[2021-01-14 18:10:03.297][P:37036/T:36116][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
21 | -[2021-01-14 18:10:03.342][P:37036/T:36496][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=507056048.] | |
22 | -[2021-01-14 18:10:03.344][P:37036/T:36496][dhnetsdk.cpp:8628][Info][0] Enter CLIENT_RealLoadPictureEx. [lLoginID=507056048, nChannelID=0, dwAlarmType=1, bNeedPicFile=1, cbAnalyzerData=00000000035500D0, dwUser=00000000010CAAD0, Reserved=0000000000000000.] | |
23 | -[2021-01-14 18:10:03.345][P:37036/T:36496][Utils.cpp:4792][Info][0] mutil NIC client | |
24 | -[2021-01-14 18:10:03.367][P:37036/T:36496][dvrdevice.cpp:6655][Info][0] CDvrDevice::FindSubSocket WaitForSingleObjectEx device is 000000001E390FB0, connetID 7 | |
25 | -[2021-01-14 18:10:03.492][P:37036/T:37184][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
26 | -[2021-01-14 18:10:03.492][P:37036/T:37184][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:54658 | |
27 | -[2021-01-14 18:10:03.493][P:37036/T:36116][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
28 | -[2021-01-14 18:10:03.493][P:37036/T:34116][Manager.cpp:1236][Info][0] Device[000000001E390FB0] get pRegSubSocket 000000001E3A7150 up, nConnectID 7 Chn:1 | |
29 | -[2021-01-14 18:10:03.493][P:37036/T:34116][dvrdevice.cpp:6404][Info][0] CDvrDevice::dit_add_reg_sub_connect, device is 000000001E390FB0, subsocket ID is 7 | |
30 | -[2021-01-14 18:10:03.493][P:37036/T:34116][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 54658, connectID is 7, chn is 1, registed | |
31 | -[2021-01-14 18:10:03.493][P:37036/T:36496][dvrdevice.cpp:6694][Info][0] CDvrDevice::FindSubSocket device 000000001E390FB0 find socket connectID is 7 | |
32 | -[2021-01-14 18:10:03.540][P:37036/T:36496][dhnetsdk.cpp:8647][Info][0] Leave CLIENT_RealLoadPictureEx. [ret=507145040.] |
cloud/dahua/sdklog/2021-01-15_08-17-32.log
... | ... | @@ -1,32 +0,0 @@ |
1 | -Begin Time:2021-01-15 08:17:32.762 | |
2 | -[2021-01-15 08:17:32.762][P:39988/T:41280][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 08:17:32.883][P:39988/T:41280][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000295F0000 | |
4 | - | |
5 | -[2021-01-15 08:17:32.883][P:39988/T:41280][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 08:17:32.903][P:39988/T:41280][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003440050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 08:17:32.903][P:39988/T:41280][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 08:17:32.903][P:39988/T:41280][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 08:17:32.904][P:39988/T:41280][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 08:17:32.905][P:39988/T:41280][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 08:17:32.905][P:39988/T:41280][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 08:17:32.920][P:39988/T:41280][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=0000000003440090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 08:17:32.923][P:39988/T:41280][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=511639808.] | |
14 | -[2021-01-15 08:17:38.518][P:39988/T:39708][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 08:17:38.519][P:39988/T:39708][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:36388 | |
16 | -[2021-01-15 08:17:38.716][P:39988/T:41188][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 08:17:38.716][P:39988/T:41052][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 36388, connectID is 0, chn is 0, registed | |
18 | -[2021-01-15 08:17:46.165][P:39988/T:32132][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=36388, SpeCap=2, lpDeviceInfo=000000000103F0C0.] | |
19 | -[2021-01-15 08:17:46.166][P:39988/T:32132][dhdevprob.cpp:2735][Info][0] try_connect_autoregdev: Login to Device is 000000001E8744D0 ip is 172.16.2.94, port is 36388 | |
20 | -[2021-01-15 08:17:46.357][P:39988/T:41188][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
21 | -[2021-01-15 08:17:46.427][P:39988/T:32132][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=512181456.] | |
22 | -[2021-01-15 08:17:46.430][P:39988/T:32132][dhnetsdk.cpp:8628][Info][0] Enter CLIENT_RealLoadPictureEx. [lLoginID=512181456, nChannelID=0, dwAlarmType=1, bNeedPicFile=1, cbAnalyzerData=00000000034400D0, dwUser=00000000010F5080, Reserved=0000000000000000.] | |
23 | -[2021-01-15 08:17:46.433][P:39988/T:32132][Utils.cpp:4792][Info][0] mutil NIC client | |
24 | -[2021-01-15 08:17:46.466][P:39988/T:32132][dvrdevice.cpp:6655][Info][0] CDvrDevice::FindSubSocket WaitForSingleObjectEx device is 000000001E8744D0, connetID 8 | |
25 | -[2021-01-15 08:17:46.498][P:39988/T:39708][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
26 | -[2021-01-15 08:17:46.498][P:39988/T:39708][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:36390 | |
27 | -[2021-01-15 08:17:46.499][P:39988/T:41188][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
28 | -[2021-01-15 08:17:46.499][P:39988/T:41052][Manager.cpp:1236][Info][0] Device[000000001E8744D0] get pRegSubSocket 000000001E878C10 up, nConnectID 8 Chn:1 | |
29 | -[2021-01-15 08:17:46.499][P:39988/T:41052][dvrdevice.cpp:6404][Info][0] CDvrDevice::dit_add_reg_sub_connect, device is 000000001E8744D0, subsocket ID is 8 | |
30 | -[2021-01-15 08:17:46.499][P:39988/T:32132][dvrdevice.cpp:6694][Info][0] CDvrDevice::FindSubSocket device 000000001E8744D0 find socket connectID is 8 | |
31 | -[2021-01-15 08:17:46.499][P:39988/T:41052][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 36390, connectID is 8, chn is 1, registed | |
32 | -[2021-01-15 08:17:46.566][P:39988/T:32132][dhnetsdk.cpp:8647][Info][0] Leave CLIENT_RealLoadPictureEx. [ret=512198160.] |
cloud/dahua/sdklog/2021-01-15_08-19-10.log
... | ... | @@ -1,32 +0,0 @@ |
1 | -Begin Time:2021-01-15 08:19:10.445 | |
2 | -[2021-01-15 08:19:10.445][P:38456/T:38876][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 08:19:10.668][P:38456/T:38876][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002CA00000 | |
4 | - | |
5 | -[2021-01-15 08:19:10.668][P:38456/T:38876][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 08:19:10.741][P:38456/T:38876][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CC10050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 08:19:10.741][P:38456/T:38876][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 08:19:10.748][P:38456/T:38876][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 08:19:10.748][P:38456/T:38876][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 08:19:10.804][P:38456/T:38876][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 08:19:10.804][P:38456/T:38876][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 08:19:10.928][P:38456/T:38876][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CC10090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 08:19:10.931][P:38456/T:38876][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502300160.] | |
14 | -[2021-01-15 08:19:12.316][P:38456/T:15292][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 08:19:12.316][P:38456/T:15292][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:36398 | |
16 | -[2021-01-15 08:19:12.509][P:38456/T:33168][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 08:19:12.509][P:38456/T:22436][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 36398, connectID is 0, chn is 0, registed | |
18 | -[2021-01-15 08:19:40.650][P:38456/T:37484][dhnetsdk.cpp:582][Info][0] Enter CLIENT_LoginEx2. [IP=172.16.2.94, port=36398, SpeCap=2, lpDeviceInfo=0000000000EBF690.] | |
19 | -[2021-01-15 08:19:40.651][P:38456/T:37484][dhdevprob.cpp:2735][Info][0] try_connect_autoregdev: Login to Device is 000000001DF841F0 ip is 172.16.2.94, port is 36398 | |
20 | -[2021-01-15 08:19:40.889][P:38456/T:33168][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
21 | -[2021-01-15 08:19:41.018][P:38456/T:37484][dhnetsdk.cpp:618][Info][0] Leave CLIENT_LoginEx2. [error=0, login ID=502809072.] | |
22 | -[2021-01-15 08:19:41.020][P:38456/T:37484][dhnetsdk.cpp:8628][Info][0] Enter CLIENT_RealLoadPictureEx. [lLoginID=502809072, nChannelID=0, dwAlarmType=1, bNeedPicFile=1, cbAnalyzerData=000000001CC100D0, dwUser=0000000000F37330, Reserved=0000000000000000.] | |
23 | -[2021-01-15 08:19:41.023][P:38456/T:37484][Utils.cpp:4792][Info][0] mutil NIC client | |
24 | -[2021-01-15 08:19:41.042][P:38456/T:37484][dvrdevice.cpp:6655][Info][0] CDvrDevice::FindSubSocket WaitForSingleObjectEx device is 000000001DF841F0, connetID 9 | |
25 | -[2021-01-15 08:19:41.071][P:38456/T:15292][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
26 | -[2021-01-15 08:19:41.071][P:38456/T:15292][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:36400 | |
27 | -[2021-01-15 08:19:41.073][P:38456/T:33168][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
28 | -[2021-01-15 08:19:41.073][P:38456/T:22436][Manager.cpp:1236][Info][0] Device[000000001DF841F0] get pRegSubSocket 000000001DF9B2C0 up, nConnectID 9 Chn:1 | |
29 | -[2021-01-15 08:19:41.073][P:38456/T:22436][dvrdevice.cpp:6404][Info][0] CDvrDevice::dit_add_reg_sub_connect, device is 000000001DF841F0, subsocket ID is 9 | |
30 | -[2021-01-15 08:19:41.073][P:38456/T:22436][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 36400, connectID is 9, chn is 1, registed | |
31 | -[2021-01-15 08:19:41.073][P:38456/T:37484][dvrdevice.cpp:6694][Info][0] CDvrDevice::FindSubSocket device 000000001DF841F0 find socket connectID is 9 | |
32 | -[2021-01-15 08:19:41.139][P:38456/T:37484][dhnetsdk.cpp:8647][Info][0] Leave CLIENT_RealLoadPictureEx. [ret=502901952.] |
cloud/dahua/sdklog/2021-01-15_11-10-54.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:10:54.618 | |
2 | -[2021-01-15 11:10:54.618][P:26192/T:40528][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:10:54.634][P:26192/T:40528][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028410000 | |
4 | - | |
5 | -[2021-01-15 11:10:54.634][P:26192/T:40528][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:10:54.655][P:26192/T:40528][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000037A0050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:10:54.655][P:26192/T:40528][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:10:54.658][P:26192/T:40528][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:10:54.658][P:26192/T:40528][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:10:54.659][P:26192/T:40528][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:10:54.659][P:26192/T:40528][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:10:54.673][P:26192/T:40528][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=00000000037A0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:10:54.692][P:26192/T:40528][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=513872144.] |
cloud/dahua/sdklog/2021-01-15_11-13-38.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:13:38.988 | |
2 | -[2021-01-15 11:13:38.988][P:33012/T:84][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:13:39.004][P:33012/T:84][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029F30000 | |
4 | - | |
5 | -[2021-01-15 11:13:39.004][P:33012/T:84][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:13:39.009][P:33012/T:84][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CDF0050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:13:39.009][P:33012/T:84][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:13:39.010][P:33012/T:84][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:13:39.010][P:33012/T:84][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:13:39.011][P:33012/T:84][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:13:39.011][P:33012/T:84][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:13:39.017][P:33012/T:84][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CDF0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:13:39.017][P:33012/T:84][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=501483120.] |
cloud/dahua/sdklog/2021-01-15_11-14-34.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:14:34.347 | |
2 | -[2021-01-15 11:14:34.347][P:39596/T:21216][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:14:34.365][P:39596/T:21216][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002BC50000 | |
4 | - | |
5 | -[2021-01-15 11:14:34.366][P:39596/T:21216][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:14:34.371][P:39596/T:21216][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001DB60050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:14:34.371][P:39596/T:21216][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:14:34.373][P:39596/T:21216][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:14:34.373][P:39596/T:21216][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:14:34.374][P:39596/T:21216][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:14:34.374][P:39596/T:21216][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:14:34.384][P:39596/T:21216][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001DB60090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:14:34.384][P:39596/T:21216][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=476640640.] | |
14 | -[2021-01-15 11:14:37.886][P:39596/T:25920][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 11:14:37.889][P:39596/T:25920][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:38322 | |
16 | -[2021-01-15 11:14:38.085][P:39596/T:39244][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 11:14:38.085][P:39596/T:41732][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 38322, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-15_11-15-32.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:15:32.435 | |
2 | -[2021-01-15 11:15:32.435][P:40352/T:15128][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:15:32.452][P:40352/T:15128][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002D880000 | |
4 | - | |
5 | -[2021-01-15 11:15:32.452][P:40352/T:15128][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:15:32.458][P:40352/T:15128][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D200050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:15:32.458][P:40352/T:15128][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:15:32.458][P:40352/T:15128][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:15:32.458][P:40352/T:15128][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:15:32.460][P:40352/T:15128][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:15:32.460][P:40352/T:15128][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:15:32.467][P:40352/T:15128][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001D200090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:15:32.467][P:40352/T:15128][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=514523904.] | |
14 | -[2021-01-15 11:15:40.574][P:40352/T:34080][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 11:15:40.574][P:40352/T:34080][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:38334 | |
16 | -[2021-01-15 11:15:40.764][P:40352/T:38536][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 11:15:40.764][P:40352/T:30804][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 38334, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-15_11-18-37.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:18:37.947 | |
2 | -[2021-01-15 11:18:37.948][P:39888/T:33452][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:18:37.960][P:39888/T:33452][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000307C0000 | |
4 | - | |
5 | -[2021-01-15 11:18:37.960][P:39888/T:33452][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:18:37.964][P:39888/T:33452][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C3C0050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:18:37.964][P:39888/T:33452][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:18:37.966][P:39888/T:33452][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:18:37.966][P:39888/T:33452][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:18:37.967][P:39888/T:33452][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:18:37.967][P:39888/T:33452][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:18:37.974][P:39888/T:33452][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001C3C0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:18:37.974][P:39888/T:33452][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=495456752.] | |
14 | -[2021-01-15 11:18:47.377][P:39888/T:39376][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 11:18:47.377][P:39888/T:39376][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:38368 | |
16 | -[2021-01-15 11:18:47.574][P:39888/T:20128][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 11:18:47.574][P:39888/T:35996][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 38368, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-15_11-21-43.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:21:43.032 | |
2 | -[2021-01-15 11:21:43.032][P:37232/T:41844][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:21:43.046][P:37232/T:41844][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002DD60000 | |
4 | - | |
5 | -[2021-01-15 11:21:43.046][P:37232/T:41844][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:21:43.051][P:37232/T:41844][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CA10050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:21:43.051][P:37232/T:41844][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:21:43.051][P:37232/T:41844][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:21:43.051][P:37232/T:41844][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:21:43.052][P:37232/T:41844][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:21:43.052][P:37232/T:41844][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:21:43.059][P:37232/T:41844][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CA10090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:21:43.060][P:37232/T:41844][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502073648.] | |
14 | -[2021-01-15 11:21:52.926][P:37232/T:9668][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
15 | -[2021-01-15 11:21:52.926][P:37232/T:9668][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.94:38404 | |
16 | -[2021-01-15 11:21:53.127][P:37232/T:41448][Utils.cpp:5175][Info][0] pszIp:172.16.2.94, szIpLen:16 | |
17 | -[2021-01-15 11:21:53.127][P:37232/T:40860][Manager.cpp:1265][Info][0] Device ip 172.16.2.94, port 38404, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-15_11-22-29.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:22:29.621 | |
2 | -[2021-01-15 11:22:29.621][P:21216/T:5880][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:22:29.638][P:21216/T:5880][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A950000 | |
4 | - | |
5 | -[2021-01-15 11:22:29.638][P:21216/T:5880][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:22:29.643][P:21216/T:5880][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003150050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:22:29.643][P:21216/T:5880][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:22:29.645][P:21216/T:5880][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:22:29.645][P:21216/T:5880][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:22:29.647][P:21216/T:5880][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:22:29.647][P:21216/T:5880][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:22:29.654][P:21216/T:5880][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=0000000003150090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:22:29.654][P:21216/T:5880][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=505807616.] |
cloud/dahua/sdklog/2021-01-15_11-22-56.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-15 11:22:56.571 | |
2 | -[2021-01-15 11:22:56.571][P:29940/T:39616][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-15 11:22:56.585][P:29940/T:39616][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028C30000 | |
4 | - | |
5 | -[2021-01-15 11:22:56.585][P:29940/T:39616][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-15 11:22:56.590][P:29940/T:39616][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C9E0050, dwUser=0000000000000000]. | |
7 | -[2021-01-15 11:22:56.590][P:29940/T:39616][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-15 11:22:56.592][P:29940/T:39616][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-15 11:22:56.592][P:29940/T:39616][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-15 11:22:56.593][P:29940/T:39616][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-15 11:22:56.593][P:29940/T:39616][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-15 11:22:56.599][P:29940/T:39616][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001C9E0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-15 11:22:56.599][P:29940/T:39616][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=497485504.] |
cloud/dahua/sdklog/2021-01-28_23-27-41.log
... | ... | @@ -1,34 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:27:41.537 | |
2 | -[2021-01-28 23:27:41.537][P:7824/T:12128][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:27:41.558][P:7824/T:12128][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002DE50000 | |
4 | - | |
5 | -[2021-01-28 23:27:41.558][P:7824/T:12128][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:27:41.566][P:7824/T:12128][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C210050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:27:41.566][P:7824/T:12128][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:27:41.566][P:7824/T:12128][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:27:41.566][P:7824/T:12128][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:27:41.567][P:7824/T:12128][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:27:41.567][P:7824/T:12128][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:27:41.880][P:7824/T:12128][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001C210090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:27:41.882][P:7824/T:12128][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=493884496.] | |
14 | -[2021-01-28 23:27:47.313][P:7824/T:17860][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
15 | -[2021-01-28 23:27:47.313][P:7824/T:17860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.17:35120 | |
16 | -[2021-01-28 23:27:47.517][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
17 | -[2021-01-28 23:27:47.517][P:7824/T:18000][Manager.cpp:1265][Info][0] Device ip 172.16.2.17, port 35120, connectID is 0, chn is 0, registed | |
18 | -[2021-01-28 23:28:17.556][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
19 | -[2021-01-28 23:28:45.202][P:7824/T:17664][TPIOCPMultiplexer.cpp:155][Error][90002007] iocp disconnected by remote host or something:GetLastError:997, connId:1 | |
20 | -[2021-01-28 23:28:45.202][P:7824/T:17664][TPTCPClient.cpp:170][Info][90010007] Disconnect, ip:172.16.2.17, port is 35120 | |
21 | -[2021-01-28 23:28:45.202][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
22 | -[2021-01-28 23:28:45.202][P:7824/T:17664][TcpSocket.cpp:535][Error][90010007] Disconnect, ip:172.16.2.17, port:35120 | |
23 | -[2021-01-28 23:28:45.306][P:7824/T:17860][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
24 | -[2021-01-28 23:28:45.306][P:7824/T:17860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.17:35122 | |
25 | -[2021-01-28 23:28:45.498][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
26 | -[2021-01-28 23:29:15.517][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
27 | -[2021-01-28 23:29:45.202][P:7824/T:17664][TPIOCPMultiplexer.cpp:155][Error][90002007] iocp disconnected by remote host or something:GetLastError:997, connId:2 | |
28 | -[2021-01-28 23:29:45.202][P:7824/T:17664][TPTCPClient.cpp:170][Info][90010007] Disconnect, ip:172.16.2.17, port is 35122 | |
29 | -[2021-01-28 23:29:45.202][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
30 | -[2021-01-28 23:29:45.202][P:7824/T:17664][TcpSocket.cpp:535][Error][90010007] Disconnect, ip:172.16.2.17, port:35122 | |
31 | -[2021-01-28 23:29:45.377][P:7824/T:17860][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
32 | -[2021-01-28 23:29:45.377][P:7824/T:17860][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.17:35124 | |
33 | -[2021-01-28 23:29:45.576][P:7824/T:17664][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
34 | -[2021-01-28 23:30:04.909][P:7824/T:18000][Manager.cpp:1265][Info][0] Device ip 172.16.2.17, port 35124, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-28_23-37-25.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:37:25.315 | |
2 | -[2021-01-28 23:37:25.315][P:18008/T:16952][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:37:25.332][P:18008/T:16952][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028E30000 | |
4 | - | |
5 | -[2021-01-28 23:37:25.332][P:18008/T:16952][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:37:25.338][P:18008/T:16952][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C8A0050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:37:25.338][P:18008/T:16952][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:37:25.340][P:18008/T:16952][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:37:25.340][P:18008/T:16952][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:37:25.341][P:18008/T:16952][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:37:25.341][P:18008/T:16952][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:37:25.349][P:18008/T:16952][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001C8A0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:37:25.349][P:18008/T:16952][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=495918032.] |
cloud/dahua/sdklog/2021-01-28_23-38-23.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:38:23.032 | |
2 | -[2021-01-28 23:38:23.033][P:15816/T:13976][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:38:23.050][P:15816/T:13976][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002B410000 | |
4 | - | |
5 | -[2021-01-28 23:38:23.050][P:15816/T:13976][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:38:23.054][P:15816/T:13976][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CA90050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:38:23.055][P:15816/T:13976][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:38:23.055][P:15816/T:13976][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:38:23.055][P:15816/T:13976][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:38:23.056][P:15816/T:13976][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:38:23.056][P:15816/T:13976][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:38:23.063][P:15816/T:13976][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CA90090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:38:23.063][P:15816/T:13976][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=500047088.] |
cloud/dahua/sdklog/2021-01-28_23-39-26.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:39:26.453 | |
2 | -[2021-01-28 23:39:26.453][P:12360/T:1292][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:39:26.474][P:12360/T:1292][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028070000 | |
4 | - | |
5 | -[2021-01-28 23:39:26.474][P:12360/T:1292][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:39:26.481][P:12360/T:1292][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CDB0050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:39:26.481][P:12360/T:1292][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:39:26.482][P:12360/T:1292][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:39:26.482][P:12360/T:1292][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:39:26.483][P:12360/T:1292][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:39:26.483][P:12360/T:1292][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:39:26.491][P:12360/T:1292][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CDB0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:39:26.492][P:12360/T:1292][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=501487408.] |
cloud/dahua/sdklog/2021-01-28_23-40-26.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:40:26.124 | |
2 | -[2021-01-28 23:40:26.124][P:17680/T:16504][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:40:26.142][P:17680/T:16504][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029700000 | |
4 | - | |
5 | -[2021-01-28 23:40:26.142][P:17680/T:16504][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:40:26.147][P:17680/T:16504][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D050050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:40:26.147][P:17680/T:16504][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:40:26.148][P:17680/T:16504][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:40:26.148][P:17680/T:16504][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:40:26.149][P:17680/T:16504][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:40:26.149][P:17680/T:16504][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:40:26.157][P:17680/T:16504][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001D050090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:40:26.157][P:17680/T:16504][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=504170704.] |
cloud/dahua/sdklog/2021-01-28_23-42-28.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:42:28.112 | |
2 | -[2021-01-28 23:42:28.112][P:17856/T:15392][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:42:28.136][P:17856/T:15392][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A9F0000 | |
4 | - | |
5 | -[2021-01-28 23:42:28.137][P:17856/T:15392][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:42:28.143][P:17856/T:15392][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C330050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:42:28.143][P:17856/T:15392][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:42:28.145][P:17856/T:15392][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:42:28.145][P:17856/T:15392][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:42:28.146][P:17856/T:15392][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:42:28.146][P:17856/T:15392][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:42:28.154][P:17856/T:15392][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001C330090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:42:28.154][P:17856/T:15392][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=490609904.] |
cloud/dahua/sdklog/2021-01-28_23-43-23.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:43:23.586 | |
2 | -[2021-01-28 23:43:23.586][P:17668/T:13072][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:43:23.605][P:17668/T:13072][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028930000 | |
4 | - | |
5 | -[2021-01-28 23:43:23.605][P:17668/T:13072][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:43:23.610][P:17668/T:13072][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002B90050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:43:23.610][P:17668/T:13072][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:43:23.613][P:17668/T:13072][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:43:23.613][P:17668/T:13072][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:43:23.614][P:17668/T:13072][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:43:23.614][P:17668/T:13072][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:43:23.620][P:17668/T:13072][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=0000000002B90090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:43:23.621][P:17668/T:13072][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=476448240.] |
cloud/dahua/sdklog/2021-01-28_23-44-11.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:44:11.018 | |
2 | -[2021-01-28 23:44:11.018][P:17776/T:16728][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:44:11.037][P:17776/T:16728][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A360000 | |
4 | - | |
5 | -[2021-01-28 23:44:11.037][P:17776/T:16728][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:44:11.041][P:17776/T:16728][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CA70050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:44:11.041][P:17776/T:16728][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:44:11.043][P:17776/T:16728][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:44:11.043][P:17776/T:16728][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:44:11.044][P:17776/T:16728][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:44:11.044][P:17776/T:16728][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:44:11.051][P:17776/T:16728][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001CA70090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:44:11.051][P:17776/T:16728][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=498342272.] |
cloud/dahua/sdklog/2021-01-28_23-52-37.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:52:37.394 | |
2 | -[2021-01-28 23:52:37.395][P:9568/T:13912][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:52:37.411][P:9568/T:13912][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029580000 | |
4 | - | |
5 | -[2021-01-28 23:52:37.411][P:9568/T:13912][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:52:37.416][P:9568/T:13912][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D0D0050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:52:37.416][P:9568/T:13912][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:52:37.418][P:9568/T:13912][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:52:37.418][P:9568/T:13912][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:52:37.419][P:9568/T:13912][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:52:37.419][P:9568/T:13912][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:52:37.425][P:9568/T:13912][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=000000001D0D0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:52:37.425][P:9568/T:13912][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=504435056.] | |
14 | -[2021-01-28 23:52:38.019][P:9568/T:16996][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
15 | -[2021-01-28 23:52:38.020][P:9568/T:16996][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.17:35394 | |
16 | -[2021-01-28 23:52:38.210][P:9568/T:18120][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
17 | -[2021-01-28 23:52:38.210][P:9568/T:12988][Manager.cpp:1265][Info][0] Device ip 172.16.2.17, port 35394, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-01-28_23-53-51.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:53:51.105 | |
2 | -[2021-01-28 23:53:51.106][P:15060/T:18060][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:53:51.123][P:15060/T:18060][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029680000 | |
4 | - | |
5 | -[2021-01-28 23:53:51.123][P:15060/T:18060][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:53:51.128][P:15060/T:18060][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000035C0050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:53:51.128][P:15060/T:18060][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:53:51.130][P:15060/T:18060][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:53:51.130][P:15060/T:18060][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:53:51.131][P:15060/T:18060][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:53:51.131][P:15060/T:18060][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:53:51.139][P:15060/T:18060][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=00000000035C0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:53:51.139][P:15060/T:18060][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=485825776.] |
cloud/dahua/sdklog/2021-01-28_23-55-20.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:55:20.269 | |
2 | -[2021-01-28 23:55:20.270][P:15868/T:17504][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:55:20.285][P:15868/T:17504][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000030150000 | |
4 | - | |
5 | -[2021-01-28 23:55:20.285][P:15868/T:17504][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:55:20.290][P:15868/T:17504][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000023F0050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:55:20.290][P:15868/T:17504][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:55:20.291][P:15868/T:17504][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:55:20.291][P:15868/T:17504][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:55:20.292][P:15868/T:17504][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:55:20.292][P:15868/T:17504][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:55:20.299][P:15868/T:17504][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=00000000023F0090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:55:20.299][P:15868/T:17504][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=495586928.] |
cloud/dahua/sdklog/2021-01-28_23-58-20.log
... | ... | @@ -1,17 +0,0 @@ |
1 | -Begin Time:2021-01-28 23:58:20.637 | |
2 | -[2021-01-28 23:58:20.637][P:17784/T:16760][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-01-28 23:58:20.660][P:17784/T:16760][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000294C0000 | |
4 | - | |
5 | -[2021-01-28 23:58:20.660][P:17784/T:16760][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-01-28 23:58:20.665][P:17784/T:16760][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003880050, dwUser=0000000000000000]. | |
7 | -[2021-01-28 23:58:20.665][P:17784/T:16760][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-01-28 23:58:20.667][P:17784/T:16760][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-01-28 23:58:20.667][P:17784/T:16760][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-01-28 23:58:20.668][P:17784/T:16760][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-01-28 23:58:20.668][P:17784/T:16760][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-01-28 23:58:20.675][P:17784/T:16760][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=172.16.2.53, port=9500, nTimeout=1000, cbListen=0000000003880090, dwUserData=0000000000000000.] | |
13 | -[2021-01-28 23:58:20.675][P:17784/T:16760][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=512361232.] | |
14 | -[2021-01-28 23:58:21.041][P:17784/T:5916][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
15 | -[2021-01-28 23:58:21.041][P:17784/T:5916][TcpListenSocket.cpp:93][Info][0] DealNewSocket Get Ip and Port is 172.16.2.17:35462 | |
16 | -[2021-01-28 23:58:21.244][P:17784/T:1004][Utils.cpp:5175][Info][0] pszIp:172.16.2.17, szIpLen:16 | |
17 | -[2021-01-28 23:58:21.244][P:17784/T:18340][Manager.cpp:1265][Info][0] Device ip 172.16.2.17, port 35462, connectID is 0, chn is 0, registed |
cloud/dahua/sdklog/2021-02-04_20-10-29.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:10:29.139 | |
2 | -[2021-02-04 20:10:29.139][P:7564/T:8776][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:10:29.156][P:7564/T:8776][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000297B0000 | |
4 | - | |
5 | -[2021-02-04 20:10:29.156][P:7564/T:8776][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:10:29.164][P:7564/T:8776][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003280050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:10:29.164][P:7564/T:8776][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:10:29.165][P:7564/T:8776][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:10:29.165][P:7564/T:8776][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:10:29.166][P:7564/T:8776][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:10:29.166][P:7564/T:8776][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:10:29.174][P:7564/T:8776][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000003280090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:10:29.177][P:7564/T:8776][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=593694352.] |
cloud/dahua/sdklog/2021-02-04_20-11-21.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:11:21.577 | |
2 | -[2021-02-04 20:11:21.577][P:14240/T:9440][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:11:21.593][P:14240/T:9440][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029800000 | |
4 | - | |
5 | -[2021-02-04 20:11:21.593][P:14240/T:9440][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:11:21.598][P:14240/T:9440][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C130050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:11:21.598][P:14240/T:9440][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:11:21.599][P:14240/T:9440][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:11:21.599][P:14240/T:9440][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:11:21.600][P:14240/T:9440][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:11:21.600][P:14240/T:9440][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:11:21.606][P:14240/T:9440][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C130090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:11:21.607][P:14240/T:9440][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=475861360.] |
cloud/dahua/sdklog/2021-02-04_20-14-29.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:14:29.711 | |
2 | -[2021-02-04 20:14:29.711][P:11708/T:15292][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:14:29.726][P:11708/T:15292][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002D550000 | |
4 | - | |
5 | -[2021-02-04 20:14:29.726][P:11708/T:15292][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:14:29.731][P:11708/T:15292][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002CE0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:14:29.731][P:11708/T:15292][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:14:29.732][P:11708/T:15292][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:14:29.732][P:11708/T:15292][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:14:29.733][P:11708/T:15292][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:14:29.733][P:11708/T:15292][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:14:29.741][P:11708/T:15292][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002CE0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:14:29.742][P:11708/T:15292][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=526850576.] |
cloud/dahua/sdklog/2021-02-04_20-24-58.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:24:58.874 | |
2 | -[2021-02-04 20:24:58.875][P:9908/T:14556][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:24:58.889][P:9908/T:14556][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029A20000 | |
4 | - | |
5 | -[2021-02-04 20:24:58.889][P:9908/T:14556][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:24:58.894][P:9908/T:14556][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D160050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:24:58.894][P:9908/T:14556][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:24:58.896][P:9908/T:14556][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:24:58.896][P:9908/T:14556][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:24:58.897][P:9908/T:14556][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:24:58.897][P:9908/T:14556][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:24:58.905][P:9908/T:14556][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D160090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:24:58.905][P:9908/T:14556][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=558698432.] |
cloud/dahua/sdklog/2021-02-04_20-34-15.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:34:15.287 | |
2 | -[2021-02-04 20:34:15.287][P:11784/T:7596][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:34:15.302][P:11784/T:7596][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029BE0000 | |
4 | - | |
5 | -[2021-02-04 20:34:15.302][P:11784/T:7596][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:34:15.308][P:11784/T:7596][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C830050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:34:15.308][P:11784/T:7596][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:34:15.310][P:11784/T:7596][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:34:15.310][P:11784/T:7596][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:34:15.312][P:11784/T:7596][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:34:15.312][P:11784/T:7596][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:34:15.318][P:11784/T:7596][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C830090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:34:15.318][P:11784/T:7596][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=495649552.] |
cloud/dahua/sdklog/2021-02-04_20-37-40.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:37:40.210 | |
2 | -[2021-02-04 20:37:40.210][P:1796/T:15116][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:37:40.226][P:1796/T:15116][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002FE60000 | |
4 | - | |
5 | -[2021-02-04 20:37:40.226][P:1796/T:15116][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:37:40.231][P:1796/T:15116][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003460050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:37:40.231][P:1796/T:15116][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:37:40.233][P:1796/T:15116][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:37:40.233][P:1796/T:15116][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:37:40.234][P:1796/T:15116][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:37:40.234][P:1796/T:15116][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:37:40.241][P:1796/T:15116][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000003460090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:37:40.242][P:1796/T:15116][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=484711664.] |
cloud/dahua/sdklog/2021-02-04_20-41-53.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:41:53.430 | |
2 | -[2021-02-04 20:41:53.430][P:7100/T:14612][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:41:53.445][P:7100/T:14612][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029CA0000 | |
4 | - | |
5 | -[2021-02-04 20:41:53.445][P:7100/T:14612][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:41:53.450][P:7100/T:14612][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002D80050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:41:53.450][P:7100/T:14612][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:41:53.452][P:7100/T:14612][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:41:53.452][P:7100/T:14612][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:41:53.453][P:7100/T:14612][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:41:53.453][P:7100/T:14612][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:41:53.460][P:7100/T:14612][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002D80090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:41:53.460][P:7100/T:14612][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=493818224.] |
cloud/dahua/sdklog/2021-02-04_20-42-57.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:42:57.612 | |
2 | -[2021-02-04 20:42:57.612][P:15152/T:9684][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:42:57.627][P:15152/T:9684][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000280B0000 | |
4 | - | |
5 | -[2021-02-04 20:42:57.627][P:15152/T:9684][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:42:57.632][P:15152/T:9684][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C5C0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:42:57.632][P:15152/T:9684][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:42:57.634][P:15152/T:9684][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:42:57.634][P:15152/T:9684][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:42:57.635][P:15152/T:9684][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:42:57.635][P:15152/T:9684][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:42:57.641][P:15152/T:9684][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C5C0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:42:57.641][P:15152/T:9684][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=493032528.] |
cloud/dahua/sdklog/2021-02-04_20-45-08.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:45:08.651 | |
2 | -[2021-02-04 20:45:08.651][P:11796/T:13384][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:45:08.665][P:11796/T:13384][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000256F0000 | |
4 | - | |
5 | -[2021-02-04 20:45:08.666][P:11796/T:13384][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:45:08.671][P:11796/T:13384][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C960050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:45:08.671][P:11796/T:13384][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:45:08.671][P:11796/T:13384][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:45:08.671][P:11796/T:13384][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:45:08.672][P:11796/T:13384][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:45:08.672][P:11796/T:13384][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:45:08.678][P:11796/T:13384][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C960090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:45:08.678][P:11796/T:13384][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=496702544.] |
cloud/dahua/sdklog/2021-02-04_20-52-51.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:52:51.678 | |
2 | -[2021-02-04 20:52:51.678][P:7024/T:15336][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:52:51.695][P:7024/T:15336][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000291D0000 | |
4 | - | |
5 | -[2021-02-04 20:52:51.695][P:7024/T:15336][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:52:51.701][P:7024/T:15336][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CE00050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:52:51.701][P:7024/T:15336][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:52:51.703][P:7024/T:15336][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:52:51.703][P:7024/T:15336][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:52:51.704][P:7024/T:15336][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:52:51.704][P:7024/T:15336][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:52:51.710][P:7024/T:15336][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CE00090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:52:51.710][P:7024/T:15336][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=501488880.] |
cloud/dahua/sdklog/2021-02-04_20-53-32.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:53:32.291 | |
2 | -[2021-02-04 20:53:32.291][P:16132/T:16244][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:53:32.305][P:16132/T:16244][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000281D0000 | |
4 | - | |
5 | -[2021-02-04 20:53:32.305][P:16132/T:16244][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:53:32.310][P:16132/T:16244][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000033A0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:53:32.310][P:16132/T:16244][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:53:32.312][P:16132/T:16244][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:53:32.312][P:16132/T:16244][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:53:32.314][P:16132/T:16244][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:53:32.314][P:16132/T:16244][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:53:32.322][P:16132/T:16244][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=00000000033A0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:53:32.322][P:16132/T:16244][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=483397232.] |
cloud/dahua/sdklog/2021-02-04_20-59-55.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 20:59:55.287 | |
2 | -[2021-02-04 20:59:55.287][P:12516/T:14300][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 20:59:55.306][P:12516/T:14300][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029300000 | |
4 | - | |
5 | -[2021-02-04 20:59:55.306][P:12516/T:14300][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 20:59:55.311][P:12516/T:14300][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CD80050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 20:59:55.311][P:12516/T:14300][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 20:59:55.313][P:12516/T:14300][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 20:59:55.313][P:12516/T:14300][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 20:59:55.313][P:12516/T:14300][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 20:59:55.313][P:12516/T:14300][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 20:59:55.321][P:12516/T:14300][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CD80090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 20:59:55.321][P:12516/T:14300][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=501030128.] |
cloud/dahua/sdklog/2021-02-04_21-06-03.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:06:03.326 | |
2 | -[2021-02-04 21:06:03.326][P:6888/T:8776][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:06:03.343][P:6888/T:8776][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028940000 | |
4 | - | |
5 | -[2021-02-04 21:06:03.343][P:6888/T:8776][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:06:03.348][P:6888/T:8776][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C610050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:06:03.348][P:6888/T:8776][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:06:03.350][P:6888/T:8776][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:06:03.350][P:6888/T:8776][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:06:03.351][P:6888/T:8776][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:06:03.351][P:6888/T:8776][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:06:03.360][P:6888/T:8776][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C610090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:06:03.360][P:6888/T:8776][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=493293168.] |
cloud/dahua/sdklog/2021-02-04_21-11-56.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:11:56.133 | |
2 | -[2021-02-04 21:11:56.133][P:14640/T:15656][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:11:56.149][P:14640/T:15656][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A390000 | |
4 | - | |
5 | -[2021-02-04 21:11:56.149][P:14640/T:15656][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:11:56.154][P:14640/T:15656][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CBC0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:11:56.154][P:14640/T:15656][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:11:56.156][P:14640/T:15656][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:11:56.156][P:14640/T:15656][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:11:56.157][P:14640/T:15656][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:11:56.158][P:14640/T:15656][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:11:56.163][P:14640/T:15656][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CBC0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:11:56.164][P:14640/T:15656][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=499520592.] |
cloud/dahua/sdklog/2021-02-04_21-16-04.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:16:04.437 | |
2 | -[2021-02-04 21:16:04.437][P:16332/T:14812][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:16:04.456][P:16332/T:14812][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A870000 | |
4 | - | |
5 | -[2021-02-04 21:16:04.456][P:16332/T:14812][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:16:04.461][P:16332/T:14812][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D210050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:16:04.461][P:16332/T:14812][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:16:04.463][P:16332/T:14812][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:16:04.463][P:16332/T:14812][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:16:04.465][P:16332/T:14812][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:16:04.465][P:16332/T:14812][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:16:04.474][P:16332/T:14812][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D210090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:16:04.475][P:16332/T:14812][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=560010320.] |
cloud/dahua/sdklog/2021-02-04_21-18-25.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:18:25.894 | |
2 | -[2021-02-04 21:18:25.894][P:9440/T:16192][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:18:25.916][P:9440/T:16192][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029830000 | |
4 | - | |
5 | -[2021-02-04 21:18:25.916][P:9440/T:16192][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:18:25.922][P:9440/T:16192][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D220050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:18:25.922][P:9440/T:16192][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:18:25.924][P:9440/T:16192][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:18:25.924][P:9440/T:16192][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:18:25.925][P:9440/T:16192][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:18:25.925][P:9440/T:16192][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:18:25.932][P:9440/T:16192][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D220090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:18:25.932][P:9440/T:16192][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=509808240.] |
cloud/dahua/sdklog/2021-02-04_21-20-41.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:20:41.023 | |
2 | -[2021-02-04 21:20:41.023][P:7460/T:6088][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:20:41.037][P:7460/T:6088][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027FA0000 | |
4 | - | |
5 | -[2021-02-04 21:20:41.037][P:7460/T:6088][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:20:41.042][P:7460/T:6088][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C600050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:20:41.042][P:7460/T:6088][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:20:41.043][P:7460/T:6088][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:20:41.043][P:7460/T:6088][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:20:41.044][P:7460/T:6088][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:20:41.044][P:7460/T:6088][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:20:41.051][P:7460/T:6088][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C600090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:20:41.051][P:7460/T:6088][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=568072720.] |
cloud/dahua/sdklog/2021-02-04_21-24-14.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:24:14.924 | |
2 | -[2021-02-04 21:24:14.924][P:11708/T:7772][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:24:14.940][P:11708/T:7772][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000024670000 | |
4 | - | |
5 | -[2021-02-04 21:24:14.941][P:11708/T:7772][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:24:14.945][P:11708/T:7772][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003740050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:24:14.945][P:11708/T:7772][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:24:14.945][P:11708/T:7772][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:24:14.945][P:11708/T:7772][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:24:14.946][P:11708/T:7772][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:24:14.947][P:11708/T:7772][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:24:14.953][P:11708/T:7772][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000003740090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:24:14.954][P:11708/T:7772][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=487659312.] |
cloud/dahua/sdklog/2021-02-04_21-28-50.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:28:50.044 | |
2 | -[2021-02-04 21:28:50.044][P:15952/T:15052][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:28:50.064][P:15952/T:15052][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A740000 | |
4 | - | |
5 | -[2021-02-04 21:28:50.064][P:15952/T:15052][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:28:50.070][P:15952/T:15052][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CF50050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:28:50.070][P:15952/T:15052][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:28:50.071][P:15952/T:15052][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:28:50.071][P:15952/T:15052][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:28:50.072][P:15952/T:15052][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:28:50.072][P:15952/T:15052][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:28:50.079][P:15952/T:15052][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CF50090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:28:50.079][P:15952/T:15052][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502928912.] |
cloud/dahua/sdklog/2021-02-04_21-32-23.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:32:23.781 | |
2 | -[2021-02-04 21:32:23.781][P:11604/T:13244][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:32:23.802][P:11604/T:13244][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027830000 | |
4 | - | |
5 | -[2021-02-04 21:32:23.802][P:11604/T:13244][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:32:23.807][P:11604/T:13244][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C700050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:32:23.808][P:11604/T:13244][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:32:23.810][P:11604/T:13244][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:32:23.810][P:11604/T:13244][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:32:23.811][P:11604/T:13244][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:32:23.811][P:11604/T:13244][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:32:23.820][P:11604/T:13244][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C700090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:32:23.820][P:11604/T:13244][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=494274032.] |
cloud/dahua/sdklog/2021-02-04_21-33-18.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:33:18.304 | |
2 | -[2021-02-04 21:33:18.304][P:16232/T:14348][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:33:18.324][P:16232/T:14348][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000281C0000 | |
4 | - | |
5 | -[2021-02-04 21:33:18.324][P:16232/T:14348][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:33:18.330][P:16232/T:14348][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D030050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:33:18.330][P:16232/T:14348][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:33:18.332][P:16232/T:14348][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:33:18.332][P:16232/T:14348][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:33:18.333][P:16232/T:14348][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:33:18.333][P:16232/T:14348][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:33:18.340][P:16232/T:14348][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D030090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:33:18.341][P:16232/T:14348][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=578948720.] |
cloud/dahua/sdklog/2021-02-04_21-57-42.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 21:57:42.252 | |
2 | -[2021-02-04 21:57:42.252][P:14720/T:5720][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 21:57:42.267][P:14720/T:5720][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029280000 | |
4 | - | |
5 | -[2021-02-04 21:57:42.268][P:14720/T:5720][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 21:57:42.273][P:14720/T:5720][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C6C0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 21:57:42.273][P:14720/T:5720][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 21:57:42.276][P:14720/T:5720][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 21:57:42.276][P:14720/T:5720][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 21:57:42.277][P:14720/T:5720][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 21:57:42.277][P:14720/T:5720][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 21:57:42.284][P:14720/T:5720][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C6C0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 21:57:42.284][P:14720/T:5720][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=494081104.] |
cloud/dahua/sdklog/2021-02-04_22-00-51.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:00:51.292 | |
2 | -[2021-02-04 22:00:51.292][P:9908/T:15404][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:00:51.309][P:9908/T:15404][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027B80000 | |
4 | - | |
5 | -[2021-02-04 22:00:51.309][P:9908/T:15404][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:00:51.315][P:9908/T:15404][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002C70050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:00:51.315][P:9908/T:15404][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:00:51.317][P:9908/T:15404][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:00:51.317][P:9908/T:15404][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:00:51.318][P:9908/T:15404][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:00:51.318][P:9908/T:15404][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:00:51.323][P:9908/T:15404][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002C70090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:00:51.324][P:9908/T:15404][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=492831504.] |
cloud/dahua/sdklog/2021-02-04_22-14-55.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:14:55.338 | |
2 | -[2021-02-04 22:14:55.339][P:15568/T:16108][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:14:55.358][P:15568/T:16108][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002AC70000 | |
4 | - | |
5 | -[2021-02-04 22:14:55.358][P:15568/T:16108][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:14:55.363][P:15568/T:16108][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D260050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:14:55.363][P:15568/T:16108][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:14:55.365][P:15568/T:16108][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:14:55.365][P:15568/T:16108][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:14:55.366][P:15568/T:16108][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:14:55.366][P:15568/T:16108][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:14:55.372][P:15568/T:16108][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D260090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:14:55.372][P:15568/T:16108][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=506600688.] |
cloud/dahua/sdklog/2021-02-04_22-15-45.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:15:45.735 | |
2 | -[2021-02-04 22:15:45.735][P:14548/T:15700][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:15:45.749][P:14548/T:15700][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028C00000 | |
4 | - | |
5 | -[2021-02-04 22:15:45.749][P:14548/T:15700][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:15:45.754][P:14548/T:15700][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C920050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:15:45.754][P:14548/T:15700][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:15:45.755][P:14548/T:15700][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:15:45.755][P:14548/T:15700][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:15:45.757][P:14548/T:15700][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:15:45.757][P:14548/T:15700][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:15:45.764][P:14548/T:15700][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C920090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:15:45.764][P:14548/T:15700][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=528747440.] |
cloud/dahua/sdklog/2021-02-04_22-16-17.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:16:17.474 | |
2 | -[2021-02-04 22:16:17.474][P:16064/T:13328][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:16:17.488][P:16064/T:13328][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002B430000 | |
4 | - | |
5 | -[2021-02-04 22:16:17.488][P:16064/T:13328][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:16:17.493][P:16064/T:13328][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000032E0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:16:17.493][P:16064/T:13328][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:16:17.494][P:16064/T:13328][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:16:17.494][P:16064/T:13328][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:16:17.495][P:16064/T:13328][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:16:17.495][P:16064/T:13328][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:16:17.502][P:16064/T:13328][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=00000000032E0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:16:17.502][P:16064/T:13328][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=503258352.] |
cloud/dahua/sdklog/2021-02-04_22-17-37.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:17:37.949 | |
2 | -[2021-02-04 22:17:37.949][P:2988/T:14076][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:17:37.964][P:2988/T:14076][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000287F0000 | |
4 | - | |
5 | -[2021-02-04 22:17:37.965][P:2988/T:14076][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:17:37.970][P:2988/T:14076][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CF50050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:17:37.970][P:2988/T:14076][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:17:37.971][P:2988/T:14076][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:17:37.971][P:2988/T:14076][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:17:37.972][P:2988/T:14076][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:17:37.972][P:2988/T:14076][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:17:37.979][P:2988/T:14076][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CF50090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:17:37.980][P:2988/T:14076][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502861792.] |
cloud/dahua/sdklog/2021-02-04_22-18-30.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:18:30.997 | |
2 | -[2021-02-04 22:18:30.997][P:16548/T:15988][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:18:31.015][P:16548/T:15988][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028BB0000 | |
4 | - | |
5 | -[2021-02-04 22:18:31.015][P:16548/T:15988][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:18:31.019][P:16548/T:15988][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C6D0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:18:31.019][P:16548/T:15988][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:18:31.020][P:16548/T:15988][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:18:31.020][P:16548/T:15988][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:18:31.021][P:16548/T:15988][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:18:31.021][P:16548/T:15988][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:18:31.027][P:16548/T:15988][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C6D0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:18:31.027][P:16548/T:15988][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=477299472.] |
cloud/dahua/sdklog/2021-02-04_22-19-01.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:19:01.531 | |
2 | -[2021-02-04 22:19:01.531][P:16556/T:16656][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:19:01.551][P:16556/T:16656][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028EE0000 | |
4 | - | |
5 | -[2021-02-04 22:19:01.551][P:16556/T:16656][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:19:01.557][P:16556/T:16656][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C850050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:19:01.557][P:16556/T:16656][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:19:01.559][P:16556/T:16656][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:19:01.559][P:16556/T:16656][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:19:01.560][P:16556/T:16656][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:19:01.561][P:16556/T:16656][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:19:01.567][P:16556/T:16656][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C850090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:19:01.567][P:16556/T:16656][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=497875568.] |
cloud/dahua/sdklog/2021-02-04_22-21-18.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:21:18.375 | |
2 | -[2021-02-04 22:21:18.375][P:15596/T:15392][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:21:18.391][P:15596/T:15392][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029120000 | |
4 | - | |
5 | -[2021-02-04 22:21:18.391][P:15596/T:15392][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:21:18.396][P:15596/T:15392][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CB60050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:21:18.396][P:15596/T:15392][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:21:18.398][P:15596/T:15392][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:21:18.398][P:15596/T:15392][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:21:18.399][P:15596/T:15392][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:21:18.399][P:15596/T:15392][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:21:18.405][P:15596/T:15392][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CB60090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:21:18.405][P:15596/T:15392][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=498736368.] |
cloud/dahua/sdklog/2021-02-04_22-22-16.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:22:16.008 | |
2 | -[2021-02-04 22:22:16.008][P:17244/T:17232][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:22:16.028][P:17244/T:17232][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027C40000 | |
4 | - | |
5 | -[2021-02-04 22:22:16.028][P:17244/T:17232][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:22:16.033][P:17244/T:17232][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C830050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:22:16.033][P:17244/T:17232][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:22:16.034][P:17244/T:17232][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:22:16.034][P:17244/T:17232][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:22:16.035][P:17244/T:17232][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:22:16.035][P:17244/T:17232][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:22:16.042][P:17244/T:17232][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C830090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:22:16.042][P:17244/T:17232][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=495584752.] |
cloud/dahua/sdklog/2021-02-04_22-22-47.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:22:47.125 | |
2 | -[2021-02-04 22:22:47.125][P:16700/T:15396][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:22:47.143][P:16700/T:15396][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000297E0000 | |
4 | - | |
5 | -[2021-02-04 22:22:47.143][P:16700/T:15396][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:22:47.149][P:16700/T:15396][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CDD0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:22:47.149][P:16700/T:15396][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:22:47.151][P:16700/T:15396][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:22:47.151][P:16700/T:15396][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:22:47.151][P:16700/T:15396][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:22:47.151][P:16700/T:15396][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:22:47.158][P:16700/T:15396][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CDD0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:22:47.158][P:16700/T:15396][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=501157856.] |
cloud/dahua/sdklog/2021-02-04_22-25-14.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:25:14.129 | |
2 | -[2021-02-04 22:25:14.129][P:17360/T:16596][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:25:14.148][P:17360/T:16596][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027AE0000 | |
4 | - | |
5 | -[2021-02-04 22:25:14.148][P:17360/T:16596][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:25:14.153][P:17360/T:16596][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002D70050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:25:14.153][P:17360/T:16596][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:25:14.154][P:17360/T:16596][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:25:14.154][P:17360/T:16596][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:25:14.155][P:17360/T:16596][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:25:14.155][P:17360/T:16596][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:25:14.163][P:17360/T:16596][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002D70090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:25:14.163][P:17360/T:16596][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=476123504.] |
cloud/dahua/sdklog/2021-02-04_22-41-20.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:41:20.413 | |
2 | -[2021-02-04 22:41:20.413][P:17140/T:14932][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:41:20.434][P:17140/T:14932][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A540000 | |
4 | - | |
5 | -[2021-02-04 22:41:20.435][P:17140/T:14932][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:41:20.440][P:17140/T:14932][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002F00050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:41:20.440][P:17140/T:14932][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:41:20.442][P:17140/T:14932][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:41:20.442][P:17140/T:14932][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:41:20.444][P:17140/T:14932][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:41:20.444][P:17140/T:14932][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:41:20.451][P:17140/T:14932][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002F00090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:41:20.452][P:17140/T:14932][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=496963216.] |
cloud/dahua/sdklog/2021-02-04_22-43-51.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:43:51.254 | |
2 | -[2021-02-04 22:43:51.254][P:16228/T:17364][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:43:51.270][P:16228/T:17364][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000027F30000 | |
4 | - | |
5 | -[2021-02-04 22:43:51.270][P:16228/T:17364][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:43:51.275][P:16228/T:17364][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CB60050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:43:51.275][P:16228/T:17364][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:43:51.277][P:16228/T:17364][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:43:51.277][P:16228/T:17364][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:43:51.278][P:16228/T:17364][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:43:51.278][P:16228/T:17364][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:43:51.286][P:16228/T:17364][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CB60090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:43:51.286][P:16228/T:17364][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=498867440.] |
cloud/dahua/sdklog/2021-02-04_22-44-40.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:44:40.770 | |
2 | -[2021-02-04 22:44:40.770][P:14676/T:11308][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:44:40.792][P:14676/T:11308][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000297E0000 | |
4 | - | |
5 | -[2021-02-04 22:44:40.792][P:14676/T:11308][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:44:40.798][P:14676/T:11308][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CF90050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:44:40.798][P:14676/T:11308][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:44:40.800][P:14676/T:11308][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:44:40.800][P:14676/T:11308][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:44:40.800][P:14676/T:11308][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:44:40.800][P:14676/T:11308][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:44:40.806][P:14676/T:11308][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CF90090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:44:40.807][P:14676/T:11308][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=485101936.] |
cloud/dahua/sdklog/2021-02-04_22-47-16.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:47:16.487 | |
2 | -[2021-02-04 22:47:16.487][P:16972/T:7652][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:47:16.502][P:16972/T:7652][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029A00000 | |
4 | - | |
5 | -[2021-02-04 22:47:16.502][P:16972/T:7652][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:47:16.508][P:16972/T:7652][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D140050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:47:16.508][P:16972/T:7652][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:47:16.508][P:16972/T:7652][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:47:16.508][P:16972/T:7652][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:47:16.510][P:16972/T:7652][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:47:16.510][P:16972/T:7652][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:47:16.518][P:16972/T:7652][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D140090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:47:16.518][P:16972/T:7652][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=488310256.] |
cloud/dahua/sdklog/2021-02-04_22-48-18.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:48:18.786 | |
2 | -[2021-02-04 22:48:18.786][P:11604/T:7680][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:48:18.803][P:11604/T:7680][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002B840000 | |
4 | - | |
5 | -[2021-02-04 22:48:18.803][P:11604/T:7680][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:48:18.808][P:11604/T:7680][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001E130050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:48:18.808][P:11604/T:7680][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:48:18.810][P:11604/T:7680][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:48:18.810][P:11604/T:7680][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:48:18.811][P:11604/T:7680][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:48:18.811][P:11604/T:7680][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:48:18.817][P:11604/T:7680][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001E130090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:48:18.818][P:11604/T:7680][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=536943856.] |
cloud/dahua/sdklog/2021-02-04_22-50-07.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:50:07.329 | |
2 | -[2021-02-04 22:50:07.329][P:5780/T:16144][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:50:07.349][P:5780/T:16144][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028BF0000 | |
4 | - | |
5 | -[2021-02-04 22:50:07.350][P:5780/T:16144][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:50:07.354][P:5780/T:16144][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C950050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:50:07.354][P:5780/T:16144][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:50:07.357][P:5780/T:16144][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:50:07.357][P:5780/T:16144][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:50:07.359][P:5780/T:16144][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:50:07.359][P:5780/T:16144][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:50:07.366][P:5780/T:16144][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C950090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:50:07.366][P:5780/T:16144][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=496704016.] |
cloud/dahua/sdklog/2021-02-04_22-53-29.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:53:29.599 | |
2 | -[2021-02-04 22:53:29.599][P:17120/T:12764][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:53:29.615][P:17120/T:12764][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002CC00000 | |
4 | - | |
5 | -[2021-02-04 22:53:29.615][P:17120/T:12764][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:53:29.620][P:17120/T:12764][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C600050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:53:29.620][P:17120/T:12764][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:53:29.622][P:17120/T:12764][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:53:29.622][P:17120/T:12764][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:53:29.622][P:17120/T:12764][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:53:29.622][P:17120/T:12764][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:53:29.631][P:17120/T:12764][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C600090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:53:29.631][P:17120/T:12764][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=493165072.] |
cloud/dahua/sdklog/2021-02-04_22-55-35.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:55:35.250 | |
2 | -[2021-02-04 22:55:35.250][P:15464/T:6260][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:55:35.271][P:15464/T:6260][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028BF0000 | |
4 | - | |
5 | -[2021-02-04 22:55:35.271][P:15464/T:6260][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:55:35.276][P:15464/T:6260][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C7B0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:55:35.276][P:15464/T:6260][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:55:35.278][P:15464/T:6260][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:55:35.278][P:15464/T:6260][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:55:35.279][P:15464/T:6260][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:55:35.279][P:15464/T:6260][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:55:35.285][P:15464/T:6260][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C7B0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:55:35.285][P:15464/T:6260][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=498735936.] |
cloud/dahua/sdklog/2021-02-04_22-59-37.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 22:59:37.027 | |
2 | -[2021-02-04 22:59:37.027][P:14084/T:11384][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 22:59:37.045][P:14084/T:11384][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028AC0000 | |
4 | - | |
5 | -[2021-02-04 22:59:37.045][P:14084/T:11384][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 22:59:37.050][P:14084/T:11384][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C620050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 22:59:37.050][P:14084/T:11384][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 22:59:37.051][P:14084/T:11384][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 22:59:37.051][P:14084/T:11384][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 22:59:37.052][P:14084/T:11384][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 22:59:37.052][P:14084/T:11384][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 22:59:37.060][P:14084/T:11384][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C620090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 22:59:37.060][P:14084/T:11384][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=497485296.] |
cloud/dahua/sdklog/2021-02-04_23-04-09.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 23:04:09.050 | |
2 | -[2021-02-04 23:04:09.050][P:17232/T:15352][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 23:04:09.067][P:17232/T:15352][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029F80000 | |
4 | - | |
5 | -[2021-02-04 23:04:09.067][P:17232/T:15352][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 23:04:09.072][P:17232/T:15352][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CBB0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 23:04:09.072][P:17232/T:15352][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 23:04:09.072][P:17232/T:15352][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 23:04:09.072][P:17232/T:15352][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 23:04:09.074][P:17232/T:15352][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 23:04:09.074][P:17232/T:15352][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 23:04:09.081][P:17232/T:15352][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CBB0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 23:04:09.081][P:17232/T:15352][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=499192912.] |
cloud/dahua/sdklog/2021-02-04_23-09-47.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 23:09:47.048 | |
2 | -[2021-02-04 23:09:47.048][P:12796/T:16952][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 23:09:47.062][P:12796/T:16952][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029D20000 | |
4 | - | |
5 | -[2021-02-04 23:09:47.063][P:12796/T:16952][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 23:09:47.068][P:12796/T:16952][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CB10050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 23:09:47.068][P:12796/T:16952][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 23:09:47.070][P:12796/T:16952][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 23:09:47.070][P:12796/T:16952][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 23:09:47.071][P:12796/T:16952][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 23:09:47.071][P:12796/T:16952][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 23:09:47.078][P:12796/T:16952][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CB10090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 23:09:47.078][P:12796/T:16952][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=499129584.] |
cloud/dahua/sdklog/2021-02-04_23-10-54.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 23:10:54.377 | |
2 | -[2021-02-04 23:10:54.378][P:15880/T:10132][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 23:10:54.400][P:15880/T:10132][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029A60000 | |
4 | - | |
5 | -[2021-02-04 23:10:54.400][P:15880/T:10132][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 23:10:54.405][P:15880/T:10132][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002EA0050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 23:10:54.405][P:15880/T:10132][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 23:10:54.406][P:15880/T:10132][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 23:10:54.406][P:15880/T:10132][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 23:10:54.407][P:15880/T:10132][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 23:10:54.407][P:15880/T:10132][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 23:10:54.414][P:15880/T:10132][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002EA0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 23:10:54.414][P:15880/T:10132][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=477829504.] |
cloud/dahua/sdklog/2021-02-04_23-11-28.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-04 23:11:28.880 | |
2 | -[2021-02-04 23:11:28.880][P:12804/T:5660][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-04 23:11:28.897][P:12804/T:5660][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000293E0000 | |
4 | - | |
5 | -[2021-02-04 23:11:28.897][P:12804/T:5660][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-04 23:11:28.903][P:12804/T:5660][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CA90050, dwUser=0000000000000000]. | |
7 | -[2021-02-04 23:11:28.903][P:12804/T:5660][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-04 23:11:28.905][P:12804/T:5660][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-04 23:11:28.905][P:12804/T:5660][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-04 23:11:28.906][P:12804/T:5660][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-04 23:11:28.906][P:12804/T:5660][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-04 23:11:28.912][P:12804/T:5660][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CA90090, dwUserData=0000000000000000.] | |
13 | -[2021-02-04 23:11:28.913][P:12804/T:5660][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=498598672.] |
cloud/dahua/sdklog/2021-02-05_15-19-12.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:19:12.830 | |
2 | -[2021-02-05 15:19:12.831][P:9496/T:9168][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:19:12.850][P:9496/T:9168][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000295A0000 | |
4 | - | |
5 | -[2021-02-05 15:19:12.850][P:9496/T:9168][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:19:12.855][P:9496/T:9168][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001E290050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:19:12.855][P:9496/T:9168][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:19:12.856][P:9496/T:9168][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:19:12.856][P:9496/T:9168][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:19:12.857][P:9496/T:9168][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:19:12.857][P:9496/T:9168][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:19:12.865][P:9496/T:9168][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001E290090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:19:12.865][P:9496/T:9168][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=508824848.] |
cloud/dahua/sdklog/2021-02-05_15-27-25.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:27:25.569 | |
2 | -[2021-02-05 15:27:25.570][P:828/T:4860][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:27:25.593][P:828/T:4860][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002A360000 | |
4 | - | |
5 | -[2021-02-05 15:27:25.593][P:828/T:4860][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:27:25.601][P:828/T:4860][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000034F0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:27:25.601][P:828/T:4860][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:27:25.602][P:828/T:4860][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:27:25.602][P:828/T:4860][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:27:25.604][P:828/T:4860][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:27:25.604][P:828/T:4860][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:27:25.613][P:828/T:4860][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=00000000034F0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:27:25.614][P:828/T:4860][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=558175520.] |
cloud/dahua/sdklog/2021-02-05_15-29-38.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:29:38.732 | |
2 | -[2021-02-05 15:29:38.732][P:10852/T:10548][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:29:38.756][P:10852/T:10548][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000034510000 | |
4 | - | |
5 | -[2021-02-05 15:29:38.756][P:10852/T:10548][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:29:38.761][P:10852/T:10548][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CD20050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:29:38.761][P:10852/T:10548][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:29:38.763][P:10852/T:10548][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:29:38.763][P:10852/T:10548][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:29:38.764][P:10852/T:10548][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:29:38.764][P:10852/T:10548][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:29:38.772][P:10852/T:10548][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CD20090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:29:38.773][P:10852/T:10548][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=482477056.] |
cloud/dahua/sdklog/2021-02-05_15-30-45.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:30:45.942 | |
2 | -[2021-02-05 15:30:45.942][P:16416/T:1428][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:30:45.959][P:16416/T:1428][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000034F50000 | |
4 | - | |
5 | -[2021-02-05 15:30:45.959][P:16416/T:1428][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:30:45.964][P:16416/T:1428][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000002EC0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:30:45.964][P:16416/T:1428][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:30:45.966][P:16416/T:1428][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:30:45.966][P:16416/T:1428][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:30:45.967][P:16416/T:1428][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:30:45.967][P:16416/T:1428][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:30:45.973][P:16416/T:1428][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000002EC0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:30:45.974][P:16416/T:1428][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=479009648.] |
cloud/dahua/sdklog/2021-02-05_15-31-55.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:31:55.127 | |
2 | -[2021-02-05 15:31:55.127][P:1756/T:8416][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:31:55.146][P:1756/T:8416][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028170000 | |
4 | - | |
5 | -[2021-02-05 15:31:55.146][P:1756/T:8416][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:31:55.152][P:1756/T:8416][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CCA0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:31:55.152][P:1756/T:8416][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:31:55.154][P:1756/T:8416][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:31:55.154][P:1756/T:8416][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:31:55.154][P:1756/T:8416][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:31:55.154][P:1756/T:8416][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:31:55.162][P:1756/T:8416][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CCA0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:31:55.162][P:1756/T:8416][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=500171664.] |
cloud/dahua/sdklog/2021-02-05_15-32-49.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:32:49.202 | |
2 | -[2021-02-05 15:32:49.202][P:1304/T:14508][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:32:49.218][P:1304/T:14508][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028CD0000 | |
4 | - | |
5 | -[2021-02-05 15:32:49.218][P:1304/T:14508][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:32:49.223][P:1304/T:14508][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C5E0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:32:49.223][P:1304/T:14508][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:32:49.225][P:1304/T:14508][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:32:49.225][P:1304/T:14508][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:32:49.226][P:1304/T:14508][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:32:49.226][P:1304/T:14508][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:32:49.233][P:1304/T:14508][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C5E0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:32:49.233][P:1304/T:14508][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=543687792.] |
cloud/dahua/sdklog/2021-02-05_15-38-00.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 15:38:00.220 | |
2 | -[2021-02-05 15:38:00.220][P:4192/T:16236][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 15:38:00.240][P:4192/T:16236][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028000000 | |
4 | - | |
5 | -[2021-02-05 15:38:00.240][P:4192/T:16236][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 15:38:00.246][P:4192/T:16236][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CBA0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 15:38:00.246][P:4192/T:16236][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 15:38:00.248][P:4192/T:16236][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 15:38:00.248][P:4192/T:16236][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 15:38:00.249][P:4192/T:16236][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 15:38:00.249][P:4192/T:16236][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 15:38:00.256][P:4192/T:16236][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CBA0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 15:38:00.257][P:4192/T:16236][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502208656.] |
cloud/dahua/sdklog/2021-02-05_20-42-42.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 20:42:42.593 | |
2 | -[2021-02-05 20:42:42.593][P:14804/T:16152][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 20:42:42.608][P:14804/T:16152][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002AA20000 | |
4 | - | |
5 | -[2021-02-05 20:42:42.608][P:14804/T:16152][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 20:42:42.613][P:14804/T:16152][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001D290050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 20:42:42.613][P:14804/T:16152][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 20:42:42.613][P:14804/T:16152][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 20:42:42.613][P:14804/T:16152][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 20:42:42.614][P:14804/T:16152][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 20:42:42.614][P:14804/T:16152][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 20:42:42.620][P:14804/T:16152][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001D290090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 20:42:42.620][P:14804/T:16152][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=506270192.] |
cloud/dahua/sdklog/2021-02-05_20-48-05.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 20:48:05.104 | |
2 | -[2021-02-05 20:48:05.104][P:15304/T:16260][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 20:48:05.120][P:15304/T:16260][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002ED80000 | |
4 | - | |
5 | -[2021-02-05 20:48:05.120][P:15304/T:16260][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 20:48:05.125][P:15304/T:16260][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000038B0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 20:48:05.126][P:15304/T:16260][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 20:48:05.128][P:15304/T:16260][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 20:48:05.128][P:15304/T:16260][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 20:48:05.128][P:15304/T:16260][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 20:48:05.128][P:15304/T:16260][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 20:48:05.135][P:15304/T:16260][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=00000000038B0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 20:48:05.135][P:15304/T:16260][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=488244112.] |
cloud/dahua/sdklog/2021-02-05_20-53-15.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 20:53:15.977 | |
2 | -[2021-02-05 20:53:15.977][P:3136/T:9692][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 20:53:15.996][P:3136/T:9692][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028080000 | |
4 | - | |
5 | -[2021-02-05 20:53:15.996][P:3136/T:9692][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 20:53:16.001][P:3136/T:9692][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=0000000003190050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 20:53:16.001][P:3136/T:9692][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 20:53:16.003][P:3136/T:9692][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 20:53:16.003][P:3136/T:9692][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 20:53:16.004][P:3136/T:9692][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 20:53:16.004][P:3136/T:9692][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 20:53:16.011][P:3136/T:9692][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=0000000003190090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 20:53:16.012][P:3136/T:9692][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=502530368.] |
cloud/dahua/sdklog/2021-02-05_21-13-03.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 21:13:03.184 | |
2 | -[2021-02-05 21:13:03.184][P:9564/T:16188][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 21:13:03.203][P:9564/T:16188][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029030000 | |
4 | - | |
5 | -[2021-02-05 21:13:03.203][P:9564/T:16188][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 21:13:03.208][P:9564/T:16188][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=00000000031F0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 21:13:03.208][P:9564/T:16188][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 21:13:03.210][P:9564/T:16188][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 21:13:03.210][P:9564/T:16188][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 21:13:03.210][P:9564/T:16188][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 21:13:03.210][P:9564/T:16188][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 21:13:03.218][P:9564/T:16188][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=00000000031F0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 21:13:03.218][P:9564/T:16188][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=505224048.] |
cloud/dahua/sdklog/2021-02-05_21-13-52.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 21:13:52.947 | |
2 | -[2021-02-05 21:13:52.947][P:14160/T:13140][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 21:13:52.963][P:14160/T:13140][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000029C70000 | |
4 | - | |
5 | -[2021-02-05 21:13:52.963][P:14160/T:13140][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 21:13:52.968][P:14160/T:13140][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C9E0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 21:13:52.968][P:14160/T:13140][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 21:13:52.970][P:14160/T:13140][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 21:13:52.970][P:14160/T:13140][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 21:13:52.971][P:14160/T:13140][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 21:13:52.971][P:14160/T:13140][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 21:13:52.979][P:14160/T:13140][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C9E0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 21:13:52.979][P:14160/T:13140][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=497097360.] |
cloud/dahua/sdklog/2021-02-05_21-14-43.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 21:14:43.027 | |
2 | -[2021-02-05 21:14:43.028][P:4460/T:14268][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 21:14:43.055][P:4460/T:14268][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 00000000292F0000 | |
4 | - | |
5 | -[2021-02-05 21:14:43.055][P:4460/T:14268][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 21:14:43.060][P:4460/T:14268][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CC20050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 21:14:43.060][P:4460/T:14268][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 21:14:43.062][P:4460/T:14268][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 21:14:43.062][P:4460/T:14268][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 21:14:43.063][P:4460/T:14268][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 21:14:43.063][P:4460/T:14268][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 21:14:43.072][P:4460/T:14268][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CC20090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 21:14:43.072][P:4460/T:14268][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=505873520.] |
cloud/dahua/sdklog/2021-02-05_21-15-23.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 21:15:23.447 | |
2 | -[2021-02-05 21:15:23.447][P:13448/T:10052][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 21:15:23.471][P:13448/T:10052][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 0000000028E40000 | |
4 | - | |
5 | -[2021-02-05 21:15:23.472][P:13448/T:10052][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 21:15:23.476][P:13448/T:10052][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001C5A0050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 21:15:23.476][P:13448/T:10052][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 21:15:23.478][P:13448/T:10052][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 21:15:23.478][P:13448/T:10052][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 21:15:23.479][P:13448/T:10052][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 21:15:23.479][P:13448/T:10052][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 21:15:23.486][P:13448/T:10052][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001C5A0090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 21:15:23.486][P:13448/T:10052][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=497290512.] |
cloud/dahua/sdklog/2021-02-05_21-16-44.log
... | ... | @@ -1,13 +0,0 @@ |
1 | -Begin Time:2021-02-05 21:16:44.165 | |
2 | -[2021-02-05 21:16:44.165][P:1304/T:10244][AVNetSDKMgr.cpp:358][Info][0] Load avnetsdk library dynamically | |
3 | -[2021-02-05 21:16:44.180][P:1304/T:10244][AVNetSDKMgr.cpp:382][Info][0] avnetsdk module handle: 000000002B430000 | |
4 | - | |
5 | -[2021-02-05 21:16:44.180][P:1304/T:10244][AVNetSDKMgr.cpp:702][Info][0] Load configsdk dynamically | |
6 | -[2021-02-05 21:16:44.185][P:1304/T:10244][dhnetsdk.cpp:186][Info][0] Enter CLIENT_SetAutoReconnect:[cbAutoConnect=000000001CC90050, dwUser=0000000000000000]. | |
7 | -[2021-02-05 21:16:44.185][P:1304/T:10244][dhnetsdk.cpp:188][Info][0] Leave CLIENT_SetAutoReconnect. | |
8 | -[2021-02-05 21:16:44.188][P:1304/T:10244][dhnetsdk.cpp:206][Info][0] Enter CLIENT_SetConnectTime:[nWaitTime=5000, nTryTimes=1]. | |
9 | -[2021-02-05 21:16:44.188][P:1304/T:10244][dhnetsdk.cpp:219][Info][0] Leave CLIENT_SetConnectTime. | |
10 | -[2021-02-05 21:16:44.189][P:1304/T:10244][dhnetsdk.cpp:230][Info][0] Enter CLIENT_SetNetworkParam:[nWaittime=0, nConnectTime=10000, nConnectTryNum=0, nSubConnectSpaceTime=0, nGetDevInfoTime=0, nConnectBufSize=0, nGetConnInfoTime=3000, nSearchRecordTime=0, nsubDisconnetTime=0, byNetType=0, byPlaybackBufSize=0, bDetectDisconnTime=0, bKeepLifeInterval=0, nPicBufSize=0]. | |
11 | -[2021-02-05 21:16:44.189][P:1304/T:10244][dhnetsdk.cpp:245][Info][0] Leave CLIENT_SetNetworkParam. | |
12 | -[2021-02-05 21:16:44.195][P:1304/T:10244][dhnetsdk.cpp:6654][Info][0] Enter CLIENT_ListenServer. [ip=192.168.101.13, port=9500, nTimeout=1000, cbListen=000000001CC90090, dwUserData=0000000000000000.] | |
13 | -[2021-02-05 21:16:44.196][P:1304/T:10244][dhnetsdk.cpp:6658][Info][0] Leave CLIENT_ListenServer.[ret=500112016.] |
cloud/dahua/src/main/java/com/example/dahua/MyTask.java
1 | 1 | package com.example.dahua; |
2 | 2 | |
3 | 3 | import com.alibaba.fastjson.JSON; |
4 | -import com.alibaba.fastjson.JSONObject; | |
5 | 4 | import com.example.dahua.bean.*; |
6 | 5 | import com.example.dahua.dao.UserDao; |
7 | 6 | import com.example.dahua.enums.EnumDeviceType; |
... | ... | @@ -21,7 +20,6 @@ import com.example.dahua.utils.JsonUtils; |
21 | 20 | import com.example.dahua.xiananDao.SearchMapper; |
22 | 21 | import com.example.dahua.xiananDao.SendRecordDao; |
23 | 22 | import com.example.dahua.xstDao.MessageDao; |
24 | -import com.google.gson.Gson; | |
25 | 23 | import com.sun.jna.Pointer; |
26 | 24 | import com.sun.jna.ptr.IntByReference; |
27 | 25 | import lombok.extern.slf4j.Slf4j; |
... | ... | @@ -47,14 +45,10 @@ import java.io.IOException; |
47 | 45 | import java.io.UnsupportedEncodingException; |
48 | 46 | import java.text.SimpleDateFormat; |
49 | 47 | import java.util.*; |
50 | -import java.util.concurrent.CopyOnWriteArrayList; | |
51 | -import java.util.stream.Collectors; | |
52 | 48 | |
53 | 49 | @Component |
54 | 50 | @Slf4j |
55 | 51 | public class MyTask implements ApplicationRunner { |
56 | - | |
57 | - | |
58 | 52 | //设备登录账号 |
59 | 53 | public static String strUser = "admin"; |
60 | 54 | |
... | ... | @@ -139,7 +133,6 @@ public class MyTask implements ApplicationRunner { |
139 | 133 | */ |
140 | 134 | log.info("new Utils().getHostAddress(): " + new Utils().getHostAddress()); |
141 | 135 | AutoRegisterModule.startServer(new Utils().getHostAddress(), 9500, serviceCallback); |
142 | - | |
143 | 136 | } |
144 | 137 | |
145 | 138 | |
... | ... | @@ -154,7 +147,6 @@ public class MyTask implements ApplicationRunner { |
154 | 147 | String deviceId = getDeviceId(pchDVRIP, nDVRPort); |
155 | 148 | log.info("DisConnect Device: {}, IP: {}, Port: {}",deviceId,pchDVRIP,nDVRPort); |
156 | 149 | if (!StringUtils.isEmpty(deviceId)) { |
157 | - String inTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); | |
158 | 150 | //保存设备 |
159 | 151 | saveAttendanceService(deviceId,pchDVRIP,nDVRPort,0); |
160 | 152 | GateModule.stopRealLoadPic(attachLongMap.get(deviceId)); |
... | ... | @@ -182,7 +174,6 @@ public class MyTask implements ApplicationRunner { |
182 | 174 | String deviceId = getDeviceId(pchDVRIP, nDVRPort); |
183 | 175 | log.info("ReConnect Device: {},IP: {},Port: {}", deviceId,pchDVRIP, nDVRPort); |
184 | 176 | if (!StringUtils.isEmpty(deviceId)) { |
185 | - String inTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); | |
186 | 177 | //保存设备 |
187 | 178 | saveAttendanceService(deviceId,pchDVRIP,nDVRPort,1); |
188 | 179 | DeviceInfoBean deviceInfoBean = new DeviceInfoBean(); |
... | ... | @@ -402,9 +393,7 @@ public class MyTask implements ApplicationRunner { |
402 | 393 | byte[] bufferBytes = new byte[dwBufSize]; |
403 | 394 | pBuffer.read(0, bufferBytes, 0, dwBufSize); |
404 | 395 | File path = new File(".\\FaceRecoder"); |
405 | - if (!path.exists()) { | |
406 | - path.mkdir(); | |
407 | - } | |
396 | + if (!path.exists()) path.mkdir(); | |
408 | 397 | //设备ID |
409 | 398 | CDevInfo data = new CDevInfo(); |
410 | 399 | ToolKits.GetPointerData(dwUser, data); |
... | ... | @@ -436,7 +425,7 @@ public class MyTask implements ApplicationRunner { |
436 | 425 | return -1; |
437 | 426 | } |
438 | 427 | // 缓存抓拍人脸 |
439 | - String fileName = StringUtils.isEmpty(userId)? card + ".png" : userId + ".png"; | |
428 | + String fileName = StringUtils.isEmpty(userId) ? card + ".png" : userId + ".png"; | |
440 | 429 | String snapPicPath = path + "\\" + fileName; |
441 | 430 | byte[] buffer = pBuffer.getByteArray(0, dwBufSize); |
442 | 431 | ByteArrayInputStream byteArrInputGlobal = new ByteArrayInputStream(buffer); |
... | ... | @@ -444,10 +433,10 @@ public class MyTask implements ApplicationRunner { |
444 | 433 | if (gateBufferedImage != null) { |
445 | 434 | ImageIO.write(gateBufferedImage, "png", new File(snapPicPath)); |
446 | 435 | } |
447 | - snapPicPath = snapPicPath.replaceFirst("\\.", "http://121.40.109.21:8991"); | |
436 | + snapPicPath = snapPicPath.replaceFirst("\\.", "http://120.26.116.253:8080"); | |
448 | 437 | snapPicPath = snapPicPath.replace("FaceRecoder", "image"); |
449 | 438 | //关联设备信息 |
450 | - AttendanceBean attendanceBean = myTaskUtil.userDao.getTypeByClint_id(szSn); | |
439 | + AttendanceBean attendanceBean = myTaskUtil.userDao.getDeviceByDeviceId(szSn); | |
451 | 440 | if(attendanceBean !=null){ |
452 | 441 | if(!StringUtils.isEmpty(attendanceBean.getSchool_id())){ |
453 | 442 | int schoolId = Integer.parseInt(attendanceBean.getSchool_id()); |
... | ... | @@ -466,7 +455,6 @@ public class MyTask implements ApplicationRunner { |
466 | 455 | if (cardBean.getType() == 0) { |
467 | 456 | //老师人脸信息,保存人脸记录表 |
468 | 457 | teacherBean = myTaskUtil.userDao.getTeacherWithId(cardBean.getUser_id()); |
469 | -// log.info("设备信息【{}】,学生卡信息【{}】",new Gson().toJson(attendanceBean),new Gson().toJson(teacherBean)); | |
470 | 458 | myTaskUtil.sendRecordDao.addFaceRecoder(szSn, teacherBean.getUser_id(), teacherBean.getName(), snapPicPath,eventType, |
471 | 459 | eventTime, card,messageCode ==20?EnumSendFaceType.TIME_INTERVAL_ERROR.message:"",schoolId); |
472 | 460 | } |
... | ... | @@ -494,10 +482,6 @@ public class MyTask implements ApplicationRunner { |
494 | 482 | sendRecordToSXYX(teacherBean.getName(),teacherBean.getUser_id(),intOrOut,eventTime,getScene(clintName)); |
495 | 483 | } |
496 | 484 | }else{ |
497 | -// if(schoolId == 489){ | |
498 | -// eventTime = DateUtils.date2String(DateUtils.getDateByTime(-5,new Date()), DateUtils.format2); | |
499 | -//// log.info("设备ID: {},刷卡结果:{},开门方向: {}, 开门用户: {}, 开门卡号: {}",szSn,result,openMsg,userInfoBean.getName(),userInfoBean.getStudent_num()); | |
500 | -// } | |
501 | 485 | //保存考勤记录 |
502 | 486 | kaoQinRecord(status, eventType, card, szSn, eventTime,lAnalyzerHandle); |
503 | 487 | } |
... | ... | @@ -631,7 +615,6 @@ public class MyTask implements ApplicationRunner { |
631 | 615 | * @return |
632 | 616 | */ |
633 | 617 | public static String cardNo(String cardDex) { |
634 | - | |
635 | 618 | String cardR = ""; |
636 | 619 | int length = cardDex.length(); |
637 | 620 | if (length != 8) { |
... | ... | @@ -642,7 +625,6 @@ public class MyTask implements ApplicationRunner { |
642 | 625 | length -= 2; |
643 | 626 | cardR += cardDex.substring(length, length + 2); |
644 | 627 | } |
645 | - | |
646 | 628 | return cardR; |
647 | 629 | |
648 | 630 | } | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/async/MyScheduledTask.java
... | ... | @@ -69,7 +69,7 @@ public class MyScheduledTask { |
69 | 69 | |
70 | 70 | private String deleteDate = "";//删除一周前的图片用的 |
71 | 71 | |
72 | - private String imgFilPath = "C:\\EhomePicServer";//抓拍图片路径 | |
72 | + private String imgFilPath = "C:\\workspace\\dahua\\FaceRecoder";//抓拍图片路径 | |
73 | 73 | |
74 | 74 | @Scheduled(fixedRate = 5000) |
75 | 75 | private void deleteFace(){ |
... | ... | @@ -141,7 +141,7 @@ public class MyScheduledTask { |
141 | 141 | MqttManager mqttManager = new MqttManager(); |
142 | 142 | |
143 | 143 | |
144 | - @Scheduled(fixedRate = 1000) | |
144 | +// @Scheduled(fixedRate = 1000) | |
145 | 145 | public void sendMq() { |
146 | 146 | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH"); |
147 | 147 | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/async/SendFaceBatchTask100.java
... | ... | @@ -1,106 +0,0 @@ |
1 | -package com.example.dahua.async; | |
2 | - | |
3 | -import com.example.dahua.bean.UserInfoBean; | |
4 | -import com.example.dahua.dao.UserDao; | |
5 | -import com.example.dahua.utils.DateFormatUtil; | |
6 | -import com.example.dahua.xiananDao.SearchMapper; | |
7 | -import com.example.dahua.xiananDao.SendRecordDao; | |
8 | -import lombok.extern.slf4j.Slf4j; | |
9 | -import org.springframework.util.CollectionUtils; | |
10 | - | |
11 | -import java.text.SimpleDateFormat; | |
12 | -import java.util.Calendar; | |
13 | -import java.util.Date; | |
14 | -import java.util.List; | |
15 | -import java.util.UUID; | |
16 | -import java.util.concurrent.CountDownLatch; | |
17 | - | |
18 | -/** | |
19 | - * 多线程执行卡下发 | |
20 | - * @author xuquan | |
21 | - * @date 2021/01/12 15:56 | |
22 | - */ | |
23 | -@Slf4j | |
24 | -public class SendFaceBatchTask100 implements Runnable { | |
25 | - | |
26 | - | |
27 | - CountDownLatch begin; | |
28 | - CountDownLatch end; | |
29 | - UserDao userDao; | |
30 | - SendRecordDao sendRecordDao; | |
31 | - SearchMapper searchMapper; | |
32 | - Integer schoolId; | |
33 | - Integer roomId; | |
34 | - Integer type; | |
35 | - Integer outof; | |
36 | - String intime; | |
37 | - String clintId; | |
38 | - String startTime; | |
39 | - String endTime; | |
40 | - | |
41 | - public SendFaceBatchTask100(UserDao userDao,SendRecordDao sendRecordDao,SearchMapper searchMapper,Integer schoolId,Integer roomId, | |
42 | - Integer type,Integer outof,String intime,String clintId,String startTime,String endTime,CountDownLatch begin, CountDownLatch end){ | |
43 | - this.begin=begin; | |
44 | - this.end=end; | |
45 | - this.userDao=userDao; | |
46 | - this.sendRecordDao=sendRecordDao; | |
47 | - this.searchMapper=searchMapper; | |
48 | - this.schoolId=schoolId; | |
49 | - this.roomId=roomId; | |
50 | - this.type= type; | |
51 | - this.outof=outof; | |
52 | - this.intime=intime; | |
53 | - this.clintId=clintId; | |
54 | - this.startTime=startTime; | |
55 | - this.endTime=endTime; | |
56 | - } | |
57 | - | |
58 | - @Override | |
59 | - public void run() { | |
60 | - try { | |
61 | - begin.await(); | |
62 | - int num= (int)Math.random()*20+30; | |
63 | - List<String> studentIds = userDao.queryStudentIdList(schoolId,roomId); | |
64 | - if(!CollectionUtils.isEmpty(studentIds)){ | |
65 | - System.out.println("总数:"+studentIds.size()); | |
66 | - int i =0; | |
67 | - for(String studentId : studentIds){ | |
68 | - if(i==num){ | |
69 | - return; | |
70 | - } | |
71 | - UserInfoBean userInfoBean = userDao.getStudentWithid(studentId); | |
72 | - if(userInfoBean!=null){ | |
73 | - String cardNum = userInfoBean.getStudent_num(); | |
74 | - String userId = userInfoBean.getUser_id(); | |
75 | - String com = userInfoBean.getStudent_id(); | |
76 | - String classId = userInfoBean.getClass_id(); | |
77 | - String className = userInfoBean.getClass_name(); | |
78 | - String name= userInfoBean.getName(); | |
79 | - String mobile= userInfoBean.getParentMobile(); | |
80 | - String sex = String.valueOf(userInfoBean.getSex()); | |
81 | - String cid= UUID.randomUUID().toString().toUpperCase(); | |
82 | - int count = sendRecordDao.getKaoQin(schoolId,cardNum,type,outof,startTime,endTime); | |
83 | - System.out.println("count: "+count); | |
84 | - if(count ==0){ | |
85 | - intime = DateFormatUtil.getDateAdd(intime); | |
86 | - searchMapper.insert(userId,String.valueOf(schoolId),com,cardNum,type,outof,intime,cid,classId,clintId,name,mobile,className,sex,intime); | |
87 | - i++; | |
88 | - } | |
89 | - } | |
90 | - } | |
91 | - } | |
92 | - }catch (Exception e){ | |
93 | - log.error("异常,信息:",e); | |
94 | - }finally { | |
95 | - end.countDown(); | |
96 | - } | |
97 | - } | |
98 | - | |
99 | - public static void main(String[] args) { | |
100 | - for(int i=1;i<20;i++){ | |
101 | - int num= (int)(Math.random()*20)+30; | |
102 | - System.out.println(num); | |
103 | - } | |
104 | - } | |
105 | - | |
106 | -} |
cloud/dahua/src/main/java/com/example/dahua/async/SendFaceBatchTask2.java
... | ... | @@ -1,102 +0,0 @@ |
1 | -package com.example.dahua.async; | |
2 | - | |
3 | -import com.example.dahua.bean.StudentBean; | |
4 | -import com.example.dahua.bean.UserInfoBean; | |
5 | -import com.example.dahua.dao.UserDao; | |
6 | -import com.example.dahua.utils.DateFormatUtil; | |
7 | -import com.example.dahua.xiananDao.SearchMapper; | |
8 | -import com.example.dahua.xiananDao.SendRecordDao; | |
9 | -import lombok.extern.slf4j.Slf4j; | |
10 | -import org.springframework.util.CollectionUtils; | |
11 | - | |
12 | -import java.util.List; | |
13 | -import java.util.UUID; | |
14 | -import java.util.concurrent.CountDownLatch; | |
15 | - | |
16 | -/** | |
17 | - * 多线程执行卡下发 | |
18 | - * @author xuquan | |
19 | - * @date 2021/01/12 15:56 | |
20 | - */ | |
21 | -@Slf4j | |
22 | -public class SendFaceBatchTask2 implements Runnable { | |
23 | - | |
24 | - | |
25 | - CountDownLatch begin; | |
26 | - CountDownLatch end; | |
27 | - UserDao userDao; | |
28 | - SendRecordDao sendRecordDao; | |
29 | - SearchMapper searchMapper; | |
30 | - Integer schoolId; | |
31 | - Integer roomId; | |
32 | - Integer type; | |
33 | - Integer outof; | |
34 | - String intime; | |
35 | - String clintId; | |
36 | - String startTime; | |
37 | - String endTime; | |
38 | - | |
39 | - public SendFaceBatchTask2(UserDao userDao, SendRecordDao sendRecordDao, SearchMapper searchMapper, Integer schoolId, Integer roomId, | |
40 | - Integer type, Integer outof, String intime, String clintId, String startTime, String endTime, CountDownLatch begin, CountDownLatch end){ | |
41 | - this.begin=begin; | |
42 | - this.end=end; | |
43 | - this.userDao=userDao; | |
44 | - this.sendRecordDao=sendRecordDao; | |
45 | - this.searchMapper=searchMapper; | |
46 | - this.schoolId=schoolId; | |
47 | - this.roomId=roomId; | |
48 | - this.type= type; | |
49 | - this.outof=outof; | |
50 | - this.intime=intime; | |
51 | - this.clintId=clintId; | |
52 | - this.startTime=startTime; | |
53 | - this.endTime=endTime; | |
54 | - } | |
55 | - | |
56 | - @Override | |
57 | - public void run() { | |
58 | - try { | |
59 | - begin.await(); | |
60 | - int num= (int)(Math.random()*50)+150; | |
61 | - List<StudentBean> studentIds = userDao.getStudentList(schoolId,1,null); | |
62 | - if(!CollectionUtils.isEmpty(studentIds)){ | |
63 | - System.out.println("总数:"+studentIds.size()); | |
64 | - for(int i=0;i<=studentIds.size();i++){ | |
65 | - if(i==num){ | |
66 | - return; | |
67 | - } | |
68 | - String cardNum = studentIds.get(i).getStudent_num(); | |
69 | - String userId = studentIds.get(i).getUser_id(); | |
70 | - String com = studentIds.get(i).getStudent_id(); | |
71 | - String classId = studentIds.get(i).getClass_id(); | |
72 | - String className = studentIds.get(i).getClass_name(); | |
73 | - String name= studentIds.get(i).getName(); | |
74 | - String mobile= studentIds.get(i).getParentMobile(); | |
75 | - String sex = String.valueOf(studentIds.get(i).getSex()); | |
76 | - String cid= UUID.randomUUID().toString().toUpperCase(); | |
77 | - int count = sendRecordDao.getKaoQin(schoolId,cardNum,type,outof,startTime,endTime);; | |
78 | - System.out.println("count: "+count); | |
79 | - System.out.println("cardNum "+cardNum); | |
80 | - if(count ==0){ | |
81 | - intime = DateFormatUtil.getDateAdd(intime); | |
82 | - searchMapper.insert(userId,String.valueOf(schoolId),com,cardNum,type,outof,intime,cid,classId,clintId,name,mobile,className,sex,intime); | |
83 | - i++; | |
84 | - } | |
85 | - } | |
86 | - } | |
87 | - }catch (Exception e){ | |
88 | - log.error("异常,信息:",e); | |
89 | - }finally { | |
90 | - end.countDown(); | |
91 | - } | |
92 | - } | |
93 | - | |
94 | - public static void main(String[] args) { | |
95 | - for(int i=1;i<20;i++){ | |
96 | - int num= (int)(Math.random()*50)+150; | |
97 | -// int num= (int)(Math.random()*20)+30; | |
98 | - System.out.println(num); | |
99 | - } | |
100 | - } | |
101 | - | |
102 | -} |
cloud/dahua/src/main/java/com/example/dahua/async/SendUserInfoTask.java
... | ... | @@ -13,16 +13,13 @@ import com.example.dahua.lib.ToolKits; |
13 | 13 | import com.example.dahua.module.GateModule; |
14 | 14 | import com.example.dahua.service.PermissFaceService; |
15 | 15 | import com.example.dahua.utils.FileUtils; |
16 | -import com.example.dahua.utils.HttpUtils; | |
17 | 16 | import com.example.dahua.utils.JsonUtils; |
18 | 17 | import com.example.dahua.xiananDao.SendRecordDao; |
19 | 18 | import com.sun.jna.Memory; |
20 | 19 | import lombok.extern.slf4j.Slf4j; |
21 | 20 | import org.springframework.beans.factory.annotation.Autowired; |
22 | -import org.springframework.beans.factory.annotation.Qualifier; | |
23 | 21 | import org.springframework.http.ResponseEntity; |
24 | 22 | import org.springframework.scheduling.annotation.Async; |
25 | -import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; | |
26 | 23 | import org.springframework.stereotype.Component; |
27 | 24 | import org.springframework.util.StringUtils; |
28 | 25 | import org.springframework.web.client.RestTemplate; |
... | ... | @@ -30,7 +27,6 @@ import org.springframework.web.client.RestTemplate; |
30 | 27 | import java.io.*; |
31 | 28 | import java.text.SimpleDateFormat; |
32 | 29 | import java.util.*; |
33 | -import java.util.concurrent.RejectedExecutionException; | |
34 | 30 | |
35 | 31 | /** |
36 | 32 | * 下发卡号的异步操作 |
... | ... | @@ -75,7 +71,7 @@ public class SendUserInfoTask { |
75 | 71 | //设置下发记录 |
76 | 72 | SendRecordBean sendRecordBean = new SendRecordBean(); |
77 | 73 | sendRecordBean.setSchoolId(Integer.parseInt(schoolId)); |
78 | - sendRecordBean.setSchoolName(userDao.getSchoolName(schoolId)); | |
74 | + sendRecordBean.setSchoolName(userDao.getSchoolName(Integer.parseInt(schoolId))); | |
79 | 75 | sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); |
80 | 76 | sendRecordBean.setUserType(userType); |
81 | 77 | sendRecordBean.setNum(userInfoBean.getStudent_num()); |
... | ... | @@ -88,95 +84,6 @@ public class SendUserInfoTask { |
88 | 84 | sendUserInfoToDev(file, attendanceBeans, userInfoBean, String.valueOf(userType), sendRecordBean); |
89 | 85 | } |
90 | 86 | |
91 | - // @Async("taskExecutor") | |
92 | - public void doTaskSendUserInfos(String schoolId, String clint_type, int type, int failtype) { | |
93 | - try { | |
94 | - String filePathStudent = "E:\\wwwhtdocs\\SmartCampus\\face17e50\\School" + schoolId + "\\Student"; | |
95 | - String filePathParent = "E:\\wwwhtdocs\\SmartCampus\\face17e50\\School" + schoolId + "\\Parent"; | |
96 | - String filePathTeacher = "E:\\wwwhtdocs\\SmartCampus\\face17e50\\School" + schoolId + "\\Teacher"; | |
97 | -// String filePathStudent = "F:\\wwwroot\\SmartCampus\\face17e50\\School" + schoolId + "\\Student"; | |
98 | -// String filePathParent = "F:\\wwwroot\\SmartCampus\\face17e50\\School" + schoolId + "\\Parent"; | |
99 | -// String filePathTeacher = "F:\\wwwroot\\SmartCampus\\face17e50\\School" + schoolId + "\\Teacher"; | |
100 | - | |
101 | - List<File> fileList = new ArrayList<>(); | |
102 | - File filePaths = null; | |
103 | - String userType = ""; | |
104 | - if (type == 0) {//主卡下发 | |
105 | - filePaths = new File(filePathStudent); | |
106 | - userType = "2"; | |
107 | - } else if (type == 1) {//副卡下发 | |
108 | - filePaths = new File(filePathParent); | |
109 | - userType = "2"; | |
110 | - } else if (type == 2) {//教师卡下发 | |
111 | - filePaths = new File(filePathTeacher); | |
112 | - userType = "1"; | |
113 | - } else { | |
114 | - filePaths = new File(""); | |
115 | - } | |
116 | - SendRecordBean sendRecordBean = new SendRecordBean(); | |
117 | - sendRecordBean.setSchoolId(Integer.parseInt(schoolId)); | |
118 | - sendRecordBean.setSchoolName(userDao.getSchoolName(schoolId)); | |
119 | - sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); | |
120 | - sendRecordBean.setUserType(Integer.parseInt(userType)); | |
121 | - sendRecordBean.setFailType(failtype); | |
122 | - if (!filePaths.exists()) { | |
123 | - return; | |
124 | - } | |
125 | - File[] filesStudent = filePaths.listFiles(); | |
126 | - if (filesStudent == null) { | |
127 | - System.out.println("没有找到人脸图片"); | |
128 | - return; | |
129 | - } | |
130 | - /** | |
131 | - * 添加学生人脸 | |
132 | - */ | |
133 | - for (int i = 0; i < filesStudent.length; i++) { | |
134 | - fileList.add(filesStudent[i]); | |
135 | - } | |
136 | - while (fileList.size() > 0) { | |
137 | - File studentFile = fileList.get(0); | |
138 | - String studentCode = studentFile.getName().split("\\.")[0]; | |
139 | - UserInfoBean userInfoBean = null; | |
140 | - //判断是否是副卡 | |
141 | - String[] studentCodes = studentCode.split("_"); | |
142 | - System.out.println("学籍号:" + studentCode); | |
143 | - if (studentCodes.length > 1) {//副卡 | |
144 | - String studentcode = studentCodes[0]; | |
145 | - String cardType = studentCodes[1]; | |
146 | - userInfoBean = userDao.getUserInfo(schoolId, studentcode); | |
147 | - if (!userIsExit(fileList, studentcode, userInfoBean, sendRecordBean)) continue; | |
148 | - String cardNum = userDao.getCardNum(userInfoBean.getStudent_id(), cardType); | |
149 | - userInfoBean.setStudent_num(cardNum); | |
150 | - } else { | |
151 | - if (type == 0 || type == 1) {//学生信息或家长信息 | |
152 | - userInfoBean = userDao.getUserInfo(schoolId, studentCode); | |
153 | - HttpUtils.uploadImgs(studentFile, schoolId, studentCode, clint_type, 2,""); | |
154 | - } else if (type == 2) {//教师信息 | |
155 | - TeacherBean teacher = userDao.getTeacher(schoolId, studentCode); | |
156 | - System.out.println("教师信息:" + teacher.toString()); | |
157 | - if (null != teacher) { | |
158 | - userInfoBean = new UserInfoBean(); | |
159 | - userInfoBean.setStudent_num(teacher.getTeacher_num()); | |
160 | - userInfoBean.setName(teacher.getName()); | |
161 | - userInfoBean.setUser_id(teacher.getUser_id()); | |
162 | - userInfoBean.setStudentcode(teacher.getNum()); | |
163 | - userInfoBean.setStudent_id(teacher.getTeacher_id()); | |
164 | - } | |
165 | - HttpUtils.uploadImgs(studentFile, schoolId, studentCode, clint_type, 1,""); | |
166 | - } | |
167 | - //判断用户是否存在 | |
168 | - if (!userIsExit(fileList, studentCode, userInfoBean, sendRecordBean)) continue; | |
169 | - } | |
170 | -// boolean sendResult = sendUserInfoToDev(studentFile.getAbsolutePath(), attendanceBeans, userInfoBean, userType, sendRecordBean); | |
171 | - fileList.remove(0); | |
172 | - } | |
173 | -// System.out.println("全部下发完成:"); | |
174 | - } catch (Exception e) { | |
175 | - e.printStackTrace(); | |
176 | - } | |
177 | - | |
178 | - } | |
179 | - | |
180 | 87 | /** |
181 | 88 | * 判断用户是否存在 |
182 | 89 | * |
... | ... | @@ -266,7 +173,7 @@ public class SendUserInfoTask { |
266 | 173 | try { |
267 | 174 | String targPath = FilePath.picPathComp + userInfoBean.getStudentcode() + ".jpg"; |
268 | 175 | if (new File(picSrc).exists()) |
269 | - CompressPic.CompressPic(picSrc, targPath, userInfoBean.getStudentcode());//压缩后的图片 | |
176 | + CompressPic.CompressPic(picSrc, targPath);//压缩后的图片 | |
270 | 177 | memory = ToolKits.readPictureFile(targPath); |
271 | 178 | sendRecordBean.setImgPath(picSrc); |
272 | 179 | } catch (Exception e) { |
... | ... | @@ -291,199 +198,199 @@ public class SendUserInfoTask { |
291 | 198 | * @param userType |
292 | 199 | */ |
293 | 200 | private synchronized void pushCardAndFace(AttendanceBean attendanceBean, String user_id, String student_num, String name, Memory memory, SendRecordBean sendRecordBean,String userType) { |
294 | - | |
295 | - sendRecordBean.setDeviceID(attendanceBean.getClint_id()); | |
296 | - sendRecordBean.setSchoolId(Integer.parseInt(attendanceBean.getSchool_id())); | |
297 | - sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); | |
298 | - sendRecordBean.setSchoolName(userDao.getSchoolName(attendanceBean.getSchool_id())); | |
299 | - | |
300 | - String startTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); | |
301 | - Calendar calendar = Calendar.getInstance(); | |
302 | - calendar.add(Calendar.YEAR, 4); | |
303 | - String endTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime()); | |
304 | - | |
305 | - String studentType = userDao.getStudentType(attendanceBean.getSchool_id(),sendRecordBean.getCustomerid()); | |
306 | - //通道号 | |
307 | - String channel = analysisPermission(Integer.parseInt(attendanceBean.getSchool_id()),studentType); | |
308 | - log.info("通道号: "+channel); | |
309 | - | |
310 | - /** | |
311 | - * 注:用户下发逻辑 | |
312 | - * 下发时,先从下发记录表:SZ_Student_RecoderNo 获取当前用户下发记录集编号,存在于设备的,新增卡号时返回, | |
313 | - * 若存在记录集编号,则表示用户已下发过,执行修改用户信息,反之,则新增下发用户人脸、卡信息 | |
314 | - */ | |
315 | - | |
316 | - //人脸操作错误号:1 为成功,其他为相应错误号 | |
317 | - int bFaceFalgs = 0; | |
318 | - //卡操作错误号 :1 为成功,其他为相应错误号 | |
319 | - int bCardFlags = 0; | |
320 | - //新的记录集编号 | |
321 | - int newRecordNo = 0; | |
322 | - //获取记录集编号 | |
323 | - String recordNo = userDao.getRecordNo(user_id, attendanceBean.getClint_id()); | |
324 | - if(!StringUtils.isEmpty(recordNo)){ | |
325 | - bCardFlags = 1; | |
201 | + String schoolId= attendanceBean.getSchool_id(); | |
202 | + sendRecordBean.setDeviceID(attendanceBean.getClint_id()); | |
203 | + sendRecordBean.setSchoolId(Integer.parseInt(attendanceBean.getSchool_id())); | |
204 | + sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); | |
205 | + sendRecordBean.setSchoolName(userDao.getSchoolName(Integer.parseInt(schoolId))); | |
206 | + | |
207 | + String startTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); | |
208 | + Calendar calendar = Calendar.getInstance(); | |
209 | + calendar.add(Calendar.YEAR, 4); | |
210 | + String endTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime()); | |
211 | + | |
212 | + String studentType = userDao.getStudentType(attendanceBean.getSchool_id(),sendRecordBean.getCustomerid()); | |
213 | + //通道号 | |
214 | + String channel = analysisPermission(Integer.parseInt(attendanceBean.getSchool_id()),studentType); | |
215 | + log.info("通道号: "+channel); | |
216 | + | |
217 | + /** | |
218 | + * 注:用户下发逻辑 | |
219 | + * 下发时,先从下发记录表:SZ_Student_RecoderNo 获取当前用户下发记录集编号,存在于设备的,新增卡号时返回, | |
220 | + * 若存在记录集编号,则表示用户已下发过,执行修改用户信息,反之,则新增下发用户人脸、卡信息 | |
221 | + */ | |
222 | + | |
223 | + //人脸操作错误号:1 为成功,其他为相应错误号 | |
224 | + int bFaceFalgs = 0; | |
225 | + //卡操作错误号 :1 为成功,其他为相应错误号 | |
226 | + int bCardFlags = 0; | |
227 | + //新的记录集编号 | |
228 | + int newRecordNo = 0; | |
229 | + //获取记录集编号 | |
230 | + String recordNo = userDao.getRecordNo(user_id, attendanceBean.getClint_id()); | |
231 | + if(!StringUtils.isEmpty(recordNo)){ | |
232 | + bCardFlags = 1; | |
233 | + } | |
234 | + //登录设备 | |
235 | + NetSDKLib.LLong loginHandleLong = MyTask.lLongSendMap.get(attendanceBean.getClint_id()); | |
236 | + log.info("设备ID: {},设备登录句柄: {}",attendanceBean.getClint_id(),loginHandleLong); | |
237 | + | |
238 | + //若设备不在线时,且人脸下发失败表中存在记录,则执行修改下发失败状态为:设备不在线 | |
239 | + if (loginHandleLong == null) { | |
240 | + log.info("设备不在线, 设备ID: {} ",attendanceBean.getClint_id() ); | |
241 | + FileUtils.getInstance().writeLogs("设备不在线:" + attendanceBean.getClint_id(), FileUtils.devices); | |
242 | + //设备不在线 | |
243 | + sendRecordBean.setFailType(EnumSendFaceType.NOT_ONLINE_DEVICE.code); | |
244 | + sendRecordBean.setFailContent(EnumSendFaceType.NOT_ONLINE_DEVICE.message); | |
245 | + //判断该学校设备ID对应失败记录是否存在:Face_SendFail | |
246 | + String deviceId = sendRecordDao.getFailIsExit(attendanceBean.getClint_id(), attendanceBean.getSchool_id()); | |
247 | + if (!StringUtils.isEmpty(deviceId)) { | |
248 | + //更新下发失败状态 | |
249 | + sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.NOT_ONLINE_DEVICE.code); | |
250 | + //添加下发失败记录 | |
251 | + addFailDace(sendRecordBean); | |
326 | 252 | } |
327 | - //登录设备 | |
328 | - NetSDKLib.LLong loginHandleLong = MyTask.lLongSendMap.get(attendanceBean.getClint_id()); | |
329 | - log.info("设备ID: {},设备登录句柄: {}",attendanceBean.getClint_id(),loginHandleLong); | |
330 | - | |
331 | - //若设备不在线时,且人脸下发失败表中存在记录,则执行修改下发失败状态为:设备不在线 | |
332 | - if (loginHandleLong == null) { | |
333 | - log.info("设备不在线, 设备ID: {} ",attendanceBean.getClint_id() ); | |
334 | - FileUtils.getInstance().writeLogs("设备不在线:" + attendanceBean.getClint_id(), FileUtils.devices); | |
335 | - //设备不在线 | |
336 | - sendRecordBean.setFailType(EnumSendFaceType.NOT_ONLINE_DEVICE.code); | |
337 | - sendRecordBean.setFailContent(EnumSendFaceType.NOT_ONLINE_DEVICE.message); | |
338 | - //判断该学校设备ID对应失败记录是否存在:Face_SendFail | |
339 | - String deviceId = sendRecordDao.getFailIsExit(attendanceBean.getClint_id(), attendanceBean.getSchool_id()); | |
340 | - if (!StringUtils.isEmpty(deviceId)) { | |
341 | - //更新下发失败状态 | |
342 | - sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.NOT_ONLINE_DEVICE.code); | |
343 | - //添加下发失败记录 | |
344 | - addFailDace(sendRecordBean); | |
345 | - } | |
253 | + } else { | |
254 | + log.info("=================开始执行下发人脸及卡号任务================="); | |
255 | + //卡号取反 | |
256 | + String cardNum =""; | |
257 | + if(attendanceBean.getClint_id().startsWith("ytj")&&Integer.parseInt(attendanceBean.getSchool_id())!=126 | |
258 | + &&Integer.parseInt(attendanceBean.getSchool_id())!=393) { | |
259 | + cardNum = student_num; | |
346 | 260 | } else { |
347 | - log.info("=================开始执行下发人脸及卡号任务================="); | |
348 | - //卡号取反 | |
349 | - String cardNum =""; | |
350 | - if(attendanceBean.getClint_id().startsWith("ytj")&&Integer.parseInt(attendanceBean.getSchool_id())!=126 | |
351 | - &&Integer.parseInt(attendanceBean.getSchool_id())!=393) { | |
352 | - cardNum = student_num; | |
353 | - } else { | |
354 | - cardNum = cardNo(student_num); | |
355 | - } | |
356 | - try{ | |
357 | - //bCardFlags = 1, 则存在下发记录集编号,执行修改卡、人脸信息 | |
261 | + cardNum = cardNo(student_num); | |
262 | + } | |
263 | + try{ | |
264 | + //bCardFlags = 1, 则存在下发记录集编号,执行修改卡、人脸信息 | |
265 | + if (bCardFlags ==1) { | |
266 | + //修改设备卡信息 | |
267 | + bCardFlags = GateModule.modifyCard(Integer.parseInt(recordNo),cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
268 | + Res.string().getCardTypeInt(1), 0, 0, 1, startTime, endTime, loginHandleLong, userType,channel); | |
269 | + | |
358 | 270 | if (bCardFlags ==1) { |
359 | - //修改设备卡信息 | |
360 | - bCardFlags = GateModule.modifyCard(Integer.parseInt(recordNo),cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
361 | - Res.string().getCardTypeInt(1), 0, 0, 1, startTime, endTime, loginHandleLong, userType,channel); | |
362 | - | |
363 | - if (bCardFlags ==1) { | |
364 | - //修改卡成功, 更新下发记录集编号表 | |
365 | - userDao.updateRecordNo(user_id, Integer.parseInt(recordNo), attendanceBean.getClint_id()); | |
366 | - //修改卡成功, 更新设备用户人脸信息 | |
367 | - bFaceFalgs = GateModule.modifyFaceInfo(user_id, memory, loginHandleLong); | |
368 | - //修改卡信息成功,但是人脸修改不成功的话,就需要新增人脸 | |
369 | - if (bFaceFalgs !=1) { | |
370 | - bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
371 | - //添加人脸失败,且错误号为1029 用户ID不存在,则删除下发记录集编号表记录:SZ_Student_RecoderNo,重新下发. | |
372 | - if(bFaceFalgs !=1 && String.valueOf(bFaceFalgs).equals(EnumSendFaceErrorType.NOT_EXIST_USER_1029.code)){ | |
373 | - //删除记录 | |
374 | - userDao.deleteRecordNo(user_id, Integer.parseInt(recordNo)); | |
375 | - //重新下发卡号至设备 | |
376 | - newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
377 | - Res.string().getCardTypeInt(1), 0, 1, 1, startTime, endTime, loginHandleLong,userType,channel); | |
378 | - //下发卡至设备,返回值不为-1为下发成功,保存下发记录集编号表 | |
379 | - if (newRecordNo > 0) { | |
380 | - userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id());//存储记录集编号 | |
381 | - }else{ | |
382 | - bCardFlags = newRecordNo; | |
383 | - } | |
384 | - //添加人脸 | |
385 | - bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
271 | + //修改卡成功, 更新下发记录集编号表 | |
272 | + userDao.updateRecordNo(user_id, Integer.parseInt(recordNo), attendanceBean.getClint_id()); | |
273 | + //修改卡成功, 更新设备用户人脸信息 | |
274 | + bFaceFalgs = GateModule.modifyFaceInfo(user_id, memory, loginHandleLong); | |
275 | + //修改卡信息成功,但是人脸修改不成功的话,就需要新增人脸 | |
276 | + if (bFaceFalgs !=1) { | |
277 | + bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
278 | + //添加人脸失败,且错误号为1029 用户ID不存在,则删除下发记录集编号表记录:SZ_Student_RecoderNo,重新下发. | |
279 | + if(bFaceFalgs !=1 && String.valueOf(bFaceFalgs).equals(EnumSendFaceErrorType.NOT_EXIST_USER_1029.code)){ | |
280 | + //删除记录 | |
281 | + userDao.deleteRecordNo(user_id, Integer.parseInt(recordNo)); | |
282 | + //重新下发卡号至设备 | |
283 | + newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
284 | + Res.string().getCardTypeInt(1), 0, 1, 1, startTime, endTime, loginHandleLong,userType,channel); | |
285 | + //下发卡至设备,返回值不为-1为下发成功,保存下发记录集编号表 | |
286 | + if (newRecordNo > 0) { | |
287 | + userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id());//存储记录集编号 | |
288 | + }else{ | |
289 | + bCardFlags = newRecordNo; | |
386 | 290 | } |
291 | + //添加人脸 | |
292 | + bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
387 | 293 | } |
388 | - }else{ | |
389 | - //设备修改卡信息失败,则删除下发记录集编号表记录:SZ_Student_RecoderNo,重新下发. | |
390 | - userDao.deleteRecordNo(user_id, Integer.parseInt(recordNo)); | |
391 | - //重新下发卡号至设备 | |
392 | - newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
393 | - Res.string().getCardTypeInt(1), 0, 1, 1, startTime, endTime, loginHandleLong,userType,channel); | |
394 | - | |
395 | - //下发卡至设备,返回值不为-1为下发成功,保存下发记录集编号表 | |
396 | - if (newRecordNo > 0) { | |
397 | - userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id());//存储记录集编号 | |
398 | - }else{ | |
399 | - bCardFlags = newRecordNo; | |
400 | - } | |
401 | - //添加人脸 | |
402 | - bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
403 | 294 | } |
404 | - } else { | |
405 | - //新增卡信息, 新增人脸信息至设备 | |
406 | - newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456" | |
407 | - , Res.string().getCardStatusInt(1), Res.string().getCardTypeInt(1), 0, 1 | |
408 | - , 1, startTime, endTime, loginHandleLong,userType,channel); | |
409 | - | |
410 | - //新增卡至设备,返回值大于0,则为下发成功,保存下发记录集编号表 | |
411 | - if (newRecordNo >0) { | |
412 | - userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id()); | |
295 | + }else{ | |
296 | + //设备修改卡信息失败,则删除下发记录集编号表记录:SZ_Student_RecoderNo,重新下发. | |
297 | + userDao.deleteRecordNo(user_id, Integer.parseInt(recordNo)); | |
298 | + //重新下发卡号至设备 | |
299 | + newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456", Res.string().getCardStatusInt(1), | |
300 | + Res.string().getCardTypeInt(1), 0, 1, 1, startTime, endTime, loginHandleLong,userType,channel); | |
301 | + | |
302 | + //下发卡至设备,返回值不为-1为下发成功,保存下发记录集编号表 | |
303 | + if (newRecordNo > 0) { | |
304 | + userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id());//存储记录集编号 | |
305 | + }else{ | |
306 | + bCardFlags = newRecordNo; | |
413 | 307 | } |
414 | - bCardFlags = newRecordNo; | |
415 | - | |
416 | 308 | //添加人脸 |
417 | 309 | bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); |
418 | - log.info("第一次下发返回信息:bCardFlags:{}, bFaceFalgs: {}",bCardFlags,bFaceFalgs); | |
419 | 310 | } |
420 | - } catch (Exception e) { | |
421 | - log.error("下发异常:异常错误信息msg: {}",e.getMessage()); | |
422 | - return; | |
423 | - } | |
424 | - /** | |
425 | - * 人脸和卡都下发成功 | |
426 | - */ | |
427 | - if (bCardFlags > 0 && bFaceFalgs==1) { | |
428 | - FileUtils.getInstance().writeLogs("下发人脸和卡号成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
429 | - log.info("下发人脸和卡号成功, sendRecordBean: "+ JSON.toJSONString(sendRecordBean)); | |
430 | - | |
431 | - //人脸下发成功记录, 先判断是否已经存在了 | |
432 | - List<SendRecordBean> sendRecordBeanList = sendRecordDao.getFaceSucceIsexit(sendRecordBean.getDeviceID(), String.valueOf(sendRecordBean.getSchoolId()), sendRecordBean.getNum()); | |
433 | - if (sendRecordBeanList.size() > 0) { | |
434 | - //删除重复数据 | |
435 | - for (int i = 0; i < sendRecordBeanList.size(); i++) { | |
436 | - sendRecordDao.deleteFaceSuccess(sendRecordBeanList.get(i).getDeviceID(), sendRecordBeanList.get(i).getNum()); | |
437 | - } | |
311 | + } else { | |
312 | + //新增卡信息, 新增人脸信息至设备 | |
313 | + newRecordNo = GateModule.insertCard(cardNum, user_id, name, "123456" | |
314 | + , Res.string().getCardStatusInt(1), Res.string().getCardTypeInt(1), 0, 1 | |
315 | + , 1, startTime, endTime, loginHandleLong,userType,channel); | |
316 | + | |
317 | + //新增卡至设备,返回值大于0,则为下发成功,保存下发记录集编号表 | |
318 | + if (newRecordNo >0) { | |
319 | + userDao.saveRecordNo(user_id, newRecordNo, name, attendanceBean.getClint_id()); | |
438 | 320 | } |
439 | - //重新添加人脸下发记录 | |
440 | - sendRecordDao.addFaceSuccess(sendRecordBean.getCustomerid(), sendRecordBean.getDeviceID(), sendRecordBean.getNum(), sendRecordBean.getName(), sendRecordBean.getTime(), | |
441 | - sendRecordBean.getSchoolName(), sendRecordBean.getImgPath(), sendRecordBean.getSchoolId(), sendRecordBean.getUserType(), 22); | |
321 | + bCardFlags = newRecordNo; | |
442 | 322 | |
443 | - //重新下发时,删除之前失败记录 | |
444 | - if (sendRecordBean.getFailType() != 0){ | |
445 | - sendRecordDao.deleteFaceFail(sendRecordBean.getNum(), sendRecordBean.getDeviceID()); | |
446 | - } | |
447 | - } | |
448 | - /** | |
449 | - * 人脸和卡都下发失败 | |
450 | - */ | |
451 | - if (bCardFlags < 0 && bFaceFalgs!=1) { | |
452 | - FileUtils.getInstance().writeLogs("下发人脸和卡号失败:" + cardNum + " user_id: " + user_id + " loginHandleLong: " + loginHandleLong, FileUtils.sendUserErrTxt); | |
453 | - log.info("下发人脸和卡号失败, sendRecordBean: "+ JSON.toJSONString(sendRecordBean)); | |
454 | - //失败信息 | |
455 | - String failContent = analysisErrorMsg(String.valueOf(Math.abs(bCardFlags)),String.valueOf(bFaceFalgs)); | |
456 | - sendRecordBean.setFailType(EnumSendFaceType.FACE_AND_CARD_FAIL.code); | |
457 | - sendRecordBean.setFailContent(failContent); | |
458 | - sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_AND_CARD_FAIL.code); | |
459 | - addFailDace(sendRecordBean); | |
323 | + //添加人脸 | |
324 | + bFaceFalgs = GateModule.addFaceInfo(user_id, memory, loginHandleLong); | |
325 | + log.info("第一次下发返回信息:bCardFlags:{}, bFaceFalgs: {}",bCardFlags,bFaceFalgs); | |
460 | 326 | } |
461 | - /** | |
462 | - * 下发卡号成功,下发人脸失败, | |
463 | - */ | |
464 | - if (bCardFlags >0 && bFaceFalgs !=1) { | |
465 | - FileUtils.getInstance().writeLogs("下发卡号成功,下发人脸失败:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserErrTxt); | |
466 | - log.info("下发卡号成功,下发人脸失败, sendRecordBean: " + JSON.toJSONString(sendRecordBean)); | |
467 | - //失败信息 | |
468 | - String failContent = analysisErrorMsg(String.valueOf(bCardFlags),String.valueOf(bFaceFalgs)); | |
469 | - sendRecordBean.setFailType(EnumSendFaceType.FACE_FAIL_CARD_SUCCESS.code); | |
470 | - sendRecordBean.setFailContent(failContent); | |
471 | - sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_FAIL_CARD_SUCCESS.code); | |
472 | - addFailDace(sendRecordBean); | |
327 | + } catch (Exception e) { | |
328 | + log.error("下发异常:异常错误信息msg: {}",e.getMessage()); | |
329 | + return; | |
330 | + } | |
331 | + /** | |
332 | + * 人脸和卡都下发成功 | |
333 | + */ | |
334 | + if (bCardFlags > 0 && bFaceFalgs==1) { | |
335 | + FileUtils.getInstance().writeLogs("下发人脸和卡号成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
336 | + log.info("下发人脸和卡号成功, sendRecordBean: "+ JSON.toJSONString(sendRecordBean)); | |
337 | + | |
338 | + //人脸下发成功记录, 先判断是否已经存在了 | |
339 | + List<SendRecordBean> sendRecordBeanList = sendRecordDao.getFaceSucceIsexit(sendRecordBean.getDeviceID(), String.valueOf(sendRecordBean.getSchoolId()), sendRecordBean.getNum()); | |
340 | + if (sendRecordBeanList.size() > 0) { | |
341 | + //删除重复数据 | |
342 | + for (int i = 0; i < sendRecordBeanList.size(); i++) { | |
343 | + sendRecordDao.deleteFaceSuccess(sendRecordBeanList.get(i).getDeviceID(), sendRecordBeanList.get(i).getNum()); | |
344 | + } | |
473 | 345 | } |
474 | - /** | |
475 | - * 下发卡号失败,下发人脸成功, | |
476 | - */ | |
477 | - if (bCardFlags < 0 && bFaceFalgs ==1) { | |
478 | - FileUtils.getInstance().writeLogs("卡信息已存在,下发人脸成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
479 | - //失败信息 | |
480 | - String failContent = analysisErrorMsg(String.valueOf(Math.abs(bCardFlags)),String.valueOf(bFaceFalgs)); | |
481 | - sendRecordBean.setFailType(EnumSendFaceType.FACE_SUCCESS_CARD_FAIl.code); | |
482 | - sendRecordBean.setFailContent(failContent); | |
483 | - sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_SUCCESS_CARD_FAIl.code); | |
484 | - addFailDace(sendRecordBean); | |
346 | + //重新添加人脸下发记录 | |
347 | + sendRecordDao.addFaceSuccess(sendRecordBean.getCustomerid(), sendRecordBean.getDeviceID(), sendRecordBean.getNum(), sendRecordBean.getName(), sendRecordBean.getTime(), | |
348 | + sendRecordBean.getSchoolName(), sendRecordBean.getImgPath(), sendRecordBean.getSchoolId(), sendRecordBean.getUserType(), 22); | |
349 | + | |
350 | + //重新下发时,删除之前失败记录 | |
351 | + if (sendRecordBean.getFailType() != 0){ | |
352 | + sendRecordDao.deleteFaceFail(sendRecordBean.getNum(), sendRecordBean.getDeviceID()); | |
485 | 353 | } |
486 | 354 | } |
355 | + /** | |
356 | + * 人脸和卡都下发失败 | |
357 | + */ | |
358 | + if (bCardFlags < 0 && bFaceFalgs!=1) { | |
359 | + FileUtils.getInstance().writeLogs("下发人脸和卡号失败:" + cardNum + " user_id: " + user_id + " loginHandleLong: " + loginHandleLong, FileUtils.sendUserErrTxt); | |
360 | + log.info("下发人脸和卡号失败, sendRecordBean: "+ JSON.toJSONString(sendRecordBean)); | |
361 | + //失败信息 | |
362 | + String failContent = analysisErrorMsg(String.valueOf(Math.abs(bCardFlags)),String.valueOf(bFaceFalgs)); | |
363 | + sendRecordBean.setFailType(EnumSendFaceType.FACE_AND_CARD_FAIL.code); | |
364 | + sendRecordBean.setFailContent(failContent); | |
365 | + sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_AND_CARD_FAIL.code); | |
366 | + addFailDace(sendRecordBean); | |
367 | + } | |
368 | + /** | |
369 | + * 下发卡号成功,下发人脸失败, | |
370 | + */ | |
371 | + if (bCardFlags >0 && bFaceFalgs !=1) { | |
372 | + FileUtils.getInstance().writeLogs("下发卡号成功,下发人脸失败:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserErrTxt); | |
373 | + log.info("下发卡号成功,下发人脸失败, sendRecordBean: " + JSON.toJSONString(sendRecordBean)); | |
374 | + //失败信息 | |
375 | + String failContent = analysisErrorMsg(String.valueOf(bCardFlags),String.valueOf(bFaceFalgs)); | |
376 | + sendRecordBean.setFailType(EnumSendFaceType.FACE_FAIL_CARD_SUCCESS.code); | |
377 | + sendRecordBean.setFailContent(failContent); | |
378 | + sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_FAIL_CARD_SUCCESS.code); | |
379 | + addFailDace(sendRecordBean); | |
380 | + } | |
381 | + /** | |
382 | + * 下发卡号失败,下发人脸成功, | |
383 | + */ | |
384 | + if (bCardFlags < 0 && bFaceFalgs ==1) { | |
385 | + FileUtils.getInstance().writeLogs("卡信息已存在,下发人脸成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
386 | + //失败信息 | |
387 | + String failContent = analysisErrorMsg(String.valueOf(Math.abs(bCardFlags)),String.valueOf(bFaceFalgs)); | |
388 | + sendRecordBean.setFailType(EnumSendFaceType.FACE_SUCCESS_CARD_FAIl.code); | |
389 | + sendRecordBean.setFailContent(failContent); | |
390 | + sendRecordDao.updateFace(sendRecordBean.getNum(), sendRecordBean.getDeviceID(), sendRecordBean.getFailType(), EnumSendFaceType.FACE_SUCCESS_CARD_FAIl.code); | |
391 | + addFailDace(sendRecordBean); | |
392 | + } | |
393 | + } | |
487 | 394 | |
488 | 395 | } |
489 | 396 | |
... | ... | @@ -775,61 +682,6 @@ public class SendUserInfoTask { |
775 | 682 | |
776 | 683 | } |
777 | 684 | |
778 | - @Async("taskExecutor") | |
779 | - public void addDahuaFace() { | |
780 | - | |
781 | - List<SendRecordBean> sendRecordBeanList = sendRecordDao.getSenFail("22"); | |
782 | - for (int i = 0; i < sendRecordBeanList.size(); i++) { | |
783 | - SendRecordBean sendRecordBean = sendRecordBeanList.get(i); | |
784 | - switch (sendRecordBean.getFailType()) { | |
785 | - case 2://设备不存在 | |
786 | - List<String> deviceIds = userDao.getDeviceIds("22", sendRecordBean.getSchoolId()); | |
787 | - if (deviceIds != null && deviceIds.size() > 0) { | |
788 | - doTaskSendUserInfos(String.valueOf(sendRecordBean.getSchoolId()), "22", sendRecordBean.getUserType(), sendRecordBean.getFailType()); | |
789 | - } | |
790 | - break; | |
791 | - case 4://设备离线 | |
792 | - senfaceToDahua(sendRecordBean); | |
793 | - break; | |
794 | - case 5://下发人脸失败 | |
795 | -// if (new File(sendRecordBean.getImgPath()).exists()) | |
796 | -// ImageUtils.rotatePhonePhoto(sendRecordBean.getImgPath(), 90); | |
797 | - senfaceToDahua(sendRecordBean); | |
798 | - break; | |
799 | - case 7://意外失败 | |
800 | -// senfaceToDahua(sendRecordBean); | |
801 | - break; | |
802 | - } | |
803 | - } | |
804 | - | |
805 | - MyScheduledTask.isSendDahua = false; | |
806 | - } | |
807 | - | |
808 | - private void senfaceToDahua(SendRecordBean sendRecordBean) { | |
809 | - | |
810 | - UserInfoBean userInfoBean = null; | |
811 | - //根据文件命名来判断学籍号 | |
812 | - String studentCodes = userDao.getStudentCode(sendRecordBean.getCustomerid()); | |
813 | - userInfoBean = userDao.getUserInfo(sendRecordBean.getSchoolId() + "", studentCodes);//获取用户信息 | |
814 | -// System.out.println("userInfoBean:" + sendRecordBean.toString()); | |
815 | - try { | |
816 | - if (null != userInfoBean) { | |
817 | - userInfoBean.setStudent_num(sendRecordBean.getNum()); | |
818 | - String img = sendRecordBean.getImgPath(); | |
819 | - if (!StringUtils.isEmpty(img)) { | |
820 | - if (img.startsWith("http")) | |
821 | - img = img.replace("http://campus.myjxt.com//", "E://wwwhtdocs/SmartCampus/"); | |
822 | - doTaskOne(img, userDao.getAttendanceBeans(String.valueOf(sendRecordBean.getSchoolId()), "22") | |
823 | - , userInfoBean, sendRecordBean.getSchoolId() + "", sendRecordBean.getFailType(), sendRecordBean.getUserType()); | |
824 | - } | |
825 | - | |
826 | - } | |
827 | - } catch (Exception e) { | |
828 | - e.printStackTrace(); | |
829 | - } | |
830 | - } | |
831 | - | |
832 | - | |
833 | 685 | // @Async("taskExecutor") |
834 | 686 | public void testSMS() { |
835 | 687 | RestTemplate restTemplate = new RestTemplate(); | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/async/SendUserInfoTask2.java
... | ... | @@ -3,7 +3,6 @@ package com.example.dahua.async; |
3 | 3 | import com.alibaba.fastjson.JSON; |
4 | 4 | import com.example.dahua.MyTask; |
5 | 5 | import com.example.dahua.bean.*; |
6 | -import com.example.dahua.control.FileControl; | |
7 | 6 | import com.example.dahua.dao.UserDao; |
8 | 7 | import com.example.dahua.enums.EnumDeviceType; |
9 | 8 | import com.example.dahua.enums.EnumSendFaceType; |
... | ... | @@ -19,16 +18,14 @@ import com.example.dahua.utils.HttpUtils; |
19 | 18 | import com.example.dahua.utils.JsonUtils; |
20 | 19 | import com.example.dahua.xiananDao.SendRecordDao; |
21 | 20 | import lombok.extern.slf4j.Slf4j; |
21 | +import org.apache.commons.collections4.CollectionUtils; | |
22 | +import org.apache.commons.lang3.StringUtils; | |
22 | 23 | import org.springframework.beans.factory.annotation.Autowired; |
23 | 24 | import org.springframework.stereotype.Component; |
24 | -import org.springframework.util.StringUtils; | |
25 | 25 | |
26 | 26 | import java.io.File; |
27 | 27 | import java.text.SimpleDateFormat; |
28 | -import java.util.ArrayList; | |
29 | -import java.util.Calendar; | |
30 | -import java.util.Date; | |
31 | -import java.util.List; | |
28 | +import java.util.*; | |
32 | 29 | |
33 | 30 | /** |
34 | 31 | * 下发卡号的异步操作 |
... | ... | @@ -52,20 +49,21 @@ public class SendUserInfoTask2 { |
52 | 49 | /** |
53 | 50 | * 下发单个用户人脸任务 |
54 | 51 | * @param file |
55 | - * @param attendanceBeans | |
56 | 52 | * @param userInfoBean |
57 | 53 | * @param schoolId |
58 | 54 | * @param failType |
59 | 55 | * @param userType |
60 | 56 | * @throws Exception |
61 | 57 | */ |
62 | - public void doTaskOne(String file, List<AttendanceBean> attendanceBeans, UserInfoBean userInfoBean, String schoolId, int failType, int userType) throws Exception { | |
58 | + public void doTaskOne(String file, List<String> deviceList, UserInfoBean userInfoBean, Integer schoolId, | |
59 | + int failType, int userType) throws Exception { | |
60 | + if(Objects.isNull(userInfoBean)) return; | |
61 | + if(StringUtils.isBlank(userInfoBean.getStudent_num())) return; | |
63 | 62 | File studentFile = new File(file); |
64 | 63 | //学籍号 |
65 | 64 | String studentCode = studentFile.getName().split("\\.")[0]; |
66 | 65 | //判断是否是副卡 |
67 | 66 | String[] studentCodes = studentCode.split("_"); |
68 | - | |
69 | 67 | //副卡 |
70 | 68 | if (studentCodes.length > 1) { |
71 | 69 | String cardType = studentCodes[1]; |
... | ... | @@ -75,7 +73,7 @@ public class SendUserInfoTask2 { |
75 | 73 | } |
76 | 74 | //设置下发记录 |
77 | 75 | SendRecordBean sendRecordBean = new SendRecordBean(); |
78 | - sendRecordBean.setSchoolId(Integer.parseInt(schoolId)); | |
76 | + sendRecordBean.setSchoolId(schoolId); | |
79 | 77 | sendRecordBean.setSchoolName(userDao.getSchoolName(schoolId)); |
80 | 78 | sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); |
81 | 79 | sendRecordBean.setUserType(userType); |
... | ... | @@ -86,33 +84,20 @@ public class SendUserInfoTask2 { |
86 | 84 | sendRecordBean.setCustomerid(userInfoBean.getStudent_id()); |
87 | 85 | sendRecordBean.setFailType(failType); |
88 | 86 | //下发至设备 |
89 | - sendUserInfoToDev(file, attendanceBeans, userInfoBean,sendRecordBean); | |
87 | + sendUserInfoToDev(file, deviceList, userInfoBean,sendRecordBean); | |
90 | 88 | } |
91 | 89 | |
92 | 90 | /** |
93 | 91 | * 发送人员信息给设备 |
94 | 92 | * |
95 | 93 | * @param file |
96 | - * @param attendanceBeans | |
97 | 94 | * @param userInfoBean |
98 | 95 | * @return |
99 | 96 | */ |
100 | - private synchronized boolean sendUserInfoToDev(String file, List<AttendanceBean> attendanceBeans, UserInfoBean userInfoBean,SendRecordBean sendRecordBean) { | |
97 | + private synchronized boolean sendUserInfoToDev(String file, List<String> deviceList, UserInfoBean userInfoBean, SendRecordBean sendRecordBean) { | |
101 | 98 | try { |
102 | - //用户信息 | |
103 | - if (userInfoBean == null) { | |
104 | - log.warn("学生用户信息不存在"); | |
105 | - return false; | |
106 | - } | |
107 | - //卡号 | |
108 | - String cardNum = userInfoBean.getStudent_num(); | |
109 | - if (StringUtils.isEmpty(cardNum) || cardNum.equals("null")) { | |
110 | - log.warn("下发卡号为空"); | |
111 | - return false; | |
112 | - } | |
113 | - | |
114 | 99 | //该学校下没有人脸设备 |
115 | - if (attendanceBeans.size() == 0) { | |
100 | + if (CollectionUtils.isEmpty(deviceList)) { | |
116 | 101 | sendRecordBean.setFailType(EnumSendFaceType.NOT_EXIST_DEVICE.code); |
117 | 102 | sendRecordBean.setFailContent(EnumSendFaceType.NOT_EXIST_DEVICE.message); |
118 | 103 | //获取学校下发失败记录,判断是否已经记录该学校没有设备 |
... | ... | @@ -129,7 +114,7 @@ public class SendUserInfoTask2 { |
129 | 114 | /** |
130 | 115 | * 保存图片到本地 |
131 | 116 | */ |
132 | - pushCardAndFace(file, userInfoBean, attendanceBeans, sendRecordBean.getUserType()+"",sendRecordBean.getFailType()); | |
117 | + pushCardAndFace(file, userInfoBean, deviceList,sendRecordBean.getUserType()+"",sendRecordBean.getFailType()); | |
133 | 118 | } catch (Exception e) { |
134 | 119 | log.error("下发失败"); |
135 | 120 | return false; |
... | ... | @@ -149,7 +134,7 @@ public class SendUserInfoTask2 { |
149 | 134 | try{ |
150 | 135 | targPath = FilePath.picPathComp + studentCode + ".jpg"; |
151 | 136 | //压缩后的图片 |
152 | - CompressPic.CompressPic(picSrc, targPath, studentCode); | |
137 | + CompressPic.CompressPic(picSrc, targPath); | |
153 | 138 | return targPath; |
154 | 139 | } catch (Exception e) { |
155 | 140 | log.error("图片压缩失败,错误信息;{}",e); |
... | ... | @@ -161,25 +146,23 @@ public class SendUserInfoTask2 { |
161 | 146 | * 下发动作实际操作 |
162 | 147 | * @param picSrc |
163 | 148 | * @param userInfoBean |
164 | - * @param attendanceBeans | |
165 | 149 | * @param userType |
166 | 150 | * @param failType |
167 | 151 | */ |
168 | - private synchronized void pushCardAndFace(String picSrc, UserInfoBean userInfoBean,List<AttendanceBean> attendanceBeans,String userType, int failType) { | |
169 | - log.info("下发人脸设备总数,size: "+ attendanceBeans.size()); | |
152 | + private synchronized void pushCardAndFace(String picSrc, UserInfoBean userInfoBean,List<String> deviceList,String userType, int failType) { | |
153 | + log.info("下发人脸设备总数,size: "+ deviceList.size()); | |
170 | 154 | String facePath = compressPic(picSrc,userInfoBean.getStudentcode()); |
171 | 155 | if(StringUtils.isEmpty(facePath)){ |
172 | 156 | log.warn("压缩后图片路径为空!"); |
173 | 157 | return; |
174 | 158 | } |
175 | 159 | //下发至所有设备 |
176 | - for (AttendanceBean attendanceBean : attendanceBeans) { | |
160 | + for (String deviceId : deviceList) { | |
177 | 161 | //设备ID |
178 | - String deviceId = attendanceBean.getClint_id(); | |
179 | 162 | //用户ID |
180 | 163 | String userId = userInfoBean.getUser_id(); |
181 | 164 | //学校ID |
182 | - String schoolId = attendanceBean.getSchool_id(); | |
165 | + String schoolId = userInfoBean.getSchool_id(); | |
183 | 166 | //学生ID |
184 | 167 | String studentId = userInfoBean.getStudent_id(); |
185 | 168 | //学生卡号 |
... | ... | @@ -203,7 +186,7 @@ public class SendUserInfoTask2 { |
203 | 186 | sendRecordBean.setDeviceID(deviceId); |
204 | 187 | sendRecordBean.setSchoolId(Integer.parseInt(schoolId)); |
205 | 188 | sendRecordBean.setTime(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); |
206 | - sendRecordBean.setSchoolName(userDao.getSchoolName(schoolId)); | |
189 | + sendRecordBean.setSchoolName(userDao.getSchoolName(Integer.parseInt(schoolId))); | |
207 | 190 | |
208 | 191 | String startTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); |
209 | 192 | Calendar calendar = Calendar.getInstance(); |
... | ... | @@ -240,33 +223,32 @@ public class SendUserInfoTask2 { |
240 | 223 | //用户操作错误号:0为成功,其他为相应错误号 |
241 | 224 | int bUserFlags = 0; |
242 | 225 | //获取记录集编号 |
243 | - String recordNo = userDao.getRecordNo(userId, attendanceBean.getClint_id()); | |
226 | + String recordNo = userDao.getRecordNo(userId, deviceId); | |
244 | 227 | |
245 | 228 | //登录设备 |
246 | - NetSDKLib.LLong loginHandleLong = MyTask.lLongSendMap.get(attendanceBean.getClint_id()); | |
247 | - log.info("设备ID: {},设备登录句柄: {}",attendanceBean.getClint_id(),loginHandleLong); | |
229 | + NetSDKLib.LLong loginHandleLong = MyTask.lLongSendMap.get(deviceId); | |
230 | + log.info("设备ID: {},设备登录句柄: {}",deviceId,loginHandleLong); | |
248 | 231 | //若设备不在线时,且人脸下发失败表中存在记录,则执行修改下发失败状态为:设备不在线 |
249 | 232 | if (loginHandleLong == null) { |
250 | 233 | //设备不在线 |
251 | 234 | sendRecordBean.setFailType(EnumSendFaceType.NOT_ONLINE_DEVICE.code); |
252 | 235 | sendRecordBean.setFailContent(EnumSendFaceType.NOT_ONLINE_DEVICE.message); |
253 | 236 | baseService.sendFailRecord(sendRecordBean,channel); |
254 | - log.info("设备不在线, 设备ID: {} ",attendanceBean.getClint_id() ); | |
237 | + log.info("设备不在线, 设备ID: {} ",deviceId ); | |
255 | 238 | return; |
256 | 239 | } |
257 | 240 | |
258 | 241 | log.info("=================开始执行下发人脸及卡号任务================="); |
259 | 242 | //卡号取反 |
260 | 243 | String cardNum =""; |
261 | - if(attendanceBean.getClint_id().startsWith("ytj")&&Integer.parseInt(attendanceBean.getSchool_id())!=126 | |
262 | - &&Integer.parseInt(attendanceBean.getSchool_id())!=393) { | |
244 | + if(deviceId.startsWith("ytj") && Objects.equals(schoolId,"126") && Objects.equals(schoolId,"393")) { | |
263 | 245 | cardNum = studentNum; |
264 | 246 | } else { |
265 | 247 | cardNum = cardNo(studentNum); |
266 | 248 | } |
267 | 249 | //设备类型:默认为大华人脸机 |
268 | 250 | int deviceType = EnumDeviceType.DH_FACE.deviceType; |
269 | - if(attendanceBean.getClint_id().startsWith("ytj")){ | |
251 | + if(deviceId.startsWith("ytj")){ | |
270 | 252 | deviceType= EnumDeviceType.DH_FACE_YTJ.deviceType; |
271 | 253 | sendRecordBean.setDeviceType(deviceType); |
272 | 254 | } |
... | ... | @@ -304,7 +286,7 @@ public class SendUserInfoTask2 { |
304 | 286 | |
305 | 287 | //新增用户、卡、人脸信息都成功,则新增记录集信息,默认为1 |
306 | 288 | if (bCardFlags == 0 && bFaceFalgs ==0 && bUserFlags ==0) { |
307 | - userDao.saveRecordNo(userId,1, userName, attendanceBean.getClint_id()); | |
289 | + userDao.saveRecordNo(userId,1, userName, deviceId); | |
308 | 290 | } |
309 | 291 | } |
310 | 292 | } catch (RuntimeException e) { |
... | ... | @@ -315,7 +297,7 @@ public class SendUserInfoTask2 { |
315 | 297 | * 人脸和卡都下发成功 |
316 | 298 | */ |
317 | 299 | if (bUserFlags ==0 && bCardFlags ==0 && bFaceFalgs==0) { |
318 | - FileUtils.getInstance().writeLogs("下发人脸和卡号成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
300 | + FileUtils.getInstance().writeLogs("下发人脸和卡号成功:" + cardNum + " " + deviceId, FileUtils.sendUserSucTxt); | |
319 | 301 | log.info("下发人脸和卡号成功, sendRecordBean: "+ JSON.toJSONString(sendRecordBean)); |
320 | 302 | //保存成功记录 |
321 | 303 | baseService.sendSuccessRecord(sendRecordBean,channel); |
... | ... | @@ -336,7 +318,7 @@ public class SendUserInfoTask2 { |
336 | 318 | * 下发卡号成功,下发人脸失败, |
337 | 319 | */ |
338 | 320 | if (bUserFlags ==0 && bCardFlags !=0 && bFaceFalgs !=0) { |
339 | - FileUtils.getInstance().writeLogs("下发卡号成功,下发人脸失败:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserErrTxt); | |
321 | + FileUtils.getInstance().writeLogs("下发卡号成功,下发人脸失败:" + cardNum + " " + deviceId, FileUtils.sendUserErrTxt); | |
340 | 322 | log.info("下发卡号成功,下发人脸失败, sendRecordBean: " + JSON.toJSONString(sendRecordBean)); |
341 | 323 | //失败信息 |
342 | 324 | String failContent = analysisErrorMsg(bUserFlags,bFaceFalgs,bCardFlags); |
... | ... | @@ -348,7 +330,7 @@ public class SendUserInfoTask2 { |
348 | 330 | * 下发卡号失败,下发人脸成功, |
349 | 331 | */ |
350 | 332 | if (bUserFlags ==0 && bCardFlags == 0 && bFaceFalgs !=0) { |
351 | - FileUtils.getInstance().writeLogs("卡信息已存在,下发人脸成功:" + cardNum + " " + attendanceBean.getClint_id(), FileUtils.sendUserSucTxt); | |
333 | + FileUtils.getInstance().writeLogs("卡信息已存在,下发人脸成功:" + cardNum + " " + deviceId, FileUtils.sendUserSucTxt); | |
352 | 334 | //失败信息 |
353 | 335 | String failContent = analysisErrorMsg(bUserFlags,bFaceFalgs,bCardFlags); |
354 | 336 | sendRecordBean.setFailType(EnumSendFaceType.FACE_SUCCESS_CARD_FAIl.code); |
... | ... | @@ -366,9 +348,7 @@ public class SendUserInfoTask2 { |
366 | 348 | * @return |
367 | 349 | */ |
368 | 350 | private String getAuthChannelByStudentType(Integer schoolId,Integer studentType,String deviceId){ |
369 | - if(StringUtils.isEmpty(studentType) || StringUtils.isEmpty(schoolId)){ | |
370 | - return ""; | |
371 | - } | |
351 | + if(Objects.isNull(studentType) || Objects.isNull(schoolId)) return ""; | |
372 | 352 | List<DeviceAuthRecord> authRecords = userDao.getAuthRecord(schoolId,studentType); |
373 | 353 | log.info("权限信息:"+ JsonUtils.nonDefaultMapper().toJson(authRecords)); |
374 | 354 | String channel =""; |
... | ... | @@ -396,9 +376,7 @@ public class SendUserInfoTask2 { |
396 | 376 | * @return |
397 | 377 | */ |
398 | 378 | private String getAuthChannelByClassId(Integer schoolId,Integer classId,String deviceId){ |
399 | - if(StringUtils.isEmpty(classId) || StringUtils.isEmpty(schoolId)) { | |
400 | - return ""; | |
401 | - } | |
379 | + if(Objects.isNull(classId) || Objects.isNull(schoolId)) return ""; | |
402 | 380 | List<Integer> groups = userDao.getGroupByClassId(classId); |
403 | 381 | String channel =""; |
404 | 382 | if(groups.size()>0){ |
... | ... | @@ -431,7 +409,7 @@ public class SendUserInfoTask2 { |
431 | 409 | private String analysisErrorMsg(int userErrNum,int faceErrNum,int cardErrNum){ |
432 | 410 | StringBuffer sb = new StringBuffer(); |
433 | 411 | //用户信息 |
434 | - if(!StringUtils.isEmpty(userErrNum)){ | |
412 | + if(userErrNum == 0){ | |
435 | 413 | EnumSzBusinessType.EnumOperateErrorType operateErrorType = EnumSzBusinessType.EnumOperateErrorType.getByCode(userErrNum); |
436 | 414 | String message = ""; |
437 | 415 | if(operateErrorType !=null){ |
... | ... | @@ -441,7 +419,7 @@ public class SendUserInfoTask2 { |
441 | 419 | log.info("下发用户失败,错误码:{},错误描述:{}",userErrNum,message); |
442 | 420 | } |
443 | 421 | //卡异常信息 |
444 | - if(!StringUtils.isEmpty(cardErrNum)){ | |
422 | + if(cardErrNum == 0){ | |
445 | 423 | EnumSzBusinessType.EnumOperateErrorType operateErrorType = EnumSzBusinessType.EnumOperateErrorType.getByCode(cardErrNum); |
446 | 424 | String message = ""; |
447 | 425 | if(operateErrorType !=null){ |
... | ... | @@ -451,7 +429,7 @@ public class SendUserInfoTask2 { |
451 | 429 | log.info("下发用户卡失败,错误码:{},错误描述:{}",cardErrNum,message); |
452 | 430 | } |
453 | 431 | //人脸异常信息 |
454 | - if(!StringUtils.isEmpty(faceErrNum)){ | |
432 | + if(faceErrNum == 0){ | |
455 | 433 | EnumSzBusinessType.EnumOperateErrorType operateErrorType = EnumSzBusinessType.EnumOperateErrorType.getByCode(faceErrNum); |
456 | 434 | String message = ""; |
457 | 435 | if(operateErrorType !=null){ |
... | ... | @@ -479,12 +457,10 @@ public class SendUserInfoTask2 { |
479 | 457 | sendRecordDao.deleteFaceFail(sendRecordBeanList.get(i).getNum(), sendRecordBeanList.get(i).getDeviceID()); |
480 | 458 | } |
481 | 459 | } |
482 | -// TODO 不明含义 | |
483 | -// if (sendRecordBean.getFailType() == 5) sendRecordBean.setFailType(8); | |
484 | - // | |
485 | 460 | String rootPath = sendRecordBean.getUserType() == EnumSzBusinessType.EnumUserType.TEACHER.code ? "Teacher" : "Student" ; |
486 | 461 | //人脸路径 |
487 | - String imagePath = sendRecordBean.getImgPath().replace("C:/imgCom", String.format("E:\\wwwhtdocs\\smartcampus\\face17e5\\School%s\\%s", sendRecordBean.getSchoolId(), rootPath)); | |
462 | + String imagePath = sendRecordBean.getImgPath().replace("C:/imgCom", | |
463 | + String.format("E:\\wwwhtdocs\\smartcampus\\face17e5\\School%s\\%s", sendRecordBean.getSchoolId(), rootPath)); | |
488 | 464 | |
489 | 465 | //添加失败记录 |
490 | 466 | sendRecordDao.addFaceFail(sendRecordBean.getCustomerid(), sendRecordBean.getDeviceID(), sendRecordBean.getNum(), sendRecordBean.getName(), sendRecordBean.getTime(), |
... | ... | @@ -513,7 +489,7 @@ public class SendUserInfoTask2 { |
513 | 489 | * @param deviceId |
514 | 490 | */ |
515 | 491 | public boolean clearAllFace(Integer schoolId, String deviceId) { |
516 | - if(StringUtils.isEmpty(schoolId)){ | |
492 | + if(Objects.isNull(schoolId)){ | |
517 | 493 | log.error("清空人脸时,学校ID不能为空"); |
518 | 494 | return false; |
519 | 495 | } |
... | ... | @@ -534,7 +510,7 @@ public class SendUserInfoTask2 { |
534 | 510 | * @return |
535 | 511 | */ |
536 | 512 | public boolean deleteFailFace(Integer schoolId) { |
537 | - if(StringUtils.isEmpty(schoolId)){ | |
513 | + if(Objects.isNull(schoolId)){ | |
538 | 514 | log.error("删除人脸时,学校ID不能为空"); |
539 | 515 | return false; |
540 | 516 | } |
... | ... | @@ -562,7 +538,7 @@ public class SendUserInfoTask2 { |
562 | 538 | * @return |
563 | 539 | */ |
564 | 540 | public boolean sendFailFace(Integer schoolId) { |
565 | - if(StringUtils.isEmpty(schoolId)){ | |
541 | + if(Objects.isNull(schoolId)){ | |
566 | 542 | log.error("下发人脸时,学校ID不能为空"); |
567 | 543 | return false; |
568 | 544 | } |
... | ... | @@ -603,7 +579,7 @@ public class SendUserInfoTask2 { |
603 | 579 | filePath = path+ "\\" + fileName; |
604 | 580 | } |
605 | 581 | try{ |
606 | - HttpUtils.uploadImgs(new File(filePath), String.valueOf(schoolId),studentCode, clintType, userType,deviceId); | |
582 | + HttpUtils.uploadImg(new File(filePath), schoolId,studentCode, userType,deviceId); | |
607 | 583 | }catch (Exception e){ |
608 | 584 | e.printStackTrace(); |
609 | 585 | continue; |
... | ... | @@ -622,7 +598,7 @@ public class SendUserInfoTask2 { |
622 | 598 | * @return |
623 | 599 | */ |
624 | 600 | public boolean deleteFaceByCard(Integer schoolId,String cardNum,String deviceId) { |
625 | - if(StringUtils.isEmpty(schoolId) && StringUtils.isEmpty(cardNum) && StringUtils.isEmpty(deviceId)){ | |
601 | + if(Objects.isNull(schoolId) && StringUtils.isEmpty(cardNum) && StringUtils.isEmpty(deviceId)){ | |
626 | 602 | log.error("删除人脸时,学校ID、卡号、设备ID不能为空."); |
627 | 603 | return false; |
628 | 604 | } | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/bean/SendFaceBean.java
0 → 100644
... | ... | @@ -0,0 +1,72 @@ |
1 | +package com.example.dahua.bean; | |
2 | + | |
3 | +import com.fasterxml.jackson.annotation.JsonIgnore; | |
4 | +import io.swagger.annotations.ApiModelProperty; | |
5 | +import lombok.Data; | |
6 | +import org.apache.commons.lang3.StringUtils; | |
7 | + | |
8 | +import javax.validation.constraints.NotNull; | |
9 | +import java.util.Arrays; | |
10 | +import java.util.List; | |
11 | + | |
12 | +@Data | |
13 | +public class SendFaceBean { | |
14 | + | |
15 | + @NotNull(message = "学校ID必传") | |
16 | + @ApiModelProperty("学校ID") | |
17 | + private Integer schoolId; | |
18 | + | |
19 | + @ApiModelProperty("学生类型1老师2学生") | |
20 | + private Integer userType; | |
21 | + | |
22 | + @ApiModelProperty("学生类型1通校2住校3通晚4其他") | |
23 | + private Integer studentType; | |
24 | + | |
25 | + @ApiModelProperty("性别,多个英文逗号隔开") | |
26 | + private String sex; | |
27 | + | |
28 | + @ApiModelProperty("下发人脸照") | |
29 | + private String photo; | |
30 | + | |
31 | + @ApiModelProperty("下发班级,多个英文逗号隔开") | |
32 | + private String classIds; | |
33 | + | |
34 | + @ApiModelProperty("下发设备,多个英文逗号隔开") | |
35 | + private String deviceIds; | |
36 | + | |
37 | + @ApiModelProperty("下发卡号,多个英文逗号隔开") | |
38 | + private String cardNos; | |
39 | + | |
40 | + @ApiModelProperty("是否检验人脸1是2否,默认2") | |
41 | + private Integer isCheck = 2; | |
42 | + | |
43 | + @ApiModelProperty("宿舍分组ID") | |
44 | + private Integer roomId; | |
45 | + | |
46 | + @ApiModelProperty("下发状态") | |
47 | + private Integer status; | |
48 | + | |
49 | + @JsonIgnore | |
50 | + public List<String> getSexList(){ | |
51 | + if(StringUtils.isNotBlank(getSex())) return Arrays.asList(getSex().split(",")); | |
52 | + return null; | |
53 | + } | |
54 | + | |
55 | + @JsonIgnore | |
56 | + public List<String> getClassList(){ | |
57 | + if(StringUtils.isNotBlank(getClassIds())) return Arrays.asList(getClassIds().split(",")); | |
58 | + return null; | |
59 | + } | |
60 | + | |
61 | + @JsonIgnore | |
62 | + public List<String> getDeviceList(){ | |
63 | + if(StringUtils.isNotBlank(getDeviceIds())) return Arrays.asList(getDeviceIds().split(",")); | |
64 | + return null; | |
65 | + } | |
66 | + | |
67 | + @JsonIgnore | |
68 | + public List<String> getCardList(){ | |
69 | + if(StringUtils.isNotBlank(getCardNos())) return Arrays.asList(getCardNos().split(",")); | |
70 | + return null; | |
71 | + } | |
72 | +} | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/control/FaceUnifyController.java
... | ... | @@ -43,13 +43,4 @@ public class FaceUnifyController { |
43 | 43 | public String getPermissions(@RequestParam("schoolId")int schoolId) throws UnsupportedEncodingException { |
44 | 44 | return JSON.toJSONString(permissFaceService.getPermissions(schoolId)); |
45 | 45 | } |
46 | - | |
47 | - | |
48 | - @RequestMapping(value = "addFace",method = RequestMethod.POST) | |
49 | - @ApiOperation("上传学生/老师人脸") | |
50 | - public String addFace(@RequestParam("imgUrl")String imgUrl,@RequestParam("userId")String userId) throws UnsupportedEncodingException { | |
51 | - return JSON.toJSONString(permissFaceService.addFace(imgUrl,userId)); | |
52 | - } | |
53 | - | |
54 | - | |
55 | 46 | } | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/control/FileControl.java
... | ... | @@ -11,7 +11,6 @@ import io.swagger.annotations.Api; |
11 | 11 | import io.swagger.annotations.ApiOperation; |
12 | 12 | import org.springframework.beans.factory.annotation.Autowired; |
13 | 13 | import org.springframework.http.MediaType; |
14 | -import org.springframework.util.StringUtils; | |
15 | 14 | import org.springframework.web.bind.annotation.*; |
16 | 15 | import org.springframework.web.multipart.MultipartFile; |
17 | 16 | |
... | ... | @@ -41,27 +40,23 @@ public class FileControl { |
41 | 40 | * @param file |
42 | 41 | * @param schoolId |
43 | 42 | * @param studentCode |
44 | - * @param clint_type | |
45 | 43 | * @param userType |
46 | - * @param deviceId | |
47 | 44 | * @return |
48 | 45 | */ |
49 | 46 | @RequestMapping(method = RequestMethod.POST, value = "uploadImg") |
50 | - public String uploadImg(@RequestParam("file") MultipartFile file, @RequestParam("schoolId") String schoolId, | |
51 | - @RequestParam("studentCode") String studentCode, @RequestParam("clint_type") String clint_type, | |
52 | - @RequestParam("userType") int userType,@RequestParam(required = false) String deviceId) { | |
47 | + public String uploadImg(@RequestParam("file") MultipartFile file, @RequestParam("schoolId") Integer schoolId, | |
48 | + @RequestParam("studentCode") String studentCode,@RequestParam("userType") int userType, | |
49 | + @RequestParam(required = false) String deviceId) { | |
53 | 50 | System.out.println("schoolId:" + schoolId + " studentCode:" + studentCode); |
54 | 51 | String fileName = file.getOriginalFilename();//文件名 |
55 | - | |
56 | 52 | File outFile = new File("C://imgCom"); |
57 | 53 | if (!outFile.exists()) outFile.mkdirs(); |
58 | 54 | try { |
59 | 55 | File dest = new File(outFile, fileName); |
60 | 56 | FileOutputStream fileOutputStream = new FileOutputStream(dest); |
61 | - | |
62 | 57 | fileOutputStream.write(file.getBytes()); |
63 | 58 | fileOutputStream.close(); |
64 | - userService.uploadImgAndUserInfo(dest.getAbsolutePath(), schoolId, studentCode, clint_type, userType, StringUtils.isEmpty(deviceId)?"":deviceId); | |
59 | + userService.uploadImgAndUserInfo(dest.getAbsolutePath(), schoolId, studentCode, userType,deviceId); | |
65 | 60 | return "1"; |
66 | 61 | } catch (FileNotFoundException e) { |
67 | 62 | e.printStackTrace(); |
... | ... | @@ -83,43 +78,10 @@ public class FileControl { |
83 | 78 | return true; |
84 | 79 | } |
85 | 80 | |
86 | - @RequestMapping(method = RequestMethod.POST, value = "uploadImgToDev") | |
87 | - public String uploadImgToDev(@RequestParam("file") MultipartFile file, @RequestParam("schoolId") String schoolId, @RequestParam("studentCode") String studentCode, | |
88 | - @RequestParam("clint_type") String clint_type, @RequestParam("userType") int userType, @RequestParam("devid") String devid) { | |
89 | - String fileName = file.getOriginalFilename();//文件名 | |
90 | - | |
91 | - File outFile = new File("C://imgCom"); | |
92 | - if (!outFile.exists()) outFile.mkdirs(); | |
93 | - try { | |
94 | - File dest = new File(outFile, fileName); | |
95 | - FileOutputStream fileOutputStream = new FileOutputStream(dest); | |
96 | - | |
97 | - fileOutputStream.write(file.getBytes()); | |
98 | - fileOutputStream.close(); | |
99 | - userService.uploadImgAndUserInfo(dest.getAbsolutePath(), schoolId, studentCode, clint_type, userType, devid); | |
100 | - return "1"; | |
101 | - } catch (FileNotFoundException e) { | |
102 | - e.printStackTrace(); | |
103 | - } catch (IOException e) { | |
104 | - e.printStackTrace(); | |
105 | - } | |
106 | - return "0"; | |
107 | - } | |
108 | - | |
109 | 81 | @RequestMapping(value = "deleteFace", method = RequestMethod.GET) |
110 | 82 | @ApiOperation("删除人脸") |
111 | 83 | public void deleteFace(@RequestParam("cardNum") String cardNum, @RequestParam("deviceId") String deviceId) { |
112 | - | |
113 | 84 | sendUserInfoTask.deleteFace(cardNum, deviceId); |
114 | - | |
115 | - } | |
116 | - | |
117 | - | |
118 | - @RequestMapping(value = "imgsSend", method = RequestMethod.GET) | |
119 | - @ApiOperation(value = "照片下放") | |
120 | - public boolean imgsSend(@RequestParam("schoolId") String schoolId, @RequestParam("type") int type) { | |
121 | - userService.sendUserInfos(schoolId, "22", type); | |
122 | - return true; | |
123 | 85 | } |
124 | 86 | |
125 | 87 | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/control/UserControl.java
... | ... | @@ -2,27 +2,24 @@ package com.example.dahua.control; |
2 | 2 | |
3 | 3 | import com.example.dahua.MyTask; |
4 | 4 | import com.example.dahua.async.SendUserInfoTask; |
5 | -import com.example.dahua.bean.*; | |
5 | +import com.example.dahua.bean.PermissionBean; | |
6 | +import com.example.dahua.bean.UserInfoBean; | |
6 | 7 | import com.example.dahua.bean.yx.Result; |
7 | 8 | import com.example.dahua.bean.yx.ResultGenerator; |
8 | 9 | import com.example.dahua.bean.yx.StudentInfo; |
9 | 10 | import com.example.dahua.dao.UserDao; |
10 | -import com.example.dahua.enums.EnumSzBusinessType; | |
11 | 11 | import com.example.dahua.lib.CompressPic; |
12 | -import com.example.dahua.lib.FilePath; | |
13 | 12 | import com.example.dahua.service.UserService; |
14 | 13 | import com.example.dahua.service.imp.BaseService; |
15 | -import com.example.dahua.utils.*; | |
14 | +import com.example.dahua.utils.BaiduUtils; | |
15 | +import com.example.dahua.utils.FileUtils; | |
16 | +import com.example.dahua.utils.HttpUtils; | |
16 | 17 | import com.example.dahua.xiananDao.SendRecordDao; |
17 | 18 | import com.google.gson.Gson; |
18 | 19 | import io.swagger.annotations.Api; |
19 | -import io.swagger.annotations.ApiImplicitParam; | |
20 | -import io.swagger.annotations.ApiImplicitParams; | |
21 | 20 | import io.swagger.annotations.ApiOperation; |
21 | +import lombok.RequiredArgsConstructor; | |
22 | 22 | import lombok.extern.slf4j.Slf4j; |
23 | -import org.json.JSONException; | |
24 | -import org.json.JSONObject; | |
25 | -import org.springframework.beans.factory.annotation.Autowired; | |
26 | 23 | import org.springframework.http.HttpEntity; |
27 | 24 | import org.springframework.http.HttpHeaders; |
28 | 25 | import org.springframework.http.MediaType; |
... | ... | @@ -34,37 +31,33 @@ import org.springframework.util.StringUtils; |
34 | 31 | import org.springframework.web.bind.annotation.*; |
35 | 32 | import org.springframework.web.client.RestTemplate; |
36 | 33 | |
37 | -import java.io.*; | |
38 | -import java.util.*; | |
34 | +import java.io.File; | |
35 | +import java.io.IOException; | |
36 | +import java.util.ArrayList; | |
37 | +import java.util.List; | |
39 | 38 | |
40 | 39 | /** |
41 | 40 | * 用户相关接口 |
42 | 41 | * 注:所有下发到设备逻辑都21服务器执行。100服务只操作文件上传 |
43 | 42 | */ |
43 | +@RequiredArgsConstructor | |
44 | 44 | @Slf4j |
45 | 45 | @RestController("/user/") |
46 | 46 | @Api(tags = "下发用户信息") |
47 | 47 | @RequestMapping(value = "/user/*", produces = MediaType.APPLICATION_JSON_UTF8_VALUE) |
48 | 48 | public class UserControl { |
49 | 49 | |
50 | - @Autowired | |
51 | - UserService userService; | |
50 | + private final UserService userService; | |
52 | 51 | |
53 | - @Autowired | |
54 | - SendUserInfoTask sendUserInfoTask; | |
52 | + private final SendUserInfoTask sendUserInfoTask; | |
55 | 53 | |
56 | - @Autowired | |
57 | - MyTask myTasks; | |
54 | + private final MyTask myTasks; | |
58 | 55 | |
59 | - @Autowired | |
60 | - SendRecordDao sendRecordDao; | |
56 | + private final SendRecordDao sendRecordDao; | |
61 | 57 | |
62 | - @Autowired | |
63 | - UserDao userDao; | |
64 | - | |
65 | - @Autowired | |
66 | - BaseService baseService; | |
58 | + private final UserDao userDao; | |
67 | 59 | |
60 | + private final BaseService baseService; | |
68 | 61 | |
69 | 62 | /** |
70 | 63 | * 权限下发至设备 |
... | ... | @@ -82,235 +75,15 @@ public class UserControl { |
82 | 75 | * @param file |
83 | 76 | * @param schoolId |
84 | 77 | * @param studentCode |
85 | - * @param clint_type | |
86 | 78 | * @return |
87 | 79 | */ |
88 | 80 | @RequestMapping(value = "uploadImgAndUserInfo", method = RequestMethod.GET) |
89 | 81 | @ApiOperation(value = "上传用户信息") |
90 | - public boolean uploadImgAndUserInfo(@RequestParam("file") String file, @RequestParam("schoolId") String schoolId, @RequestParam("studentCode") String studentCode, @RequestParam("clint_type") String clint_type,@RequestParam(value = "deviceId",required = false) String deviceId) { | |
91 | - return HttpUtils.uploadImgs(new File(file), schoolId, studentCode, clint_type, file.contains("Teacher") ? 1 : 2,deviceId); | |
92 | - } | |
93 | - | |
94 | - /** | |
95 | - * 单个人脸下发至设备 | |
96 | - * @param filePath | |
97 | - * @param schoolId 学校ID | |
98 | - * @param studentCode 学生学籍号 | |
99 | - * @param clintType 设备类型 | |
100 | - * @return | |
101 | - * @author xuquan | |
102 | - * @date 2020/12/02 11:16 | |
103 | - */ | |
104 | - @RequestMapping(value = "sendUserAndImg", method = RequestMethod.GET) | |
105 | - @ApiOperation(value = "上传用户信息") | |
106 | - public boolean sendUserAndImg(@RequestParam("filePath") String filePath, @RequestParam("schoolId") String schoolId, @RequestParam("studentCode") String studentCode, | |
107 | - @RequestParam("clintType") String clintType,@RequestParam(value = "deviceId",required = false) String deviceId) { | |
108 | - File file = new File(filePath); | |
109 | - if (!file.exists()) { | |
110 | - System.out.println("图片不存在"); | |
111 | - return false; | |
112 | - } | |
113 | - int userType = filePath.contains("Teacher") ? EnumSzBusinessType.EnumUserType.TEACHER.code :EnumSzBusinessType.EnumUserType.STUDENT.code; | |
114 | - return HttpUtils.sendUserAndImg(file, schoolId, studentCode, clintType,deviceId,userType); | |
115 | - } | |
116 | - | |
117 | - /** | |
118 | - * 批量下发人脸至学校指定设备。 | |
119 | - * 注:100服务上处理文件,转发至21服务进行下发操作 | |
120 | - * @param deviceIds 设备ID集合。 | |
121 | - * @param schoolId | |
122 | - * @param userType | |
123 | - */ | |
124 | - @RequestMapping(value = "sendFaces", method = RequestMethod.GET) | |
125 | - @ApiOperation(value = "下发学校下所有人脸给指定设备", notes = "下发所有人脸给指定设备") | |
126 | - public void sendFaces(@RequestParam("deviceIds") String deviceIds, @RequestParam("schoolId") String schoolId, @RequestParam("userType") String userType) { | |
127 | - //文件存储目录 | |
128 | - String typeName = userType.equals(String.valueOf(EnumSzBusinessType.EnumUserType.TEACHER.code)) ? "Teacher" : "Student"; | |
129 | - //100服务器人脸照绝对路径 | |
130 | - String imgPath = "E:\\wwwhtdocs\\SmartCampus\\face17e5\\School" + schoolId + "\\" + typeName; | |
131 | - //目录 | |
132 | - File imgPathFile = new File(imgPath); | |
133 | - //设备iD | |
134 | - String[] deviceIdsStr = deviceIds.split(","); | |
135 | - //批量文件处理 | |
136 | - if (imgPathFile.exists()) { | |
137 | - File[] imgfiles = imgPathFile.listFiles(); | |
138 | - if (null != imgfiles) { | |
139 | - for (int i = 0; i < imgfiles.length; i++) { | |
140 | - File file = imgfiles[i];//图片 | |
141 | - //压缩后文件路径 | |
142 | - String targetPath = FilePath.picPathComp + file.getName(); | |
143 | - try { | |
144 | - CompressPic.CompressPic(file.getAbsolutePath(), targetPath, ""); | |
145 | - } catch (Exception e) { | |
146 | - log.error("文件压缩失败,错误:" + e); | |
147 | - e.printStackTrace(); | |
148 | - } | |
149 | - if (file.exists()) | |
150 | - for (int j = 0; j < deviceIdsStr.length; j++) { | |
151 | - String deviceId = deviceIdsStr[j]; | |
152 | - | |
153 | - StudentBean studentBean = null; | |
154 | - String card = "", name = "", studentCode = ""; | |
155 | - if (userType.equals("1")) { | |
156 | - studentBean = userDao.getTeacherWithstudentcode(file.getName().split("\\.")[0], schoolId); | |
157 | - if (null != studentBean) { | |
158 | - card = studentBean.getTeacher_num(); | |
159 | - name = studentBean.getName(); | |
160 | - studentCode = studentBean.getNum(); | |
161 | - } | |
162 | - } else if (userType.equals("2")) { | |
163 | - studentBean = userDao.getStudentWithstudentcode(file.getName().split("\\.")[0], schoolId); | |
164 | - if (null != studentBean) { | |
165 | - card = studentBean.getStudent_num(); | |
166 | - name = studentBean.getName(); | |
167 | - studentCode = studentBean.getStudentcode(); | |
168 | - } | |
169 | - } | |
170 | - | |
171 | - if (!StringUtils.isEmpty(card)) { | |
172 | - String clint_type = userDao.getClintType(deviceId); | |
173 | - HttpUtils.uploadImgs(new File(targetPath), schoolId, studentCode, clint_type, Integer.parseInt(userType),deviceId); | |
174 | - } | |
175 | - | |
176 | - } | |
177 | - | |
178 | - } | |
179 | - | |
180 | - } | |
181 | - } | |
182 | - | |
183 | - } | |
184 | - | |
185 | - @RequestMapping(value = "sendErrorFaces", method = RequestMethod.GET) | |
186 | - @ApiOperation(value = "下发失败的人脸", notes = "下发失败的人脸") | |
187 | - public void sendErrorFaces(@RequestParam("schoolId") String schoolId, @RequestParam("deviceid") String deviceid, @RequestParam("userType") int userType) { | |
188 | - | |
189 | - if (!StringUtils.isEmpty(deviceid)) { | |
190 | - senErrorFace(deviceid, schoolId, userType); | |
191 | - } else { | |
192 | - List<String> deviceIds = sendRecordDao.getDeviceIds(schoolId); | |
193 | - | |
194 | - if (null != deviceIds) { | |
195 | - for (int j = 0; j < deviceIds.size(); j++) { | |
196 | - String deviceId = deviceIds.get(j); | |
197 | - senErrorFace(deviceId, schoolId, userType); | |
198 | - } | |
199 | - } | |
200 | - } | |
201 | - } | |
202 | - | |
203 | - | |
204 | - private void senErrorFace(String deviceId, String schoolId, int userType) { | |
205 | - List<SendRecordBean> sendRecordBeans = sendRecordDao.getSendFailWithDevId(deviceId); | |
206 | - if (null != sendRecordBeans) { | |
207 | - | |
208 | - for (int i = 0; i < sendRecordBeans.size(); i++) { | |
209 | - | |
210 | - SendRecordBean sendRecordBean = sendRecordBeans.get(i); | |
211 | - String typeName = ""; | |
212 | - if (userType == 0) { | |
213 | - typeName = sendRecordBean.getUserType() == 1 ? "Teacher" : "Student"; | |
214 | - } else { | |
215 | - typeName = userType == 1 ? "Teacher" : "Student"; | |
216 | - } | |
217 | - String studentCode = ""; | |
218 | - | |
219 | - if (sendRecordBean.getUserType() == 1) { | |
220 | - studentCode = userDao.getTeaNumWithCard(sendRecordBean.getNum()); | |
221 | - } else if (sendRecordBean.getUserType() == 2) { | |
222 | - studentCode = userDao.getStudentCode(sendRecordBean.getCustomerid()); | |
223 | - } | |
224 | - | |
225 | - String imgPath = "E:\\wwwhtdocs\\SmartCampus\\face17e5\\School" + sendRecordBean.getSchoolId() + "\\" + typeName + "\\" + studentCode + ".png"; | |
226 | - File imgFile = new File(imgPath); | |
227 | - if (imgFile.exists()) { | |
228 | - String targetPath = "./picPath/comp/" + imgFile.getName(); | |
229 | - try { | |
230 | - CompressPic.CompressPic(imgFile.getAbsolutePath(), targetPath, ""); | |
231 | - } catch (Exception e) { | |
232 | - e.printStackTrace(); | |
233 | - } | |
234 | - | |
235 | - String clint_type = userDao.getClintType(sendRecordBean.getDeviceID()); | |
236 | - HttpUtils.uploadImgs(new File(targetPath), schoolId, studentCode, clint_type, sendRecordBean.getUserType(),deviceId); | |
237 | - } else { | |
238 | - System.out.println("文件不存在"); | |
239 | - } | |
240 | - } | |
241 | - | |
242 | - } | |
243 | - } | |
244 | - | |
245 | - | |
246 | - @RequestMapping(value = "sendSingle", method = RequestMethod.GET) | |
247 | - @ApiOperation(value = "单张卡下发") | |
248 | - public String sendSIngle(@RequestParam("SchoolId") String SchoolId, @RequestParam("Card") String Card) { | |
249 | - RestTemplate restTemplate = new RestTemplate(); | |
250 | - String url = "http://campus.myjxt.com/api/OneCard/SendSingle?SchoolId=" + SchoolId + "&Card=" + Card.toUpperCase().trim(); | |
251 | - String result = restTemplate.getForObject(url, String.class); | |
252 | - System.out.println("result:" + result); | |
253 | - try { | |
254 | - JSONObject jsonObject = new JSONObject(result); | |
255 | - if (jsonObject.optBoolean("data")) { | |
256 | - return "下发成功"; | |
257 | - } | |
258 | - } catch (JSONException e) { | |
259 | - e.printStackTrace(); | |
260 | - } | |
261 | - return "下发失败"; | |
262 | - } | |
263 | - | |
264 | - @RequestMapping(value = "sendWG", method = RequestMethod.GET) | |
265 | - @ApiImplicitParams({@ApiImplicitParam(name = "SchoolId", value = "学校id"), | |
266 | - @ApiImplicitParam(name = "StudentType", value = "学生类型,1:通校生,2:住校,3:通晚,4:其他"), | |
267 | - @ApiImplicitParam(name = "Sex", value = "性别:1男,2女")}) | |
268 | - @ApiOperation(value = "下发附属卡") | |
269 | - public String sendWG(@RequestParam("SchoolId") String SchoolId, @RequestParam("StudentType") String StudentType, @RequestParam("Sex") String Sex) { | |
270 | - RestTemplate restTemplate = new RestTemplate(); | |
271 | - String url = "http://campus.myjxt.com/api/OneCard/SendWG?SchoolId=" + SchoolId + "&StudentType=" + StudentType + "&Sex=" + Sex; | |
272 | - String result = restTemplate.getForObject(url, String.class); | |
273 | - System.out.println("sendWG:" + result); | |
274 | - try { | |
275 | - JSONObject jsonObject = new JSONObject(result); | |
276 | - if (jsonObject.optBoolean("data")) { | |
277 | - return "下发成功"; | |
278 | - } | |
279 | - } catch (JSONException e) { | |
280 | - e.printStackTrace(); | |
281 | - } | |
282 | - return "下发失败"; | |
283 | - } | |
284 | - | |
285 | - | |
286 | - @RequestMapping(value = "checkFace", method = RequestMethod.GET) | |
287 | - @ApiOperation("在线活体检测") | |
288 | - public boolean checkFace(@RequestParam("url") String httpurl) { | |
289 | - | |
290 | - boolean check = BaiduUtils.getBaiduUtils().checkImg(httpurl); | |
291 | - //获取文件名 | |
292 | -// File file1 = new File(httpurl); | |
293 | -// File target = new File("./huoti/"); | |
294 | -// //压缩后的文件 | |
295 | -// httpurl = target.getAbsolutePath() + "/"+ file1.getName(); | |
296 | - System.out.println("人脸图片路径:"+httpurl); | |
297 | - if (check) { | |
298 | - File file = new File(httpurl); | |
299 | - String userCode = file.getName().split("\\.")[0]; | |
300 | - String schoolId = ""; | |
301 | - if (httpurl.contains("Student") && !httpurl.startsWith("http")) { | |
302 | - schoolId = httpurl.substring(httpurl.indexOf("School") + 6, httpurl.indexOf("\\Student")); | |
303 | - } else if (httpurl.contains("Teacher") && !httpurl.startsWith("http")) { | |
304 | - schoolId = httpurl.substring(httpurl.indexOf("School") + 6, httpurl.indexOf("\\Teacher")); | |
305 | - } | |
306 | - System.out.println("choolId:" + schoolId + "userCode:" + userCode); | |
307 | - if (!StringUtils.isEmpty(schoolId) && !StringUtils.isEmpty(userCode)) { | |
308 | - String userId = userService.getUserId(userCode, schoolId); | |
309 | - BaiduUtils.getBaiduUtils().addFace(new File(httpurl), schoolId, userId, userId); | |
310 | - FileUtils.getInstance().writeLogs("人脸添加成功:" + userId, "人脸添加成功.txt"); | |
311 | - } | |
312 | - } | |
313 | - return check; | |
82 | + public boolean uploadImgAndUserInfo(@RequestParam("file") String file, | |
83 | + @RequestParam("schoolId") Integer schoolId, | |
84 | + @RequestParam("studentCode") String studentCode, | |
85 | + @RequestParam(value = "deviceId",required = false) String deviceId) { | |
86 | + return HttpUtils.uploadImg(new File(file), schoolId, studentCode, file.contains("Teacher") ? 1 : 2,deviceId); | |
314 | 87 | } |
315 | 88 | |
316 | 89 | @RequestMapping(value = "delBaiDuFace", method = RequestMethod.GET) |
... | ... | @@ -366,7 +139,7 @@ public class UserControl { |
366 | 139 | File targetFile = new File(targPath); |
367 | 140 | if (!targetFile.exists()) targetFile.createNewFile(); |
368 | 141 | try { |
369 | - CompressPic.CompressPic(filePath.getAbsolutePath(), targPath, "");//压缩后的图片 | |
142 | + CompressPic.CompressPic(filePath.getAbsolutePath(), targPath);//压缩后的图片 | |
370 | 143 | filePath.deleteOnExit(); |
371 | 144 | } catch (Exception e) { |
372 | 145 | e.printStackTrace(); |
... | ... | @@ -378,12 +151,6 @@ public class UserControl { |
378 | 151 | return true; |
379 | 152 | } |
380 | 153 | |
381 | - @RequestMapping(value = "imgsSend", method = RequestMethod.GET) | |
382 | - @ApiOperation(value = "照片下放") | |
383 | - public boolean imgsSend(@RequestParam("schoolId") String schoolId, @RequestParam("type") int type) { | |
384 | - userService.sendUserInfos(schoolId, "22", type); | |
385 | - return true; | |
386 | - } | |
387 | 154 | |
388 | 155 | @RequestMapping(value = "movePic", method = RequestMethod.GET) |
389 | 156 | @ApiOperation("转移下发失败的图片到批量图片库") |
... | ... | @@ -417,7 +184,7 @@ public class UserControl { |
417 | 184 | if (!fileCom.exists()) fileCom.mkdirs(); |
418 | 185 | File target = new File(fileCom.getAbsolutePath(), fileName); |
419 | 186 | System.out.println("target:" + target.getAbsolutePath()); |
420 | - CompressPic.CompressPic(file.getAbsolutePath(), target.getAbsolutePath(), "");//压缩后的图片 | |
187 | + CompressPic.CompressPic(file.getAbsolutePath(), target.getAbsolutePath());//压缩后的图片 | |
421 | 188 | } |
422 | 189 | } |
423 | 190 | } catch (Exception e) { | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/control/UserOperateController.java
1 | 1 | package com.example.dahua.control; |
2 | 2 | |
3 | 3 | import com.example.dahua.async.SendUserInfoTask2; |
4 | +import com.example.dahua.bean.SendFaceBean; | |
4 | 5 | import com.example.dahua.bean.yx.Result; |
5 | 6 | import com.example.dahua.bean.yx.YxSendFaceDto; |
6 | 7 | import com.example.dahua.dao.UserDao; |
... | ... | @@ -91,28 +92,15 @@ public class UserOperateController { |
91 | 92 | } |
92 | 93 | |
93 | 94 | @ApiOperation(value = "按班级指定下发") |
94 | - @RequestMapping(value = "sendFaceByClassId", method = RequestMethod.GET) | |
95 | - public void exportFace(@RequestParam("schoolId") Integer schoolId, | |
96 | - @RequestParam(value = "classIds",required = false) String classIds, | |
97 | - @RequestParam(value = "deviceIds",required = false) String deviceIds){ | |
98 | - userOperateService.sendFaceByClassId(schoolId,classIds,deviceIds,"",null); | |
95 | + @RequestMapping(value = "sendFaceByClassId", method = RequestMethod.POST) | |
96 | + public void sendFaceByClassId2(@RequestBody SendFaceBean sendFaceBean){ | |
97 | + userOperateService.sendFaceByClassId(sendFaceBean); | |
99 | 98 | } |
100 | 99 | |
101 | 100 | @ApiOperation(value = "按班级指定下发") |
102 | - @RequestMapping(value = "sendFaceByClassId2", method = RequestMethod.GET) | |
103 | - public void sendFaceByClassId2(@RequestParam("schoolId") Integer schoolId, | |
104 | - @RequestParam(value = "classIds",required = false) String classIds, | |
105 | - @RequestParam(value = "studentType",required = false) Integer studentType, | |
106 | - @RequestParam(value = "sex",required = false) String sex, | |
107 | - @RequestParam(value = "deviceIds",required = false) String deviceIds){ | |
108 | - userOperateService.sendFaceByClassId(schoolId,classIds,deviceIds,sex,studentType); | |
109 | - } | |
110 | - | |
111 | - @ApiOperation(value = "删除指定学校下无效人脸") | |
112 | - @RequestMapping(value = "deleteFaceByClassId", method = RequestMethod.GET) | |
113 | - public void exportFace(@RequestParam("schoolId") Integer schoolId, | |
114 | - @RequestParam(value = "deviceIds",required = false) String deviceIds){ | |
115 | - userOperateService.deleteFaceByClassId(schoolId,deviceIds); | |
101 | + @RequestMapping(value = "sendFaceByRoomId", method = RequestMethod.POST) | |
102 | + public void exportFace(@RequestBody SendFaceBean sendFaceBean){ | |
103 | + userOperateService.sendFaceByRoomId(sendFaceBean); | |
116 | 104 | } |
117 | 105 | |
118 | 106 | @ApiOperation(value = "导入学生信息") |
... | ... | @@ -128,7 +116,6 @@ public class UserOperateController { |
128 | 116 | int beginIndex = originalFileName.lastIndexOf("."); |
129 | 117 | //原名 |
130 | 118 | String fileName = originalFileName.substring(0,beginIndex); |
131 | - | |
132 | 119 | userOperateService.saveStudentInfo(readExcel, fileName); |
133 | 120 | } |
134 | 121 | |
... | ... | @@ -142,8 +129,10 @@ public class UserOperateController { |
142 | 129 | @RequestMapping(value = "exportStudent", method = RequestMethod.GET) |
143 | 130 | public void importExcel(@RequestParam("schoolId") Integer schoolId, |
144 | 131 | HttpServletRequest request, HttpServletResponse response){ |
145 | - | |
146 | - List<Map<String, Object>> sheetList = userOperateService.exportStudent(schoolId,"188368,188369,188370,188371",null,""); | |
132 | + SendFaceBean faceBean = new SendFaceBean(); | |
133 | + faceBean.setSchoolId(schoolId); | |
134 | + faceBean.setClassIds("188368,188369,188370,188371"); | |
135 | + List<Map<String, Object>> sheetList = userOperateService.exportStudent(faceBean); | |
147 | 136 | ExcelUtil2.exportExcelByEasyPoi(sheetList,"中意",request,response); |
148 | 137 | } |
149 | 138 | |
... | ... | @@ -159,20 +148,4 @@ public class UserOperateController { |
159 | 148 | @RequestParam("deviceIds") String deviceIds){ |
160 | 149 | userOperateService.sendCard(cardNum,schoolId,deviceIds); |
161 | 150 | } |
162 | - | |
163 | - @ApiOperation(value = "按班级指定下发") | |
164 | - @RequestMapping(value = "sendFaceByRoomId", method = RequestMethod.GET) | |
165 | - public void exportFace(@RequestParam("schoolId") Integer schoolId, | |
166 | - @RequestParam("roomId") Integer roomId, | |
167 | - @RequestParam(value = "deviceIds",required = false) String deviceIds){ | |
168 | - userOperateService.sendFaceByRoomId(schoolId,roomId,deviceIds); | |
169 | - } | |
170 | - | |
171 | - @ApiOperation(value = "按关键字指定下发") | |
172 | - @RequestMapping(value = "sendFaceByKeyword", method = RequestMethod.GET) | |
173 | - public void sendFaceByKeyword(@RequestParam("schoolId") Integer schoolId, | |
174 | - @RequestParam("keyword") String keyword, | |
175 | - @RequestParam(value = "deviceIds",required = false) String deviceIds){ | |
176 | - userOperateService.sendFaceByKeyword(schoolId,keyword,deviceIds); | |
177 | - } | |
178 | 151 | } | ... | ... |
cloud/dahua/src/main/java/com/example/dahua/dao/UserDao.java
... | ... | @@ -6,42 +6,32 @@ import org.apache.ibatis.annotations.*; |
6 | 6 | import org.springframework.stereotype.Repository; |
7 | 7 | |
8 | 8 | import java.util.List; |
9 | -import java.util.Map; | |
10 | 9 | |
11 | 10 | @Repository |
12 | 11 | @Mapper |
13 | 12 | public interface UserDao { |
14 | 13 | |
15 | - @Select(" select student_num from SZ_V_School_Student where school_id = #{school_id} and studentcode = #{studentcode}") | |
16 | - public String getStudentNum(@Param("school_id") String school_id, @Param("studentcode") String studentcode); | |
14 | + @Select("select clint_id from SZ_Attendance where school_id = #{schoolId} and clint_type = 29") | |
15 | + List<String> selectDeviceBySchoolId(@Param("schoolId") Integer schoolId); | |
17 | 16 | |
18 | - @Select("select school_id from SZ_Attendance where clint_id = #{clint_id} ") | |
19 | - String getSchoolIdbyClint_id( @Param("clint_id") String clint_id); | |
17 | + @Select("select clint_id from SZ_Attendance where clint_id = #{clintId}") | |
18 | + AttendanceBean getDeviceByDeviceId(@Param("clintId") String clintId); | |
20 | 19 | |
21 | - @Select("select * from SZ_Attendance where school_id = #{schoolId} and clint_type = 29") | |
22 | - List<String> selectDeviceBySchoolId(@Param("schoolId") Integer schoolId); | |
23 | - /** | |
24 | - * 获取设备出入类型 | |
25 | - * @param clint_id | |
26 | - * @return | |
27 | - */ | |
28 | - @Select("select * from SZ_Attendance where clint_id = #{clint_id} ") | |
29 | - AttendanceBean getTypeByClint_id( @Param("clint_id") String clint_id); | |
20 | + @Select("select clint_type from SZ_Attendance where clint_id = #{deviceId}") | |
21 | + String getClintType(@Param("deviceId") String deviceId); | |
30 | 22 | |
31 | - @Select("select * from SZ_Attendance where school_id = #{school_id} and clint_type = #{clint_type}") | |
32 | - List<AttendanceBean> getAttendanceBeans(@Param("school_id") String school_id, @Param("clint_type") String clint_type); | |
23 | + @Select(" select Top(1)* from SZ_V_School_Student where school_id = #{schoolId} and studentCode = #{studentCode}") | |
24 | + UserInfoBean getUserInfo(@Param("schoolId") Integer schoolId, @Param("studentCode") String studentCode); | |
33 | 25 | |
34 | - @Select("select * from SZ_Attendance where school_id = #{school_id} and clint_type = #{clint_type} and clint_id = #{clint_id}") | |
35 | - List<AttendanceBean> getAttendanceBeanWithId(@Param("school_id") String school_id, @Param("clint_type") String clint_type, @Param("clint_id") String clint_id); | |
26 | + @Select(" select Top(1)* from SZ_V_School_Teacher where school_id = #{schoolId} and num = #{num}") | |
27 | + TeacherBean getTeacher(@Param("schoolId") Integer schoolId, @Param("num") String num); | |
36 | 28 | |
37 | - @Select(" select Top(1)* from SZ_V_School_Student where school_id = #{school_id} and studentcode = #{studentcode}") | |
38 | - UserInfoBean getUserInfo(@Param("school_id") String school_id, @Param("studentcode") String studentcode); | |
29 | + @Select("select top 1 school_name from SZ_School where school_id = #{schoolId}") | |
30 | + String getSchoolName(@Param("schoolId") Integer schoolId); | |
39 | 31 | |
40 | 32 | @Select("select * from SZ_V_School_Student where school_id = 1066 and class_id between 78506 and 78514") |
41 | 33 | List<UserInfoBean> getStuUserInfos(); |
42 | 34 | |
43 | - @Select(" select Top(1)* from SZ_V_School_Teacher where school_id = #{school_id} and num = #{num}") | |
44 | - TeacherBean getTeacher(@Param("school_id") String school_id, @Param("num") String num); | |
45 | 35 | |
46 | 36 | @Select(" select Top(1)* from SZ_V_School_Teacher where teacher_id = #{teacher_id}") |
47 | 37 | TeacherBean getTeacherWithId(@Param("teacher_id") String teacher_id); |
... | ... | @@ -86,9 +76,6 @@ public interface UserDao { |
86 | 76 | @Select("select Top(1) * from HS_StudentUpdateCard where CustomerId = #{CustomerId} order by AddTime desc") |
87 | 77 | StudentBean getStudentUpdate(@Param("CustomerId") String customerid); |
88 | 78 | |
89 | - @Select("select school_name from SZ_School where school_id = #{school_id}") | |
90 | - String getSchoolName(@Param("school_id") String school_id); | |
91 | - | |
92 | 79 | @Select(" select studentcode from SZ_V_School_Student where student_id = #{customerid}") |
93 | 80 | String getStudentCode(@Param("customerid") String customerid); |
94 | 81 | |
... | ... | @@ -175,9 +162,6 @@ public interface UserDao { |
175 | 162 | @Select("select top(1) num from SZ_V_School_Teacher where teacher_num=#{num}") |
176 | 163 | String getTeaNumWithCard(@Param("num") String num); |
177 | 164 | |
178 | - @Select("select clint_type from SZ_Attendance where clint_id = #{clint_id}") | |
179 | - String getClintType(@Param("clint_id") String deviceID); | |
180 | - | |
181 | 165 | @Select("select v.* from SZ_Student as s inner join SZ_V_School_Student as v on s.student_id = v.student_id where s.intime>'2020-09-01' and school_id = 654 order by student_id desc ") |
182 | 166 | List<StudentBean> getStus(); |
183 | 167 | |
... | ... | @@ -282,10 +266,8 @@ public interface UserDao { |
282 | 266 | |
283 | 267 | List<String> queryStudentIdList(@Param("schoolId") Integer schoolId,@Param("roomId")Integer roomId); |
284 | 268 | |
285 | - List<StudentBean> getStudentByClassId(@Param("schoolId") int schoolId,@Param("classIds") List<String> classIds, | |
286 | - @Param("studentType")Integer studentType,@Param("sexList") List<Integer> sexList); | |
287 | - | |
288 | - List<StudentBean> getStudentByKeyword(@Param("schoolId") int schoolId, @Param("keyword") String keyword); | |
269 | + List<StudentBean> getStudentByClassId(@Param("schoolId") Integer schoolId, @Param("studentType")Integer studentType, | |
270 | + @Param("classIds") List<String> classIds, @Param("sexList") List<String> sexList); | |
289 | 271 | |
290 | 272 | List<Integer> getGroupByClassId(@Param("classId") Integer classId); |
291 | 273 | ... | ... |