Ardupilot Rpanion 4GLTE 网络性能测试 - 国内中转

Ardupilot Rpanion 4GLTE 网络性能测试 - 国内中转

  • 1. 源由
  • 2. 视频效果
    • 2.1 整体刷新率不高
    • 2.2 网络延迟可接受
    • 2.3 带宽增加丢包明显
    • 2.4 实测效果流畅
  • 3. 总结

1. 源由

上一次,由于ZeroTier使用了国外服务器,延迟~ 569 ms,花屏、卡顿。

本着不折腾到底,誓不罢休的精神,本次我们将ZeroTier切换到了国内中转服务器。

在这里插入图片描述

2. 视频效果

最终视频效果是王道!来我们看下效果。

Ardupilot Rpanion 4GLTE-4GLTE Domestic Routing Copter

2.1 整体刷新率不高

一般都能到59FPS,但是显示器今天不知道怎么只有30FPS,有的时候都不到。
刷新率越差,误差就越大。

2.2 网络延迟可接受

ping延迟不高,大约在[64ms, 306ms],平均117ms。

ping -t 192.168.235.73Pinging 192.168.235.73 with 32 bytes of data:
Reply from 192.168.235.73: bytes=32 time=103ms TTL=64
Reply from 192.168.235.73: bytes=32 time=102ms TTL=64
Reply from 192.168.235.73: bytes=32 time=109ms TTL=64
Reply from 192.168.235.73: bytes=32 time=128ms TTL=64
Reply from 192.168.235.73: bytes=32 time=127ms TTL=64
Reply from 192.168.235.73: bytes=32 time=154ms TTL=64
Reply from 192.168.235.73: bytes=32 time=113ms TTL=64
Reply from 192.168.235.73: bytes=32 time=94ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=131ms TTL=64
Reply from 192.168.235.73: bytes=32 time=120ms TTL=64
Reply from 192.168.235.73: bytes=32 time=121ms TTL=64
Reply from 192.168.235.73: bytes=32 time=101ms TTL=64
Reply from 192.168.235.73: bytes=32 time=115ms TTL=64
Reply from 192.168.235.73: bytes=32 time=129ms TTL=64
Reply from 192.168.235.73: bytes=32 time=112ms TTL=64
Reply from 192.168.235.73: bytes=32 time=192ms TTL=64
Reply from 192.168.235.73: bytes=32 time=101ms TTL=64
Reply from 192.168.235.73: bytes=32 time=105ms TTL=64
Reply from 192.168.235.73: bytes=32 time=99ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=97ms TTL=64
Reply from 192.168.235.73: bytes=32 time=91ms TTL=64
Reply from 192.168.235.73: bytes=32 time=115ms TTL=64
Reply from 192.168.235.73: bytes=32 time=102ms TTL=64
Reply from 192.168.235.73: bytes=32 time=169ms TTL=64
Reply from 192.168.235.73: bytes=32 time=113ms TTL=64
Reply from 192.168.235.73: bytes=32 time=119ms TTL=64
Reply from 192.168.235.73: bytes=32 time=83ms TTL=64
Reply from 192.168.235.73: bytes=32 time=108ms TTL=64
Reply from 192.168.235.73: bytes=32 time=147ms TTL=64
Reply from 192.168.235.73: bytes=32 time=132ms TTL=64
Reply from 192.168.235.73: bytes=32 time=111ms TTL=64
Reply from 192.168.235.73: bytes=32 time=156ms TTL=64
Reply from 192.168.235.73: bytes=32 time=113ms TTL=64
Reply from 192.168.235.73: bytes=32 time=100ms TTL=64
Reply from 192.168.235.73: bytes=32 time=114ms TTL=64
Reply from 192.168.235.73: bytes=32 time=127ms TTL=64
Reply from 192.168.235.73: bytes=32 time=99ms TTL=64
Reply from 192.168.235.73: bytes=32 time=85ms TTL=64
Reply from 192.168.235.73: bytes=32 time=88ms TTL=64
Reply from 192.168.235.73: bytes=32 time=113ms TTL=64
Reply from 192.168.235.73: bytes=32 time=111ms TTL=64
Reply from 192.168.235.73: bytes=32 time=106ms TTL=64
Reply from 192.168.235.73: bytes=32 time=116ms TTL=64
Reply from 192.168.235.73: bytes=32 time=117ms TTL=64
Reply from 192.168.235.73: bytes=32 time=104ms TTL=64
Reply from 192.168.235.73: bytes=32 time=105ms TTL=64
Reply from 192.168.235.73: bytes=32 time=99ms TTL=64
Reply from 192.168.235.73: bytes=32 time=101ms TTL=64
Reply from 192.168.235.73: bytes=32 time=111ms TTL=64
Reply from 192.168.235.73: bytes=32 time=86ms TTL=64
Reply from 192.168.235.73: bytes=32 time=144ms TTL=64
Reply from 192.168.235.73: bytes=32 time=81ms TTL=64
Reply from 192.168.235.73: bytes=32 time=79ms TTL=64
Reply from 192.168.235.73: bytes=32 time=94ms TTL=64
Reply from 192.168.235.73: bytes=32 time=132ms TTL=64
Reply from 192.168.235.73: bytes=32 time=92ms TTL=64
Reply from 192.168.235.73: bytes=32 time=96ms TTL=64
Reply from 192.168.235.73: bytes=32 time=121ms TTL=64
Reply from 192.168.235.73: bytes=32 time=133ms TTL=64
Reply from 192.168.235.73: bytes=32 time=127ms TTL=64
Reply from 192.168.235.73: bytes=32 time=97ms TTL=64
Reply from 192.168.235.73: bytes=32 time=127ms TTL=64
Reply from 192.168.235.73: bytes=32 time=135ms TTL=64
Reply from 192.168.235.73: bytes=32 time=96ms TTL=64
Reply from 192.168.235.73: bytes=32 time=120ms TTL=64
Reply from 192.168.235.73: bytes=32 time=101ms TTL=64
Reply from 192.168.235.73: bytes=32 time=135ms TTL=64
Reply from 192.168.235.73: bytes=32 time=144ms TTL=64
Reply from 192.168.235.73: bytes=32 time=107ms TTL=64
Reply from 192.168.235.73: bytes=32 time=112ms TTL=64
Reply from 192.168.235.73: bytes=32 time=139ms TTL=64
Reply from 192.168.235.73: bytes=32 time=81ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=116ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=162ms TTL=64
Reply from 192.168.235.73: bytes=32 time=119ms TTL=64
Reply from 192.168.235.73: bytes=32 time=120ms TTL=64
Reply from 192.168.235.73: bytes=32 time=306ms TTL=64
Reply from 192.168.235.73: bytes=32 time=143ms TTL=64
Reply from 192.168.235.73: bytes=32 time=80ms TTL=64
Reply from 192.168.235.73: bytes=32 time=94ms TTL=64
Reply from 192.168.235.73: bytes=32 time=91ms TTL=64
Reply from 192.168.235.73: bytes=32 time=156ms TTL=64
Reply from 192.168.235.73: bytes=32 time=114ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=129ms TTL=64
Reply from 192.168.235.73: bytes=32 time=184ms TTL=64
Reply from 192.168.235.73: bytes=32 time=110ms TTL=64
Reply from 192.168.235.73: bytes=32 time=135ms TTL=64
Reply from 192.168.235.73: bytes=32 time=144ms TTL=64
Reply from 192.168.235.73: bytes=32 time=141ms TTL=64
Reply from 192.168.235.73: bytes=32 time=79ms TTL=64
Reply from 192.168.235.73: bytes=32 time=78ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=128ms TTL=64
Reply from 192.168.235.73: bytes=32 time=206ms TTL=64
Reply from 192.168.235.73: bytes=32 time=129ms TTL=64
Reply from 192.168.235.73: bytes=32 time=126ms TTL=64
Reply from 192.168.235.73: bytes=32 time=154ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=94ms TTL=64
Reply from 192.168.235.73: bytes=32 time=125ms TTL=64
Reply from 192.168.235.73: bytes=32 time=90ms TTL=64
Reply from 192.168.235.73: bytes=32 time=129ms TTL=64
Reply from 192.168.235.73: bytes=32 time=111ms TTL=64
Reply from 192.168.235.73: bytes=32 time=113ms TTL=64
Reply from 192.168.235.73: bytes=32 time=106ms TTL=64
Reply from 192.168.235.73: bytes=32 time=94ms TTL=64
Reply from 192.168.235.73: bytes=32 time=92ms TTL=64
Reply from 192.168.235.73: bytes=32 time=96ms TTL=64
Reply from 192.168.235.73: bytes=32 time=114ms TTL=64
Reply from 192.168.235.73: bytes=32 time=122ms TTL=64
Reply from 192.168.235.73: bytes=32 time=93ms TTL=64
Reply from 192.168.235.73: bytes=32 time=165ms TTL=64
Reply from 192.168.235.73: bytes=32 time=135ms TTL=64
Reply from 192.168.235.73: bytes=32 time=185ms TTL=64
Reply from 192.168.235.73: bytes=32 time=124ms TTL=64
Reply from 192.168.235.73: bytes=32 time=64ms TTL=64
Reply from 192.168.235.73: bytes=32 time=89ms TTL=64
Reply from 192.168.235.73: bytes=32 time=84ms TTL=64
Reply from 192.168.235.73: bytes=32 time=90ms TTL=64
Reply from 192.168.235.73: bytes=32 time=112ms TTL=64
Reply from 192.168.235.73: bytes=32 time=92ms TTL=64
Reply from 192.168.235.73: bytes=32 time=90ms TTL=64
Reply from 192.168.235.73: bytes=32 time=78ms TTL=64
Reply from 192.168.235.73: bytes=32 time=129ms TTL=64Ping statistics for 192.168.235.73:Packets: Sent = 129, Received = 129, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:Minimum = 64ms, Maximum = 306ms, Average = 117ms
Control-C

