2024-03-26 Android8.1 px30 WI-FI 模块rtl8821cu调试记录

一、kernel 驱动,我这里使用v5.8.1.2_35530.20191025_COEX20191014-4141这个版本,下载这个版本的驱动可以参考下面的文章。

2021-04-12 RK3288 Android7.1 USB wifi bluetooth 模块RTL8821CU 调试记录_rk平台rtl8821cu蓝牙调试-CSDN博客

二、Makefile文件需要修改下面的内容。

三、加载wifi模块ko文件,ifconfig wlan0 up后发现执行wpa_cli -i wlan0 scan是会提示Failed to connect to non-global ctrl_ifname: wlan0  error: Connection refused的。insmod模块的时候会打印一些串口信息,有一些error,但是不影响。

$ [   78.786022] type=1400 audit(1711362065.983:75): avc: denied { write } for pid=1753 comm="grep" path="pipe:[28664]" dev="pipefs" ino=28664 scontext=u:r:shell:s0 tcontext=u:r:adbd:s0 tclass=fifo_file permissive=1
[   78.786071] type=1400 audit(1711362080.473:76): avc: denied { module_load } for pid=1764 comm="insmod" path="/vendor/lib/modules/wifi/8821cu.ko" dev="mmcblk1p13" ino=219 scontext=u:r:su:s0 tcontext=u:object_r:vendor_file:s0 tclass=system permissive=1
[   78.843111] RTW: module init start
[   78.843159] RTW: rtl8821cu v5.8.1.2_35530.20191025_COEX20191014-4141
[   78.843167] RTW: build time: Mar 25 2024 18:14:42
[   78.843174] RTW: rtl8821cu BT-Coex version = COEX20191014-4141
[   78.843232] RTW: rtw_inetaddr_notifier_register
[   78.843357] RTW:
[   78.843357] usb_endpoint_descriptor(0):
[   78.843377] RTW: bLength=7
[   78.843384] RTW: bDescriptorType=5
[   78.843390] RTW: bEndpointAddress=84
[   78.843396] RTW: wMaxPacketSize=512
[   78.843402] RTW: bInterval=0
[   78.843409] RTW: RT_usb_endpoint_is_bulk_in = 4
[   78.843415] RTW:
[   78.843415] usb_endpoint_descriptor(1):
[   78.843423] RTW: bLength=7
[   78.843429] RTW: bDescriptorType=5
[   78.843435] RTW: bEndpointAddress=5
[   78.843441] RTW: wMaxPacketSize=512
[   78.843447] RTW: bInterval=0
[   78.843453] RTW: RT_usb_endpoint_is_bulk_out = 5
[   78.843459] RTW:
[   78.843459] usb_endpoint_descriptor(2):
[   78.843468] RTW: bLength=7
[   78.843474] RTW: bDescriptorType=5
[   78.843480] RTW: bEndpointAddress=6
[   78.843491] RTW: wMaxPacketSize=512
[   78.843497] RTW: bInterval=0
[   78.843503] RTW: RT_usb_endpoint_is_bulk_out = 6
[   78.843509] RTW:
[   78.843509] usb_endpoint_descriptor(3):
[   78.843517] RTW: bLength=7
[   78.843523] RTW: bDescriptorType=5
[   78.843529] RTW: bEndpointAddress=87
[   78.843535] RTW: wMaxPacketSize=64
[   78.843541] RTW: bInterval=3
[   78.843548] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   78.843554] RTW:
[   78.843554] usb_endpoint_descriptor(4):
[   78.843562] RTW: bLength=7
[   78.843568] RTW: bDescriptorType=5
[   78.843574] RTW: bEndpointAddress=8
[   78.843580] RTW: wMaxPacketSize=512
[   78.843586] RTW: bInterval=0
[   78.843592] RTW: RT_usb_endpoint_is_bulk_out = 8
[   78.843599] RTW: nr_endpoint=5, in_num=2, out_num=3
[   78.843599]
[   78.843608] RTW: USB_SPEED_HIGH
[   78.843615] RTW: CHIP TYPE: RTL8821C
[   78.843670] RTW: loadparam, Select P2P interface: iface_id:1
[   78.843721] RTW: [HALMAC]11692M
[   78.843721] HALMAC_MAJOR_VER = 1
[   78.843721] HALMAC_PROTOTYPE_VER = 6
[   78.843721] HALMAC_MINOR_VER = 5
[   78.843721] HALMAC_PATCH_VER = 5
[   78.844995] RTW: Chip Version Info: CHIP_8821C_U5_1T1R_RomVer(4)
[   78.845014] RTW: config_chip_out_EP OutEpQueueSel(0x07), OutEpNumber(3)
[   78.845246] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.103557] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_LOGICAL_EFUSE
[   79.103719] RTW: HW EFUSE
[   79.103768] RTW: 0x000: 29 81 00 BC  09 00 21 00  6E 04 A4 34  10 00 30 0B
[   79.103941] RTW: 0x010: FF FF FF FF  FF FF FF FF  FF FF FF 02  FF FF FF FF
[   79.104108] RTW: 0x020: FF FF 26 26  26 28 27 27  27 26 26 26  25 25 25 26
[   79.104289] RTW: 0x030: 02 FF FF FF  FF FF 00 FF  FF FF 23 22  22 22 23 23
[   79.104473] RTW: 0x040: 2B 2B 2C 2C  2C 02 FF FF  FF FF FF FF  FF FF FF FF
[   79.104657] RTW: 0x050: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.104841] RTW: 0x060: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105011] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105176] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105413] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105686] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.105852] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 29 20 00  FF FF FF FF
[   79.106042] RTW: 0x0C0: FF 21 00 41  00 00 00 00  00 FF 22 FF  FF FF FF FF
[   79.106224] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106404] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106588] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.106754] RTW: 0x100: DA 0B 20 C8  E3 46 02 14  F5 F9 D4 E6  74 09 03 52
[   79.106938] RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
[   79.107147] RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
[   79.107377] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.107556] RTW: 0x140: FF FF FF FF  00 00 31 0F  FF FF FF FF  FF FF FF FF
[   79.107740] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.107923] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108107] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108273] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108498] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108737] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.108929] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109114] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109280] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109497] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109682] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
[   79.109874] RTW: EEPROM ID = 0x8129
[   79.109895] RTW: EEPROM Version = 0
[   79.109918] RTW: EEPROM Regulatory=0x01
[   79.109937] RTW: EEPROM Board Type=0x01
[   79.110299] RTW: EEPROM Enable BT-coex, ant_num=1
[   79.110346] RTW: hal_com_config_channel_plan chplan:0x7F
[   79.110366] RTW: EEPROM crystal_cap=0x29
[   79.110385] RTW: EEPROM ThermalMeter=0x20
[   79.110404] RTW: EEPROM Customer ID=0x00
[   79.110423] RTW: EEPROM SupportRemoteWakeup=0
[   79.110441] RTW: EEPROM rfe_type=0x22
[   79.110462] RTW: EEPROM PAType_2G is 0x0, ExternalPA_2G = 0
[   79.110483] RTW: EEPROM PAType_5G is 0x0, external_pa_5g = 0
[   79.110504] RTW: EEPROM LNAType_2G is 0x0, ExternalLNA_2G = 0
[   79.110525] RTW: EEPROM LNAType_5G is 0x0, external_lna_5g = 0
[   79.110557] RTW: EEPROM TypeGPA = 0x0
[   79.110576] RTW: EEPROM TypeAPA = 0x0
[   79.110595] RTW: EEPROM TypeGLNA = 0x0
[   79.110613] RTW: EEPROM TypeALNA = 0x0
[   79.110632] RTW: EEPROM tx_bbswing_24G =0x00
[   79.110650] RTW: EEPROM tx_bbswing_5G =0x00
[   79.110669] RTW: EEPROM USB Switch=0
[   79.110689] RTW: EEPROM VID = 0x0BDA, PID = 0xC820
[   79.124038] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[   79.125487] RTW: SetHwReg: bMacPwrCtrlOn=1
[   79.230933] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm  ==>
[   79.231000] RTW: LocPsPoll: 4
[   79.231031] RTW: LocNullData: 5
[   79.231098] RTW: LocQosNull: 6
[   79.231123] RTW: LocBTQosNull: 7
[   79.231152] RTW: _rtw_hal_set_fw_rsvd_page((null)) Get [ NOR ] RsvdPageNUm <==
[   79.246539] RTW: WARN [HALMAC][WARN]the H2C ver. does not match halmac
[   79.248029] RTW: rtl8821c_fw_dl Download Firmware from array success
[   79.248077] RTW: NIC FW Version:24 SubVersion:5
[   79.250410] RTW: SetHwReg: bMacPwrCtrlOn=0
[   79.259289] RTW: hal_read_mac_hidden_rpt OK! (1, 13ms), fwdl:1, id:0x19
[   79.259351] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.259657] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.259716] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260027] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260082] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260401] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260455] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.260776] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.260814] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261151] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261206] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261530] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261583] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   79.261901] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   79.261953] RTW: rtw_hal_read_chip_info in 416 ms
[   79.262079] RTW: init_channel_set((null)) ChannelPlan ID:0x7f, ch num:37
[   79.262170] RTW: [RF_PATH] IC's RF PATH:RF_1T1R, max_tx_cnt:1
[   79.262239] RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0
[   79.262282] RTW: [RF_PATH] Registry's RF PATH:UNKNOWN
[   79.262318] RTW: [RF_PATH] HALDATA's trx_path_bmp:0x11, max_tx_cnt:1
[   79.262337] RTW: [RF_PATH] HALDATA's RF PATH:RF_1T1R
[   79.262356] RTW: [RF_PATH] NumTotalRFPath:1
[   79.262382] RTW: rtw_hal_rfpath_init trx_path_bmp:0x11(RF_1T1R), NumTotalRFPath:1, max_tx_cnt:1
[   79.262406] RTW: [TRX_Nss] HALSPEC - tx_nss :1, rx_nss:1
[   79.262441] RTW: [TRX_Nss] Registry - tx_nss :0, rx_nss:0
[   79.262462] RTW: [TRX_Nss] HALDATA - tx_nss :1, rx_nss:1
[   79.262484] RTW: rtw_hal_trxnss_init tx_nss:1, rx_nss:1
[   79.262765] RTW: init_mlme_default_rate_set: support CCK
[   79.262802] RTW: init_mlme_default_rate_set: support OFDM
[   79.263474] RTW: NR_RECVBUFF: 8
[   79.263516] RTW: MAX_RECVBUF_SZ: 32768
[   79.263545] RTW: NR_PREALLOC_RECV_SKB: 8
[   79.263924] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   79.263976] RTW: rtw_init_pwrctrl_priv: IPS_mode=1, LPS_mode=2, LPS_level=0
[   79.264020] RTW: IQK FW offload:enable
[   79.264053] RTW: init_phydm_cominfo: Fv=1 Cv=4
[   79.264166] RTW: [A] 2G G00 CCK-1T base:45 from IC_DEF
[   79.264207] RTW: [A] 2G G01 CCK-1T base:45 from IC_DEF
[   79.264232] RTW: [A] 2G G02 CCK-1T base:45 from IC_DEF
[   79.264254] RTW: [A] 2G G03 CCK-1T base:45 from IC_DEF
[   79.264277] RTW: [A] 2G G04 CCK-1T base:45 from IC_DEF
[   79.264299] RTW: [A] 2G G05 CCK-1T base:45 from IC_DEF
[   79.264323] RTW: [A] 2G G00 BW40-1S base:45 from IC_DEF
[   79.264358] RTW: [A] 2G G01 BW40-1S base:45 from IC_DEF
[   79.264381] RTW: [A] 2G G02 BW40-1S base:45 from IC_DEF
[   79.264403] RTW: [A] 2G G03 BW40-1S base:45 from IC_DEF
[   79.264426] RTW: [A] 2G G04 BW40-1S base:45 from IC_DEF
[   79.264505] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   79.264625] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   79.264690] RTW: default power by rate loaded
[   79.264723] RTW: phy_txpwr_by_rate_chk_for_path_dup duplicate 2.4G [A] to [B]
[   79.264765] RTW: can't get autopm:
[   79.264813] RTW: rtw_macaddr_cfg mac addr:14:f5:f9:d4:e6:74
[   79.264841] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   79.264914] RTW: loadparam, Select P2P interface: iface_id:1
[   79.265259] RTW: init_mlme_default_rate_set: support CCK
[   79.265404] RTW: init_mlme_default_rate_set: support OFDM
[   79.266100] RTW: NR_RECVBUFF: 8
[   79.266145] RTW: MAX_RECVBUF_SZ: 32768
[   79.266176] RTW: NR_PREALLOC_RECV_SKB: 8
[   79.266573] RTW: rtw_alloc_macid((null)) if2, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   79.266643] RTW: rtw_drv_add_vir_if if2 mac_addr : 16:f5:f9:d4:e6:74
[   79.266734] RTW: rtw_cfg80211_preinit_wiphy iface_id:0- don't set p2p capability
[   79.266784] RTW: rtw_wiphy_alloc(phy0)
[   79.266810] RTW: rtw_wdev_alloc(padapter=ffffff80097a9000)
[   79.266877] RTW: rtw_wiphy_alloc(phy1)
[   79.266901] RTW: rtw_wdev_alloc(padapter=ffffff8009fd2000)
[   79.266928] RTW: rtw_wiphy_register(phy0)
[   79.266952] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   79.269623] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[   79.271565] RTW: rtw_ndev_init(wlan0) if1 mac_addr=14:f5:f9:d4:e6:74
[   79.272529] RTW: rtw_ndev_notifier_call(wlan0) state:16
[   79.277351] RTW: rtw_ndev_notifier_call(wlan0) state:5
[   79.277516] RTW: rtw_wiphy_register(phy1)
[   79.277545] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   79.278307] RTW: rtw_reg_notifier: NL80211_REGDOM_SET_BY_CORE
[   79.279670] RTW: rtw_ndev_init(p2p0) if2 mac_addr=16:f5:f9:d4:e6:74
[   79.280558] RTW: rtw_ndev_notifier_call(p2p0) state:16
[   79.286214] RTW: rtw_ndev_notifier_call(p2p0) state:5
[   79.287311] usbcore: registered new interface driver rtl8821cu
[   79.287353] RTW: module init ret=0
[  123.964271] healthd: battery l=100 v=160 t=18.8 h=2 st=5 c=0 fc=1500000 chg=a
[  183.964244] healthd: battery l=100 v=160 t=18.8 h=2 st=5 c=0 fc=1500000 chg=a

