← 總目錄 / Contents

Chapter 01 · Overview

流動運算概覽|English + 中文

根據第 01 章講義整理;英文概念後附中文解說。 / Based on lecture 01; English explanations are paired with Chinese.

重點筆記 / Core concepts

Mobile vs wireless

Mobile computing permits location change during computing; wireless describes the transmission medium. A laptop moving with offline data is mobile but not connected; a fixed Wi-Fi camera is wireless but stationary.

流動運算容許運算時改變位置;無線只描述傳輸媒介。離線移動的手提電腦屬流動但沒有連線;固定 Wi-Fi 攝影機則屬無線但不移動。

Challenges and design

Variable bandwidth, disconnection, battery limits, heterogeneous devices, changing context and security require adaptation. Cache for temporary disconnection, compress content for slow links and use context only with appropriate privacy protection.

頻寬波動、斷線、電池限制、裝置異質性、環境變化及安全均需要調整。可使用快取應付暫時斷線、壓縮內容適應慢速網絡,並適當保護情境資料私隱。

Computing models

Client-server centralizes services and simplifies control but depends on servers and connectivity. Mobile P2P allows peers to share resources directly and avoids a single service bottleneck, but discovery, trust and availability are harder. A mobile agent moves code/state to execute remotely; consider safety and execution overhead.

客戶端—伺服器模式集中服務,易於管理,但依賴伺服器及連線。流動 P2P 讓節點直接共享資源,減少單一服務瓶頸,但搜尋、信任及可用性較難處理。流動代理把程式/狀態移至遠端執行,要考慮安全與執行開銷。

Application context

Location, speed, available network and battery level can adapt a service, such as prefetching a map before a tunnel. Pervasive computing embeds computing into everyday environments; mobile computing focuses on operation while entities move.

位置、速度、網絡及電量可用來調整服務,例如進入隧道前預先下載地圖。普及運算把運算嵌入日常環境;流動運算則著重移動期間的運作。

1.1 Evolution and ecosystem · Slides 3–17

Computing moved from centralized mainframes to personal, networked and mobile devices. A mobile ecosystem combines the device, operating system, radio access, applications, cloud or edge infrastructure and users. Mobility is a system property: even if a device can move, useful service also requires discovery, authentication and adaptation when its network changes.

運算模式由集中式大型電腦,發展到個人電腦、網絡運算及流動裝置。流動生態系統結合裝置、作業系統、無線接入、應用程式、雲端或邊緣設施及用戶。流動性是整個系統的性質:裝置即使可以移動,網絡改變時仍需要發現、認證和服務調整。

1.2 Mobility vs portability · Slides 3–7

Portability means a device can be carried; mobility includes operating while its location or attachment changes. Nomadic use may disconnect and reconnect between sessions, whereas continuous mobility aims to preserve service during movement. Distinguish device mobility from user mobility: a person can switch devices and still want the same service.

可攜帶性指裝置可以被帶走;流動性還包括位置或連接點改變時繼續運作。遊牧式使用可能在不同工作階段之間斷線及重新連線;連續流動則希望移動期間維持服務。也要區分裝置流動與用戶流動:同一用戶轉用其他裝置時仍可能需要原有服務。

1.3 Context and applications · Slides 19–23

Mobile applications exploit location, time, movement and surrounding environment. Examples include transport navigation, nearby services, emergency response and logistics tracking. Context can improve relevance but may be inaccurate or sensitive; a design should handle missing readings and ask for only the access it needs.

流動應用可利用位置、時間、移動狀態及周邊環境,例如交通導航、附近服務、緊急救援及物流追蹤。情境資訊可提升相關性,但可能不準確或涉及私隱;設計應處理資料缺失,並只索取所需權限。

1.4 Wireless channel constraints · Slides 25–30

Wireless links share a medium, fluctuate with distance, interference, obstacles and movement, and can disconnect. Bandwidth and delay are less predictable than on a stable wired link. Adaptation examples include buffering media, reducing image quality and retrying an operation safely; a retry must consider whether repeating the operation can cause a duplicate transaction.

