Wireless

1 Introduction

1.1 Elements

1. Wireless Hosts
Wireless does not mean mobility.
2. Base Station
Typically connect to wired network.

1.2 Modes

1. Infrastructure mode

base station connects mobiles into wired network.
Handoff: mobile changes base station

2. ad hoc mode

no base station
nodes orgnize themselves into a network: route among themselves.

2 Characteristics

2.1 Differences from wired link

1. signal strength
2. interference
3. multipath propagation

2.2 SNR versus BER

SNR: signal-to-noise rate
BER: bit error rate
The higher SNR, the lower BER.

2.3 Multiple Access

1. Hidden terminal problem

2. Signal attenuation

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdG9vbWF0b28=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

2.4 CDMA: Code Division Multiple Access

The algorithm is as what I have recapped before

调制(modulation)
(1)先将资料的0转成 -1
A = [1,-1,1], B = [1,1,-1]
优点是在解调时,更可以差别0和1,而使解调错误率下降。
(2-1) A使用Walsh Transform的第一个channel [1,1,1,1,1,1,1,1](即其第一个basis,矩阵的第一个row)来做调制
A_m = [1,1,1,1,1,1,1,1,|-1,-1,-1,-1,-1,-1,-1,-1,|1,1,1,1,1,1,1,1,]。
(2-2) B使用Walsh Transform的第二个channel [1,1,1,1,-1,-1,-1,-1](矩阵的第二个row)来做调制
B_m = [1,1,1,1,-1,-1,-1,-1,|1,1,1,1,-1,-1,-1,-1,|-1,-1,-1,-1,1,1,1,1,]。
(3)将调制的结果相加M = A_m + B_m
M = A_m + B_m = [2,2,2,2,0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,0,0,2,2,2,2]
(4)最后传送出去的信号为M,共同拥有24个bit。
解调(demodulation)
(1)将接收到的资料分别和channel做内积
(1-1) M和 第一个channel [1,1,1,1,1,1,1,1]做内积得到
前八码内积:[2,2,2,2,0,0,0,0] \cdot [1,1,1,1,1,1,1,1] = 8
中间八码内积:[0,0,0,0,-2,-2,-2,-2] \cdot [1,1,1,1,1,1,1,1] = -8
后八码内积:[0,0,0,0,2,2,2,2] \cdot [1,1,1,1,1,1,1,1] = 8
(1-2) M和 第二个channel [1,1,1,1,-1,-1,-1,-1]做内积得到
前八码内积:[2,2,2,2,0,0,0,0] \cdot [1,1,1,1,-1,-1,-1,-1] = 8
中间八码内积:[0,0,0,0,-2,-2,-2,-2] \cdot [1,1,1,1,-1,-1,-1,-1] = 8
后八码内积:[0,0,0,0,2,2,2,2] \cdot [1,1,1,1,-1,-1,-1,-1] = -8
(2)内积结果出来若为8,则解调为1;若为 -8,则解调为 -1
(2-1)第一个channel解调出信号为[8, -8, 8] \to [1, -1, 1]
(2-2)第二个channel解调出信号为[8, 8, -8] \to [1, 1, -1]
(3)最后,将 -1还原回0
(3-1)因此。第一个channel成功还原信号为[1, 0, 1]
(3-2)因此。第二个channel成功还原信号为[1, 1, 0]

3 Wi-Fi: IEEE 802.11 Wireless LAN

There is a family of 802 wireless LAN. They all:

1) use CSMA/CA for multiple access

2) have base-station and ad-hoc network versions

3.1 Architecture

1. Basic Service Set: contains

1) wireless hosts

2) access point: base station

3) ad hoc mode: hosts only

2. Channel

1) divided into 11 channels

2) interference possible: neighboring AP chooses same channel.

3. Association

host must associates to a AP

4. Passive/Active Scanning

1) Passive

beacon -> request -> response

2) Active

request -> reponse -> assocation request -> assocation response

3.2 Multiple Access - Avoid Collisions

1. reasons: why not collision detection

1) signal weak
2) can not sense all collisions: hidden terminal problem