四、上一步wpa_cli -i wlan0 scan会提示Failed to connect to non-global ctrl_ifname: wlan0  error: Connection refused,Android 平台需要先使用 svc wifi enable打开wifi。这样就可以使用 wpa_cli -i wlan0 scan wpa_cli -i wlan0 scan_results扫描到wifi设备。

五、到这里在Android settings里面就会自动的打开WiFi了。

六、使用v5.14.2-32-gbab9939fd.20220913_COEX20210319-5555版本有下面的提示,略微有点不一样,执行svc wifi enable后还是可以工作。

七、参考文章:

PX30 android8.1添加RTL8723DU_config_resume_in_workqueue-CSDN博客

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

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

相关文章

Postwoman 安装

Postwoman作为Postman的女朋友&#xff0c;具有免费开源、轻量级、快速且美观等特性&#xff0c;是一款非常好用的API调试工具。能帮助程序员节省时间&#xff0c;提升工作效率。 Github地址&#xff1a;GitHub - hoppscotch/hoppscotch: &#x1f47d; Open source API devel…

如何打包springboot项目并部署服务器

创建一个springboot项目&#xff0c;先写一个接口&#xff0c;我这里是dabaimao/jiekou,启动访问 在pom中加上maven插件 <build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin<…

2010年之前电脑ubuntu安装nvidia驱动黑屏处理