無線鏈路共享媒介,品質隨距離、干擾、障礙物及移動改變,也可能斷線。頻寬及延遲通常比穩定有線鏈路難以預測。可採用媒體緩衝、降低圖片品質及安全重試;重試時須考慮重複操作會否造成交易重複。

1.5 Device constraints · Slides 31–34

Battery, processor, storage, screen size and input methods constrain a mobile client. Radio use, screen brightness and background processing all consume energy. A suitable design batches transfers, avoids unnecessary background activity and supports small screens; minimizing network use alone does not automatically minimize total energy.

電池、處理器、儲存、螢幕大小及輸入方式均限制流動客戶端。無線電、螢幕亮度及背景處理均消耗能源。合適的設計會合併傳輸、減少不必要的背景活動並適應小螢幕;單純減少網絡使用不一定令總耗電最低。

1.6 Mobility and service adaptation · Slides 35–40

When a device changes access points or networks, its IP address, available services and link quality may change. Location management finds the device; handoff management maintains an ongoing session; adaptation changes how content or computation is delivered. These solve related but different problems.

裝置轉換存取點或網絡時,IP 地址、可用服務和鏈路品質均可能改變。位置管理負責尋找裝置;切換管理維持進行中的連線;服務調整則改變內容或運算的交付方式。三者相關,但解決不同問題。

1.7 Mobile client-server and peer-to-peer · Slides 50–60

Client-server separates a requester from a server that manages resources. P2P nodes can both request and supply resources: direct local exchange may reduce central load and work without an always-reachable central data server. However, peers move, leave and have unequal battery and trustworthiness, making discovery, consistency and protection harder.

客戶端—伺服器把請求方與管理資源的伺服器分開。P2P 節點既可請求亦可提供資源:本地直接交換可減少中央負載,而且不一定需要持續連到中央資料伺服器。但節點可能移動、離線,電量和可信程度亦不同,令發現、一致性及保護更困難。

1.8 Mobile agent model · Slides 54–60

A mobile agent is code together with execution state that moves to another host and continues work there. It may reduce repeated communication over a weak link by processing near the data, but the receiving host must be protected from the agent and the agent may need protection from a malicious host. Migration, compatibility and trust introduce overhead.

流動代理是可連同執行狀態移到另一主機並繼續工作的程式。它可在資料附近處理,減少透過弱鏈路反覆通訊;但接收主機要防範代理,代理亦可能需要防範惡意主機。遷移、相容性及信任均帶來開銷。

逐頁講義原文 / Slide-by-slide source text

以下為講義英文文字的自動提取,讓你逐頁核對上方中英筆記及搜尋細節;它不是逐頁中文翻譯。圖表、公式排版及部分旋轉文字可能缺失,請以原 PDF 為準。
Automatically extracted English lecture text for checking the bilingual explanations. Figures, formula layout and some rotated text may be missing; consult the original PDF.
講義第 1 頁 / Lecture slide 1
                                                Overview of
                                  Mobile Computing
講義第 2 頁 / Lecture slide 2
Outline
     What is mobile computing?
     Mobile computing applications
     Challenges in mobile computing
     Topics in mobile computing
講義第 3 頁 / Lecture slide 3
What Is Mobile Computing?
    What is computing?
         Operation of computers
    What is mobile?
         Location changes - someone/something that can move or
         be moved easily from one place to another place
    Mobile computing = mobile + computing
         Operations of computers are moved from one
         place to another place
         Another wave in computing   evolution
講義第 4 頁 / Lecture slide 4
What Is Mobile Computing?
     Core entities and computing modes
        Mobile Entities                                           Computing Modes
           Mobile terminal                                          Offline mode (small office)
        Physical movement of processing                           Taking services to operate locally at
        hardware and devices.                                     fixed places.
           Mobile user                                              Online mode (home office)
        Movement of users across                                  Maintaining remote access across
        environments while maintaining                            different places.
        identity.                                                    Moving mode (mobile office)
           Mobile code                                           Services dynamically follow the user
        Dynamic execution of processes                            as they move and adapt to
        migrating across networks.                                environments.
