Puas yog MQTT daim ntawv thov txheej txheem?
Puas yog MQTT daim ntawv thov txheej txheem?

Video: Puas yog MQTT daim ntawv thov txheej txheem?

Video: Puas yog MQTT daim ntawv thov txheej txheem?
Video: Mang Vang New Song 2020 - puas yog vim kuv [Official Video] 2024, Tej zaum
Anonim

Xov Xwm Queuing Telemetry Thauj ( MQTT ) yog lub teeb yuag daim ntawv thov - txheej kev xa xov raws tu qauv raws li kev tshaj tawm / sau npe (pub / sub) qauv. Hauv cov qauv pub / sub, ntau tus neeg siv khoom (sensors) tuaj yeem txuas rau lub hauv paus server hu ua tus broker thiab sau npe rau cov ncauj lus uas lawv nyiam.

Sib tham, dab tsi yog daim ntawv thov txheej txheej txheem?

Ib daim ntawv thov txheej yog abstraction txheej uas qhia txog kev sib txuas lus sib koom cov txheej txheem thiab cov txheej txheem interface siv los ntawm cov tswv hauv kev sib txuas lus network. Cov daim ntawv thov txheej abstraction yog siv nyob rau hauv ob qho tib si ntawm tus qauv qauv ntawm computer networking: Internet raws tu qauv Suite (TCP/IP) thiab OSI qauv.

Ib tug kuj yuav nug, MQTT raws tu qauv yog dab tsi thiab nws 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.

Ntawm no, dab tsi raws tu qauv siv MQTT?

MQTT (MQ Telemetry Thauj) yog qhib OASIS thiab ISO tus qauv (ISO/IEC PRF 20922) hnav, tshaj tawm-subscribe network raws tu qauv uas thauj cov lus ntawm cov khoom siv. Cov raws tu qauv feem ntau khiav dhau TCP/IP; Txawm li cas los xij, txhua lub network raws tu qauv uas muab kev txiav txim, lossless, ob txoj kev sib txuas ua tau kev txhawb nqa MQTT.

MQTT siv qhov twg?

MQTT yog ib qho yooj yim messaging raws tu qauv, tsim los rau constrained li nrog tsawg-bandwidth. Yog li, nws yog qhov kev daws teeb meem zoo tshaj plaws rau Internet of Things applications. MQTT tso cai rau koj xa cov lus txib los tswj cov zis, nyeem thiab tshaj tawm cov ntaub ntawv los ntawm cov sensor nodes thiab ntau ntxiv.

Pom zoo: