💯
University Notes
  • Introduction
  • High Level Math
    • Function, limitation, and continuity
      • What is function?
      • Two kinds of infinity
      • The limitation of a function
      • A model for getting limitation
    • Derivative and differential
      • Formulas of derivative
      • Use derivative formula
      • Goes deeper
      • Use derivative
        • Function analyzing in theory
          • First derivative
          • Second derivative
          • Domain and Extreme Value
          • Overall change
        • Derivative use in reality
    • Integration
      • Indefinite integral
        • Basic formulas
        • Use formula
        • Goes deeper
        • Integration by parts
      • Definite integral
        • Properties of definite integral
        • Second fundamental theorem of calculus
        • Multi-method for solving definite integral
    • Multivariable calculus
      • Limitation
      • Partial derivatives
      • Differential
      • Multiple integral
    • Series
    • Linear algebra
    • GaoKao
      • 1
      • The road for starting
      • Polar Coordinates
      • Tangent Line
  • Electrical Engineering
    • The Terminologys
    • DC
      • The circuit rule
      • KCL and KVL
      • Superposition
    • AC
      • Intuition
      • Resistor
      • Inductor
      • Capacitor
      • AC circuit
      • 三相电
        • 星形联结
        • 三角形联结
        • 实际电路
    • Voltage and Current Rule in Circuit
    • Response
      • Foundations
      • 零输入响应
      • 零状态响应
      • 一阶电路的全响应
  • Analog Electronics
    • Technical terms 1
    • DC stable source circuit 的分析与应用
      • 二极管的特性与应用
        • 半导体
        • PN junction
        • Diode
        • 测试二极管
      • 整流滤波电路的分析与应用
        • Rectifier circuit
      • 直流稳压电路的分析
        • Zener diode
        • Shunt voltage regulators
    • Thyristor
    • Technical terms 2
    • Amplifying circuit
      • Bipolar Junction Transistor
      • Common Emitter Configuration
      • Biasing
      • Analysis
      • Mess
      • Negative-feedback amplifier
      • Integrated Operational Amplifier
    • Algorithms
      • What's the ouput of a voltage rectifier circuit
      • PNP or NPN
      • Judging the state of a BJT
      • What's common in BJT
      • Does a amplifying circuit normal
      • What's the feedback type
      • What kind of distortion you are encounter
  • Digital Electronic Technology
    • Logic Gate
    • Logic expressions
    • Karnaugh map
    • Number system
    • Multiplexer
    • Flip-flop
  • Principles of Communications
    • Overviews
    • PCM
    • HDB3
    • Modulations
    • Cyclic code
  • Data Communications and Networking
    • Something about IPv4
  • Micro Control System 51 Series
    • The Delay function
    • The Interrupt function
  • Maintenance of Railway Optical Cable Lines
    • Questions
    • Pictures
  • Mobile Communications
    • Concepts
    • Coding and Modulation
    • Key Technologies
    • Mobile communication network structure
    • Radio wave Propagation and Interference
    • GSM
    • CDMA
    • GPRS
    • 3G
    • 4G
    • Base Station Maintenance
  • Multimedia Communication
    • Concept of Multimedia
    • Compression
    • Lossless Compression
    • Audio
    • Lossy Audio Coding
    • Graph Compression
    • All for the exam
  • Power system for Communication Devices
    • Overview
    • AC power Distribution Panel
    • UPS
    • HF Switched-mode Power Supply
    • Battery
    • Earthing or Use Lightning Arrester
    • Power Supply Monitoring System
    • All for the exam
  • Optical fiber Communication system
    • What is Optical fiber Communication system
      • Prepare
      • Something About Optical fiber
      • Passive Optical Devices
      • Active Optical Devices
      • Optical transmitter Test
      • Optical receiver Test
      • Compose an Optical Communication System
    • SDH (Synchronous Digital Hierarchy)
      • Frame Structure of SDH
      • SDH Equipments
      • Clock System
      • ZXONM E300 Practice
      • SDH protection
    • WDM (Wavelength-Division Multiplexing)
    • OTN (Optical Transport Network)
      • OverHead of OTN
      • OTN Alarms & Errors
      • Do it again, what's happened?
  • Communication Tech English
    • Fundamentals of Electricity
    • Digital Communications
    • Optical Communications
  • High-speed railway Communication Technology
    • Overview
    • Base Knowledge
    • FH98
    • MDS3400
    • Everything is for the exam
  • GSM for Railway
    • Overview
    • Wired Parts
    • Digital dispatch Communication System
    • Basic Knowledge of GSM-R
    • Key technologies for GSM-R
    • Structure of GSM-R
    • GSM-R Network Mode
    • Wireless Channels for GSM-R
    • Mobility Management
    • Connection Management
    • Security Management
    • GPRS
    • GSM-R/GPRS Wireless Access Platform
    • GSM-R Features
    • GSM-R Numbering Plan
    • ASCI
  • Network Configuration Training
    • Words I have learned
  • Broadband Access Technology
    • Using Copper Line
    • Using Optical Fiber
    • Wireless
    • All for the test
  • CIR
    • Basci Knowledge
    • Testing Equipment
    • The Structure of CIR
    • All for the exam
  • LTE
  • Script for ChaoXing
  • Transmission and access network
Powered by GitBook
On this page

Was this helpful?

Data Communications and Networking

我本来是对这个学科有好感的,但直到我发现中国在教这个学科时的 SB 之处,我突然很厌恶这个学科。

举个例子,为什么 ip地址 转 2进制 要用人脑算? 你是傻逼吗?

>>> IP = "192.168.75.158"
>>> MASK = "255.255.255.240"
>>> 
>>> 
>>> def decimal_to_binary(num):
...     if isinstance(num, str):
...         return [bin(int(x)+256)[3:] for x in num.split('.')]
...     elif isinstance(num, list):
...         result = []
...         for i in num:
...             result.append(bin(i+256)[3:])
...         return result
... 
>>> 
>>> Binary_IP_list = decimal_to_binary(IP)
>>> Binary_MASK_list = decimal_to_binary(MASK)
>>> 
>>> print(IP, ':', Binary_IP_list)
192.168.75.158 : ['11000000', '10101000', '01001011', '10011110']
>>> print(MASK, ':', Binary_MASK_list)
255.255.255.240 : ['11111111', '11111111', '11111111', '11110000']

就拿子网划分(Subnetting) 这个技术来讲,它是为了解决ip地址不足而研发的,如果我们切换到 ipv6 为主导的网络世界,这项技术就完全没意义了

说白了,你国 计算机网络 这门学科就是抄袭照搬全翻译的 Data Communications and Networking - Behrouz A. Forouzan

结果国内老师讲得一塌糊涂,着实让我兴趣全无,十分心寒。

PreviousCyclic codeNextSomething about IPv4

Last updated 5 years ago

Was this helpful?

另外,还有很多底层的早已被内嵌到硬件算法的计算过程,还是叫你用人脑算,比如子网划分(

http://tool.chinaz.com/Tools/subnetmask)