講義第 5 頁 / Lecture slide 5
Why Does Mobile Computing?
  Global Adoption
        74%        (2026 Q2)                                  90%        (2026 Q2)
        Global Internet Penetration                           Global Smartphone
                                                              Penetration
        58.8%   (2019 Q2)                                      79%      (2017 Q2)
講義第 6 頁 / Lecture slide 6
Why Does Mobile Computing?
    Motivations
         Necessity: Access to information and computing services
         has become an essential requirement in today's world.
              Beyond fixed locations: This need is not confined to specific
              places (such as home or office).
              Dynamic Scenarios: People require seamless access while
              traveling and moving between different locations.
         Increasing demands drive us to access information,
         communicate, and collaborate anytime, anywhere, and
         in any way.
講義第 7 頁 / Lecture slide 7
Why Does Mobile Computing?
    Enabling factors
         Core architecture : Technology now allows mobile users to run
         stand-alone applications locally or access remote ones via wireless
         networks.
         Network readiness: Wireless networks are widely available at
         significantly reduced costs.
         Computing capability: Handheld devices offer increasing
         computing power at lower prices, driving greater popularity.
         Integrated convergence: Communication and computing
         capabilities are seamlessly integrated into a single device.
         Hardware advances:   Advanced sensing and contextual
         technologies (e.g., detecting the location and/or status of a device)
         enable new services and applications (e.g. location-  based services,
         context- aware applications)
講義第 8 頁 / Lecture slide 8
Evolution of Computing Paradigm
  Mainframe            Client/Server              Personal                Internet                Mobile
                                                 Computer                                         Device
       Fixed                 Branch                 Office                 Remote                  Mobile
    Location                                                                Office              Workplace
  Centralized             Distributed              Personal              Networked              Mobile and
   Computing              Computing              Computing               Computing               Pervasive
                                                                                                Computing
       1960s                  1980s                  1990                    1995                  2005
                                                                                                                     202x
講義第 9 頁 / Lecture slide 9
Mobile Computing Ecosystem
     Mobile computing paradigm is built upon distributed
     computing paradigm and is closely related to
     networking, Internet computing, wireless
     networking, cloud computing, edge computing, and
     pervasive computing.
                                           wireless                                                                 9
講義第 10 頁 / Lecture slide 10
Mobile Computing Ecosystem
    Wireless communications/networks play important
    roles in mobile computing
         Mobile computing often uses wireless networks
         as access technologies
         Wireless networks extend networking capacity to                                            mobile
              Cover areas lacking wired  links
              Support device movement and roaming                                                   wireless
    The meaning of mobile is not the same as wireless
         Wireless refers to the communication medium (radio waves, no cables)
         Mobile refers to the device location change (physical movement across
         locations)
講義第 11 頁 / Lecture slide 11
Mobile Computing Ecosystem
     Mobile vs. Wireless
           Four combinations of wireless and mobile features
講義第 12 頁 / Lecture slide 12
Mobile Computing Ecosystem
    Mobile computing has a close relationship with
    distributed computing
         Distributed computing: focus on how to efficiently
         coordinate and utilize computing resources shared by
         multiple hosts over a network
         Mobile computing: extend distributed computing with
         new dimensions of mobility and wireless connection
講義第 13 頁 / Lecture slide 13
Mobile Computing Ecosystem
    Mobile computing is also closely related to Internet
    computing technologies
        Internet computing technologies focus on solving
        practical issues that are related to Internet
             Use client/server paradigm (always -on networking
             connectivity)
             Use the layered protocol stack
        Mobile computing adapts Internet web protocols, but
        optimized for wireless constraints and mobile browsers
             Internet => Mobile Internet
             HTTP protocols => WAP protocols
             XML, HTML => WML, XHTML
