chenxfeng's blog


  • 首页

  • 归档

  • 标签

  • 搜索

网络管理(Network Management)

发表于 2017-07-01

Infrastructure for network management

network_management_infrastructure.png

阅读全文 »

网络安全(Security)

发表于 2017-06-30

What is network security

  • confidentiality(机密性): only sender, intended receiver should “understand” message contents
    • sender encrypts message
    • receiver decrypts message
  • authentication(身份验证): sender, receiver want to confirm identity of each other

  • message integrity(完整性): sender, receiver want to ensure message not altered (in transit, or afterwards) without detection

  • access and availability(可用性): services must be accessible and available to users

阅读全文 »

多媒体网络(Multimedia Networking)

发表于 2017-06-29

multimedia networking applications

Multimedia: audio

  • analog audio signal sampled at constant rate
    • telephone: 8,000 samples/sec
    • CD music: 44,100 samples/sec
  • each sample quantized, i.e., rounded

    • e.g., 2^8=256 possible quantized values
    • each quantized value represented by bits, e.g., 8 bits for 256 values

multimedia_audio.png

  • example: 8,000 samples/sec, 256 quantized values: 64,000 bps
    • 1 byte per sample, 8 bit * 8000 = 64,000 bps
  • receiver converts bits back to analog signal:
    • some quality reduction
阅读全文 »

无线网络和移动网络(Wireless and Mobile Networks)

发表于 2017-06-28

Background

  • number of wireless (mobile) phone subscribers now exceeds number of wired phone subscribers (5-to-1)!

  • number of wireless Internet-connected devices equals number of wireline Internet-connected devices

    • laptops, Internet-enabled phones promise anytime untethered Internet access
  • two important (but different) challenges

    • wireless: communication over wireless link
    • mobility: handling the mobile user who changes point of attachment to network
阅读全文 »

分布式系统的容错技术(下)

发表于 2017-06-13

(并行与分布式计算十四)

故障模型和拜占庭故障的概念

故障模型

  1. 初始死进程: 如果在局部算法中没执行过一步,则称进程为初始死进程

  2. 损毁模型(crash model): 如果进程正确地执行局部算法到某一时刻,此后并不进一步执行,则称它是损毁的

  3. Byzantine行为(Byzantine behavior): 如果进程执行了与局部算法不一致的任意步,则称进程是Byzantine的。尤其是Byzantine进发送的消息可能包含任意内容

阅读全文 »

分布式系统的容错技术(上)

发表于 2017-06-06

(并行与分布式计算十三)

分布式系统容错的基本概念

  1. 可用性:可用性反映的是系统随时可被用户使用的特性。

  2. 可靠性:可靠性指的是在错误存在的情况下,系统持续服务的能力。

  3. 安全性:安全性指的是在系统出现暂时错误的情况下,不出现灾难性后果的能力。

  4. 可维护性:可维护性指的是系统一旦出现故障,系统易于修复的能力。

  5. 保密性:保密性要求系统资源不被非法用户访问。

  6. 按错误的时间特性来看,错误可分为:暂时性的(transient)、间歇性的(intermittent)和永久性的(permanent)。

阅读全文 »

背包

发表于 2017-06-03

[转载]整理自背包九讲

01背包问题

  • [题目]有N件物品和一个容量为V的背包。放入第i件物品耗费的空间是C_i,得到的价值是W_i。求解将哪些物品装入背包可使价值总和最大
阅读全文 »

动态规划题目

发表于 2017-06-03

[转]整理自http://www.cppblog.com/menjitianya/archive/2015/10/23/212084.html

递推

  • [例题1]在一个3 X N的长方形方格中,铺满1X2的骨牌(骨牌个数不限制),给定N,求方案数(图一 -1-1为N=2的所有方案),所以N=2时方案数为3。

  • 二维状态

  • 状态转移方程

    • f[i][0] = f[i-2][0] + f[i-1][1] + f[i-2][2]
    • f[i][1] = f[i-1][2]
    • f[i][2] = f[i][0] + f[i-1][1]
  • 边界条件 :
    • f[0][0] = f[1][1] = f[0][2] = 1

donggui_5.png

阅读全文 »

数据链路层和局域网(The Link Layer and LANs)

发表于 2017-05-31

introduction, services

Link layer: introduction

terminology:

  • hosts and routers: nodes
  • communication channels that connect adjacent nodes along communication path: links
    • wired links
    • wireless links
    • LANs
  • layer-2 packet: frame([链路层]帧), encapsulates datagram
阅读全文 »

商品市场(good market)

发表于 2017-05-29

GDP目标:衡量福利水平

  • 提高GDP不一定提高福利水
  • 比较极端的例子:犯罪活动可以增加GDP,但不利于福利
阅读全文 »
1…567…10
chenxf

chenxf

93 日志
16 标签
GitHub Weibo
© 2017 — 2023 chenxf
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.2