2. Avoiding collisions

1) Idea: allow sender to reverse channel. Sender first send request-to-send(RTS) packets to base station using CSMA. BS broadcast clear-to-send(CTS) in response to RTS.

CTS heard by all nodes.

3.3 Frame

1. Addressing

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdG9vbWF0b28=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

1) Address 1: receiver

2) Address 2: sender

3) Address 3: router

2. In frame control
1) Frame type: RTS, CTS, ACK, data

3.4 Other Characteristics

1. Mobility within same subnet

Self-learning: switch will see frame from H1 and remember which switch can be used to reach H1


2. advanced capabilities

1) Rate adaptation

BER vs. SNR

2) Power management

If there is no msg to be sent to this node. This node will sleep. When the node receive ‘beacon frame’, the node will wake up.

3. Personal area network

ad box mode: master/slave/parked device

3.5 802.16: WiMax

antenna: unlike 802.11, it has a large range

downlink/uplink scheduling

4 Cellular Internet Access

4.1 Architecture

like the other architecture, it is hierarchical and consists a list of base station, users, and links or protocols.
In Cellular Internet: the hierarchical arch is formed by Mobile Switching Center. And Cell denotes the components, BS, users, air-interface(protocols)

1. Hops: two techniques

1) FDMA/TDMA: divide spectrum
2) CDMA: bit dot algorithm(see before)

4.2 Standards

2G, 2.5G, 3G

GSM -> GPRS

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdG9vbWF0b28=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

Mobility

1 Principles: addressing and routing

1.1 Address

First I need to clarify some address definations:

1) mobile:

care-of-address, in visited network known by home network

permanent address, in home network known by correspondent to communicate

2) home:

home agent: function entity for mobile

3) correspondent:

who mobile want to contact with.

1.2 Routing

1. Registration

Mobile moves to a visited network, and connects to home agent telling it some mobility information.
Here are three important components:
1) mobile
2) foreign agent
3) home agent

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdG9vbWF0b28=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

2. Indirect Routing

Mobile requests to connect with correspondent through home agent. Then correspondent transfers pkt to mobile through home agent. Mobile replies directly to correspondent.



Triangle routing Problem
On-going connection can be maintains 

3. Direct Routing

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvdG9vbWF0b28=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

Correspondent need to get care-of-address when mobile moves to another visited network.
Some Improvement
Accommdation mobility with direct routing
when mobile moves, new FA gets pkt from old FA(Chaining)


2 Mobile IP

2.1 Indirect routing

In indirect or direct routing network, frame should be encapsulated into addresses.

Such as indirect routing network:

1) correspondent: mobile permanent address

2) home agent: add care-of-address(the address of foreign agent address) to find visited network

3) foreign agent: dissolve to a permanent address.

2.2 Agent discovery

agent advertisement: foreign/home agents advertise service by broadcasting ICMP msg.

Registration Example

foreign agent broadcast ICMP msg. And a new mobile will put out registration request to foreign agent. And then foreign agent forwards the request to the home agent and gets the reply for the mobile.

NOTE:

Mobile maintains the home agent address consistantly.

3 Handoff within Mobile Switching Center

3.1 Common:

like mobile move to another foreign network and update the information between BSS and MSC

3.2 Anchor MSC:

like the machanism mentioned above.

