Computer Concepts Note II
何でもは知らないわよ、知ってることだけ。
前情提要:这篇博客写于我的ICS期中考试之前一天,所以主要是以疑难杂症(?)解题为主。现在已经临近期末了,考虑到频爷把考试大刀阔斧地改革了————改成了一半主观题加一半客观题的形式。再之,这个学期因为申请了免听ICS,期末了还是得把教材过一遍比较好,所以稍微总结了一下这本书的内容。
Computer Concepts Note II
数字化基础
数据表示
- 数据/Data:代表人、事件、事物和想法的符号(technically)被机器使用
- 信息/Information:数据以人们可以理解和使用的格式呈现就是信息(technically)被人类使用
- 数据表示/Data Representation:存储,处理,传输信息的形式
- digitization:信息转换成可由电子设备操纵的数字数据的过程
numeric data
- 二进制表示
character data
- ASCII
- UTF-8 -> 只是Unicode的一种实现方式
- Why Unicode ? - 编码的故事
- UTF-8 vs. Unicode
format
- Word: DOCX
- Apple: PAGES
- Adobe: PDF
- HTML: HTML
- 电子书: (general) EPUB
bit & bytes
- bit = b, bytes = B
- kilo, mega, giga, tera
- 以此类推。
一般来说,描述速率时用bit,描述容量/大小的时候用byte。
compression
无损压缩:不损失信息
有损压缩:损失信息(常用于音频,视频领域)
常见格式
- .gz / .tar.gz
- .zip / .rar / .7z
- .pkg
数字设备
设备基础
Computers
八股:计算机接受输入、处理数据、存储数据,并根据一系列存储的指令产生输出。
基本结构遵循冯·诺依曼结构。
- CPU, Central Processing Unit
- microprocessor(从物理角度来说,它就是一块集成了数量庞大的微型晶体管与其他电子组件的半导体集成电路芯片。)
八股时间!
- 指导数字设备进行任务处理的指令被称为计算机程序(Computer Program)
- 这些程序构成了软件(Software)
- stored program意味着计算任务的一些里指令可以被加载到计算机内存中。当需要使用多用途计算机设备时,这些指令可以很容易地被另一组指令所替代。
Software
- Application Software(App for short)
- System Software
- Development Tool
感觉这个分类挺扯的。
Circuit & Chips
- 集成电路(Integrated Circuit, IC for short)是蚀刻在半导体薄片上的一组显微电子元件
- 主板(mainboard/motherboard)是构成复杂电子系统例如电子计算机的中心或者主电路板。
Compenont
nothing of value
维护
- 用干净的超细纤维布擦拭,并用抗菌擦拭布消毒
- 使用低真空装置去除通风孔中的灰尘
- 使用保护壳/收容袋
- 只使用电涌保护插座(吐槽一句,几百年前就没人用这个翻译了)
触摸屏消毒:
- 塑料保护膜
- 非酒精清洁剂:保护疏油层
键盘清洁:
- 先把键盘倒过来,使渣滓掉落
- 使用抗菌擦拭纸清洁键帽表面
锂电池保养:
- 放电速率:不使用的情况下也会失去电荷,1.5%/month
- 避免将电量用尽
- 电池充满电时,及时取出
- 如果您的设备在使用时变热,请将其关闭
- 禁用不断链接到Internet的不在使用状态的应用程序
设备选择
企业级
- supercomputer超级计算机
- mainframe大型机
- server服务器
这三个怎么想都不该并在一起。
Personal Computer, PC
- Desktop Computer
- Portable Computer: A portable computer in this usage, versus a laptop or other mobile computing device, have a standard motherboard or backplane providing plug-in slots for add-in cards. This allows mission specific cards such as test, A/D, or communication protocol (IEEE-488, 1553) to be installed. Portable computers also provide for more disk storage by using standard disk drives and provide for multiple drives. Portable computer entry on wikipedia
- Laptop Computer
- Tablet Computer
- Smartphone
Processor & RAM
Microprocessor
- Intel published the first microprocessor 4004 in the world in 1971.
- 8086 series sets standards for processors which used in laptops and desktops. This standard is sometimes called x86.
指令集:微处理器通过硬连线执行一系列有限的活动。这种预编程活动的集合称为指令集。
典型的RISC(比如x86)的指令集包括100+条指令,而一个典型的CISC(比如ARM)只有~35条指令。
一个微处理器通常包括数个操作单元,比如ALU和控制单元。
Control Unit读取指令并将其加载到ALU中去,ALU执行指令。
- Instruction Pointer, short for IP, store the address of next instruction.
微处理器的时间周期用GHz,即Gigahertz表示。
多核处理器:包含多个处理单元电路的微处理器。
- CPU Cache: CPU缓存分几个级别。L1, L2, L3
- Word Size: 微处理器一次可操作的位数,通常取32bit/64bit
RAM
电容器组成位。->不稳定
- ROM:只读存储器。通常由其引导设备。
- 包含Boot Loader(引导加载程序)
存储
Input & Output
八股时间!
- 外围设备(Peripheral)
- Local Bus: Transfer data between RAM & processor
- Extend Bus: Transfer data between RAM & Peripheral
- Hot-swapping:Hot swapping is the replacement or addition of components to a computer system without stopping, shutting down, or rebooting the system. From Wikipedia Hot-Swapping Entry
- USB Hub: 是个人都知道。
网络
Basis
通信系统
- PAN, Personal Area Network: < 10m, no wire or cable
- LAN, Local xxx, inside a building
- WAN, Wide xxx, Wide; Internet is the biggest WAN
Channel
- Wired: 屏蔽干扰;可靠;安全
- Wireless: 移动性
Structure
- point-to-point
- star
- mesh
- bus
node
- DTE: Data Terminal Equipment
- DCE: Data Communication Equipment
router用于在主要的因特网主干线上进行交通指挥。通常用于将家庭网络route到因特网。
modem(猫)主要用于将数字信号携带的信号转换成能够通过各种通信信道的的信号。
Protocol
协议栈:物理层协议;传输层协议;到达协议
Internet
- 1957, ARPA
- 1969, ARPANET
Packet
- 目的:获得稳定的数据流
- 本质:packet switching优于circuit switching
Protocol & Port
TCP: stable, error correction
UDP: Fast, non-sort
Port: 数据进入和离开的虚拟端点
addr
- IPv4: 32bit
- IPv6: 128bit: 8 set, 4 hex digit for each set
- DHCP->Static IPaddr or Dynamic IPaddr
- NAT技术
domain
- DNS
- domain name server
- DNS spoofing
接入
八股时间!
- bandwidth cap
- bandwidth throttling
- asymmetric connection
- symmetric connection
- jitter
- packet loss
实用(大家都会)命令:
- ping
- traceroute
接入方式
- cable Internet service
- dial-up
- DSL
- satellite Internet serice
- mobile broadband service
- WiFi hotpot
LAN
- NIC, Network Interface Controller, 网卡
包含MAC地址(独立的硬件地址,理论上互不相同)
Ethernet
- Ethernet是IEEE802.3定义的有线网络技术。
- Ethernet Adapter
Wi-Fi
- IEEE802.11
- Wi-Fi Adapter
router
- SSID
- SEP/WPA+Publickey
- guest mode
WWW
WWW Basis
- Hypertext
- website
- web server