• about19

Maitiro ekusarudza switch nenzira kwayo muchirongwa chekutarisa?

Munguva pfupi yapfuura, shamwari yanga ichibvunza, vangani network yekutarisa makamera anogona switch drive?Mangani magigabit switch anogona kubatanidzwa kune 2 miriyoni network makamera?24 network misoro, ndingashandisa 24-port 100M switch?dambudziko rakadaro.Nhasi, ngatitarisei hukama pakati pehuwandu hwekuchinja ports uye huwandu hwemakamera!

1. Sarudza maererano nekodhi yekodhi uye huwandu hwekamera
1. Kamera kodhi kuyerera
Usati wasarudza switch, tanga waona kuti yakawanda sei bandwidth yemufananidzo wega wega.
2. Nhamba yemakamera
3. Kuti uone bandwidth simba rekuchinja.Inowanzo shandiswa switch ndeye 100M switch uye Gigabit switch.Bandwidth yavo chaiyo inongowanzo 60 ~ 70% yeiyo theoretical kukosha, saka inowanikwa bandwidth yezviteshi zvavo ingangoita 60Mbps kana 600Mbps.
Muenzaniso:
Tarisa parukova rumwechete zvinoenderana nerudzi rweIP kamera yauri kushandisa, wobva wafungidzira kuti mangani makamera anogona kubatanidzwa kune switch.semuyenzaniso :
①1.3 miriyoni: Imwe chete 960p kamera rwizi kazhinji kazhinji 4M, ine 100M switch, unogona kubatanidza gumi nemashanu mayunitsi (15 × 4 = 60M);ne gigabit switch, unogona kubatanidza 150 (150×4 = 600M).
②2 mamiriyoni: 1080P kamera ine rukova rumwechete kazhinji 8M, ine 100M switch, unogona kubatanidza zvikamu zvinomwe (7×8=56M);negigabit switch, unogona kubatanidza 75 units (75×8=600M) Aya ndiwo makuru Tora H.264 kamera semuenzaniso kukutsanangurira, H.265 inogona kuderedzwa.
Panyaya yetiweki topology, network yenzvimbo yenzvimbo inowanzova maviri kusvika matatu-layer chimiro.Magumo anobatana nekamera ndiyo yekupinda layer, uye 100M switch kazhinji inokwana, kunze kwekunge iwe ukabatanidza akawanda makamera kune imwe switch.
Iyo aggregation layer uye yepakati layer inofanirwa kuverengerwa zvichienderana nemifananidzo mingani iyo switch inounganidza.Nzira yekuverenga ndeyotevera: kana yakabatanidzwa kune 960P network kamera, kazhinji mukati mezvikamu gumi neshanu zvemifananidzo, shandisa 100M switch;kana anopfuura 15 chiteshi, shandisa gigabit switch;kana yakabatana ne 1080P network kamera, kazhinji mukati me 8 chiteshi chemifananidzo, shandisa 100M switch, anopfuura 8 chiteshi anoshandisa Gigabit switch.
Chechipiri, zvinodiwa zvekusarudza zvekuchinja
Iyo yekutarisa network ine matatu-layer architecture: core layer, aggregation layer, uye yekuwana layer.
1. Kusarudzwa kwekuwana layer switch
Mamiriro ekutanga: Kamera kodhi stream: 4Mbps, 20 makamera ari 20*4=80Mbps.
Kureva kuti, iyo yekukwirisa chiteshi cheiyo yekupinda layer switch inofanirwa kusangana nechiyero chekufambisa chinodiwa che80Mbps/s.Tichifunga nezveiyo chaiyo yekufambisa mwero weiyo switch (kazhinji 50% yezita rekukosha, 100M inenge 50M), saka iyo yekupinda layer Iyo switch inofanirwa kusarudza switch ine 1000M yekurodha port.
Mamiriro echipiri: Iyo backplane bandwidth ye switch, kana ukasarudza 24-port switch ine maviri 1000M ports, yakazara 26 ports, ipapo backplane bandwidth zvinodiwa zve switch pane yekupinda layer ndeiyi: (24*100M*2+) 1000*2*2 )/1000=8.8Gbps backplane bandwidth.
Mamiriro echitatu: Chiyero chekufambisa kwepakeji: Chiyero chekufambisa kwepakeji ye 1000M chiteshi ndeye 1.488Mpps / s, ipapo chiyero chekuchinja chekushandura pachikwata chekuwana ndechekuti: (24 * 100M / 1000M + 2) * 1.488 = 6.55Mpps.
Zvinoenderana nemamiriro ari pamusoro apa, kana 20 720P makamera akabatana kune switch, switch yacho inofanirwa kunge iine imwechete 1000M yekurodha port uye anopfuura 20 100M ekupinda madoko kuti asangane nezvinodiwa.