2.3 带宽增加丢包明显

iperf情况很诡异:相较于《Ardupilot Rpanion iperf网络性能测试》情况更差,但是实际效果不错。

在这里插入图片描述

$ iperf -b 300pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2627 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 47594 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   410 KBytes  3.36 Mbits/sec  301/0      302 pps
[  3] 1.0000-2.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 2.0000-3.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 3.0000-4.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 4.0000-5.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 5.0000-6.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 6.0000-7.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 7.0000-8.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 8.0000-9.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 9.0000-10.0000 sec   410 KBytes  3.36 Mbits/sec  300/0      300 pps
[  3] 0.0000-10.0069 sec  4.01 MBytes  3.36 Mbits/sec  3005/0      300 pps
[  3] Sent 3005 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-10.0125 sec  4.01 MBytes  3.36 Mbits/sec   5.955 ms    0/ 3004 (0%)$ iperf -b 350pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2690 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 43876 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   479 KBytes  3.92 Mbits/sec  351/0      352 pps
[  3] 1.0000-2.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 2.0000-3.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 3.0000-4.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 4.0000-5.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 5.0000-6.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 6.0000-7.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 7.0000-8.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 8.0000-9.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 9.0000-10.0000 sec   479 KBytes  3.92 Mbits/sec  350/0      350 pps
[  3] 0.0000-10.0059 sec  4.68 MBytes  3.92 Mbits/sec  3505/0      350 pps
[  3] Sent 3505 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-10.0302 sec  4.68 MBytes  3.91 Mbits/sec   5.143 ms    0/ 3504 (0%)$ iperf -b 400pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2697 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 33690 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   547 KBytes  4.48 Mbits/sec  401/0      402 pps
[  3] 1.0000-2.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 2.0000-3.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 3.0000-4.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 4.0000-5.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 5.0000-6.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 6.0000-7.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 7.0000-8.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 8.0000-9.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 9.0000-10.0000 sec   547 KBytes  4.48 Mbits/sec  400/0      400 pps
[  3] 0.0000-10.0028 sec  5.34 MBytes  4.48 Mbits/sec  4004/0      400 pps
[  3] Sent 4004 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-10.0392 sec  5.34 MBytes  4.46 Mbits/sec   4.412 ms    0/ 4003 (0%)$ iperf -b 500pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2709 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 44078 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   684 KBytes  5.60 Mbits/sec  501/0      502 pps
[  3] 1.0000-2.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 2.0000-3.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 3.0000-4.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 4.0000-5.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 5.0000-6.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 6.0000-7.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 7.0000-8.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 8.0000-9.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 9.0000-10.0000 sec   684 KBytes  5.60 Mbits/sec  500/0      500 pps
[  3] 0.0000-10.0042 sec  6.68 MBytes  5.60 Mbits/sec  5005/0      500 pps
[  3] Sent 5005 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-10.1477 sec  5.67 MBytes  4.69 Mbits/sec  11.400 ms  756/ 5005 (15%)$ iperf -b 550pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2716 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 49192 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   752 KBytes  6.16 Mbits/sec  551/0      552 pps
[  3] 1.0000-2.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 2.0000-3.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 3.0000-4.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 4.0000-5.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 5.0000-6.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 6.0000-7.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 7.0000-8.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 8.0000-9.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 9.0000-10.0000 sec   752 KBytes  6.16 Mbits/sec  550/0      550 pps
[  3] 0.0000-10.0040 sec  7.35 MBytes  6.16 Mbits/sec  5505/0      550 pps
[  3] Sent 5505 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-9.9913 sec  5.62 MBytes  4.72 Mbits/sec   3.449 ms 1293/ 5504 (23%)$ iperf -b 600pps -u -e -i 1 -l 1400  -c 192.168.235.63
------------------------------------------------------------
Client connecting to 192.168.235.63, UDP port 5001 with pid 2724 (1 flows)
Write buffer size: 1.37 KByte
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.235.73%ztjjfduqpe port 49983 connected with 192.168.235.63 port 5001
[ ID] Interval            Transfer     Bandwidth      Write/Err  PPS
[  3] 0.0000-1.0000 sec   820 KBytes  6.72 Mbits/sec  601/0      602 pps
[  3] 1.0000-2.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 2.0000-3.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 3.0000-4.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 4.0000-5.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 5.0000-6.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 6.0000-7.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 7.0000-8.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 8.0000-9.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 9.0000-10.0000 sec   820 KBytes  6.72 Mbits/sec  600/0      600 pps
[  3] 0.0000-10.0035 sec  8.01 MBytes  6.72 Mbits/sec  6005/0      600 pps
[  3] Sent 6005 datagrams
[  3] Server Report:
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3] 0.0000-9.9823 sec  5.55 MBytes  4.66 Mbits/sec   3.217 ms 1847/ 6004 (31%)

