Cov txheej txheem:
- Kauj Ruam 1: Kev Ua Haujlwm Raws Li Kev Pabcuam
- Kauj Ruam 2: Kev Kawm Tshuab
- Kauj Ruam 3: Cov Ntaub Ntawv Tshaj Tawm & Tshawb Xyuas
- Kauj Ruam 4: IoT Architecture
Video: AWS and IBM: IoT Services Comparison: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hnub no peb tab tom sib piv ob pawg uas ua rau nws muaj peev xwm tsim IoT daim ntawv thov raws li qhov pom ntawm cov kev pabcuam sib txawv.
Kauj Ruam 1: Kev Ua Haujlwm Raws Li Kev Pabcuam
FaaS yog qeb ntawm cov kev pabcuam huab siv los tsim "serverless" architecture. FaaS tso cai rau cov neeg siv khoom tsim, khiav, thiab tswj cov ntawv thov kev ua haujlwm yam tsis tau tsim thiab tswj hwm cov txheej txheem.
Amazon muab AWS Lambda, IBM muab IBM Cloud Functions. Cov kev pabcuam ntawd zoo ib yam, txawm li cas los Lambda yog thawj qhov zoo li no. Siv FaaS koj tuaj yeem khiav cov cai hauv huab thiab txhua qhov kev pabcuam txhawb nqa cov lus sib txawv.
IBM Cloud Functions: JavaScript, Swift, Java, Go, Php, Python, Ruby,. NET (C# F# thiab lwm yam), Ib ntawm Docker AWS Lambda: JavaScript, Java, C#, F#, Mus, Python, Ruby, PowerShell, Ib ntawm Runtime API
IBM Txhawb nqa ntau hom lus thiab nrog docker tau yooj yim siv cov ntawv sau ua lwm yam lus. Qhov no tuaj yeem ua tiav nrog Lambda tab sis nws tsis yog tam sim. Koj tuaj yeem nyeem qhov piv txwv ntawm no:
Ob qho kev pabcuam muaj kev txwv kev siv, peb tshaj tawm lawv hauv lub rooj thiab hais txog qhov zoo tshaj plaws.
Tus nqi yog raws GigaBytes ib pliag (RAM) nrog rau qhov ntxiv ntawm tus lej thov rau AWS Lambda. Each kev pabcuam muaj phiaj xwm pub dawb thiab lawv yuav luag sib npaug. Raws li koj tuaj yeem pom Lambda yog qhov pheej yig dua rau GB/s tab sis nws muaj tus nqi ntsig txog kev thov uas Cloud Functions tsis muaj yog li tus nqi yuav luag zoo ib yam. Yog lawm, yog tias koj xav tau los ua cov haujlwm uas noj lub cim xeeb thiab siv qee qhov kev thov koj yuav tsum siv Lambda. Qhov txiaj ntsig tseem ceeb ntawm IBM Cloud Function, hauv peb lub tswv yim, yog tias nws pawg yog qhib qhov chaw. Nws tau ua tiav raws li Apache OpenWhisk thiab tuaj yeem siv tau rau ntawm cov khoom ntiag tug.
Kauj Ruam 2: Kev Kawm Tshuab
Ib thaj chaw uas IBM thiab AWS pawg muab cov kev pabcuam zoo sib xws yog ntawm kev kawm tshuab: Amazon nrog nws SageMaker thiab IBM nrog Watson Machine Learning. Ob qhov kev pabcuam muaj nyob rau ntau yam zoo sib xws: ob qho tib si qhia lawv tus kheej ua cov cuab yeej los pab cov kws tshawb fawb cov ntaub ntawv thiab tsim tawm, cob qhia thiab tom qab ntawd xa mus rau kev tsim khoom ib puag ncig lawv lub tshuab kev kawm qauv, tab sis lub tswv yim uas ob lub tuam txhab txais yuav txawv me ntsis. Ob qho kev pabcuam cia koj xaiv ntawm qib sib txawv ntawm kev tswj hwm ntawm cov qauv koj siv. Hauv Watson ML, koj muaj qee tus qauv ua hauv uas twb tau kawm tiav los ua qee yam haujlwm tshwj xeeb: piv txwv li, yog tias koj xav paub txog yam khoom muaj nyob hauv daim duab koj tsuas yog import VisualRecognitionV3 tus qauv thiab dhau mus rau nws daim duab koj xav txheeb xyuas. Koj kuj tseem tuaj yeem tsim "tus qauv kev cai", tab sis hauv Watson ML qhov no feem ntau txhais tau tias ua tus qauv uas twb tau tsim thiab ua peb qhov kev qhia rau nws, yog li kev kho tus kheej yog qhov txwv. Nws yog qhov tseem ceeb kom pom txawm tias tsis yog SageMaker lossis Watson ML tsuas yog txoj hauv kev ua tshuab kev kawm ntawm lawv cov neeg tsim khoom sib tsoo, lawv tsuas yog cov kev pabcuam txhawm rau ua rau cov neeg tsim khoom lub neej yooj yim dua. Watson ML platform kuj txhawb nqa ntau lub tsev kawm ntawv nyiam siv lub tsev qiv ntawv, yog li koj tuaj yeem tsim tus qauv los ntawm kos nrog PyTorch, Tensorflow lossis cov tsev qiv ntawv zoo sib xws. Koj yog siv cov tsev qiv ntawv ntawd ncaj qha, lossis siv cov qauv ua ntej, tsis muaj qhov nruab nrab. Tsis tas li Watson ML tsis txhawb nqa Amazon lub tsev qiv ntawv xaiv, Apache MXNet, uas yog qhov muaj thawj chav kawm txhawb nqa hauv SageMaker.
Amazon SageMaker txoj hauv kev, txawm tias thaum siv cov kev xaiv tsim, yog qib qis dua me ntsis: ntau dua li ua rau koj xaiv los ntawm cov qauv ua ntej, nws tso cai rau koj xaiv los ntawm plethora ntawm twb tau ua tiav kev qhia ua haujlwm, uas koj tuaj yeem siv thaum tsim koj li ua qauv zoo dua qub. Yog tias cov no tsis txaus, koj tuaj yeem siv koj tus kheej lub algorithm. Txoj hauv kev ua cov khoom no yuav tsum muaj kev paub ntau ntxiv txog kev kawm tshuab li cas piv rau tsuas yog siv tus qauv kawm hauv Watson ML.
Thaum xub thawj siab ib muag nws yuav zoo li Watson ML yog txoj hauv kev "yooj yim thiab nrawm", nrog Amazon SageMaker ua qhov nyuaj dua los teeb tsa. Qhov no yuav tsis yog qhov tseeb los ntawm qee qhov kev pom, vim SageMaker tau teeb tsa los ua txhua yam ua haujlwm ntawm Jupyter Notebook, thaum rau cov yam ntxwv zoo ib yam hauv Watson ML koj yuav tsum teeb tsa ntau yam kev pabcuam sib txawv los ntawm lub vev xaib UI. Kev npaj ua ntej ntawm cov ntaub ntawv kuj tseem muaj qhov chaw tshwj xeeb ntawm IBM cov kev pabcuam thaum SageMaker tso siab rau koj ua txhua yam los ntawm cov cai hauv koj phau ntawv sau. Qhov no ntxiv rau qhov tseeb tias Jupyter phau ntawv sau tsis yog qhov kev xaiv zoo tshaj plaws los ntawm software software kev xav, tuaj yeem tiv thaiv SageMaker los ntawm kev ntsuas zoo heev hauv kev tsim khoom. Ob qho kev pabcuam muaj cov txheej txheem zoo nkauj thiab yooj yim rau xa koj tus qauv thiab ua APIs rau nws muaj nyob hauv ntiaj teb sab nrauv.
Hauv kev xaus, Watson ML ua tau zoo dua hauv cov phiaj xwm loj uas Jupyter phau ntawv sau ntawv pib qhia lawv qhov txwv, thiab qhov twg koj tsis xav tau ntau qhov kev hloov pauv tus qauv nws tus kheej ua dab tsi. SageMaker yog qhov zoo dua thaum koj xav tau kev hloov pauv ntau ntxiv hauv kev txhais cov txheej txheem, tab sis thaum siv nws koj yuav tsum coj mus rau hauv tus account qhov tseeb tias koj yuav tsum tso siab rau Jupyter Notebooks, uas yuav tsis ntsuas zoo hauv kev tsim khoom. Kev daws teeb meem tuaj yeem txiav tawm qhov seem ntawm cov cai los ntawm tus qauv kom ntau li ntau tau, yog li cov cai hauv phau ntawv sau tiag tiag tsis loj dua thiab peb tuaj yeem npaj tau zoo dua peb cov software hauv lwm cov qauv uas tsuas yog siv peb tus qauv API.
Kauj Ruam 3: Cov Ntaub Ntawv Tshaj Tawm & Tshawb Xyuas
Cov ntaub ntawv tshaj tawm cov kev pabcuam yog qhov tseem ceeb hauv kev tuav thiab tshuaj xyuas lub sijhawm loj ntawm cov ntaub ntawv. Cov dej ntws no tuaj yeem yog los ntawm huab mus rau cov neeg siv khoom siv, zoo li cov vis dis aus tso tawm, lossis los ntawm cov neeg siv mus rau huab, zoo li IoT telemetry thiab nyeem ntawv sensor. Tshwj xeeb tshaj yog nyob rau hauv rooj plaub thib ob, peb tuaj yeem muaj xwm txheej qhov twg cov peev txheej xa cov ntaub ntawv me me tab sis thaum peb txiav txim siab tag nrho cov kev xa tawm, los ntawm txhua lub cuab yeej, nws siv ntau qhov bandwidth ntau, yog li nws ua rau nkag siab siv cov kev pabcuam tshwj xeeb los lis haujlwm ntws ntawm cov ntaub ntawv. Tsis muaj kev tuav cov dej ntws mus tas li ncaj qha, peb yuav tsum tsis txhob muab cov ntaub ntawv nkag mus rau hauv qhov chaw khaws cia ib ntus thiab hauv ob zaug txheej txheem nws nrog qee lub cav suav. Qhov teeb meem ntawm txoj kev kawg no yog tias peb yuav tsum tau sib koom ua ke ntau cov kev pabcuam kom ua tiav qhov kev pabcuam ib ntus cov ntaub ntawv tau ua nyob ib leeg, ua rau nyuaj ntawm daim ntawv thov kev saib xyuas thiab teeb tsa. Ib qho ntxiv, qhov tsis tuaj yeem tuaj yeem ua hauv paus ntsiab lus ua rau peb daim ntawv thov tsis nyob hauv lub sijhawm tiag, vim tias rau ib yam khoom uas yuav tsum tau ua tiav nws yog qhov tsim nyog tias txhua lwm yam khoom ua ntej nws yuav tsum tau ua tiav ib yam, thiab ntxiv txoj cai ua ntej rau qhov tsis tuaj yeem, dua, nce qhov nyuaj hnyav. Kev suav sau, cov ntaub ntawv tshaj tawm cov kev pabcuam muab cov ntaub ntawv khiav hauv lub sijhawm, nrog kev teeb tsa yooj yim, thiab tuaj yeem muab kev tshuaj xyuas ntawm cov ntaub ntawv nkag. Ntawm no peb sib piv ob qhov kev pabcuam tseem ceeb ntawm IBM thiab AWS pawg, uas yog IBM Streams thiab AWS Kinesis.
Peb pib los ntawm kev sau cia tias txhua qhov tseem ceeb uas peb xav tau los ntawm kev pabcuam streaming tau muab los ntawm ob qho IBM thiab AWS. Cov yam ntxwv no suav nrog kev ua tiav tsis muaj qhov kawg, qis qis thiab cov ntaub ntawv txheeb xyuas lub sijhawm tiag. Txij li thaum peb tab tom tham txog kev pabcuam tshaj lij, lawv ob leeg muab cov cuab yeej tsim khoom-qib rau kev xa tawm thiab kev siv tshuab.
Sib tham txog kev txheeb xyuas cov ntaub ntawv, ob qho kev pabcuam muab nws ua qhov xav tau, ua rau koj them nyiaj nkaus xwb yog tias koj xav tau lossis tsis xav tau. Hauv Kinesis, thaum koj tsis xav tau kev tshuaj xyuas tab sis tsuas yog siv cov ntaub ntawv khiav, tus nqi raug them ib GB ua haujlwm tsis siv sijhawm ua, zoo li hauv IBM cov ntaub ntawv. Tus nqi ntawm GB yuav feem ntau tsis kim dua tus nqi ib lub sijhawm, txij li koj tau them nyiaj nkaus xwb rau kev nkag los. Txog qhov kawg ntawm cov ntawv no peb yuav txiav txim siab ob qho IBM Streams thiab AWS Kinesis nrog cov ntaub ntawv txheeb xyuas qhov ua haujlwm.
Streams thiab Kinesis muab kev koom ua ke nrog cov kev pabcuam sib txawv rau kev ua ntej thiab lim cov ntaub ntawv nkag ua ntej xa lawv mus rau kev tshuaj xyuas cov ntaub ntawv, feem nrog Apache Edgent thiab AWS Lambda. Thaum cov kev pabcuam no txawv txav ib qho rau lwm qhov, peb yuav tham txog lawv tsuas yog los ntawm qhov pom ntawm ob qhov kev pabcuam streaming. Qhov sib txawv tseem ceeb ntawm ob yog tias Apache Edgent ua tiav ntawm lub cuab yeej, thaum AWS Lambda ua tiav ntawm huab. Qhov no coj ntau qhov zoo thiab qhov tsis zoo: los ntawm Lambda sab peb muaj kev hloov pauv yooj yim thiab siv tau yooj yim nrog kev sib xyaw ua ke nrog Kinesis, tab sis nws xav kom cov ntaub ntawv yuav tsum tau xa mus rau huab, yog li poob hauv kev ua haujlwm thiab them Kinesis kuj rau cov ntaub ntawv uas yuav kawg muab pov tseg. Los ntawm Edgent ib sab, peb muaj qhov feem ntau ntawm kev suav ua tiav, zoo, ntawm ntug ntawm lub network (yog li ntawm cov khoom siv) ua ntej xa cov ntaub ntawv tsis muaj txiaj ntsig ntawm huab. Qhov tsis zoo tseem ceeb yog Edgent yog lub hauv paus loj, uas yuav xav tau sijhawm los teeb tsa thiab tuaj yeem ua kom yooj yim los tswj. Lwm qhov sib txawv uas tuaj yeem cuam tshuam hauv kev xaiv lub platform yog tias Edgent yog qhov qhib tag nrho, Lambda tsis yog. Qhov no tuaj yeem pom ob qho tib si raws li tus kws tshaj lij, txij li thaum nkag mus rau txoj cai uas koj lossis koj cov neeg siv khoom yuav ua yog ib txwm muaj qhov zoo, ob qho tib si raws li kev xav, vim tias tej zaum yuav muaj xwm txheej uas koj xav tau kev txhawb nqa sai uas tsis tuaj yeem muab hauv txhua qhov qhib qhov chaw ib puag ncig.
Lwm cov yam ntxwv uas peb tuaj yeem hais txog yog Kinesis qhov pib ua kom loj hlob ntawm cov peev txheej tau faib. Qhov tseeb, kho vajtse nws muab yog tsim los ntawm tus lej hu ua Kinesis Processing Units (KPUs) khiav ua ke, qhov twg KPU muab 1 vCore thiab 4GB ntawm RAM. Lawv tus lej nyob ntawm qhov xav tau ntawm daim ntawv thov thiab tau txais txiaj ntsig zoo thiab tau txais kev faib tawm (qhov koj them yog qhov tseeb cpu lub sijhawm tus naj npawb ntawm KPUs), tsuas yog nco ntsoov tias nws yog Kinesis txoj cai them nyiaj rau koj ib KPU ntau dua yog tias koj siv Java daim ntawv thov. IBM Streams, hloov pauv, tsis muab hom kev hloov pauv no, muab lub thawv rau khoom nrog kho vajtse ruaj khov, cov ntsiab lus ntxiv thaum peb tham txog tus nqi. Ntawm qhov tod tes, IBM Streams tau qhib ntau dua li Kinesis, txij li nws cuam tshuam rau WAN ntawm kev siv cov txheej txheem ib txwm siv, zoo li HTTP, MQTT thiab ntxiv rau, thaum Kinesis raug kaw rau AWS ecosystem.
Raws li kev sib piv zaum kawg tham txog tus nqi, thiab qhia rau kuv qhia tias IBM tsis ua haujlwm zoo ntawm qhov no. Peb tau teeb tsa cov kev daws teeb meem sib txawv rau peb pawg sib txawv (theem pib, qib high-end, ultra-high-end) rau ob qho tib si IBM thiab AWS, thiab peb yuav sib piv lawv tus nqi. Hauv kev teeb tsa yooj yim peb muaj ib qho AWS KPU, tau hais ua ntej, tawm tsam IBM daws nrog tib yam khoom siv. Rau qib siab kawg peb muaj 8 KPUs khiav yog sib npaug rau Kinesis thiab 2 ntim ib txwm nyob ua ke rau IBM, txhua nrog 4 vCores thiab 12GB ntawm RAM. Ib txwm IBM muaj nyob rau hauv ultra-high-end ib lub thawv nrog 16 vCores thiab 128GB ntawm RAM, thaum peb tsis suav qhov kev daws teeb meem sib xws rau AWS, txij li yog tias qee daim ntawv thov xav tau ntau ntawm RAM nws tsis tuaj yeem ua haujlwm nws ntawm KPUs sib txawv. Tus nqi uas peb tshaj tawm qhia tawm hauv $/hli txiav txim siab siv 24/7. Rau cov txheej txheem yooj yim peb muaj rau IBM thiab AWS feem 164 $ thiab 490 $, rau qib siab kawg 1320 $ thiab 3500 $, rau ultra-high-end AWS tsis suav nrog thiab tsuas yog IBM nrog 6300 $. Los ntawm cov txiaj ntsig no peb tuaj yeem pom tias Kinesis ua haujlwm tau zoo dua rau cov neeg siv niaj hnub mus txog qib kev lag luam, thaum nws tsis muaj kev xaiv ncaj qha los tshuaj xyuas cov ntaub ntawv tshuaj xyuas uas xav tau ntau zog ntawm kev suav lub zog. Kinesis muab kev ua tau zoo dua/piv piv li IBM Streams, tau pab los ntawm kev faib cov khoom siv me me tsuas yog tsim nyog, thaum IBM muab rau koj ib lub thawv ntim. Txoj hauv kev no, yog tias koj cov haujlwm ua haujlwm tau zoo los ntawm qhov siab tshaj, nrog IBM koj raug yuam kom ua siab dhau koj li kev thov thiab teeb tsa kev daws teeb meem hauv qhov xwm txheej phem tshaj. IBM muab cov nqi teev tsis yog them tag nrho lub hlis, tab sis nws tsis siv li Kinesis.
Kauj Ruam 4: IoT Architecture
Kev teeb tsa rau cov khoom siv rau aws iot yog qhov yooj yim heev thaum piv rau ibm watson iot. Vim tias hauv ibm watson iot qhov kev lees paub yog ib lub cuab yeej nrog token thiab ib zaug nws tso saib cov cim nws yuav tsis tshwm dua. Los rau tus nqi ib feem ntxiv ibm watson iot yog tus nqi kim heev piv rau aws iot. Yog li, tus nqi hauv ibm watson iot tsub nqi raws li ib lub cuab yeej, cov ntaub ntawv khaws cia, cov ntaub ntawv xa mus. Tab sis hauv aws iot peb tuaj yeem them tus nqi ib zaug thiab peb tuaj yeem ntxiv cov cuab yeej thiab cov ntaub ntawv tshaj tawm los ntawm cov cuab yeej thiab xa mus rau cov khoom siv.
Pib nrog koj lub cuab yeej- txawm nws yog lub ntsuas pa, lub qhov rooj, lossis lwm yam- thiab cia peb pab koj txuas nrog huab.
Koj lub cuab yeej cov ntaub ntawv ib txwm muaj kev nyab xeeb thaum koj txuas rau huab siv qhib, hnyav MGTT xa xov raws tu qauv lossis HTTP. Nrog kev pab los ntawm cov kev cai thiab node-liab peb tuaj yeem txuas peb lub cuab yeej nrog iot platform thiab tuaj yeem nkag mus rau cov ntaub ntawv nyob thiab keeb kwm.
Siv peb cov API ruaj ntseg los txuas koj cov apps nrog cov ntaub ntawv los ntawm koj lub cuab yeej.
Tsim cov ntawv thov hauv peb qhov kev pabcuam huab muab txhais cov ntaub ntawv.
Pom zoo:
Temp and Humidity Alert Siv AWS thiab ESP32: 11 Cov Kauj Ruam
Temp thiab Humidity Alert Siv AWS thiab ESP32: Hauv qhov kev qhia no, peb yuav ntsuas cov ntsuas kub thiab av sib txawv siv Temp thiab humidity sensor. Koj tseem yuav kawm paub xa cov ntaub ntawv no mus rau AWS
IoT Hydroponics - Siv IBM's Watson rau PH thiab EC Ntsuas: 7 Kauj Ruam (nrog Duab)
IoT Hydroponics - Siv IBM's Watson rau PH thiab EC Kev Ntsuas: Cov lus qhia no yuav qhia saib yuav ua li cas saib xyuas EC, pH, thiab ntsuas kub ntawm kev teeb tsa hydroponics thiab xa cov ntaub ntawv mus rau IBM Watson kev pabcuam. Watson yog pub dawb los pib nrog. Muaj cov phiaj xwm them nyiaj, tab sis txoj phiaj xwm pub dawb ntau dua li txaus rau txoj haujlwm no
IoT Kev Saib Xyuas Cog Ntoo (Nrog IBM IoT Platform): 11 Kauj Ruam (nrog Duab)
IoT Plant Monitoring System (With IBM IoT Platform): OverviewThe Plant Monitoring System (PMS) yog ib daim ntawv thov tsim nrog cov tib neeg uas nyob hauv chav kawm ua haujlwm nrog tus ntiv tes xoo ntsuab hauv siab. Niaj hnub no, cov tib neeg ua haujlwm ntau dua li yav tas los; txhim kho lawv txoj haujlwm thiab tswj hwm lawv cov nyiaj txiag
PLAY AND RECHARGE IPOD USING OLD BOOMBOX - Hints and Tips: 5 Kauj Ruam (nrog Duab)
PLAY AND RECHARGE IPOD USING OLD BOOMBOX - Hints and Tips: Xav txog qhov no ntxiv mus rau lwm lub iPod boombox mods. Kuv lees tias kuv qiv los ntawm Lwm Cov Lus Qhia. Tsis txhob coj mus deb ntawm Cov Ntawv Qhia, ntawm no yog "" qw tawm " rau cov uas tau tshoov siab kuv kom dhia mus rau hauv kuv tus kheej mod. Ua tsaug. Qhia tau
Kho Khoos Phis Tawj Khoos Phis Tawj Hard Hard Ware Problem (system Disk Failure and Broken PSU and Missing/corrupt Files): 4 Kauj Ruam
Kho Khoos Phis Tawj Khoos Phis Tawj Khoos phis tawj nyuaj (System Disk Failure and Broken PSU and Missing/corrupt Files): Cov lus qhia no tsis tau ua tiav, kuv yuav ntxiv cov ntaub ntawv ntau ntxiv thaum twg kuv tau txais CHANCE yog tias koj xav tau kev pab nrog kho lub computer lossis yog tias koj muaj lus nug dab tsi xav hu rau kuv " Hauv cov lus qhia no kuv yuav qhia koj yuav kho kho com com yooj yim li cas