2. Kusarudzwa kweaggregation layer switch
Kana huwandu hwema 5 switch akabatana, imwe neimwe switch ine 20 makamera, uye kodhi rwizi i4M, ipapo traffic yeaggregation layer ndeye: 4Mbps * 20 * 5 = 400Mbps, ipapo iyo yekukwirisa chiteshi cheaggregation layer inofanira kunge iri pamusoro. 1000M.
Kana 5 IPCs yakabatana kune switch, kazhinji 8-port switch inodiwa, zvino izvi
Iyo 8-port switch inosangana nezvinodiwa here?Inogona kuonekwa kubva muzvikamu zvitatu zvinotevera:
Backplane bandwidth: nhamba yezviteshi * chiteshi kumhanya * 2 = backplane bandwidth, kureva 8 * 100 * 2 = 1.6Gbps.
Packet exchange rate: nhamba yezviteshi* port speed/1000*1.488Mpps=packet exchange rate, kureva, 8*100/1000*1.488=1.20Mpps.
Packet exchange rate yemamwe ma switch dzimwe nguva anoverengerwa kuti haakwanise kuzadzisa chinodikanwa ichi, saka isiri-waya-speed switch, iri nyore kukonzeresa kunonoka kana uchibata hukuru-hukuru huwandu.
Cascade port bandwidth: IPC rwizi * uwandu = hushoma bandwidth yechiteshi chekukwirisa, kureva 4.*5=20Mbps.Kazhinji, kana IPC bandwidth inodarika 45Mbps, inokurudzirwa kushandisa 1000M cascade port.
3. Ungasarudza sei chinja
Semuenzaniso, kune network yekambasi ine makamera anodarika mazana mashanu epamusoro-tsanangudzo uye kodhi yekodhi ye3 kusvika ku4 megabytes.Iyo network chimiro chakakamurwa kuita yekuwana layer-aggregation layer-core layer.Yakachengetwa muchikamu chekuunganidza, imwe neimwe yekuunganidza inoenderana ne170 kamera.
Matambudziko akatarisana nawo: maitiro ekusarudza zvigadzirwa, mutsauko pakati pe100M ne1000M, ndezvipi zvikonzero zvinokanganisa kutapurirana kwemifananidzo munetiweki, uye ndezvipi zvinhu zvine chekuita nekuchinja…
1. Backplane bandwidth
2 kakapetwa huwandu hwehuwandu hwezviteshi zvese x huwandu hwezviteshi hunofanirwa kuve hushoma pane zita rebackplane bandwidth, zvichiita kuti yakazara-duplex isingavhare waya-speed switching, zvichiratidza kuti switch ine mamiriro ekuwedzera data switching performance.
Semuenzaniso: switch inogona kupa kusvika ku48 Gigabit ports, huwandu hwayo hwekugadzirisa hunofanira kusvika 48 × 1G × 2 = 96Gbps, kuti ive nechokwadi chokuti kana zviteshi zvose zviri mu duplex yakazara, inogona kupa isingavharidzi waya-speed packet switching. .
2. Pakiti yekuendesa chiyero
Full configuration packet forwarding rate (Mbps) = nhamba yeGE ports yakanyatsogadziriswa × 1.488Mpps + nhamba yezviteshi zvakagadzirirwa zvakakwana 100M ports × 0.1488Mpps, uye dzidziso yekubuda kwegigabit imwe yegigabit apo kureba kwepakiti iri 64 bytes 8Mpps.
Semuenzaniso, kana switch inogona kupa kusvika ku24 gigabit ports uye inonzi packet forwarding rate iri pasi pe 35.71 Mpps (24 x 1.488Mpps = 35.71), zvino zvine musoro kufunga kuti shanduko yakagadzirwa nemucheka unovharira.
Kazhinji, switch ine yakaringana backplane bandwidth uye packet yekufambisa mwero ndiyo yakakodzera switch.
Shanduko ine yakakura backplane uye zvishoma zvishoma throughput, mukuwedzera kuchengetedza kugona kusimudzira uye kuwedzera, ine matambudziko nesoftware kunyatsoshanda / yakatsaurirwa chip circuit dhizaini;switch ine diki backplane uye yakakura zvakati wandei ine maitiro epamusoro pese.
Iyo kamera kodhi yekuyerera inokanganisa kujeka, inova kazhinji iyo kodhi kuyerera kweiyo vhidhiyo kutapurirana (kusanganisira iyo encoding uye decoding kugona kweiyo encoding yekutumira uye yekugamuchira michina, nezvimwewo), iko kuita kwekamera-yekupedzisira uye ine. hapana chekuita netiweki.
Kazhinji vashandisi vanofunga kuti kujekesa hakuna kukwirira, uye pfungwa yekuti inokonzerwa netiweki ndeyechokwadi kusanzwisisa.
Maererano nenyaya iri pamusoro, verenga:
Kuyerera: 4Mbps
Kuwana: 24*4=96Mbps<1000Mbps<4435.2Mbps
Aggregation: 170*4=680Mbps<1000Mbps<4435.2Mbps
3. Switch yekuwana
Iko kutarisisa kukuru ndeyekubatanidza bandwidth pakati pekuwana uye kuunganidzwa, ndiko kuti, iyo uplink simba rekuchinja rinoda kuve rakakura kupfuura nhamba yemakamera anogona kugariswa panguva imwe chete * iyo kodhi chiyero.Nenzira iyi, hapana dambudziko ne-real-time video rekodha, asi kana mushandisi ari kuona vhidhiyo munguva chaiyo, iyi bandwidth inoda kutorwa.Iyo bandwidth inotorwa nemushandisi wega wega kuona vhidhiyo ndeye 4M.Kana munhu mumwe akatarisa, bandwidth yenhamba yekamera * bit rate * (1+N) inodiwa, kureva, 24*4*(1+1)=128M.
4. Aggregation switch
Iyo aggregation layer inoda kugadzirisa iyo 3-4M rukova (170 * 4M = 680M) ye170 makamera panguva imwe chete, izvo zvinoreva kuti aggregation layer switch inoda kutsigira kuendesa panguva imwe chete inodarika 680M yekuchinja simba.Kazhinji, chengetedzo yakabatana neaggregation, saka vhidhiyo yekurekodha inotumirwa nekumhanya kwewaya.Nekudaro, tichifunga nezve bandwidth yechaiyo-nguva yekutarisa uye yekutarisa, imwe neimwe yekubatanidza inotora 4M, uye 1000M chinongedzo chinogona kutsigira mazana maviri nemakumi mashanu makamera kuti agadziriswe uye adaidzwe.Imwe neimwe switch yekupinda yakabatana nemakamera makumi maviri nemana, 250/24, izvo zvinoreva kuti network inogona kumira kumanikidza kwevashandisi gumi vachiona kamera yega yega munguva chaiyo panguva imwe chete.

