YouTube2Text

Cloud, edge and fog computing for IoT: Part II — Transcript

by NPTEL - Special Lecture Series · 6,016 words · 1,124 segments · language en · Watch on YouTube

Full transcript

  1. 0:03okay so
  2. 0:04um we the last
  3. 0:07session we left at this slide and we
  4. 0:09motivated uh
  5. 0:10that there are some issues in cloud
  6. 0:14computing
  7. 0:16that do not go well
  8. 0:20with the iot scenario
  9. 0:23and volume latency and bandwidth being
  10. 0:26one one of the main
  11. 0:28i mean few of those uh aspects that are
  12. 0:30really
  13. 0:32making it difficult with the increase in
  14. 0:34the number of
  15. 0:35connected devices uh so um
  16. 0:40what is the solution to it uh it is
  17. 0:43nothing but uh
  18. 0:45edge computing uh of course one one
  19. 0:48solution to it is
  20. 0:49uh that you keep increasing the uh
  21. 0:53data center size uh but as you saw in
  22. 0:56in one of the figures there
  23. 1:01for for the kind of uh for for the
  24. 1:04number of devices in several
  25. 1:09billions uh the the amount of data that
  26. 1:12it generates needs about
  27. 1:14uh several thousands of
  28. 1:17data sensors right so that is that is
  29. 1:19very costly in itself and uh
  30. 1:22uh therefore uh there needs to be a
  31. 1:25different way
  32. 1:26to solve this problem and uh
  33. 1:30one of the problem one of the solutions
  34. 1:32that came up
  35. 1:33uh is this fog
  36. 1:36or edge computing so we'll generally
  37. 1:40call it edge computing and uh we will
  38. 1:43see
  39. 1:44uh there there are various flavors of
  40. 1:47edge computing
  41. 1:48uh how how these different
  42. 1:52edge computing uh terminologies
  43. 1:55uh i mean the the different kinds of uh
  44. 1:58edge computing that we'll
  45. 2:03the classifications we'll see how they
  46. 2:04are different so
  47. 2:06edge computing is
  48. 2:10nothing but
  49. 2:11[Music]
  50. 2:13architecturally it is not
  51. 2:16a very complex thing because your
  52. 2:20what you are essentially trying to do is
  53. 2:23instead of
  54. 2:24having this centralized node or the
  55. 2:27centralized
  56. 2:28data center that you have uh
  57. 2:31instead of that you are trying to have
  58. 2:34some
  59. 2:35other set of nodes
  60. 2:39not just one but distributed
  61. 2:42in the space between the cloud and the
  62. 2:47end device and you have several such
  63. 2:51nodes and
  64. 2:53these nodes are going to be
  65. 2:56much more closer to the end device
  66. 2:59rather than how the current cloud
  67. 3:03is situated so it's a dist this is uh by
  68. 3:06definition this is a distributed
  69. 3:08uh information technology architecture
  70. 3:11uh where the client data that is
  71. 3:14the data that is generated by the end
  72. 3:18device
  73. 3:19is processed at the periphery of the
  74. 3:22network so
  75. 3:24you're not coming to the core of the
  76. 3:27network where the cloud exists but
  77. 3:28you're
  78. 3:30processing it at the periphery of the
  79. 3:31network uh and
  80. 3:34if possible very close to the source
  81. 3:37where it is originating
  82. 3:39yeah so um
  83. 3:42so one thing that definitely
  84. 3:46is problematic as we also discussed in
  85. 3:49the last session was um although you're
  86. 3:53bringing all that
  87. 3:54[Music]
  88. 3:55you're introducing new nodes um and
  89. 3:58which are closer to the
  90. 4:00uh originating uh end device uh data
  91. 4:04originating end device
  92. 4:06uh it these nodes are uh
  93. 4:09going to be less capable compared to the
  94. 4:14uh compared to the compute capacity
  95. 4:18and different other kinds of capacity
  96. 4:19that
  97. 4:21the cloud would have so
  98. 4:24so that is one problem that we have
  99. 4:28with these edge nodes but we have we
  100. 4:30have to see how we can
  101. 4:32very efficiently uh do things that we
  102. 4:35could do
  103. 4:36uh with the cloud uh while
  104. 4:40uh you know in remaining within the
  105. 4:42constraints of
  106. 4:44what the edge node provides um
  107. 4:47so the advantages of course
  108. 4:50by introducing the these new uh
  109. 4:54nodes uh between the a cloud and the
  110. 4:58end device is that
  111. 5:01all the data that the sensors collect
  112. 5:07they are very securely uh processed in
  113. 5:11real time right okay so um
  114. 5:15the the reason it's uh uh
  115. 5:18considered to be more secure is because
  116. 5:20your uh
  117. 5:21the the uh
  118. 5:25chance of the data that is getting uh
  119. 5:27generated
  120. 5:29uh being uh tampered with
  121. 5:32or being uh or the
  122. 5:36data being uh you know manipulated is
  123. 5:39very less
  124. 5:40because you're you're consuming it
  125. 5:43or you're working on it at a very closer
  126. 5:46location than the
  127. 5:48uh cloud so uh
  128. 5:52there is the possibility or the
  129. 5:54probability of that data getting
  130. 5:56uh getting uh
  131. 5:59you know uh into wrong hands is uh
  132. 6:03that much more lesser so that's that's
  133. 6:05one
  134. 6:06uh reason why it's
  135. 6:09also said that it is secure
  136. 6:14so uh other other important thing here
  137. 6:17is that it is done in real time because
  138. 6:19now
  139. 6:20you're not you don't have to
  140. 6:23go all the way back to the cloud
  141. 6:26do the processing and then come back
  142. 6:29so so that round trip time is
  143. 6:33really minimized
  144. 6:36to a large extent and therefore the real
  145. 6:40time applications are served better by
  146. 6:43this kind of new infrastructure that we
  147. 6:45have
  148. 6:47okay uh are there some questions
  149. 6:50no okay
  150. 6:56yeah so um so what is the
  151. 7:00uh what is the reason we had we find
  152. 7:03this need of edge computing
  153. 7:05uh the the problems that we saw in the
  154. 7:08uh
  155. 7:08cloud computing model right so uh
  156. 7:11one of the challenges was latency
  157. 7:15so edge computing addresses that problem
  158. 7:18as we just saw by decreasing the latency
  159. 7:21in
  160. 7:23transmission and
  161. 7:26[Music]
  162. 7:28i mean so so to say even for processing
  163. 7:32maybe it's not
  164. 7:33really uh decreasing the time for
  165. 7:36processing because
  166. 7:37cloud may have uh a lot more processing
  167. 7:41resources than
  168. 7:42what an edge node would have but
  169. 7:48in effect if you see the transmission
  170. 7:50time
  171. 7:51is quite large and that's why
  172. 7:54when you save on the transmission
  173. 7:56transmission time
  174. 7:58and with the with a minimal set of
  175. 8:01resources that you have
  176. 8:03on the edge it would still be better to
  177. 8:07compute the process the data
  178. 8:11on the edge uh but but there are there
  179. 8:14are some trade-offs there
  180. 8:15so uh that's something that we will have
  181. 8:18to
  182. 8:18uh you know consider while while
  183. 8:21uh deciding whether the data needs to be
  184. 8:23or whether the processing needs to be
  185. 8:26done on the edge or the clock so one
  186. 8:28important thing that
  187. 8:30needs to be remembered here is
  188. 8:33even though we are putting edge
  189. 8:37nodes or fog nodes let's say within
  190. 8:40uh in in between the space of uh
  191. 8:44the cloud and the end device uh we are
  192. 8:48not eliminating the clock
  193. 8:50yeah so cloud will still remain uh
  194. 8:53it is still there for uh
  195. 8:56uh for a purpose of uh you know having a
  196. 9:00uh bigger picture of the
  197. 9:05set of uh bigger picture of the
  198. 9:07environment and
  199. 9:10the the set of nodes that are there and
  200. 9:12the
  201. 9:14set of applications the models may be
  202. 9:17if you are running some algorithms that
  203. 9:20are using
  204. 9:22machine learning and all that so there
  205. 9:24are there are a lot of things that the
  206. 9:26cloud can still do
  207. 9:28um and therefore cloud does not go away
  208. 9:31the only thing is the burden of
  209. 9:33cloud doing everything is
  210. 9:36taken away and a lot of it is
  211. 9:40now pushed towards the edge of the
  212. 9:42network
  213. 9:44to the edge nodes so that's the
  214. 9:48main thing that you do and thereby
  215. 9:51latency is diminished a lot and
  216. 9:57the amount of data that is that needs to
  217. 10:01be transmitted
  218. 10:02is uh you know reduced
  219. 10:06by large orders of magnitude because
  220. 10:09uh currently it can also happen that you
  221. 10:14you can do some very
  222. 10:17intelligent but
  223. 10:19[Music]
  224. 10:20not so expensive processing on the
  225. 10:23edge device and
  226. 10:27come to a conclusion that not all of the
  227. 10:30data that is
  228. 10:32sensed by the various sensors
  229. 10:35or the data that is
  230. 10:38communicated by the end device
  231. 10:42needs to be sent to the cloud so there
  232. 10:45is an in
  233. 10:46initial filtering that is employed
  234. 10:50uh in the end nodes uh which make it
  235. 10:53uh uh you know very uh important
  236. 10:56because uh uh it initially all the
  237. 11:00raw data was sent to the cloud which now
  238. 11:03does not need to
  239. 11:04be sent uh because that there is this
  240. 11:07intermediate node which will
  241. 11:09take care of it okay so uh that is one
  242. 11:12uh
  243. 11:14advantage that also is brought about by
  244. 11:16the
  245. 11:17edge computing so of course
  246. 11:21the three issues that we saw in the
  247. 11:24cloud computing scenario was there was a
  248. 11:26large volume of data
  249. 11:29bandwidth was an issue and latency was
  250. 11:31an issue so you see that
  251. 11:32latency is solved the volume of data is
  252. 11:36handled
  253. 11:37by the intermediate node and
  254. 11:40there is only a little uh there is only
  255. 11:43a
  256. 11:44fraction of that data that is sent uh to
  257. 11:48the cloud
  258. 11:48uh thereby uh reducing the uh
  259. 11:52transmission of data also uh so that's
  260. 11:55so these are the advantages that are
  261. 11:57brought about by
  262. 11:58uh introduction of the uh edge nodes
  263. 12:01uh of course it means that you are
  264. 12:04now uh supposed to have this
  265. 12:08additional set of nodes
  266. 12:12and there needs to be
  267. 12:14[Music]
  268. 12:16mechanisms to manage these nodes
  269. 12:19but the the advantages
  270. 12:22outweigh the the
  271. 12:26challenges that it brings it brings with
  272. 12:29it
  273. 12:30and therefore although there are
  274. 12:33challenges
  275. 12:34those challenges are being worked upon
  276. 12:37by the
  277. 12:38uh research community and
  278. 12:41industry as well so uh so uh
  279. 12:44that's that's something uh very uh
  280. 12:47good about edge computing and uh also
  281. 12:50there are
  282. 12:51some open uh forums uh
  283. 12:54like open edge consortium uh which
  284. 12:57which are trying to uh
  285. 13:00come up with some um you know standards
  286. 13:03uh in how these edge nodes need to be
  287. 13:08uh so what what needs to be the
  288. 13:11characteristics of
  289. 13:12edge node deployments um
  290. 13:17what kind of services they need to
  291. 13:20provide
  292. 13:21and what kind of applications need to be
  293. 13:23considered
  294. 13:25so the use cases all of these things are
  295. 13:27worked upon by
  296. 13:28uh the edge open edge open fog
  297. 13:31consortium
  298. 13:33uh so uh that that's something that
  299. 13:36you can actually go and look at if you
  300. 13:39are interested in
  301. 13:40what the open for consortium is doing
  302. 13:42you can just go and
  303. 13:44look at it their website things are
  304. 13:48available lot of white papers and all
  305. 13:51are available
  306. 13:52uh so there are other consortiums also
  307. 13:54which work in this area
  308. 13:55uh uh we'll get into one of them uh
  309. 13:58briefly in one of the slides later
  310. 14:01so
  311. 14:05there are so edge computing is one very
  312. 14:09general term of this kind of a
  313. 14:14model where you are now distributing the
  314. 14:17computing
  315. 14:18uh across multiple nodes
  316. 14:21um and it's not centralized in the cloud
  317. 14:24uh but there are uh different
  318. 14:28ways of uh doing this and
  319. 14:31there are three models that are there
  320. 14:34that represent the edge computing uh
  321. 14:37paradigm
  322. 14:38uh one of them we is called fog
  323. 14:40computing
  324. 14:42uh then there is uh something called
  325. 14:44mobile edge computing
  326. 14:46and uh there is also a model
  327. 14:49that's called cloudlet um
  328. 14:53so all of these uh you know have uh
  329. 14:57they are relevant in certain
  330. 15:00scenarios uh but you can see that
  331. 15:04all of them try to limit the bandwidth
  332. 15:08limit the latency requirements
  333. 15:12and try to minimize the network
  334. 15:14congestion
  335. 15:19so if you look at it the characteristics
  336. 15:22of
  337. 15:25edge computing uh there are uh
  338. 15:28so so some of these aspects that we
  339. 15:30looked at that it tries to do better
  340. 15:33uh in comparison to cloud computing
  341. 15:35feature here
  342. 15:36uh so uh you can see that
  343. 15:39[Music]
  344. 15:40there is a low lower pressure on
  345. 15:42bandwidth
  346. 15:44uh so the bandwidth between the
  347. 15:47edge of the network and the
  348. 15:50core of the network where the cloud
  349. 15:53resides
  350. 15:54is is reduced dramatically by
  351. 15:58bringing in this these set of edge nodes
  352. 16:01or
  353. 16:02fog nodes and
  354. 16:06that is a very uh important aspect uh
  355. 16:09also because you don't have to now
  356. 16:13transmit that much data and that also
  357. 16:17reduces the cost of data transmission so
  358. 16:20it's not only the congestion aspect
  359. 16:24due to limited bandwidth resources that
  360. 16:28are available but also
  361. 16:29the cost associated with transmitting
  362. 16:32that this amount of data that's also
  363. 16:35reduced and and
  364. 16:39of course the latency is is a very
  365. 16:41important aspect because
  366. 16:44as i mentioned in the session in the
  367. 16:47morning lot of applications they require
  368. 16:50uh they they have stringent timing
  369. 16:53constraints and
  370. 16:55in order to
  371. 16:58satisfy the the real-time requirements
  372. 17:01that that's that's one of the issues
  373. 17:04that needs to be solved which
  374. 17:06was an issue with the cloud computing
  375. 17:08model
  376. 17:09um then also one thing that we discussed
  377. 17:13earlier
  378. 17:14was the data security part so
  379. 17:18how does edge computing
  380. 17:21how does it provide better security than
  381. 17:24cloud computing so this was something
  382. 17:26that we touched upon earlier that
  383. 17:30since things are now more distributed
  384. 17:33uh and and uh and and since these nodes
  385. 17:36are much more closer to the
  386. 17:38uh to the end devices
  387. 17:42um an attack uh
  388. 17:46the chances of an attack uh are
  389. 17:49minimized are lesser because you are not
  390. 17:53sending the data all the way to the
  391. 17:55cloud and
  392. 17:57there are uh the data recites in a more
  393. 18:01localized
  394. 18:02scenario thereby it is much more
  395. 18:06easier to employ some
  396. 18:10security mechanisms also the distributed
  397. 18:13nature gives it uh
  398. 18:16a little bit more uh resilience to
  399. 18:19security attacks because uh the
  400. 18:23the uh attack on one of the nodes may
  401. 18:26uh not result in propagation of the
  402. 18:31propagation effect to other nodes so
  403. 18:34uh the that way also it is uh
  404. 18:38there can be some things that can be
  405. 18:40avoided
  406. 18:41in the edge no edge computing scenario
  407. 18:45in comparison to the cloud computing
  408. 18:48model
  409. 18:49uh and finally uh there is increased
  410. 18:52availability
  411. 18:53uh because now you have
  412. 18:56the set of distributed nodes
  413. 19:01instead of a centralized
  414. 19:05compute node although you know
  415. 19:07centralized node
  416. 19:09is also a set of nodes but
  417. 19:12it's not centralized it is more
  418. 19:16distributed so even if a particular
  419. 19:20node in the h computing model goes down
  420. 19:24due to some reason uh it still
  421. 19:27you know can function because the there
  422. 19:30are other nodes which are
  423. 19:32i mean the the end device can still
  424. 19:34access some other
  425. 19:36edge node which is in the uh coverage
  426. 19:39area of the
  427. 19:40uh in the coverage region so so that's
  428. 19:43uh that's that's uh why it's
  429. 19:47there is some increased availability
  430. 19:49that is observed
  431. 19:50and all of these make edge computing a
  432. 19:54very
  433. 19:55uh a very good solution
  434. 19:58to solve all the issues that we had with
  435. 20:02cloud computing of course with uh
  436. 20:06i mean uh this this comes with it with
  437. 20:09some
  438. 20:10uh issues and we need to also handle
  439. 20:13those issues right
  440. 20:15okay so um the
  441. 20:20uh the uh will we look at uh for
  442. 20:23computing and what fog computing is but
  443. 20:26uh the uh for computing
  444. 20:29uh platform uh this is a template
  445. 20:33platform that fog computing nodes
  446. 20:36uh typically implement and
  447. 20:42there are a set of aspects that are
  448. 20:47required to be there in a for computing
  449. 20:50uh platform uh which kind of addresses
  450. 20:54a lot of
  451. 20:58you know requirements that people the
  452. 21:00end devices or end users may
  453. 21:03uh have okay so so there are some uh
  454. 21:06things that need to be uh available
  455. 21:09within the fog
  456. 21:10node uh to serve the requirements of the
  457. 21:13user
  458. 21:14and uh to towards that there you can see
  459. 21:17there are some platform services that
  460. 21:19are there
  461. 21:20uh within the uh fog computing node
  462. 21:24uh and these platform services
  463. 21:27uh let's uh go through them uh briefly
  464. 21:31one by one so
  465. 21:32of there is an authentication
  466. 21:34authorization
  467. 21:35uh service so uh it it is
  468. 21:38uh ensured that every access to this
  469. 21:43is access to the fog node is done only
  470. 21:46by uh authorized
  471. 21:49users so so that there is no
  472. 21:54malicious user present and trying to
  473. 21:56attack the node
  474. 21:58okay so that is uh there is a security
  475. 22:01mechanism
  476. 22:03that fog node needs to support uh there
  477. 22:06are different kinds of services that uh
  478. 22:09fog node may provide
  479. 22:13so typically every
  480. 22:16end device may have a different set of
  481. 22:19services that it
  482. 22:20wants for example it may
  483. 22:24for some end devices uh
  484. 22:27it may be to download um
  485. 22:30a set of um you know
  486. 22:35download the map of a particular region
  487. 22:37let's say
  488. 22:38uh you're moving with your mobile
  489. 22:41and you want to download the map of a
  490. 22:44particular region
  491. 22:46in that case the service that it
  492. 22:48requires is this
  493. 22:49downloading of the map so there may be
  494. 22:53different
  495. 22:53kinds of such services may be listing uh
  496. 22:56the
  497. 22:57uh listing the set of restaurants in a
  498. 23:01place
  499. 23:03so if if a person wants a
  500. 23:07person carrying a mobile device wants
  501. 23:09that
  502. 23:10kind of service uh it can uh
  503. 23:14you know request that service from a fog
  504. 23:17node
  505. 23:17and the fog node uh
  506. 23:20if if it has that uh service uh
  507. 23:24uh in in the uh in the platform
  508. 23:27then it provides the required
  509. 23:30information back to the
  510. 23:31uh mobile device so then when there are
  511. 23:33different kinds of services
  512. 23:36[Music]
  513. 23:37you need to manage these services
  514. 23:39properly
  515. 23:41and service management is one of the
  516. 23:45functionalities that is part of the
  517. 23:47platform services
  518. 23:50then there is a
  519. 23:51[Music]
  520. 23:53functionality called or a
  521. 23:56block which is called the cloud agent
  522. 23:59uh so typically as i already mentioned
  523. 24:03uh
  524. 24:04a fog node is not some is not a node
  525. 24:06which is
  526. 24:07uh uh sitting uh uh
  527. 24:10you know uh isolated from the rest of
  528. 24:13the
  529. 24:14infrastructure right so uh the cloud is
  530. 24:17as
  531. 24:17and and as i already mentioned cloud is
  532. 24:20still a part of the
  533. 24:21uh whole hierarchy uh so
  534. 24:25uh there is some communication that
  535. 24:27needs to happen with the cloud
  536. 24:30and uh this uh thing uh
  537. 24:33is initiated by the cloud agent so if
  538. 24:35anything
  539. 24:36uh if if there is any uh communication
  540. 24:40that needs to be done uh with the cloud
  541. 24:44that that happens uh that that
  542. 24:46particular
  543. 24:47communication is initiated by the cloud
  544. 24:49agent
  545. 24:51uh of then uh there are some location
  546. 24:54services
  547. 24:55so uh one of them as i mentioned is the
  548. 24:59is the part where let's say you're going
  549. 25:03to a place and you want to know
  550. 25:05uh what are the uh
  551. 25:07[Music]
  552. 25:09uh one one example i mentioned is what
  553. 25:11are the restaurants that are there in
  554. 25:12that place so that is a location based
  555. 25:14service
  556. 25:15uh there can be various such other
  557. 25:18things like what if you want to look at
  558. 25:20a particular kind of
  559. 25:21uh
  560. 25:23[Music]
  561. 25:25garment shop in a particular region so
  562. 25:27some some similar kind of
  563. 25:28uh location-based service uh if you
  564. 25:33uh want uh uh you know location-based
  565. 25:36services like this
  566. 25:37that that's also something that is part
  567. 25:40of the platform services
  568. 25:44one important thing that i would like to
  569. 25:48point out here is there is
  570. 25:50something called as the offloading
  571. 25:52management and this is a very crucial
  572. 25:55feature within uh crucial functionality
  573. 25:59that a frog node
  574. 26:01needs to have uh this is what
  575. 26:04act this this is what that decides
  576. 26:07um how the how a particular
  577. 26:12uh functionality or a service needs to
  578. 26:15be
  579. 26:16executed for an end device so for
  580. 26:18example
  581. 26:19let's say i uh want to execute
  582. 26:23a function
  583. 26:27let me just call it a function x i just
  584. 26:29want to execute a function
  585. 26:31x now
  586. 26:36there are uh there is a way where i
  587. 26:38could execute the entire function
  588. 26:40x on my end device itself uh
  589. 26:43or if the end device is not capable
  590. 26:45enough to do that then i could send that
  591. 26:47function to the fog node here
  592. 26:51yeah so the fog platform here uh could
  593. 26:54uh allocate resources so before uh i get
  594. 26:57into that you can see here that there
  595. 26:59are these
  596. 26:59different uh vms right the virtual
  597. 27:02machines
  598. 27:03so uh even in fog nodes
  599. 27:06you would have different vms
  600. 27:10and basically apps can
  601. 27:14be given resources
  602. 27:17on these vms and they can execute there
  603. 27:21now so if if there is a
  604. 27:24service that our function that needs to
  605. 27:27be executed
  606. 27:29on the fog node there will be some
  607. 27:31resources allocated here and they will
  608. 27:33execute it now it could so happen that
  609. 27:36the
  610. 27:38because of the resource constraints on
  611. 27:40the fog node
  612. 27:43it might not be possible to entirely
  613. 27:46execute them on the fog node so in that
  614. 27:49case
  615. 27:50uh there needs to be a way to
  616. 27:53offload a part of this uh functionality
  617. 27:57to the cloud uh and and
  618. 28:00you you could execute a part of it on
  619. 28:02the
  620. 28:03fog node but uh some some other part
  621. 28:07which
  622. 28:08uh even if so there could be several
  623. 28:10parts in a
  624. 28:12function where some of it may be
  625. 28:15critical to
  626. 28:16uh you know so that the data is
  627. 28:19available
  628. 28:20uh soon but some part of it may be for a
  629. 28:23longer term
  630. 28:24and therefore you don't need to get the
  631. 28:27results
  632. 28:27as soon as you want as soon as
  633. 28:30the first part requires so so in that
  634. 28:33case then
  635. 28:34uh there there needs to be some
  636. 28:36management done where
  637. 28:38some part of it is kept here and some
  638. 28:40part of it is sent to the cloud and that
  639. 28:42is what
  640. 28:42the offloading management does uh
  641. 28:45so this is something very crucial uh in
  642. 28:48a fog complete
  643. 28:50computing platform because uh you are
  644. 28:53not entirely uh discarding the cloud you
  645. 28:56are you're still using the cloud
  646. 28:58for some very
  647. 29:01special purposes so um
  648. 29:05and then and then you typically have a
  649. 29:08communication service where
  650. 29:11which which allows you to send data
  651. 29:14or communicate data with
  652. 29:17various kinds of devices it could be a
  653. 29:20sensor node
  654. 29:21or it could be some device which is
  655. 29:25which itself has some hardware and
  656. 29:28os and applications running on top of it
  657. 29:32like the laptop and
  658. 29:35the mobile device and so on so it could
  659. 29:39be
  660. 29:39communicating with various kinds of
  661. 29:41devices and this communication service
  662. 29:43is
  663. 29:45handling that and there are certain
  664. 29:48set of apis which are available
  665. 29:51which access the underlying layers
  666. 29:56so you some of the functionalities that
  667. 30:00are
  668. 30:01there in the underlying layer are things
  669. 30:04like load balancing
  670. 30:06virtual machine scheduling network
  671. 30:08management system monitor
  672. 30:10uh so what uh um so if if you want
  673. 30:13so there are multiple uh uh things
  674. 30:17multiple functionalities that are
  675. 30:18executing on the upper
  676. 30:20layers here if you want to
  677. 30:25balance the load
  678. 30:29across you know multiple set of nodes
  679. 30:32or vms that are there so there needs to
  680. 30:35be some
  681. 30:36load balancing algorithm that's there
  682. 30:39and that will
  683. 30:41take care that it's not the the
  684. 30:43functionalities are not
  685. 30:46you know mapped to a specific set of
  686. 30:49resources that are there
  687. 30:50so uh also there
  688. 30:54there are no various
  689. 30:57virtual machine scheduling algorithms
  690. 30:59that are
  691. 31:00available which can also be used based
  692. 31:04on what kind of
  693. 31:07output requirements you have
  694. 31:11of course the network needs to be there
  695. 31:14is some network management that needs to
  696. 31:16be done
  697. 31:17and your system needs to be monitored
  698. 31:20uh to see if uh
  699. 31:23if if the resources are
  700. 31:27being if there are resources that are
  701. 31:30not being utilized
  702. 31:32uh efficiently or uh are there some
  703. 31:35resources which are being utilized more
  704. 31:38than what uh it what it should
  705. 31:41so uh there are there are various kinds
  706. 31:44of things that
  707. 31:45[Music]
  708. 31:46functionalities that are built into this
  709. 31:48and
  710. 31:50that that is running quite
  711. 31:53you know very very close to the hardware
  712. 31:55layer above the virtualization layer
  713. 31:59so a fog computing platform uh typically
  714. 32:02looks like this and
  715. 32:04you have these different layers and
  716. 32:07within these layers you have these
  717. 32:08uh functionalities that
  718. 32:12for computing no doubt to uh provide
  719. 32:16um so apart from that
  720. 32:19uh i think uh this this
  721. 32:23picture is kind of self-explanatory so
  722. 32:26uh
  723. 32:28it's it it's just showing you the
  724. 32:29hierarchy where there are these
  725. 32:31end nodes uh available uh and they are
  726. 32:35communicating to the
  727. 32:36fog node and via the fog node uh to the
  728. 32:40cloud node uh based on whatever
  729. 32:43is required from the cloud yeah so uh it
  730. 32:46of course it could so also happen that
  731. 32:48uh the
  732. 32:49for the end nodes are directly
  733. 32:51communicating with the cloud node for
  734. 32:53some
  735. 32:54uh specific purposes um
  736. 32:57so that that communication is still
  737. 32:59there uh
  738. 33:00but some of the major uh computation
  739. 33:05uh functionalities are first
  740. 33:08handled by the fog node and then
  741. 33:13some remaining part may be sent to the
  742. 33:15cloud okay or or some
  743. 33:17uh data might be filtered at the fork
  744. 33:19node and then the remaining data may be
  745. 33:21sent to the cloud
  746. 33:22so one of these things would happen
  747. 33:27okay so uh having looked at that
  748. 33:30and before going into the different
  749. 33:32models of
  750. 33:33[Music]
  751. 33:35the for different models of edge
  752. 33:38computing
  753. 33:39let us look at an example to see
  754. 33:42uh the potential of edge computing
  755. 33:46and and what better
  756. 33:50example can you have then if you can
  757. 33:53provide
  758. 33:53some efficiency in the healthcare
  759. 33:56industry right
  760. 33:57this is something that is very crucial
  761. 34:01in in various ways and
  762. 34:05it has its age
  763. 34:09uh you know age of the population that
  764. 34:12is
  765. 34:13criteria that needs to be looked at uh
  766. 34:16the emergency
  767. 34:19with which you address the requirements
  768. 34:22of
  769. 34:23a patient that is also one of the
  770. 34:27issues that you need to very carefully
  771. 34:31address so so there are multiple uh
  772. 34:34aspects with the healthcare industry and
  773. 34:37and the applications associated with the
  774. 34:39healthcare industry and
  775. 34:41uh edge computing plays a part in that
  776. 34:44so
  777. 34:45you can see here there are three
  778. 34:47different scenarios that are
  779. 34:48shown um
  780. 34:52so that one of the scenarios that you
  781. 34:56could have
  782. 34:57so i i'll go to the details of these
  783. 35:00scenarios in the subsequent slides but
  784. 35:03to
  785. 35:03just show you there are uh multiple
  786. 35:08uh locations where you can have the
  787. 35:10edges
  788. 35:12and uh it plays its own part yeah so
  789. 35:16you could have a device that is
  790. 35:19sitting at that that you that a patient
  791. 35:21has at home
  792. 35:23which could provide remote monitoring
  793. 35:26and care
  794. 35:28and that device takes uh some crucial
  795. 35:31decisions or
  796. 35:32you know monitors uh uh
  797. 35:35crucial decisions may not be taken uh at
  798. 35:38the device itself
  799. 35:39uh but uh you know it may monitor data
  800. 35:42and
  801. 35:43provide data in time so that the
  802. 35:47healthcare expert can then come back
  803. 35:50with
  804. 35:52what needs to be done so that is one way
  805. 35:55of
  806. 35:56using the edge but still that edge
  807. 35:59device has to
  808. 36:00execute some functionality okay so that
  809. 36:02device sitting in your
  810. 36:04house then there are on premise
  811. 36:08edges which means edges edge nodes which
  812. 36:11are
  813. 36:12in the healthcare promises hospital
  814. 36:16promises
  815. 36:17so it would have so there are multiple
  816. 36:20[Music]
  817. 36:23multiple devices that you see in
  818. 36:25hospitals which
  819. 36:26are used for patient monitoring
  820. 36:30so these are the on premise edge devices
  821. 36:35and then there are devices that you
  822. 36:37could have
  823. 36:38in a connected ambulance so
  824. 36:42that's that's going into the realm of
  825. 36:46an edge device uh which is not static
  826. 36:50right so you are in this case your your
  827. 36:53connected ambulance is moving uh but
  828. 36:56still
  829. 36:57it is something very important we'll see
  830. 36:59why
  831. 37:00okay so uh there are different types of
  832. 37:04edge devices
  833. 37:06of course but uh it also uh is important
  834. 37:10uh
  835. 37:11where that edge device is so the
  836. 37:12location of the edge device is uh
  837. 37:14important uh and based on that uh
  838. 37:19it does uh it does uh some
  839. 37:22uh functionality that
  840. 37:26is suitable to be executed in such
  841. 37:29platforms
  842. 37:32and uh and of course i mean this this uh
  843. 37:37spectrum is just showing you uh the the
  844. 37:41horizontal uh access is just showing you
  845. 37:45uh where the execution is happening
  846. 37:48the workload is being processed so in
  847. 37:51this case it's the end device
  848. 37:53uh in this case it could be the
  849. 37:56enterprise solution that you have
  850. 38:00with or an access point is there where
  851. 38:03you could send the data to the access
  852. 38:06network and then to the cloud probably
  853. 38:11and and here you're basically having the
  854. 38:15mobile node so there is some
  855. 38:18transportation that's
  856. 38:19involved and the mobile node may be
  857. 38:22communicating with
  858. 38:23uh within with another
  859. 38:27fog node or it could be communicating
  860. 38:29with the
  861. 38:30cloud of that cloud where the
  862. 38:34cloud of the particular hospital that
  863. 38:39that then sends data to the uh health
  864. 38:42care experts
  865. 38:43okay so so there there are multiple
  866. 38:46points
  867. 38:47where these edge nodes can be
  868. 38:50deployed uh that's the uh main
  869. 38:54uh aspect or the main carry
  870. 38:57[Music]
  871. 38:58main take away aspect from this slide
  872. 39:01here
  873. 39:06okay so let's look at these things a
  874. 39:07little bit more closely
  875. 39:09um so as i mentioned the connected
  876. 39:12ambulance
  877. 39:13um so one of the things that definitely
  878. 39:17uh is required which
  879. 39:20kind of lacks in the current scenario is
  880. 39:23that
  881. 39:24your ambulance is not equipped with
  882. 39:28um with the capability of
  883. 39:32monitoring the patient and at the same
  884. 39:34time
  885. 39:35sending the crucial vital informations
  886. 39:38or vital statistics of the patient to
  887. 39:41the
  888. 39:42health care expert so
  889. 39:46so as until the ambulance
  890. 39:49is you know reaches the hospital
  891. 39:52premises
  892. 39:53the health care experts are not aware of
  893. 39:56what is
  894. 39:57the patient situation okay so
  895. 40:00so that is one aspect that
  896. 40:04the connected ambulance tries to do
  897. 40:07so it keeps you know it has
  898. 40:12all the monitoring equipment
  899. 40:15there are some diagnostics that are done
  900. 40:18and
  901. 40:20by the time the patient reaches the
  902. 40:22hospital those
  903. 40:25very vital data are already available
  904. 40:29with the
  905. 40:30health care experts and they can be
  906. 40:32ready with what needs to be done
  907. 40:34or they can do an initial uh
  908. 40:38analysis of what the situation is and
  909. 40:42be ready with what needs to be done by
  910. 40:44the time the patient arrives because
  911. 40:46there
  912. 40:47there is this time between taking the
  913. 40:50patient from the
  914. 40:51home to the hospital which is crucial
  915. 40:54time uh
  916. 40:55often and so there if things can be done
  917. 40:58better uh during that time that that
  918. 41:00always is
  919. 41:02going to improve the chances of
  920. 41:06saving the patient so that is one thing
  921. 41:10but one of the things that we already
  922. 41:14saw what edge computing provides is low
  923. 41:16latency right so
  924. 41:17here we we do want things to happen uh
  925. 41:20we do want things to be processed fast
  926. 41:23and sent
  927. 41:24right so low latency uh in this case we
  928. 41:28also want mobility support
  929. 41:29right so we the node is not static at
  930. 41:32one place
  931. 41:33it is moving around in the environment
  932. 41:35so
  933. 41:36when it is moving around in the
  934. 41:38environment whatever services it needs
  935. 41:40should still be available to it
  936. 41:44the movement should not be a factor that
  937. 41:48causes the availability of service not
  938. 41:52to
  939. 41:53uh happen yeah so so mobility support is
  940. 41:56one thing that
  941. 41:58is crucial here and
  942. 42:01uh the uh some some initial
  943. 42:04processing or some uh monitoring and
  944. 42:07processing that's done
  945. 42:09um should be another the
  946. 42:12[Music]
  947. 42:14the ambulance connected ambulance should
  948. 42:16be able uh
  949. 42:17to do that with sufficient uh
  950. 42:20resources may not be too much resources
  951. 42:22but some
  952. 42:24some amount of resources to do that
  953. 42:26initial
  954. 42:27uh processing okay and
  955. 42:30then you can send the data
  956. 42:34over the network and
  957. 42:37that can help the health experts to
  958. 42:41to make their diagnosis and be ready
  959. 42:44with the treatment as soon as the
  960. 42:45patient arrives
  961. 42:48so uh it could also be that
  962. 42:51you want to do some live streaming of
  963. 42:54processed patient data so that's that's
  964. 42:57something that
  965. 42:58also uh this could enable
  966. 43:01um and and as i said the analysis part
  967. 43:05uh is is made more
  968. 43:09effective by doing this uh
  969. 43:13and and you could you could have at the
  970. 43:15edge
  971. 43:16itself some real-time diagnosis
  972. 43:19and uh some some diagnostic tools can be
  973. 43:24used to uh understand the situation of
  974. 43:27the patient so
  975. 43:28so all these kinds of possibilities are
  976. 43:31there
  977. 43:32uh and this is there within the realm of
  978. 43:35a mobile node
  979. 43:36uh which is traveling in the environment
  980. 43:38so so that's that's a moving edge
  981. 43:41node uh so to say uh
  982. 43:45of course after the patient comes in the
  983. 43:47hospital
  984. 43:49the the patient is monitored
  985. 43:52continuously
  986. 43:54and the monitoring devices now are
  987. 43:59so some you can see that in some
  988. 44:03situations these devices are standalone
  989. 44:06they are not connected uh
  990. 44:08or uh or these are connected
  991. 44:11uh and they are the data that is the
  992. 44:14large amount of data that's
  993. 44:15collected um
  994. 44:18i mean is either processed uh and then
  995. 44:23sent to a third party cloud or or you
  996. 44:26send the unprocessed data entirely the
  997. 44:28raw data to the third party cloud yeah
  998. 44:31so this is for a long term uh purpose
  999. 44:34right your monitoring this data and
  1000. 44:36you're keeping a record of this data so
  1001. 44:38this is a long term uh
  1002. 44:40reason why you want this kind of data
  1003. 44:43but
  1004. 44:44one of the concerns here is that you
  1005. 44:47you don't want the
  1006. 44:50data to be available with um
  1007. 44:54with with parties who want to utilize
  1008. 44:58such health related data
  1009. 45:00so some some security issues are there
  1010. 45:04and some privacy concerns are also there
  1011. 45:06so that needs to be handled and if you
  1012. 45:10uh the the best way of handling that is
  1013. 45:13if you have a private cloud
  1014. 45:14uh on the hospital premise
  1015. 45:19so there could be an on premise
  1016. 45:22edge in the hospital that
  1017. 45:25locally maintains the data therefore you
  1018. 45:28know providing for
  1019. 45:30privacy and whatever compliance
  1020. 45:33is necessary and
  1021. 45:39the of course the other thing is that
  1022. 45:41this kind of connected
  1023. 45:43set up in an in hospital
  1024. 45:47platform in in inside hospital will make
  1025. 45:50it easier
  1026. 45:51for the clinicians and their
  1027. 45:55productivity also increases because now
  1028. 45:58uh
  1029. 45:59data is available
  1030. 46:02for them to go through quickly right so
  1031. 46:04that is
  1032. 46:06that is definitely one case of edge
  1033. 46:10devices processing and
  1034. 46:14providing the required information and
  1035. 46:17finally we have this other extreme where
  1036. 46:21you are looking at a remote monitoring
  1037. 46:23and care
  1038. 46:24situation uh so you the elderly
  1039. 46:27population
  1040. 46:29um uh you know they they are or even
  1041. 46:33uh uh some uh population which is uh
  1042. 46:37uh who can have
  1043. 46:40uh some uh you know emergency situations
  1044. 46:44if they want to be monitored uh closely
  1045. 46:48uh then then this kind of remote
  1046. 46:51patient monitoring based on
  1047. 46:54edge devices could be a very good uh
  1048. 46:58solution because uh because then
  1049. 47:01uh the the healthcare workers can be
  1050. 47:05getting constant updates on what is the
  1051. 47:07situation of the patient
  1052. 47:09[Music]
  1053. 47:11of course i mean this these are again
  1054. 47:14there are again privacy issues if you
  1055. 47:16run these
  1056. 47:17applications in the cloud and therefore
  1057. 47:20it makes sense to
  1058. 47:21run them on edge devices so
  1059. 47:25sensitive data is protected
  1060. 47:28by doing this there is there could be
  1061. 47:31some
  1062. 47:31initial very minimal processing also to
  1063. 47:35be done to generate
  1064. 47:36some alarm signals uh based on the
  1065. 47:40conditions of the patient uh and uh
  1066. 47:43that could be uh low uh it it
  1067. 47:46typically needs to be a low latency one
  1068. 47:49if it's a really
  1069. 47:50serious alarm condition
  1070. 47:53and and there again the edge helps
  1071. 47:57and the of course the amount of data
  1072. 48:00that
  1073. 48:00needs to be sent based on the
  1074. 48:04kind of monitoring that is done uh could
  1075. 48:07also strain
  1076. 48:09uh and lead to a higher cost strain the
  1077. 48:12bandwidth and lead to higher cost which
  1078. 48:14can be
  1079. 48:14avoided uh by uh using the edge device
  1080. 48:18yeah so
  1081. 48:19so you can see the uh different uh
  1082. 48:23places and locations where edge device
  1083. 48:27plays an important role and and at
  1084. 48:30and at each place it's it's a
  1085. 48:33it's a different uh
  1086. 48:37role that it plays so so there is some
  1087. 48:39initial care that it plays
  1088. 48:41when it it gives when it's doing the
  1089. 48:44remote
  1090. 48:44monitoring then there is some
  1091. 48:47intermediate
  1092. 48:48care that it take it provides when it's
  1093. 48:52in the
  1094. 48:54ambulance situation and and then
  1095. 48:57there is this final place
  1096. 49:00inside the hospital where you are
  1097. 49:02constantly monitored and
  1098. 49:05taken care of right so that so there are
  1099. 49:08there are these various locations where
  1100. 49:09it
  1101. 49:10comes to use uh so having looked at that
  1102. 49:14application that kind of gives a
  1103. 49:18a really good view into
  1104. 49:21what fog computing is
  1105. 49:25or what edge computing is but what the
  1106. 49:27various
  1107. 49:28models could look like so um
  1108. 49:31for computing uh this this
  1109. 49:34uh terminology uh a fog came into
  1110. 49:38existence
  1111. 49:39um you know
  1112. 49:43it's it's it's kind of a metaphor
  1113. 49:45because uh
  1114. 49:46you see uh that uh the there is this
  1115. 49:49cloud-like
  1116. 49:50fog that is uh very close to the ground
  1117. 49:54right so uh basically that's
  1118. 49:58close to the uh ground is
  1119. 50:01kind of a similarity that you have
  1120. 50:05for node which is close to the end
  1121. 50:08device
  1122. 50:08or which is at the edge of the network
  1123. 50:10so that's why this
  1124. 50:12fog computing terminology came about

About this transcript

This page contains the full transcript of Cloud, edge and fog computing for IoT: Part II by NPTEL - Special Lecture Series, generated from the public captions YouTube serves with the video. The transcript has 6,016 words across 1,124 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.