1 00:00:00,000 --> 00:00:00,870 2 00:00:00,870 --> 00:00:03,510 It's amazing how stories and analogies can 3 00:00:03,510 --> 00:00:06,010 help us understand concepts. 4 00:00:06,010 --> 00:00:08,980 So as a precursor to the Open System Interconnect model-- 5 00:00:08,980 --> 00:00:10,140 the OSI model-- 6 00:00:10,140 --> 00:00:12,840 I want to talk with you for a few minutes about a story 7 00:00:12,840 --> 00:00:15,180 regarding how two devices, or two entities, 8 00:00:15,180 --> 00:00:17,400 could communicate with each other, 9 00:00:17,400 --> 00:00:20,070 using The Tale of Two Kings. 10 00:00:20,070 --> 00:00:22,110 I'd like you to imagine that King A wants 11 00:00:22,110 --> 00:00:24,720 to invite King B, who lives in a different kingdom, 12 00:00:24,720 --> 00:00:25,500 over to lunch. 13 00:00:25,500 --> 00:00:28,159 Now, do you suppose King A has to go out by himself, 14 00:00:28,159 --> 00:00:29,700 and ride across the countryside to do 15 00:00:29,700 --> 00:00:31,500 the invitation personally? 16 00:00:31,500 --> 00:00:33,000 The answer probably is, no. 17 00:00:33,000 --> 00:00:35,170 He's got a whole bunch of people that work for him. 18 00:00:35,170 --> 00:00:37,740 So in this story, King A is going to call for his scribe. 19 00:00:37,740 --> 00:00:39,920 (IMITATES TRUMPET) "Bring me my scribe!" 20 00:00:39,920 --> 00:00:41,970 And the scribe is an entity that is providing 21 00:00:41,970 --> 00:00:43,220 some service to the King. 22 00:00:43,220 --> 00:00:45,372 In our story, the scribe's going to write down 23 00:00:45,372 --> 00:00:46,830 the words the King speaks, which is 24 00:00:46,830 --> 00:00:50,100 going to include the invitation to King B to come to lunch. 25 00:00:50,100 --> 00:00:52,140 And once the scribe has provided this service 26 00:00:52,140 --> 00:00:53,910 and written this information down, 27 00:00:53,910 --> 00:00:56,400 the scribe is way too high on the pecking order 28 00:00:56,400 --> 00:00:58,539 to have to go out himself to deliver the message. 29 00:00:58,539 --> 00:01:00,330 What the scribe's going to do, the scribe's 30 00:01:00,330 --> 00:01:03,150 going to call on the secret agent in kingdom A-- 31 00:01:03,150 --> 00:01:06,480 Mr. 007 himself-- to go ahead and also provide some 32 00:01:06,480 --> 00:01:07,170 functionality. 33 00:01:07,170 --> 00:01:11,730 For example, 007 may provide encryption, or compression, 34 00:01:11,730 --> 00:01:14,160 or translation of that language, or parts of it, 35 00:01:14,160 --> 00:01:16,290 to make it more compatible with King B. 36 00:01:16,290 --> 00:01:18,770 And once the secret agent 007 has done its work, 37 00:01:18,770 --> 00:01:20,400 it will hand it over to the attorney-- 38 00:01:20,400 --> 00:01:23,310 the lawyer on King A's side, and the lawyer's responsible 39 00:01:23,310 --> 00:01:25,410 for the management and the affairs of King A-- 40 00:01:25,410 --> 00:01:28,980 including communications between King A and other kings. 41 00:01:28,980 --> 00:01:31,170 So assuming the attorney says, OK, yes, I'm 42 00:01:31,170 --> 00:01:33,240 willing to let this message go, the lawyer 43 00:01:33,240 --> 00:01:35,610 gives a stamp of approval, and hands it down 44 00:01:35,610 --> 00:01:37,270 to the middle manager. 45 00:01:37,270 --> 00:01:39,630 Now the middle manager's job is to-- based on the type 46 00:01:39,630 --> 00:01:41,250 of message being sent-- 47 00:01:41,250 --> 00:01:42,990 perhaps send it reliably. 48 00:01:42,990 --> 00:01:45,420 Or if it doesn't have to have a receipt that comes back-- 49 00:01:45,420 --> 00:01:46,590 unreliably. 50 00:01:46,590 --> 00:01:48,870 Or if the message is just too big, 51 00:01:48,870 --> 00:01:51,420 the middle manager may decide to chop up the message, 52 00:01:51,420 --> 00:01:52,710 and then label those messages. 53 00:01:52,710 --> 00:01:55,170 For example, this is part one of three, and two of three, 54 00:01:55,170 --> 00:01:55,962 and three of three. 55 00:01:55,962 --> 00:01:57,878 And when that middle manager has done his job, 56 00:01:57,878 --> 00:01:59,880 it's going to hand that message or messages-- 57 00:01:59,880 --> 00:02:01,260 based on how it chopped them up-- 58 00:02:01,260 --> 00:02:02,465 down to the mailroom. 59 00:02:02,465 --> 00:02:03,840 Now, we might think to ourselves, 60 00:02:03,840 --> 00:02:05,350 hmm, what does the mailroom do? 61 00:02:05,350 --> 00:02:06,412 Well, they handle mail. 62 00:02:06,412 --> 00:02:08,370 It's going to have a couple of addresses on it. 63 00:02:08,370 --> 00:02:09,900 It's going to have an address on the upper left. 64 00:02:09,900 --> 00:02:11,530 For example, that's the From address. 65 00:02:11,530 --> 00:02:14,160 It'd say, from Kingdom A. And it's also very likely 66 00:02:14,160 --> 00:02:15,700 going to have a To address. 67 00:02:15,700 --> 00:02:19,080 For example, to Kingdom B-- to King B specifically at Kingdom 68 00:02:19,080 --> 00:02:19,710 B. 69 00:02:19,710 --> 00:02:22,260 So after the mailroom has the appropriate labels 70 00:02:22,260 --> 00:02:24,900 to the message or messages, the mailroom then hands these over 71 00:02:24,900 --> 00:02:26,130 to the envelope stuffers. 72 00:02:26,130 --> 00:02:27,840 Now, one of the questions might be, 73 00:02:27,840 --> 00:02:29,940 which is the best type of envelope to use? 74 00:02:29,940 --> 00:02:32,340 And that would also depend on what type of carrier 75 00:02:32,340 --> 00:02:33,240 are we going to use. 76 00:02:33,240 --> 00:02:37,200 Are we using FedEx, or UPS, or USPS, or some other delivery 77 00:02:37,200 --> 00:02:37,960 service? 78 00:02:37,960 --> 00:02:39,722 So if we're going to be using FedEx, 79 00:02:39,722 --> 00:02:41,930 it's very likely we're going to use a FedEx envelope. 80 00:02:41,930 --> 00:02:44,190 So the envelope stuffers are placing the messages 81 00:02:44,190 --> 00:02:45,700 into the appropriate envelope. 82 00:02:45,700 --> 00:02:47,700 And then our last step from Kingdom A's side 83 00:02:47,700 --> 00:02:49,710 is the actual FedEx truck that's going 84 00:02:49,710 --> 00:02:52,530 to take our message or messages, and route them 85 00:02:52,530 --> 00:02:54,520 or deliver them to Kingdom B. 86 00:02:54,520 --> 00:02:56,190 Now, when these messages are delivered-- 87 00:02:56,190 --> 00:02:57,870 in our example it's by FedEx-- 88 00:02:57,870 --> 00:03:00,510 the FedEx driver himself or herself doesn't just 89 00:03:00,510 --> 00:03:03,030 run up to King B, hey, here's some stuff for you. 90 00:03:03,030 --> 00:03:03,810 No. 91 00:03:03,810 --> 00:03:07,050 King B has the same complement of individuals and staff 92 00:03:07,050 --> 00:03:11,520 that King A had, including attorneys, and secret agents, 93 00:03:11,520 --> 00:03:14,700 and middle managers, and mail rooms, and envelope stuffers. 94 00:03:14,700 --> 00:03:17,280 So when the delivery happens by FedEx over at Kingdom B 95 00:03:17,280 --> 00:03:20,490 on the right, that information is processed from the bottom 96 00:03:20,490 --> 00:03:23,760 up, starting with the physical delivery of the messages, 97 00:03:23,760 --> 00:03:26,806 and then the envelope stuffers, which are now opening contents 98 00:03:26,806 --> 00:03:29,430 and handing the results over to the mailroom-- which says, yup, 99 00:03:29,430 --> 00:03:31,630 this is our kingdom, it's the right address-- 100 00:03:31,630 --> 00:03:33,790 who then hand the message up to the middle manager 101 00:03:33,790 --> 00:03:35,100 at King B's side. 102 00:03:35,100 --> 00:03:36,837 And the middle manager at King B's side 103 00:03:36,837 --> 00:03:39,420 might be a little bit nervous if it sees, oh my goodness, this 104 00:03:39,420 --> 00:03:40,322 is one of three. 105 00:03:40,322 --> 00:03:42,030 Where's two of three, and three or three? 106 00:03:42,030 --> 00:03:43,530 It might hold on to that information 107 00:03:43,530 --> 00:03:46,530 until it receives part two of three and part three of three, 108 00:03:46,530 --> 00:03:49,170 reassemble all those together in one package, if you will, 109 00:03:49,170 --> 00:03:51,600 and then hand them up to the attorney. 110 00:03:51,600 --> 00:03:54,030 Then the attorney, who manages the sessions and affairs 111 00:03:54,030 --> 00:03:56,250 for King B, can decide whether or not 112 00:03:56,250 --> 00:03:59,160 we want to go ahead and continue processing these and accepting 113 00:03:59,160 --> 00:04:00,400 these messages. 114 00:04:00,400 --> 00:04:03,780 And if so, it hands it over to 007 on King B's side. 115 00:04:03,780 --> 00:04:07,380 So on King A's side, if 007 did features like encryption 116 00:04:07,380 --> 00:04:09,530 and compression on the receiving side, 117 00:04:09,530 --> 00:04:12,840 the 007 function would do things like decryption 118 00:04:12,840 --> 00:04:14,410 and decompression. 119 00:04:14,410 --> 00:04:17,170 And when 007 on the receiving side is done with his work, 120 00:04:17,170 --> 00:04:19,019 he can hand that up to the scribe. 121 00:04:19,019 --> 00:04:21,390 And then the scribe providing this service to King B, 122 00:04:21,390 --> 00:04:23,070 would simply read off the message, 123 00:04:23,070 --> 00:04:25,440 which would say, "King A would like to know 124 00:04:25,440 --> 00:04:27,220 if you'd like to go to lunch." 125 00:04:27,220 --> 00:04:28,890 And if King B replies, we're going 126 00:04:28,890 --> 00:04:31,710 to follow that same logical path from King B, 127 00:04:31,710 --> 00:04:33,600 going all the way down his staff, 128 00:04:33,600 --> 00:04:35,700 having the message delivered by FedEx, 129 00:04:35,700 --> 00:04:38,340 and then be received all the way up on King A's side 130 00:04:38,340 --> 00:04:40,780 until King A gets the reply. 131 00:04:40,780 --> 00:04:43,390 Now, your mission, should you choose to accept it, 132 00:04:43,390 --> 00:04:45,690 is to take this story that we've gone through together, 133 00:04:45,690 --> 00:04:48,030 and I'd like you to share it with somebody-- a friend, 134 00:04:48,030 --> 00:04:50,400 or a colleague, or a coworker, or a loved one. 135 00:04:50,400 --> 00:04:52,740 Because by telling this story, and remembering 136 00:04:52,740 --> 00:04:54,870 each of the staff members in the kingdoms, 137 00:04:54,870 --> 00:04:57,450 that's going to help a boatload as we take a deeper 138 00:04:57,450 --> 00:05:00,150 look into the concept of the OSI reference model, 139 00:05:00,150 --> 00:05:03,690 and how two devices can communicate across the network. 140 00:05:03,690 --> 00:05:05,870 I hope this has been informative for you, 141 00:05:05,870 --> 00:05:09,460 and I'd like to thank you for viewing. 142 00:05:09,460 --> 00:05:10,278