講義第 14 頁 / Lecture slide 14
Mobile Computing Ecosystem
    Mobile computing adds new features:
         Limited asymmetric bandwidth and high latency
              Wireless channels are of limited bandwidth and asymmetric.
         Weak connectivity and low reliability
              Disconnection to channels can easily occur (planned or unplanned)
              and can be prolonged.
              Messages may be lost with much higher probability.
         Low processing power and energy
              Battery is expensive and limited.
         Mobility of devices
              Need to track location of devices.
              Invalidation to data upon change of location.
         Low physical security
              Mobile devices are easily lost or stolen.
         High degree of heterogeneity
              Devices are very different in nature.
講義第 15 頁 / Lecture slide 15
Mobile Computing Ecosystem
    Mobile computing empowers cloud/      edge computing models
         Cloud computing is a general computing model that involves delivering
         hosted services over the Internet
              Enable ubiquitous, convenient, on-  demand access to a shared pool of
              configurable computing resources
                   Different types of computing resources, e.g., networks, servers,
                    storage, applications, and services
                   The resources can be rapidly and dynamically provisioned and
                    released with minimal management effort or interaction
              Hide the complexity and details of the underlying infrastructure from users
              and applications
         Edge computing is a distributed computing paradigm that brings
         computing and storage resources closer to the data source
              Improve response times and save bandwidth
         Mobile computing offloads heavy computation and database queries
         from battery-   constrained mobile terminals to edge/cloud nodes.
              Allows on-demand services to be anywhere, always on, any time, any
              place, and closer to the mobile users
講義第 16 頁 / Lecture slide 16
Mobile Computing Ecosystem
      Pervasive computing
           Create a smart environment with ubiquitous, invisible,
           interconnected devices that provide services to the users
           without being noticed
           Improve users’ experience and quality of life without
           requiring them to know the underlying technologies
           Also known as ubiquitous computing
           Key features
                Ubiquity: computing is available everywhere
                Invisibility: technology fades into the background
                Context-awareness: systems adapt to user's situation
                Seamless interaction: natural, intuitive interfaces
                Mobility: users move freely while staying connected
                Embeddedness: computing built into everyday objects
講義第 17 頁 / Lecture slide 17
Mobile Computing Ecosystem
講義第 18 頁 / Lecture slide 18
Outline
     What is mobile computing?
     Mobile computing applications
     Challenges in mobile computing
     Topics in mobile computing
講義第 19 頁 / Lecture slide 19
Today’s Applications
    Enterprise and logistics
         M-business workflows and M-commerce (e.g., AlipayHK, BoC Pay+)
         Mobile inventory control and real-time logistics tracking (e.g.,
         Tradelink WMS, Welcome Smart Logistics)
         Field workforce automation (e.g., DingTalk)
    Consumer services
         Mobile web services (news, email, social networks)
         Location-based applications (Google Maps, Uber, OpenRice)
         M-commerce (m-shopping, m-banking, m-payment, m-clinics)
         Entertainment (movies, music, games)
    Government / public services
         M-healthcare systems (e.g., Health Code)
         Digital transport passes (e.g., MTR Mobile)
         Tourism (e.g., Ctrip, Klook)
         Environmental monitoring (e.g., HK Air Quality)
         Emergency alerts (e.g., myObservatory)
講義第 20 頁 / Lecture slide 20
What’s the Future Picture?
      We observe two trends
            Devices are convergent
            Communications become ubiquitous
講義第 21 頁 / Lecture slide 21
Device Convergences
講義第 22 頁 / Lecture slide 22
Ubiquitous Communications
講義第 23 頁 / Lecture slide 23
What’s the Future Picture?
     We envision that in the future
          People will be able to connect, share, and access
          information instantly, no matter where they are, what
          device they’re using, or what network they’re
          connected to.
     Pervasive computing applications
          Smart life
               Smart home
               Smart building
               Smart transportation
               Etc
          Internet of Things
講義第 24 頁 / Lecture slide 24
Outline
     What is mobile computing?
     Mobile computing applications
     Challenges in mobile computing
     Topics in mobile computing