5. Kuchinja kwepakati
Iyo yepakati switch inoda kufunga nezve switching simba uye yekubatanidza bandwidth kune aggregation.Nekuti iyo yekuchengetera yakaiswa paaggregation layer, iyo core switch haina kudzvanywa kwevhidhiyo kurekodha, ndiko kuti, inongoda kufunga kuti vangani vanhu vanotarisa kuti vangani machaneli evhidhiyo panguva imwe chete.
Tichifunga kuti mune iyi kesi, kune vanhu gumi vari kutarisa panguva imwe chete, munhu wega wega achiona gumi nematanhatu chiteshi chevhidhiyo, kureva kuti, huwandu hwekutsinhana hunofanirwa kuve hwakakura kupfuura.
10*16*4=640M.
6. Chinja kusarudzwa kwekutarisa
Paunenge uchisarudza ma switch ekutarisa vhidhiyo munharaunda yenzvimbo network, kusarudzwa kwenzvimbo yekupinda uye aggregation layer switch kazhinji inongoda kufunga nezve chinhu chekuchinja simba, nekuti vashandisi vanowanzo batanidza uye kuwana vhidhiyo kuburikidza nepakati switch.Uye zvakare, sezvo iyo huru yekumanikidza iri pane switch pane aggregation layer, haisi mhosva chete yekutarisa yakachengetwa traffic, asiwo kudzvanywa kwekuona uye kufona kutarisa munguva chaiyo, saka zvakakosha kwazvo kusarudza iyo yakakodzera kuunganidzwa. switches.


Nguva yekutumira: Mar-17-2022