IPTV -- Knowledge from Interview

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.

 

 


發佈了109 篇原創文章 · 獲贊 14 · 訪問量 15萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章