講義第 25 頁 / Lecture slide 25
Challenges of Mobile Computing
    Where do the challenges come from?
         The challenges come from distinct characteristics
         of mobile and wireless computing
              Wireless communications
              Mobile devices
              Mobility
講義第 26 頁 / Lecture slide 26
Wireless Communications
    Wireless communications do not use wires (cables)
    as the transmission medium for communications,
    but transmit  electromagnetic signals    through ‘the air’
    Transmission medium
         Wired transmission medium (guided)
             Guide signals to propagate along the medium
             e.g., copper twisted pair, copper coaxial cable, optical fiber
         Wireless transmission medium (unguided)
             Provide means of transmission but do not guide the propagation
             directions of signals
             e.g., atmosphere, water
講義第 27 頁 / Lecture slide 27
Challenges
     Wired channel
           Wired channel can be easily engineered
                Too many noises? – use shell to protect against electromagnetic
                noise
                Large signal attenuation? - use repeaters to amplify the signal
                Low error rate - Good quality:  10-6; Optical fiber:  10-11 ~ 10-12
                Data rate too low? - upgrade to coaxial cable or optical fiber
     Wireless channel
           Wireless channel is hardly be engineered
                High background noises
                Signal strength fluctuates significantly
                High error rate – Radio: 10   -2 or worse
                Low data rate
講義第 28 頁 / Lecture slide 28
Challenges
    Wired channel – what if more than one transmitter?
                                                                             Every user accesses
                                                                             the network by
                                                                             means of a
                                                                             dedicated channel
           Switching                                                            New user is
             Center                Dedicated                                    served by a new
                 or                Channel                                      wired-line
            Network                                                             Access capacity is
        Access Point                                                            guaranteed
                                                                              Physical access is
                                                                              protected
講義第 29 頁 / Lecture slide 29
Challenges
     Wireless channel – what happens?
                                                                                 Wireless users access
                                                                                 the network by means
                                                                                 of a shared channel
                                                                                  Access capacity is
                                                                                  inherently limited
        Base
        Station                                                                       High vulnerability
                                                                                      on open channels
講義第 30 頁 / Lecture slide 30
Challenges
    Wireless channel characteristics
          Low and asymmetric bandwidth
          High latency
          High error rate
          Large variation in available bandwidth
               Bandwidth differences with orders of magnitude from open-  space
               wireless to indoor wireless
          Frequent disconnections
               Network failure is common
               User’s movement is frequent
          Shared channel
               Increased security risks
講義第 31 頁 / Lecture slide 31
Mobile Devices
     Mobile devices is another important factor
     for mobile computing
           Mobile phones
           Portable media players (PMPs)
           Personal digital assistants (PDAs)
           Wearable devices
           Tablets
           Laptop computers
講義第 32 頁 / Lecture slide 32
Converged Technologies
    Smart phones: Integrate advanced   computing
    and connectivity abilities
         Provide a platform for app developers
         Use multi-touch input instead of numeric button input
         Connect to the Internet
         Have advanced sensing and computing abilities, e.g.,
         GPS, rich-colour graphics, media player, digital camera,
         microphones, accelerometer
講義第 33 頁 / Lecture slide 33
Mobile Device Features
     Always with the user
     Have Internet access
     Typically GPS enabled
     Typically have accelerometer & compass
     Have new input/output methods (e.g., multi-touch,
     accelerometer, cameras, microphones, speakers)
     Apps are free or low-cost
講義第 34 頁 / Lecture slide 34
Challenges
    Mobile devices are becoming smaller, cheaper, and
    more integrated
         Small screen size
         Small storage capacity
         Limited computation capability
         Limited battery storage
         Diversified input methods
               Soft keyboard, phone keypad, touch screen, voice, camera, etc
         Frequent planned or unplanned disconnections & short
         connection periods
         Large variations in design & usage
         High security risks
               Easily lost, stolen, or exposed to unauthorized access