[Network]Wireless and Mobile的更多相关文章

  1. UVA 1456 六 Cellular Network

    Cellular Network Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Submit S ...

  2. Residential Gateway System for Home Network Service

    Disclosed herein is a Residential Gateway (RG) system for home network service. The RG system receiv ...

  3. 论文翻译:2020_WaveCRN: An efficient convolutional recurrent neural network for end-to-end speech enhancement

    论文地址:用于端到端语音增强的卷积递归神经网络 论文代码:https://github.com/aleXiehta/WaveCRN 引用格式:Hsieh T A, Wang H M, Lu X, et ...

  4. (转) [it-ebooks]电子书列表

    [it-ebooks]电子书列表   [2014]: Learning Objective-C by Developing iPhone Games || Leverage Xcode and Obj ...

  5. 中国计算机学会CCF推荐国际学术会议

    中国计算机学会推荐国际学术会议 (计算机系统与高性能计算) 一.A类 序号 会议简称 会议全称 出版社 网址 1 ASPLOS Architectural Support for Programmin ...

  6. Atitit jsr规范化分类 attilax总结

    Atitit jsr规范化分类 attilax总结 按照技术类别可以分成以下几类:1.Java EE (39 JSRs) --- J2EE平台规范 2.Java SE (42 JSRs) --- J2 ...

  7. [Z] 计算机类会议期刊根据引用数排名

    一位cornell的教授做的计算机类期刊会议依据Microsoft Research引用数的排名 link:http://www.cs.cornell.edu/andru/csconf.html Th ...

  8. CCF推荐国际学术期刊

    中国计算机学会推荐国际学术期刊 (计算机系统与高性能计算) 一.A类 序号 刊物简称 刊物全称 出版社 网址 1 TOCS ACM Transactions on Computer Systems A ...

  9. CCF推荐国际学术会议

    类别如下计算机系统与高性能计算,计算机网络,网络与信息安全,软件工程,系统软件与程序设计语言,数据库.数据挖掘与内容检索,计算机科学理论,计算机图形学与多媒体,人工智能与模式识别,人机交互与普适计算, ...

随机推荐

  1. spark集群安装配置

    spark集群安装配置 一. Spark简介 Spark是一个通用的并行计算框架,由UCBerkeley的AMP实验室开发.Spark基于map reduce 算法模式实现的分布式计算,拥有Hadoo ...

  2. 【REDO】删除REDO LOG重做日志组后需要手工删除对应的日志文件(转)

    为保证重新创建的日志组成员可以成功创建,我们在删除日志组后需要手工删除对应的日志文件. 1.查看数据库当前REDO LOG日志相关信息1)查看日志组信息sys@ora10g> select * ...

  3. Storm流计算从入门到精通之技术篇(高并发策略、批处理事务、Trident精解、运维监控、企业场景)

    1.Storm全面.系统.深入讲解,采用最新的稳定版本Storm 0.9.0.1 :   2.注重实践,对较抽象难懂的技术点如Grouping策略.并发度及线程安全.批处理事务.DRPC.Storm ...

  4. CCNP交换实验(5) -- 网关热备冗余

    HSRP:1.启用HSRP功能,并设置虚拟地址IP, 1为standby的组号.2.相同组号的路由器属于同一个HSRP组,所有属于同一个HSRP组的路由器的虚拟地址必须一致.3.HSRP的优先级默认为 ...

  5. 基于visual Studio2013解决面试题之0709求方

     题目

  6. MFC拆分窗口及它们之间的数据交换

    源代码:http://download.csdn.net/detail/nuptboyzhb/4221531 CSplitterWnd类 CSplitterWnd类提供一个分隔器窗口的功能,分隔器窗口 ...

  7. 1.1.2-学习Opencv与MFC混合编程之---画图工具 画直线 画圆 画矩形

    源代码地址:http://download.csdn.net/detail/nuptboyzhb/3961685 画图工具 1.     画直线 Ø  增加‘直线’菜单项,建立类向导: Ø  对CXX ...

  8. DBA 应该要注意Linux 环境下的一些操作

    DBA 对OS的依赖.一丁点儿也不亚于DB.对于Oracle DBA.尤为突出     DB和OS的感情也与日俱增.耦合度高的让人一度以为这两要劳燕双飞了 例如.Oracle里面. 而且.故障诊断以及 ...

  9. 利用Android属性动画实现Banner的原理与实践

    事实上在Android刚推出属性动画的时候.就想利用它来设计一个Banner控件,一直没什么时间尝试. 在当时看我们应用中的Banner,使用计时器来控制自己主动播放,设置一个非常大的数,利用余数原理 ...

  10. 【JAVA学习】单例模式的七种写法

    尊重版权:http://cantellow.iteye.com/blog/838473 第一种(懒汉.线程不安全): Java代码   public class Singleton { private ...