Главная » Просмотр файлов » Smartphone Operating System

Smartphone Operating System (779883), страница 49

Файл №779883 Smartphone Operating System (Symbian Books) 49 страницаSmartphone Operating System (779883) страница 492018-01-10СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 49)

As we described in Chapter 6, sockets were inventedby the designers of Berkeley Unix as ‘endpoints for communication’. As an2There are systems that can prevent a stateful crash from losing data. Fault-tolerantsystems implement continuous update and refreshing of file systems.226NETWORKSendpoint, a socket is not very useful. When connected to another socketon another computer, the pair becomes a communication channel thatuses a protocol to transfer data. Sockets are two ends of a conversationand the socket protocol is the translator.The beauty of the socket model is in its abstractness and its translationabilities.

The abstractness of the model can be seen in how it is used:each side simply writes data to and reads data from a socket as if itwere any other local I/O device. The socket may implement translationof data, without each side knowing. The translation is implemented bythe operating system and occurs as the data is transferred between theendpoints.The socket, then, provides an abstract extension to I/O by implementing a generic I/O device.

Specific implementations demonstratethis. A network socket, for example, is used for many different protocols. One can open a TCP layer socket that exchanges data with aweb server or a UDP socket that communicates with an NTP server.Both TCP and UDP layers are handled automatically and the network properties are preserved in the implementation. Bluetooth socketswork in the same way; Bluetooth sockets can implement connectionsthat look like serial cable connections or some generic data transferconnection.10.3Connectivity in Symbian OSLike many other general-purpose operating systems, Symbian OS embraces networks and allows implementations that use networking toexpand its core functionality.

Symbian OS supports many kinds ofcommunication. Since it is a smartphone operating system, it naturallysupports telephony. It also supports many other communication technologies, including Bluetooth, wireless networking, Ethernet, infrared,and messaging protocols. In addition, it allows for the implementation ofnew technologies that might be added in the future.Distributed computing is supported by Symbian OS in the sense thatthe operating system supports general user applications. There is no realdistributed computing built into Symbian OS, but the operating system canexecute any type of general application, including those that implementclustering or other forms of distribution. In fact, Beowulf clusters havebeen implemented using Symbian OS phones using Ethernet protocolsover GPRS networks.EXERCISES227Symbian OS does not specifically support shared memory models andis unlikely to do so any time soon.

Symbian OS is targeted to smartphoneswhich are designed to work in isolation.When it comes to file systems, Symbian OS has some unique featuresthat allow the expansion of file-system implementation. The file serverthat Symbian OS implements to protect file resources utilizes a plugin architecture to recognize file systems. Since Symbian OS has a widevariety of communications choices, implementing a distributed file systemis a matter of writing the proper plug-in for the file server and allowingSymbian OS to recognize it.

Many experiments have been performed onfile systems for Symbian OS; NFS is among the implementations that havebeen used for the operating system.Symbian OS has a rich set of implementations for network-based I/O.One of its basic communication structures is the socket, which is implemented for each of the communication possibilities it supports. Throughthe use of sockets, Symbian OS supports many protocols, includingTCP/IP, Bluetooth, WAP, HTTP and many others.10.4SummaryThis chapter has discussed the ways that network communication canbe used to extend the functionality of operating systems. We introducedthe facilities important to a closed computer system and discussed hownetworking could extend a closed system.

Specifically, we discussed fourareas of extension: CPU processing, memory sharing, file service, andI/O. We concluded the chapter by briefly looking at the extensions thatnetworks can provide to Symbian OS.Exercises1.List at least five different aspects of operating systems that accessnetworks.

Include the functionality of the operating system featurethat is extended by network access.2.Consider the network topologies in Figure 10.1. Which topologieswould you judge to be the most reliable? Justify your statements.3.List at least three different communication media that computersaround you use. For each one, consider how it fulfils the criteria228NETWORKSfrom Section 10.2 (connections, installation, communication costand availability).4.For each communication medium listed in exercise 3, characterizethe connection strength between the nodes on the network.5.Give examples of each of the distributed-system models.6.Can handheld computers or smartphones be considered ‘storagefree’? While most do not have hard disk drives, most use storage.

Dothey use network storage as well? Find examples of some that do.7.Why is caching such an important aspect of distributed file systems?11Modeling CommunicationsThe game of ‘telephone’ (sometimes called ‘Chinese Whispers’) is aninteresting children’s game. This game is played by telling a child asentence and allowing that child to tell the sentence to another child,who tells it to another child, and so forth. After a number of messagetransfers, the final message is revealed.

This final message is almost alwaysan unrecognizable version of the first message.In Chapter 9, we took a generic look at I/O modeling and implementations in operating systems. In this book, we are considering smartphoneoperating systems and therefore we should focus the generic discussion ofI/O on communications. This chapter considers generic communicationsmodels and specific implementations in various operating systems.The model of communications resembles the ‘telephone’ game. Apopular, effective way to model communications streams is to break thecommunications implementation into stages where each stage implements a specific kind of functionality.

As a message passes through thesestages, various levels of functionality are added until the final messagebears only a small resemblance to the original. However, in this case,this is a good thing. It allows the message to be passed correctly fromcomputer to computer. We examine how this happens in this chapter.We should point out that communications are not solely the property of smartphones and operating systems such as Symbian OS. Linuxhas been used to implement communications facilities; wired networkcommunications saw its beginning on Unix and Linux platforms.

Allmodern operating systems today implement some kind of model for the230MODELING COMMUNICATIONScommunications they support – from serial communications to Bluetoothto wireless networking.We begin with an overview of general communications models – fromthe general-purpose operating systems model to more focused modelsused in handheld platforms. Then we look specifically at the communications model used in Symbian OS. We expand on this and finish thechapter by showing how the Symbian OS model works on other computerplatforms.11.1Communications ModelsIn order to discuss how operating systems approach communications, weneed to apply the I/O concepts from Chapter 9 to communications.

Oncewe understand how general I/O fits with communications, we can thenexamine how communications is tailored to various needs.It is important to keep in mind the obvious point that communications involves more than one computer. While we can look at the processmodel of running programs on a computer as a contained environment ona single computer, developing a communications model means addressing how multiple computers interact. This complicates things becausewe cannot accurately predict how all components of communicationswork together.

This is especially true when dealing with computers ina heterogeneous environment. For example, Symbian OS might have aprecise model for getting web pages, but it will fail if a Windows-basedserver sends pages in a way that Symbian OS is not expecting. This meansthat models must expect errors and prepare for flexibility. It also meansthat models must embrace standards; adhering to standards is the bestway to work with other devices.General Communications ConceptsA general communications model, one that addresses all facets of communications, is an expression of design goals and criteria.• A communications model must support all communications applications of which the computer is capable.

Характеристики

Тип файла
PDF-файл
Размер
1,2 Mb
Материал
Тип материала
Высшее учебное заведение

Список файлов книги

Свежие статьи
Популярно сейчас
Как Вы думаете, сколько людей до Вас делали точно такое же задание? 99% студентов выполняют точно такие же задания, как и их предшественники год назад. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6367
Авторов
на СтудИзбе
310
Средний доход
с одного платного файла
Обучение Подробнее