講義第 35 頁 / Lecture slide 35
Mobility
    Mobile computing applications can work under
    different mobility modes
          Terminal mobility
               A device is continuously accessible to the networks even while it
               moves between different networks
          User mobility
               A mobile user can have a logical identity, irrespective of devices,
               locations, or even connected networks
          Service mobility
               An application service is available to a mobile user while the user
               is moving or changing devices or even network providers
講義第 36 頁 / Lecture slide 36
Challenges
    Physical locations change dynamically
         Mobile users may use their phones at different places
    Logical addresses change  dynamically
         Mobile users may use their laptops to access different
         networks with different IP addresses
    System configurations change frequently
         Mobile users may use smartphones with 5G cellular
         networks when outdoor and with WiFis when indoor
講義第 37 頁 / Lecture slide 37
Challenges
     Mobility management tasks
          Location management: continuously track the physical
          locations of mobile devices/users
                e.g., in a cellular network, how does the network know where
                the intended recipient of a message is currently located?
                                                 Where is 97532468?
                                                                                      Send broadcast
                                                                                      messages from
                                                                                      every base station
講義第 38 頁 / Lecture slide 38
Challenges
   Mobility management tasks
        Handoff management: effectively transfer a mobile device's
        active connection from one physical connection to another
        as the user moves, ensuring the call or data session
        remains active without interruption
             e.g., in a cellular network, how does the network know
             when the handoff is needed? And how to make the
             channel assignment?
講義第 39 頁 / Lecture slide 39
Cope with Challenges
    Need new solutions (to old/new problems) to
    overcome the above    challenges
         To reduce communication and operational costs
         To manage mobility
         To save energy consumption
         To design special interfaces for small devices
         To have new computing paradigms
             asynchronous interactions
             handling of disconnections
             adaptation (may need user’s involvement)
             mobile code and mobile agent
         To enforce wireless security
講義第 40 頁 / Lecture slide 40
Cope with Challenges
    The challenges can be tackled in various system
    components, including
         Mobile devices
         Mobile wireless networks & protocols
         Location tracking techniques
         Mobile computing models, application architectures,
         and software infrastructure
         Protocols, OS, and programming languages
         Application & user requirements, business models
講義第 41 頁 / Lecture slide 41
Outline
     What is mobile computing?
     Mobile computing applications
     Challenges in mobile computing
     Topics in mobile computing
講義第 42 頁 / Lecture slide 42
Topics in Mobile Computing
        Wireless communications
              Modulation techniques,
              Multiplexing techniques,
              Spread spectrum techniques,
              Medium access control (MAC) methods,
              etc.
講義第 43 頁 / Lecture slide 43
Topics in Mobile Computing
    Wireless networks use wireless communications to
    support network systems’ connectivity.
    Wireless networks are classified  in different ways
             Short range vs. long range
             Infrastructure vs. ad hoc
             Heterogeneous
講義第 44 頁 / Lecture slide 44
Wireless Networks
    Short-range wireless   networks
         Short-range wireless networks refer to networks that are
         confined to a limited area.
             Personal area networks (PAN): connect portable computers
             within close proximity to one another.
             Local area networks (LAN): cover corporate buildings, school
             campuses, manufacturing plants, and homes.
         Operate over unlicensed spectrum reserved for industrial,
         scientific, medical usage (ISM)
             No need to obtain a license, and free of charge;
             The most common frequency band is at 2.4 GHz;
             Other bands at 5GHz and 40GHz are also often used.
講義第 45 頁 / Lecture slide 45
Wireless Networks
    Long-range wireless   networks
         Long-       range wireless networks span large areas.
              Wide area network (WAN):  cover a city, a
              state, or even an entire country.
              Satellite network: provide connections across
              the world.
         Typically provided by companies that sell the wireless
         connectivity as a service product.
              Charged either by the minute or by the amount of
              data transferred.
講義第 46 頁 / Lecture slide 46
Wireless Networks
    Infrastructure-based wireless networks
          Mobile computers/devices directly connect to a wired
          network via fixed hubs
          e.g., cellular systems (base station infrastructure)
          e.g., a laptop access internet via WLAN access points
                           MSC            Wired
                                          Network
                                Cellular Network                              Mobiles connect to
                                                                              Access Points
