Qhov txawv ntawm SIP thiab XMPP (Jabber)

Qhov txawv ntawm SIP thiab XMPP (Jabber)
Qhov txawv ntawm SIP thiab XMPP (Jabber)

Video: Qhov txawv ntawm SIP thiab XMPP (Jabber)

Video: Qhov txawv ntawm SIP thiab XMPP (Jabber)
Video: Saib tias ntawm ntsej muag 2024, Kaum ib hlis
Anonim

SIP vs XMPP (Jabber)

SIP thiab XMPP yog daim ntawv thov txheej txheem feem ntau siv los xa suab lossis IM hauv Is Taws Nem. SIP yog txhais los ntawm RFC 3621 thiab XMPP yog txhais nyob rau hauv RFC 3920. Yeej XMPP yog evolved los ntawm IM thiab Presence, whereas SIP evolved los ntawm Suab thiab Video tshaj IP. XMPP tau ntxiv qhov txuas ntxiv hu ua Jingle rau kev sib tham sib tham thiab SIP ntxiv qhov txuas ntxiv hu ua SIMPLE los txhawb IM thiab Presence.

SIP (Session Initiation Protocol)

Session Initiation Protocol (SIP) yog ib daim ntawv thov txheej txheej txheej txheem siv los tsim, hloov kho thiab xaus kev sib tham multimedia xws li VoIP Hu. SIP kuj tuaj yeem caw cov kev sib tham tshiab rau cov kev sib tham uas twb muaj lawm xws li cov rooj sib tham multicast. Yeej nws tau raug xa mus raws li cov txheej txheem qhia hauv VoIP ib puag ncig uas tuaj yeem tswj kev hu xov tooj, tswj kev hu xov tooj thiab txiav tawm thiab tsim CDR (Hu Cov Ntaub Ntawv Qhia Txog) rau kev them nqi.

XMPP (Extensible Messaging Presence Protocol)

XMPP yog qhov qhib Extensible Markup Language (XML) raws tu qauv rau kev xa xov hauv lub sijhawm, muaj thiab thov cov kev pabcuam teb. Keeb kwm nws yog tsim los ntawm Jabber qhib lub zej zog nyob rau hauv 1999. Nyob rau hauv 2002 lub XMPP ua hauj lwm pab pawg neeg tsim adaptation ntawm Jabber raws tu qauv uas yog haum rau IM (Instant Messaging).

Qhov txawv ntawm SIP thiab XMPP

Peb tsuas yog tsis tuaj yeem sib piv SIP thiab XMPP vim tias ob qho tib si ua haujlwm sib txawv xws li kev sib tham thiab kev sib pauv cov ntaub ntawv sib txawv. Tab sis kev taw qhia yooj yim thiab Jingle qhia qee qhov kev ua haujlwm zoo sib xws.

(1) SIP muab kev sib kho, hloov kho thiab txiav tawm tab sis XMPP muab cov yeeb nkab streaming rau cov ntaub ntawv sib pauv ntawm pawg neeg siv khoom.

(2) SIP yog cov ntawv nyeem raws li kev thov teb raws tu qauv thiab XMPP yog XML raws tus neeg siv khoom server architecture.

(3) SIP signaling messages mus ntawm SIP headers thiab lub cev whereas nyob rau hauv XMPP cov lus hla ntawm streaming yeeb nkab. XMPP xa kev thov, teb, qhia lossis yuam kev siv XML ntawm cov yeeb nkab streaming.

(4) SIP khiav dhau UDP, TCP thiab TLS thaum XMPP siv TCP thiab TLS nkaus xwb.

(5) Hauv SIP, tus neeg siv tus neeg sawv cev tuaj yeem yog server lossis tus neeg siv khoom li no tus neeg siv tuaj yeem xa lossis tau txais cov lus thaum hauv XMPP tus neeg siv tsuas yog pib thov rau server yog li nws yuav ua haujlwm nrog NAT thiab Firewall.

(6) SIP thiab XMPP yooj yim los siv.

Technically sib piv SIP thiab XMPP zoo li kev sib piv cov txiv apples thiab txiv kab ntxwv vim tias cov txheej txheem tseem ceeb ua haujlwm sib txawv: kev sib tham sib tham / tsim tsa vs cov ntaub ntawv sib pauv

Pom zoo: