华为配置敏捷分布式SFN漫游实验

配置敏捷分布式SFN漫游示例

组网图形

图1 配置敏捷分布式SFN漫游示例组网图
  • 组网需求
  • 数据规划
  • 配置思路
  • 配置注意事项
  • 操作步骤
  • 配置文件
组网需求

某医院通过部署敏捷分布式网络给医护人员提供WLAN接入服务,以满足医护人员办公的最基本需求。管理员希望终端在覆盖区域内移动发生漫游时,终端无感知,业务不中断。

配置思路
  1. 配置中心AP、RU和上层网络设备之间实现二层互通。
  2. 配置中心AP作为DHCP服务器为RU和STA分配IP地址。
  3. 配置RU上线。
  4. 配置WLAN业务参数,实现STA访问WLAN网络功能。
  5. 配置敏捷分布式SFN漫游。
配置注意事项
操作步骤
  1. 配置周边设备

    # 配置Router的接口GE1/0/0的IP地址,并配置指向STA网段的静态路由。
    <span style="color:#333333"><span style="background-color:#dddddd"><Huawei> <strong>system-view</strong>
    [Huawei] <strong>sysname Router</strong>
    [Router] <strong>interface gigabitethernet 1/0/0</strong>
    [Router-GigabitEthernet1/0/0] <strong>ip address 10.23.101.2 24</strong>
    [Router-GigabitEthernet1/0/0] <strong>quit</strong>
    [Router] <strong>ip route-static 10.23.101.0 24 10.23.101.1</strong></span></span>
  2. 配置中心AP与其它网络设备互通

    # 配置中心AP的接口GE0/0/1和GE0/0/2加入VLAN100(管理VLAN),GE0/0/24和GE0/0/25加入VLAN101(业务VLAN)。
    <span style="color:#333333"><span style="background-color:#dddddd"><HUAWEI> <strong>system-view</strong>
    [HUAWEI] <strong>sysname AP</strong>
    [AP] <strong>vlan batch 100 101</strong>
    [AP] <strong>interface gigabitethernet 0/0/1</strong>
    [AP-GigabitEthernet0/0/1] <strong>port link-type trunk</strong>
    [AP-GigabitEthernet0/0/1] <strong>port trunk pvid vlan 100</strong>
    [AP-GigabitEthernet0/0/1] <strong>port trunk allow-pass vlan 100</strong>
    [AP-GigabitEthernet0/0/1] <strong>quit</strong>
    [AP] <strong>interface gigabitethernet 0/0/2</strong>
    [AP-GigabitEthernet0/0/2] <strong>port link-type trunk</strong>
    [AP-GigabitEthernet0/0/2] <strong>port trunk pvid vlan 100</strong>
    [AP-GigabitEthernet0/0/2] <strong>port trunk allow-pass vlan 100</strong>
    [AP-GigabitEthernet0/0/2] <strong>quit</strong>
    [AP] <strong>interface gigabitethernet 0/0/24</strong>
    [AP-GigabitEthernet0/0/24] <strong>port link-type trunk</strong>
    [AP-GigabitEthernet0/0/24] <strong>port trunk allow-pass vlan 101</strong>
    [AP-GigabitEthernet0/0/24] <strong>quit</strong>
    [AP] <strong>interface gigabitethernet 0/0/25</strong>
    [AP-GigabitEthernet0/0/25] <strong>port link-type trunk</strong>
    [AP-GigabitEthernet0/0/25] <strong>port trunk allow-pass vlan 101</strong>
    [AP-GigabitEthernet0/0/25] <strong>quit</strong></span></span>
  3. 配置中心AP作为DHCP服务器为RU和STA分配IP地址

    DNS服务器地址请根据实际需要配置。常用配置方法如下:
    • 接口地址池场景,需要在VLANIF接口视图下执行命令dhcp server dns-list ip-address &<1-8>。
    • 全局地址池场景,需要在IP地址池视图下执行命令dns-list ip-address &<1-8>。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP] <strong>dhcp enable</strong>
    [AP] <strong>interface vlanif 100</strong>
    [AP-Vlanif100] <strong>ip address 10.23.100.1 24</strong>
    [AP-Vlanif100] <strong>dhcp select interface</strong>
    [AP-Vlanif100] <strong>quit</strong>
    [AP] <strong>interface vlanif 101</strong>
    [AP-Vlanif101] <strong>ip address 10.23.101.1 24</strong>
    [AP-Vlanif101] <strong>dhcp select interface</strong>
    [AP-Vlanif101] <strong>dhcp server excluded-ip-address 10.23.101.2</strong>
    [AP-Vlanif101] <strong>quit</strong></span></span>
  4. 配置RU上线

    # 创建AP组“ap-group1”。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1518960795190943">wlan</strong>
    [AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1949053615190943">ap-group name ap-group1</strong>
    [AP-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1583703147190943">quit</strong></span></span>

    # 创建域管理模板,在域管理模板下配置中心AP的国家码并在AP组下引用域管理模板。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1606938186190943">regulatory-domain-profile name domain</strong>
    [AP-wlan-regulatory-domain-domain] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1675106463190943">country-code cn</strong>
    [AP-wlan-regulatory-domain-domain] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1473383173190943">quit</strong>
    [AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b325140580190943">ap-group name ap-group1</strong>
    [AP-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1523811396190943">regulatory-domain-profile domain</strong>
    Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu e?[Y/N]:<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_zh-cn_task_0175818441_b2083244362190906">y</strong>  
    [AP-wlan-ap-group-ap-group1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1683844091190943">quit</strong></span></span>

    # 配置中心AP上RU的管理VLAN。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b187060624190943">management-vlan 100</strong></span></span>
    # 在中心AP上离线导入RU,并将RU加入AP组“ap-group1”中。假设RU的MAC地址为60de-4476-e360,并且根据RU的部署位置为RU配置名称,便于从名称上就能够了解RU的部署位置。例如MAC地址为60de-4476-e360的RU部署在1号区域,命名此RU为area_1。

    ap auth-mode命令缺省情况下为MAC认证,如果之前没有修改其缺省配置,可以不用执行ap auth-mode mac-auth

    举例中使用的RU为R240D,具有射频0和射频1两个射频。R240D的射频0为2.4GHz射频,射频1为5GHz射频。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1893171570190943">wlan</strong>
    [AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b258400052190943">ap auth-mode mac-auth</strong>
    [AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1173972058190943">ap-id 1 ap-mac 60de-4476-e360</strong>
    [AP-wlan-ap-1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b285736089190943">ap-name area_1</strong>
    Warning: This operation may cause AP reset. Continue? [Y/N]:<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_zh-cn_task_0175818441_b1274773711190906">y</strong>  
    [AP-wlan-ap-1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1643872348190943">ap-group ap-group1</strong>
    Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_zh-cn_task_0175818441_b1248067968190906">y</strong>  
    [AP-wlan-ap-1] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1078500777190943">quit</strong>
    [AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b199025952190943">ap-id 2 ap-mac dcd2-fc04-b500</strong>
    [AP-wlan-ap-2] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1258711500190943">ap-name area_2</strong>
    Warning: This operation may cause AP reset. Continue? [Y/N]:<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_zh-cn_task_0175818441_b1274773711190906_1">y</strong>  
    [AP-wlan-ap-2] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1189550544190943">ap-group ap-group1</strong>
    Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_zh-cn_task_0175818441_b1248067968190906_1">y</strong>  
    [AP-wlan-ap-2] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b191175541190943">quit</strong></span></span>

    # 将RU上电后,当执行命令display ap all查看到RU的“State”字段为“nor”时,表示RU正常上线。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b5114588190943">display ap all</strong>
    Total AP information:
    nor  : normal          [2]
    ExtraInfo : Extra information
    P     : insufficient power supply
    ----------------------------------------------------------------------------------------------------------
    ID   MAC            Name      Group     IP            Type                 State STA Uptime      ExtraInfo
    ----------------------------------------------------------------------------------------------------------
    1    60de-4476-e360 area_1    ap-group1 10.23.100.254 R240D                <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1258444432190943">nor</strong>   0   15S         -
    2    dcd2-fc04-b500 area_2    ap-group1 10.23.100.253 R240D                <strong id="ZH-CN_TASK_0176918427__zh-cn_task_0176918423_b1867958208190943">nor</strong>   0   10S         -
    ----------------------------------------------------------------------------------------------------------
    Total: 2</span></span>
  5. 配置WLAN业务参数

    # 创建名为“wlan-net”的安全模板,并配置安全策略。

    举例中以配置WPA-WPA2+PSK+AES的安全策略为例,密码为“a1234567”,实际配置中请根据实际情况,配置符合实际要求的安全策略。

    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>security-profile name wlan-net</strong>
    [AP-wlan-sec-prof-wlan-net] <strong>security wpa-wpa2 psk pass-phrase a1234567 aes</strong>
    [AP-wlan-sec-prof-wlan-net] <strong>quit</strong></span></span>
    # 创建名为“wlan-net”的SSID模板,并配置SSID名称为“wlan-net”。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>ssid-profile name wlan-net</strong>
    [AP-wlan-ssid-prof-wlan-net] <strong>ssid wlan-net</strong>
    [AP-wlan-ssid-prof-wlan-net] <strong>quit</strong></span></span>
    # 创建名为“wlan-net”的VAP模板,配置业务VLAN,并且引用安全模板和SSID模板。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>vap-profile name wlan-net</strong>
    [AP-wlan-vap-prof-wlan-net] <strong>service-vlan vlan-id 101</strong>
    [AP-wlan-vap-prof-wlan-net] <strong>security-profile wlan-net</strong>
    [AP-wlan-vap-prof-wlan-net] <strong>ssid-profile wlan-net</strong>
    [AP-wlan-vap-prof-wlan-net] <strong>quit</strong></span></span>
    # 配置AP组引用VAP模板,AP上射频0上使用VAP模板“wlan-net”的配置。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>ap-group name ap-group1</strong>
    [AP-wlan-ap-group-ap-group1] <strong>vap-profile wlan-net wlan 1 radio 0</strong>
    [AP-wlan-ap-group-ap-group1] <strong>quit</strong></span></span>
  6. 配置RU射频的信道和功率

    射频的信道和功率自动调优功能默认开启,如果不关闭此功能则会导致手动配置不生效。举例中RU射频的信道和功率仅为示例,实际配置中请根据RU的国家码和网规结果进行配置。

    # 关闭RU射频0的信道和功率自动调优功能,并配置RU射频0的信道和功率。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>ap-id 1</strong>
    [AP-wlan-ap-1] <strong>radio 0</strong>
    [AP-wlan-radio-1/0] <strong>calibrate auto-channel-select disable</strong>
    [AP-wlan-radio-1/0] <strong>calibrate auto-txpower-select disable</strong>
    [AP-wlan-radio-1/0] <strong>channel 20mhz 6</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0175818441_b1479588541190906">y</strong> 
    [AP-wlan-radio-1/0] <strong>eirp 127</strong>
    [AP-wlan-radio-1/0] <strong>quit</strong>
    [AP-wlan-ap-1] <strong>quit</strong>
    [AP-wlan-view] <strong>ap-id 2</strong>
    [AP-wlan-ap-2] <strong>radio 0</strong>
    [AP-wlan-radio-2/0] <strong>calibrate auto-channel-select disable</strong>
    [AP-wlan-radio-2/0] <strong>calibrate auto-txpower-select disable</strong>
    [AP-wlan-radio-2/0] <strong>channel 20mhz 6</strong>
    Warning: This action may cause service interruption. Continue?[Y/N]<strong id="ZH-CN_TASK_0176918427__zh-cn_task_0175818441_b1479588541190906_1">y</strong> 
    [AP-wlan-radio-2/0] <strong>eirp 127</strong>
    [AP-wlan-radio-2/0] <strong>quit</strong>
    [AP-wlan-ap-2] <strong>quit</strong></span></span>
  7. 使能敏捷分布式SFN漫游功能

    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>vap-profile name wlan-net</strong>
    [AP-wlan-vap-prof-wlan-net] <strong>sfn-roam enable</strong>
    Warning: This feature requires that radios work on the same channel. Enabling th
    is feature will disable the channel calibration, channel scanning, and smart roa
    ming functions on the AP and disconnect STAs connected to the VAP. Open, WEP, an
    d WAPI encryption modes are not supported. The PSK + WPA2 mode is recommended. Aradio allows SFN to be enabled only for one VAP. Continue?[Y/N]:<strong>y</strong> 
    [AP-wlan-vap-prof-wlan-net] <strong>quit</strong></span></span>
  8. 调整敏捷分布式SFN漫游相关参数

    # 漫游判决参数建议使用缺省值。

    # 漫游相关射频参数需根据实际网规结果配置,本例中略。

  9. 验证配置结果

    # 配置完成后,执行命令display vap ssid wlan-net查看VAP信息,当“Status”显示为“ON”时,表示RU对应射频上的VAP已创建成功。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>display vap ssid wlan-net</strong>
    WID : WLAN ID
    --------------------------------------------------------------------------------
    AP ID AP name    RfID WID  BSSID          Status  Auth type      STA  SSID
    --------------------------------------------------------------------------------
    1     area_1     0    1    68A8-2845-62E0 ON      WPA/WPA2-PSK   0    wlan-net
    2     area_2     0    1    68A8-2845-62E0 ON      WPA/WPA2-PSK   0    wlan-net
    --------------------------------------------------------------------------------
    Total: 2</span></span>
    # STA在area_1的覆盖范围内搜索到SSID为“wlan-net”的无线网络,输入密码“a1234567”并正常关联后,在中心AP上执行命令display station ssid wlan-net,查看STA的接入信息,可以看到STA关联到了area_1。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>display station ssid wlan-net</strong>
    Rf/WLAN: Radio ID/WLAN ID
    Rx/Tx: link receive rate/link transmit rate(Mbps)
    ---------------------------------------------------------------------------------
    STA MAC         AP ID Ap name  Rf/WLAN  Band  Type  Rx/Tx      RSSI  VLAN  IP address
    ---------------------------------------------------------------------------------
    e019-1dc7-1e08  1     <strong>area_1</strong>   0/1      2.4G  11n   38/64      -68   101   10.23.101.254
    ---------------------------------------------------------------------------------
    Total: 1 2.4G: 1 5G: 0</span></span>
    # 当STA从area_1的覆盖范围移动到area_2的覆盖范围时,在中心AP上执行命令display station ssid wlan-net,查看STA的接入信息,可以看到STA关联到了area_2。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>display station ssid wlan-net</strong>
    Rf/WLAN: Radio ID/WLAN ID                                                     
    Rx/Tx: link receive rate/link transmit rate(Mbps)                             
    ----------------------------------------------------------------------------------------
    STA MAC          AP ID Ap name  Rf/WLAN  Band  Type  Rx/Tx      RSSI  VLAN  IP address     
    ----------------------------------------------------------------------------------------
    e019-1dc7-1e08   2     <strong>area_2</strong>   0/1      2.4G  11n   38/64      -68   101   10.23.101.254
    ----------------------------------------------------------------------------------------
    Total: 1 2.4G: 1 5G: 0</span></span>
    # 在中心AP上执行命令display station roam-track sta-mac e019-1dc7-1e08,可以查看该STA的漫游轨迹。
    <span style="color:#333333"><span style="background-color:#dddddd">[AP-wlan-view] <strong>display station roam-track sta-mac e019-1dc7-1e08</strong>
    Access SSID:wlan-net    
    Rx/Tx:link receive rate/link transmit rate(Mbps) 
    c:PMK Cache Roam r:802.11r Roam s:Same Frequency Network
    ------------------------------------------------------------------------------
    L2/L3           AC IP                  AP name              Radio ID
    BSSID           TIME                   In/Out RSSI          Out Rx/Tx
    ------------------------------------------------------------------------------
    --              10.23.100.1            area_1               0
    68a8-2845-62e0  2017/10/12 16:52:58    -51/-48              46/13
    <strong>L2(s)</strong>           10.23.100.1            area_2               1
    68a8-2845-62e0  2016/10/12 16:55:45    -58/-                -/-
    ------------------------------------------------------------------------------
    Number: 1</span></span>
配置文件
  • Router的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname Router
    #
    interface GigabitEthernet1/0/0ip address 10.23.101.2 255.255.255.0
    #
    ip route-static 10.23.101.0 255.255.255.0 10.23.101.1
    #
    return
    </span></span>
  • 中心AP的配置文件

    <span style="color:#333333"><span style="background-color:#dddddd">#
    sysname AP
    #
    vlan batch 100 to 101
    #management-vlan 100                                                            
    #
    dhcp enable
    #
    interface Vlanif100ip address 10.23.100.1 255.255.255.0dhcp select interface
    #
    interface Vlanif101ip address 10.23.101.1 255.255.255.0dhcp select interfacedhcp server excluded-ip-address 10.23.101.2
    #
    interface GigabitEthernet0/0/1port link-type trunkport trunk pvid vlan 100port trunk allow-pass vlan 100
    #
    interface GigabitEthernet0/0/2port link-type trunkport trunk pvid vlan 100port trunk allow-pass vlan 100
    #
    interface GigabitEthernet0/0/24port link-type trunkport trunk allow-pass vlan 101
    #
    interface GigabitEthernet0/0/25port link-type trunkport trunk allow-pass vlan 101
    #
    wlansecurity-profile name wlan-netsecurity wpa-wpa2 psk pass-phrase %^%#m"tz0f>~7.[`^6RWdzwCy16hJj/Mc!,}s`X*B]}A%^%# aesssid-profile name wlan-netssid wlan-netvap-profile name wlan-netservice-vlan vlan-id 101sfn-roam enablessid-profile wlan-netsecurity-profile wlan-netregulatory-domain-profile name domainap-group name ap-group1regulatory-domain-profile domainradio 0vap-profile wlan-net wlan 1ap-id 1 type-id 55 ap-mac 60de-4476-e360 ap-sn 21500826402SF4900166ap-name area_1ap-group ap-group1radio 0channel 20mhz 6eirp 127calibrate auto-channel-select disablecalibrate auto-txpower-select disableap-id 2 type-id 55 ap-mac dcd2-fc04-b500 ap-sn 21500826402SF4900207ap-name area_2ap-group ap-group1radio 0channel 20mhz 6eirp 127calibrate auto-channel-select disablecalibrate auto-txpower-select disable
    #
    return</span></span>

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

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

相关文章

pytorch之诗词生成6--eval

先上代码&#xff1a; import tensorflow as tf from dataset import tokenizer import settings import utils# 加载训练好的模型 model tf.keras.models.load_model(r"E:\best_model.h5") # 随机生成一首诗 print(utils.generate_random_poetry(tokenizer, model)…

k8s admin 用户生成token

k8s 版本 1.28 创建一个admin的命名空间 admin-namespce.yaml kind: Namespace apiVersion: v1 metadata: name: admin labels: name: admin 部署进k8s kubectl apply -f admin-namespce.yaml 查看k8s namespace 的列表 kubectl get namespace查看当前生效的…

WRF模型教程(ububtu系统)-WPS(WRF Pre-Processing System)概述

一、WPS简介 WRF 预处理系统 (WRF Pre-Processing System&#xff0c;WPS) &#xff0c;集成了基于Fortran和C编写的程序&#xff0c;这些程序主要用于处理输入到real.exe的数据。WPS主要有三个程序和一些辅助程序。 二、各程序介绍 主要的程序为geogrid.exe、ungrib.exe、met…

paddle ocr识别文字

paddle使用 # pip install paddlepaddle2.5.2 -i https://mirror.baidu.com/pypi/simple # pip install paddleocr2.7.0.3 -i https://mirror.baidu.com/pypi/simplefrom paddleocr import PaddleOCR from PIL import Image import numpy as npimage Image.open(./2.png) ocr…

Spring Boot Actuator介绍

大家在yaml中经常见到的这个配置 management: endpoints: web: exposure: #该配置线上需要去掉&#xff0c;会有未授权访问漏洞 include: "*" 他就是Actuator&#xff01; 一、什么是 Actuator Spring Boot Actuator 模块提供了生产级别…

el-table按钮获取当前行元素

el-table按钮获取当前行元素 vue2 <el-table-column label"操作" width"240px"><template slot-scope"scope"><el-button size"mini" click"toItem(scope.row)">用户详情</el-button><el-butto…

【Unity】详细介绍

Unity讲解 Unity是一个广泛使用的游戏开发平台&#xff0c;由Unity Technologies开发。它提供开发者一个强大的集成环境来创建2D和3D游戏及交互式内容。Unity自身包含一个图形引擎、物理引擎、声音处理系统、动作捕捉系统、网络系统等多个模块&#xff0c;使得开发者能够实现丰…

C++高级面试题:什么是 C++ 中的多态指针(Polymorphic Pointers)?

什么是 C 中的多态指针&#xff08;Polymorphic Pointers&#xff09;&#xff1f; 在 C 中&#xff0c;多态指针&#xff08;Polymorphic Pointers&#xff09;通常指向基类&#xff08;Base Class&#xff09;的指针&#xff0c;但它可以指向派生类&#xff08;Derived Clas…

Linux------JAVA项目发布

启动jar TODO: 直接指定jar包外的yml 用户导出配置文件 jar xf wisdom-classroom.jar BOOT-INF/classes/application.yml jar xf wisdom-classroom.jar BOOT-INF/classes/application-druid.yml用于导入配置文件 jar uf wisdom-classroom.jar BOOT-INF/classes/application.y…

微信小程序--分享如何与ibeacon蓝牙信标建立联系

ibeacon蓝牙设备 iBeacon是苹果公司2013年9月发布的移动设备用OS&#xff08;iOS7&#xff09;上配备的新功能。其工作方式是&#xff0c;配备有 低功耗蓝牙&#xff08;BLE&#xff09;通信功能的设备使用BLE技术向周围发送自己特有的ID&#xff0c;接收到该ID的应用软件会根…

Laravel Class ‘Facade\Ignition\IgnitionServiceProvider‘ not found 解决

Laravel Class Facade\Ignition\IgnitionServiceProvider not found 问题解决 问题 在使用laravel 更新本地依赖环境时&#xff0c;出现报错&#xff0c;如下&#xff1a; 解决 这时候需要更新本地的composer&#xff0c;然后在更新本地依赖环境。 命令如下&#xff1a; co…

19113133262(微信同号)【征稿进行时|见刊、检索快速稳定】2024年区块链、物联网与复合材料与国际学术会议 (ICBITC 2024)

【征稿进行时|见刊、检索快速稳定】2024年区块链、物联网与复合材料与国际学术会议 (ICBITC 2024) 大会主题: (主题包括但不限于, 更多主题请咨询会务组苏老师) 区块链&#xff1a; 区块链技术和系统 分布式一致性算法和协议 块链性能 信息储存系统 区块链可扩展性 区块…

How to manage Python environment based on virtualenv in Ubuntu 22.04

How to manage Python environment based on virtualenv in Ubuntu 安装使用创建环境激活环境安装软件包退出环境移除环境 安装 pip3 install virtualenv使用 创建环境 lwkqwfys:~$ mkdir ~/project/harbin lwkqwfys:~$ cd ~/project/harbin lwkqwfys:~/project/harbin$ vir…

css背景从上到下颜色渐变、css背景从左到右颜色渐变、 css框线展示外阴影、css框线展示内阴影

1. css背景从上到下颜色渐变 body {background: linear-gradient(to bottom, #ff0000, #ffff00); /* 这里的#ff0000表示红色&#xff0c;#ffff00表示黄色 */ }2. css背景从左到右颜色渐变 要实现CSS背景从左到右的颜色渐变&#xff0c;可以使用linear-gradient函数。以下是一…

微信小程序将高德地图转为腾讯地图的自行车路线规划

微信小程序后台首页开发设置 相关文档 腾讯后台 微信小程序接入JDK JDK腾讯地图文档 腾讯路线规划文档 核心代码 <map id"myMap" ref"myMap" style"width: 100%; height: calc(100vh - 80px)":latitude"latitude" :scale&qu…

系统架构设计师笔记第36期:中间层架构设计

在现代软件开发领域,随着业务复杂度和用户需求的增长,传统的两层架构逐渐暴露出其局限性,如难以处理高并发场景、业务逻辑分散且不易维护等问题。因此,引入中间层(也称为服务层或业务逻辑层)架构成为了提升系统性能、保证数据安全以及促进应用服务高效、灵活和可扩展的重…

java笔记+理论复习大全

java复习3 1 记事本程序2 八中数据类型函数结构面向对象对象类构造方法继承接口多态重写方法: 异常多线程集合框架文件操作其他待续、更新中 工程名 包名等都命名 9个题 1 记事本程序 保存为.java文件 查看 Hello.java 运行cmd javac Hello.java java Hello体现 java程序特点…

gitlab CI/CD的gitlab-runner构建项目(go web项目实战体验)

runner安装 runner时gitlab CI/CD得以实现的基础。 gitlab-runner安装 centos安装 # Replace ${arch} with any of the supported architectures, e.g. amd64, arm, arm64 # A full list of architectures can be found here https://gitlab-runner-downloads.s3.amazonaws…

Vue项目中使用ECharts构建交互式中国地图的详细指南

&#x1f31f; 前言 欢迎来到我的技术小宇宙&#xff01;&#x1f30c; 这里不仅是我记录技术点滴的后花园&#xff0c;也是我分享学习心得和项目经验的乐园。&#x1f4da; 无论你是技术小白还是资深大牛&#xff0c;这里总有一些内容能触动你的好奇心。&#x1f50d; &#x…

ASP.NET-Server.UrlEncode

目录 背景: Server.UrlEncode作用: 1.URL 编码&#xff1a; 2.避免冲突&#xff1a; 3.安全性&#xff1a; 4.规范化&#xff1a; 实例说明: 不使用Server.UrlEncode 使用Server.UrlEncode 总结: 背景: Server.UrlEncode方法在ASP.NET中主要功能是对URL中的参数进行编…