Cov txheej txheem:
Video: MQTT choj yog dab tsi?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
A tus choj cia koj txuas ob MQTT brokers ua ke. Lawv feem ntau yog siv los sib qhia cov lus ntawm cov tshuab. Ib qho kev siv feem ntau yog txuas ntug MQTT brokers mus rau hauv nruab nrab los yog tej thaj chaw deb MQTT network. Feem ntau lub zos ntug tus choj yuav xwb tus choj ib subset ntawm lub zos MQTT tsheb khiav.
Tsis tas li ntawd, koj siv PAHO MQTT li cas?
Kev siv dav dav yog raws li hauv qab no:
- Tsim ib tus neeg siv khoom piv txwv.
- Txuas mus rau tus broker siv ib qho ntawm kev sib txuas * () ua haujlwm.
- Hu rau ib qho ntawm lub voj * () ua haujlwm los tswj cov kev sib txuas hauv network nrog tus broker.
- Siv subscribe() sau npe rau ib lub ncauj lus thiab tau txais cov lus.
- Siv publish() tshaj tawm cov lus rau tus broker.
Kuv yuav pib Mosquitto li cas? Khiav Mosquitto:
- Txhawm rau pib tus broker, qhib qhov hais kom ua los ntawm txhaj rau Start | Txhua Qhov Kev Pabcuam | Accessories | Command Prompt.
- Hauv qhov hais kom ua, mus rau Mosquitto root folder, xws li C: Program Files (x86)mosquitto.
- Pib qhov kev pabcuam Mosquitto los ntawm kev khiav cov lus txib: "net pib yoov tshaj cum".
MQTT huab yog dab tsi?
CloudMQTT tau tswj hwm yoov tshaj cum servers nyob rau hauv huab . MQTT yog lub tshuab-rau-machine raws tu qauv ntawm lub neej yav tom ntej. Nws yog qhov zoo tagnrho rau "Internet ntawm Yam" ntiaj teb ntawm cov khoom siv sib txuas. Nws qhov tsim tsawg kawg nkaus ua rau nws zoo meej rau cov khoom siv hauv tsev, xov tooj ntawm tes thiab lwm yam kev nco thiab bandwidth rhiab heev.
MQTT Protocol ua haujlwm li cas?
MQTT yog publish/subscribe raws tu qauv uas tso cai rau ntug-ntawm-network li tshaj tawm mus rau ib tug broker. Cov neeg siv khoom txuas mus rau tus broker no, uas tom qab ntawd kho kev sib txuas lus ntawm ob lub cuab yeej. Thaum lwm tus neeg tau tshaj tawm cov lus ntawm cov ncauj lus sau npe, tus broker xa cov lus rau txhua tus neeg siv khoom uas tau sau npe.
Pom zoo:
Qhov tseem ceeb ntawm choj yog dab tsi?
Txhua Tus Choj (Hloov) Kev koom tes hauv Spanning Tree Protocol network yog muab nrog tus lej hu ua Bridge Priority (Hloov qhov tseem ceeb) Tus nqi. Choj qhov tseem ceeb (Hloov qhov tseem ceeb) Tus nqi yog 16-ntsis binary tooj. Los ntawm lub neej ntawd, tag nrho Cisco Switches muaj tus Choj Ua Ntej (Switch Priority) tus nqi ntawm 32,768
Dab tsi yog router thiab tus choj muaj qhov sib xws?
Routers thiab Bridges Information.Routers thiab txuas txuas ob lossis ntau tus neeg LocalArea Networks (LANs) los tsim ib qho txuas txuas ntxiv LAN lossis Wide AreaNetwork (WAN). Txuas cov tes hauj lwm siv sib txawv network identities.Trans tsuas yog cov ntaub ntawv xav tau los ntawm qhov kawg lo lus uas peb hla lub LAN
PCI rau PCI choj tsav tsheb yog dab tsi?
PCI-PCI txuas hniav yog cov khoom siv tshwj xeeb PCI uas muab cov tsheb npav PCI ntawm lub kaw lus ua ke. Cov tshuab yooj yim muaj ib lub npav PCI tab sis muaj qhov txwv hluav taws xob ntawm cov khoom siv PCI uas ib lub npav PCI tuaj yeem txhawb nqa. Siv PCI-PCI txuas ntxiv ntxiv cov tsheb npav PCI tso cai rau lub kaw lus txhawb nqa ntau yam khoom siv PCI
Root ID thiab choj ID yog dab tsi?
Tus choj ID yog tus mac-chaw nyob ntawm tus tes hloov koj nyob. Lub hauv paus ID yog mac-chaw nyob ntawm qhov hloov uas yog tus choj hauv paus rau qhov vlan. Yog li yog tias tus choj ID thiab hauv paus ID yog tib yam ces koj nyob ntawm tus choj hauv paus rau qhov vlan
Lub koob yees duab mini choj yog dab tsi?
Choj Lub Koob Yees Duab yog lub npe dav dav rau cov koob yees duab digital uas muaj qee qhov kev tswj hwm kev tswj hwm, qhov ntev ntev zoom lens thiab lub qhov muag pom - tab sis feem ntau tsis hloov pauv tau lo ntsiab muag. Lawv nyob qhov twg ntawm qhov taw tes thiab tua lub koob yees duab, thiab tag nrho DSLR