装好驱动 仿真fps直接到60Hz 陈旧设备 都是非常老旧的电脑&#xff0c;没钱换新电脑&#xff0c;就这么穷…… 电脑详细配置&#xff1a; 冲动 想装显卡驱动提升一下性能&#xff0c;结果……黑了 黑习惯了也无所谓&#xff0c;几分钟就能解决&#xff0c;关键还是太穷&…

ES6 字符串/数组/对象/函数扩展

文章目录 1. 模板字符串1.1 ${} 使用1.2 字符串扩展(1) ! includes() / startsWith() / endsWith()(2) repeat() 2. 数值扩展2.1 二进制 八进制写法2.2 ! Number.isFinite() / Number.isNaN()2.3 inInteger()2.4 ! 极小常量值Number.EPSILON2.5 Math.trunc()2.6 Math.sign() 3.…

YOLOv9改进策略:注意力机制 | 动态稀疏注意力的双层路由方法BiLevelRoutingAttention | CVPR2023

&#x1f4a1;&#x1f4a1;&#x1f4a1;本文改进内容&#xff1a; CVPR2023 动态稀疏注意力的双层路由方法BiLevelRoutingAttention&#xff0c;强烈推荐&#xff0c;涨点很不错&#xff0c;同时被各个领域的魔改次数甚多&#xff0c;侧面验证了性能。 &#x1f4a1;&#x1…

我们该如何优化迭代自己?

哈喽&#xff0c;你好啊&#xff0c;我是雷工&#xff01; 一款软件如果想变得完美&#xff0c;那么肯定需要不断的试运行和更新迭代。 我们和软件一样&#xff0c;生活中难免会有错误的决策&#xff0c;失误的事件&#xff0c;为了能够解决我们自身存在的BUG&#xff0c;我们该…

设计用于驱动12 V汽车接地负载,VN5E160ASTR、VND5E160MJTR、VND5E025AKTR、VND5E050ACKTR 单/双通道高侧驱动器

摘要 意法半导体VIPower系列高侧开关符合汽车应用要求&#xff0c;内嵌先进的控制功能&#xff0c;其新型保护机制适用于各种负载类型及额定功率。 此类开关是汽车系统的理想选择&#xff0c;如&#xff1a;接线盒、内部/外部照明、直流电机驱动等&#xff0c;并适用于任何需…

基于nodejs+vue基于协同过滤算法的私人诊python-flask-django-php

实现后的私人诊所管理系统基于用户需求分析搭建的&#xff0c;并且会有个人中心&#xff0c;患者管理&#xff0c;医生管理&#xff0c;科室管理&#xff0c;出诊医生管理&#xff0c;预约挂号管理&#xff0c;预约取消管理&#xff0c;病历信息管理&#xff0c;药品信息管理&a…