講義第 47 頁 / Lecture slide 47
Wireless Networks
     Ad hoc wireless networks
          No fixed infrastructure, temporarily setting up a peer-to-
          peer network to meet immediate needs
                e.g., rescue, home networking, wireless sensor networks
          Single-hop or multi-hop
                      Single-hop                                                       Multi- hop
講義第 48 頁 / Lecture slide 48
Wireless Networks
     Heterogeneous networks
            Integrated network combining different kinds of
            wireless & wired networks
講義第 49 頁 / Lecture slide 49
Topics in Mobile Computing
        Mobile computing models
             Mobile Client/Server Models
                  Simple C/S model
                  Three-tier proxy model
             Mobile Peer-to-Peer Model
                  Mobile hosts play both the client and server roles
                      Discover peers and resources
                      Send query requests
                      Perform specified tasks for others
             Mobile Agent Model
                  Code can move (with computation, data, and state)
                  Autonomous and asynchronous
講義第 50 頁 / Lecture slide 50
Mobile Computing Models
    Mobile client/server model
                                                                                      client             Server
          Client/Server model for distributed systems
               Each computer is either a client or a server.                              Network
               Client has limited resources and
               sends requests to server.
               Server is a resource-rich computer that can provide services to
               respond to the requests from clients. The results for the requests
               will be sent back to the clients.
               The communication networks provide the connection between
               clients and the server.
               Two clients cannot communicate directly.
          Client/Server model used in mobile environments
               Mobile clients request services from stationary servers located in
               the fixed network
講義第 51 頁 / Lecture slide 51
Mobile Computing Models
    Mobile client/server model
          Standard C/S model does not work well in mobile
          environments
               No continuous network connectivity
                    Remote procedure call (RPC) is not suitable due to disconnection -
                     need to decouple the communication in synchronous RPC.
                    Direct message exchange is not good due to weak connectivity -
                     use indirection with messages queued at the two ends.
               Constrained client ability
                    Mobile client needs to handle disconnection and low communication
                     bandwidth of the network;
                    Resource limitation on mobile client forces client activities to move
                     back to server side;
               Client mobility causes additional problems for the server – when
               and where to transmit a reply back to client
講義第 52 頁 / Lecture slide 52
Mobile Computing Models
    Mobile client/server model
          Standard C/S model needs to carefully reorganize
          activities on both client side and server side
               Extend C/S model to multiple tiers - three-tier proxy approach
                    Place some logic component in a middle tier (proxy)
                    Proxies can perform more processing operations and/or mask out
                     mobile computing limitations
               Conduct further optimizations
                    Data compression, data filtering, data synchronization, data
                     queuing, etc.
               Manage mobile data
                    Data dissemination and broadcast
                    Data caching and invalidation
                    Disconnected operations
講義第 53 頁 / Lecture slide 53
Mobile Computing Models
    Mobile peer-to-peer (P2P) model
         Generalized C/S model - no central server, all nodes
         have dual roles, acting as both server and client
         (resource-   rich nodes are needed)
         Nodes communicate with each other directly
         Node operations are completely decentralized &
         asynchronous
         Server can move and suffer from disconnection
講義第 54 頁 / Lecture slide 54
Mobile Computing Models
     Mobile peer-to-peer model
          Features
                Good computing model for ad hoc networks
                Good architecture for cooperative applications
                Good system scalability
                More flexible network structure: server can also move
          Issues
                Frequent peer discovery and connection establishment
                Protocol is complicated
                Security risks
講義第 55 頁 / Lecture slide 55
Mobile Computing Models
    Mobile agent (MA) model
          A mobile agent is a “process on the move”
               It is dispatched from one host into the network
               It executes at a host for a while, halts execution,
               dispatches itself to another host, and resumes
               execution there - all under its own control
                    logic
                                                         Migrating
                      mobile agent X
                          Host A                                                         Host B