2.4 实测效果流畅

实测~ 251 ms 时延; 平均延时117/2 = 58.5 ms, 251 - 58.5 = 192.5 ms左右

在这里插入图片描述

3. 总结

综合上面的情况,整体分析:

  1. 上述网络配置情况,视频基本流畅,无雪花,卡顿,性能基本OK,可进行外场测试
  2. 计算机刷屏FPS未能稳定维持在59FPS,待查测试环境
  3. 部分截图发现,延迟甚至有1s之久,可能与刷屏或者最差网络环境有关
  4. 实测时需要关注不稳定的4GLTE网络,以及最差情况是否出现卡顿或者延迟问题

好了,小伙伴们,等我外场测试的好消息! :)

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/701762.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

谷歌Gemini时代来了!加固搜索护城河、赋能全家桶,Gemini 1.5 Pro升级至200万token

3 月中旬,谷歌宣布 Google I/O 定档北京时间 5 月 15 日凌晨 1 点。而当大会开幕时间临近,本应是讨论度最高的时候,「宿敌」OpenAI 却半路杀出,抢先一天,仅耗时 27 分钟就发布了颠覆性巨作 GPT-4o,将新一轮…

数据结构与算法-排序算法3-插入排序

目录 1.插入排序: 1.介绍: 2.动态图解 3.举例 4.小结插入排序规则 5.插入排序代码 6.运行时间 代码: 运行结果: 1.插入排序: 1.介绍: 数组中n个元素,把这n个待排序元素看成一个有序序…