qt事件机制学习笔记

实现闹钟功能 #include "widget.h" #include "ui_widget.h"Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::Widget), speecher(new QTextToSpeech(this)) //给语音播报者实例化空间 {ui->setupUi(this); }Widget::~Widget() {delete …

【GameFramework框架内置模块】18、界面(UI)

推荐阅读 CSDN主页GitHub开源地址Unity3D插件分享简书地址QQ群&#xff1a;398291828 大家好&#xff0c;我是佛系工程师☆恬静的小魔龙☆&#xff0c;不定时更新Unity开发技巧&#xff0c;觉得有用记得一键三连哦。 一、前言 【GameFramework框架】系列教程目录&#xff1a;…

WebGIS开发应该从哪些方面做准备

工程化思想 环境配置项目构建npm&#xff1a;Node包管理器&#xff0c;是 JavaScript 运行时 Node.js 的默认程序包管理器。 https://www.freecodecamp.org/chinese/news/what-is-npm-a-node-package-manager-tutorial-for-beginners/新建一个前端工程项目&#xff1a;前端框…

在项目中数据库如何优化?【MySQL主从复制(创建一个从节点复制备份数据)】【数据库读写分离ShardingJDBC(主库写,从库读)】

MySQL主从复制 MySQL主从复制介绍MySQL复制过程分成三步&#xff1a;1). MySQL master 将数据变更写入二进制日志( binary log)2). slave将master的binary log拷贝到它的中继日志&#xff08;relay log&#xff09;3). slave重做中继日志中的事件&#xff0c;将数据变更反映它自…