講義第 56 頁 / Lecture slide 56
Mobile Computing Models
     Mobile agent model
          Features
                Mobility
                     Mobile agents can actively travel across the network, carrying partial
                       / intermediate results calculated at the previous host
                     Not just alternative to message passing; can perform additional
                       tasks along its way of traveling
                Autonomy
                     Decides by itself what to do and how, when and where it ought to
                       move
                Asynchrony
                     Mobile agents and users can execute separately at the same time
                       without blocking each other
講義第 57 頁 / Lecture slide 57
Mobile Computing Models
     Mobile agent model
           Advantages
                Reduce remote communication
                     Perform tasks locally: save network bandwidth
                            Intermediate result data is processed locally rather than
                             transferred back and forth over the network
                            Go to the data if the data can’   t come to you
                 Client                                                                         Service
                  Host                            Network                                Server
                    MA model of service providing
                                                                                  Client        Service
                                                                                  Agent
講義第 58 頁 / Lecture slide 58
Mobile Computing Models
     Mobile agent model
          Advantages
                Overcome message passing latency
                     Local, “instant” interaction with the other party
                     Latest up-to-date information
                Be adaptive
                     Support disconnected/intermittent connectivity
                     Support low network bandwidth
                Can move around for the best server
                Be intelligent
                     Agent acts on behalf of client when needed
講義第 59 頁 / Lecture slide 59
Mobile Computing Models
    Mobile agent model
         MA applications - especially good for
              Require long connection time and/or user has bad
              connection/highly mobility
              User can disconnect and do something else while
              mobile agent performing tasks over the network
              E.g., information search, retrieval, filtering, E-
              commerce, network management, etc.
講義第 60 頁 / Lecture slide 60
Mobile Computing Models
     Mobile agent model
          Issues
                Need powerful mobile devices
                     Have to install the mobile agent platform on devices
                Fault tolerance for autonomous operations by mobile
                agents
                Security issue is the main obstacle
講義第 61 頁 / Lecture slide 61
Topic in Mobile Computing
        Mobility management
             Types of mobility management
                  Handoff management
                  Location management
             Mobility management in cellular networks
             Mobility management in Mobile IP
             Location services in MANET
講義第 62 頁 / Lecture slide 62
Topic in Mobile Computing
         Protocols/algorithms for resource-constrained
         mobile environments
              MAC protocols
              Routing protocols
              Clustering
              Synchronization
              Data dissemination
              Data aggregation
講義第 63 頁 / Lecture slide 63
Topic in Mobile Computing
        Location-based services (LBS)
             LBS architecture
             Mobile positioning techniques
                   Cellular phone positioning
                       Network-based vs. handset-based solutions
                   Global Positioning System (GPS)
                   WLAN positioning
                   Other technologies (indoor, road beacon, identity)
             Geographic Information System (GIS)
講義第 64 頁 / Lecture slide 64
Topic in Mobile Computing
         Mobile computing middleware
              Publish/Subscribe middleware
              Support for disconnected operations
              Context-awareness
                   Content transcoding, compressing, filtering
講義第 65 頁 / Lecture slide 65
Topic in Mobile Computing
        Service adaptation
              Adaptability at different levels (OS, network,
              middleware, application)
         Service discovery
         Reliability
         Security
講義第 66 頁 / Lecture slide 66
Related Journal & Conferences
     IEEE Transactions on Communications
     IEEE Transactions on Parallel and      Distributed S   ystems
     IEEE/ACM Transactions on Networking
     IEEE Transactions on Vehicular Technology
     IEEE Transactions on Computers
     Transactions on Mobile Computing
     Mobile Networks & Applications
     IEEE Communications Magazine
     Mobile Computing and Communications Review
     Proceedings of the MOBICOM
     Proceedings of the MOBIHOC
     Proceedings of the INFOCOM
     Proceedings of the GLOBECOM
     Proceedings of the Vehicular Technology Conference
     Proceedings of ICDCS
     …
講義第 67 頁 / Lecture slide 67
Summary
     Concept of mobile computing
     Mobile computing applications
     Challenges in mobile computing
     Topics in mobile computing