虚拟化技术 在vCenter Server创建数中心、添加主机

一、实验内容 1.安装Flash 2.在vCenter Server创建数中心、添加主机 二、实验主要仪器设备及器材 1.安装有64位Windows操作系统的台式电脑或笔记本电脑,建议4C8G或以上配置 2.在Windows Server 2008 R2已安装vCenter Server 3.Adobe Flash Player 12.0.0.70.e…

Tomcat Server无法连通的调试方法1

作者:私语茶馆 1.局域网Tomcat服务不通 组网如下: 问题: Tomcat Server 服务方式启动后,无法访问,但命令行方式启动可以。IP地址都在同网段或不同网段现象都一样。 调试手段: (1)…

基于Django实现的(bert)深度学习文本相似度检测系统设计

基于Django实现的(bert)深度学习文本相似度检测系统设计 开发语言:Python 数据库:MySQL所用到的知识:Django框架工具:pycharm、Navicat、Maven 系统功能实现 登录页面 注册页面:用户账号,密码…

HyperLogLog的使用做UV统计

使用Jedis连接Redis并操作HyperLogLog import redis.clients.jedis.Jedis;public class RedisHyperLogLogExample {public static void main(String[] args) {// 连接到本地的Redis服务Jedis jedis new Jedis("localhost", 6379);String hyperLogLogKey "hll…

智慧安防监控EasyCVR视频汇聚管理平台视频播放花屏的原因分析及处理

智慧安防监控EasyCVR视频管理平台能在复杂的网络环境中,将前端设备统一集中接入与汇聚管理。国标GB28181协议视频监控/视频汇聚EasyCVR平台可以提供实时远程视频监控、视频录像、录像回放与存储、告警、语音对讲、云台控制、平台级联、磁盘阵列存储、视频集中存储、…

机器学习实战宝典:用scikit-learn打造智能应用

书接上文——《数据探险家的终极指南:用Python挖掘机器学习的奥秘》 前文我们在这段精彩的机器学习探险之旅中,从基础概念出发,深入探索了使用Python和scikit-learn库进行数据分析和模型构建的全过程。 我们首先了解了机器学习的基本原理&am…

47 tcp网络程序

网路聊天 API详解 下面用到的API,都在sys/socket.h中 socket (): socket() 打开一个网络通讯端口,如果成功的话,就像open() 一样返回一个文件描述符应用程序可以像读文件一样用read/write在网络上收发数据如果调用出错返回-1对于IPv4&am…

Dubbo3.x 异步转同步源码

底层netty通信是异步的,那我们平时调用采取的同步是如何将底层的异步转为同步的呢? dubbo远程rpc协议和网络框架有多种,我们以默认的dubbo协议、网络框架netty作为切入点. 注意点:debug时将过期时间设置长一点: 调用…

SpringBoot解决CORS跨域——WebMvcConfigurationSupport

前端请求后端报错了。 状态码:403 返回错误:Invalid coRs request 增加配置类WebMvcConfig Configuration public class WebMvcConfig extends WebMvcConfigurationSupport {Overridepublic void addCorsMappings(CorsRegistry registry) {// 允许跨域…

prompt工程策略(三:使用 LLM 防护围栏创建系统提示)

原文:我是如何赢得GPT-4提示工程大赛冠军的 原文的原文: How I Won Singapore’s GPT-4 Prompt Engineering Competition !!本内容仅适用于具有 System Prompt(系统提示)功能的 LLM。具有这一功能的最著名 …