现在的位置: 首页 > 综合 > 正文

IPTV — Knowledge from Interview

2019年03月11日 ⁄ 综合 ⁄ 共 2104字 ⁄ 字号 评论关闭

Almost all terms in this articleare excerpted from the Internet, encountered while I interview other guys.

IPTV -- Internet ProtocolTeleVision. Services are delivered via Internet protocol suite over packetswitch network infrastructure.

CATV -- CabelTelevision

IGMP -- Internet Group ManagementProtocol. 在IP网络中主机或路由器用来确立组播组。 IGMP用在IPv4网络。在IPv6网络中,多播管理被MLD(Multicast Listener Discovery)和ICMPv6取代。IGMP工作在网络层之上,但不属于传输层协议。

Multicasting-- IGMP for Multicasting is analogous to ICMP for Unicasting.

SUPL -- Secure User PlaneLocation, is an IP technology that was developed to support Location-BasedServices (LBS) for wireless communications.

CHAP --Challenge Handshake Authentication Protocol

E-PON/G-PON -- Passive OpticalNetwork. Ethernet Passive Optical Network. Giga-bit Passive Optical Network.

epoll -- poll和select是异步socket编程中用到的API。select提供给用户一个file-descriptor集合,用户可以监听其中的file-descriptor的事件,但集合大小取决于libc的宏定义。poll可以允许不限定size的file-descriptor集合,但用户需要枚举所有file-descriptor来确定哪个fd触发了事件。epoll和poll类似,但不会枚举所有fd,来确定哪个fd触发了事件。相关的函数有epoll_wait,epoll_create, epoll_ctl。epoll_wait返回触发了事件的fd的个数;在epoll_wait中的events数组会携带相应触发了事件的fd。epoll相关api只存在于linux。

fork/exec -- Unix下某个进程的内存分成三部分:代码段,堆栈段,数据段。代码段用来存放程序运行的代码,堆栈段用来存放子程序的局部变量,数据段用来存放全局变量。当发生fork调用时,实际上发生如下事:父进程将代码段,堆栈段,数据段完全复制一份给子进程。也就是说,在子进程运行之初,它拥有父进程的一切变量和句柄。例如,父进程申明了某个hash表,那这个hash表也会被子进程拥有。然而,一旦子进程开始运行,它的数据段和堆栈段就在内存里完全和父进程分离开了。也就是说,两个进程间不再共享任何数据。例如前面所说的hash表,虽然子进程从父进程处继承了这个数据结构,但子进程写往hash里的数据,不会被父进程访问到。。一个进程一旦调用exec类函数,它本身就死亡了,系统把代码段替换成新的程序的代码,废弃原有的数据段和堆栈段,并为新程序分配新的数据段与堆栈段,唯一留下的,就是进程号,也就是说,对系统而言,还是同一个进程,不过已经是另一个程序了。

ADSL -- AsymmetricDigital Subscriber Line

PPP -- For building a LAN(LocalArea Network), PPP is not mandatory. But ISP(Internet Service Provider) needsto authenticate user, so PPP is used. It can provide connection authentication,transmission encryption privacy, and compression.

PPTP -- Point-to-Point TunnelingProtocol (PPTP) is a method for implementing virtual private networks. PPTPuses a control channel over TCP and a GRE tunnel operating to encapsulate PPPpackets.

L2TP -- Layer 2 TunnelingProtocol (L2TP) is a tunneling protocol used to support virtual privatenetworks (VPNs). It does not provide any encryption or confidentiality byitself; it relies on an encryption protocol that it passes within the tunnel toprovide
privacy.

 

 

抱歉!评论已关闭.