Vue 02 组件、Vue CLI

Vue学习 Vue 0201 组件引入概念组件的两种编写形式① 非单文件组件基本使用使用细节组件嵌套组件本质 VueComponent重要的内置关系 ② 单文件组件 02 Vue CLI介绍 & 文档安装使用步骤脚手架结构render默认配置ref 属性props配置mixin配置项插件scoped 样式案例&#xff1a;…

MySQL将id相同的两行数据合并group_concat

MySQL将id相同的两行数据合并 group_concat这个函数能将相同的行组合起来&#xff0c;省老事了。 MySQL中group_concat函数 完整的语法如下&#xff1a; group_concat([DISTINCT] 要连接的字段 [Order BY ASC/DESC 排序字段] [Separator ‘分隔符’]) 1.基本查询 Sql代码 2.…

java Web会议信息管理系统 用eclipse定制开发mysql数据库BS模式java编程jdbc

一、源码特点 jsp 会议信息管理系统是一套完善的web设计系统&#xff0c;对理解JSP java SERLVET mvc编程开发语言有帮助&#xff0c;系统具有完整的源代码和数据库&#xff0c;系统主要采用B/S模式开发。开发环境为TOMCAT7.0,eclipse开发&#xff0c;数据库为Mysql5.0&am…

ActiveMQ-04如何搭建一个完美的ActiveMQ集群

集群架构是一个很大的话题&#xff0c;官网就给我们介绍了几种 客户端&#xff1a;队列消费者集群-Queue Consumer Clusters服务端&#xff1a;Broker集群 - Broker Clusters 静态发现动态发现 服务端&#xff1a;Master-Slave 主从集群 Shared File System Master SlaveJDBC …

力扣hot100:207. 课程表

这是一道拓扑排序问题&#xff0c;也可以使用DFS判断图中是否存在环。详情请见&#xff1a;官方的BFS算法请忽略&#xff0c;BFS将问题的实际意义给模糊了&#xff0c;不如用普通拓扑排序思想。 数据结构&#xff1a;图的拓扑排序与关键路径 拓扑排序&#xff1a; class Sol…

鸿蒙APP开发实战:【Api9】拍照、拍视频;选择图片、视频、文件工具类

鸿蒙开发过程中&#xff0c;经常会进行系统调用&#xff0c;拍照、拍视频、选择图库图片、选择图库视频、选择文件。今天就给大家分享一个工具类。 1. 话不多说&#xff0c;先展示样式 2.设计思路 根据官方提供的指南开发工具类&#xff0c;基础的拍照、拍视频、图库选照片、…

【软考】设计模式之状态模式

目录 1. 说明2. 应用场景3. 结构图4. 构成5. 优缺点5.1 优点5.2 缺点 6. java示例6.1 非状态模式6.1.1 问题分析6.1.2 接口类6.1.2 实现类6.1.3 客户端6.1.4 结果截图 6.2 状态模式6.2.1 抽象状态类6.2.2 状态类6.2.3 上下文类6.2.4 上下文类 1. 说明 1.允许一个对象在其内部状…

ArcGIS矢量裁剪矢量

一、利用相交工具 Arctoolbox工具一分析工具一叠加分析一相交