• 1

Momwe mungasankhire chosinthira moyenera mu polojekiti yowunikira?

Posachedwapa, bwenzi anali kufunsa, angati maukonde anaziika makamera akhoza lophimba galimoto?Ndi ma switch angati a gigabit omwe angalumikizidwe ku makamera a netiweki 2 miliyoni?24 mitu yama network, nditha kugwiritsa ntchito 24-port 100M switch?vuto ngatilo.Lero, tiyeni tiwone ubale pakati pa kuchuluka kwa ma doko osinthira ndi kuchuluka kwa makamera!

1. Sankhani molingana ndi mtsinje wa code ndi kuchuluka kwa kamera
1. Kamera code stream
Musanasankhe chosinthira, choyamba onani kuchuluka kwa bandwidth yomwe chithunzi chilichonse chimakhala.
2. Chiwerengero cha makamera
3. Kuti mudziwe kuchuluka kwa bandwidth ya switch.Ma switch omwe amagwiritsidwa ntchito kwambiri ndi masiwichi a 100M ndi ma switch a Gigabit.Bandiwifi yawo yeniyeni nthawi zambiri imakhala 60 ~ 70% yokha yamtengo wapatali, kotero bandwidth yomwe ilipo ya madoko awo ndi pafupifupi 60Mbps kapena 600Mbps.
Chitsanzo:
Yang'anani pamtsinje umodzi molingana ndi mtundu wa kamera ya IP yomwe mukugwiritsa ntchito, ndiyeno yerekezerani kuti ndi makamera angati omwe angalumikizidwe ndi switch.Mwachitsanzo :
①1.3 miliyoni: Kamera imodzi yokha ya 960p nthawi zambiri imakhala 4M, yokhala ndi 100M switch, mutha kulumikiza mayunitsi 15 (15 × 4 = 60M);ndi gigabit lophimba, mukhoza kulumikiza 150 (150×4 = 600M).
②2 miliyoni: 1080P kamera yokhala ndi mtsinje umodzi nthawi zambiri 8M, yokhala ndi 100M switch, mutha kulumikiza mayunitsi 7 (7 × 8 = 56M);ndi kusintha kwa gigabit, mukhoza kulumikiza mayunitsi 75 (75 × 8 = 600M) Izi ndizofala Tengani kamera ya H.264 monga chitsanzo kuti ndikufotokozereni, H.265 ikhoza kuchepetsedwa ndi theka.
Pankhani ya netiweki topology, maukonde amderali nthawi zambiri amakhala ndi magawo awiri kapena atatu.Mapeto omwe amalumikizana ndi kamera ndi gawo lolowera, ndipo kusintha kwa 100M kumakhala kokwanira, pokhapokha mutalumikiza makamera ambiri ku switch imodzi.
Chigawo chophatikizira ndi gawo lalikulu liyenera kuwerengedwa molingana ndi zithunzi zingati zomwe switchyo yaphatikiza.Njira yowerengera ili motere: ngati mutalumikizidwa ndi kamera ya 960P network, nthawi zambiri mkati mwa mayendedwe a 15 azithunzi, gwiritsani ntchito kusintha kwa 100M;ngati njira zopitilira 15, gwiritsani ntchito gigabit switch;ngati alumikizidwa ku kamera ya netiweki ya 1080P, nthawi zambiri mkati mwa mayendedwe 8 ​​azithunzi, gwiritsani ntchito switch ya 100M, ma tchanelo opitilira 8 amagwiritsa ntchito ma switch a Gigabit.
Chachiwiri, zofunika kusankha chosinthira
Netiweki yowunikira ili ndi zomanga zamagulu atatu: core layer, aggregation layer, ndi access layer.
1. Kusankha masiwichi ofikira
Chikhalidwe 1: Kuyenda kwa code ya kamera: 4Mbps, makamera 20 ndi 20 * 4 = 80Mbps.
Izi zikutanthauza kuti, doko lokwezera la switch layer yofikira liyenera kukwaniritsa zofunikira za 80Mbps/s.Poganizira kuchuluka kwenikweni kufala kwa lophimba (kawirikawiri 50% ya mtengo mwadzina, 100M ndi za 50M), kotero mwayi wosanjikiza Kusinthana ayenera kusankha lophimba ndi 1000M kukweza doko.
Chikhalidwe 2: Bandiwifi ya backplane ya switch, ngati mungasankhe 24-port switch with two 1000M madoko, okwana madoko 26, ndiye backplane bandiwifi zofunika za switch pa wosanjikiza mwayi ndi: (24 * 100M * 2+ + 1000*2*2 )/1000=8.8Gbps bandwidth ya ndege yakumbuyo.
Chikhalidwe 3: Mlingo wotumizira paketi: Mlingo wotumizira paketi wa doko la 1000M ndi 1.488Mpps / s, ndiye kusintha kwakusintha pagawo lofikira ndi: (24 * 100M/1000M + 2) * 1.488 = 6.55Mpps.
Malinga ndi zomwe tafotokozazi, makamera a 20 720P akalumikizidwa ndi chosinthira, chosinthiracho chiyenera kukhala ndi doko limodzi lokha la 1000M komanso madoko opitilira 20 100M kuti akwaniritse zofunikira.

2. Kusankha masiwichi ophatikizika
Ngati masiwichi okwana 5 alumikizidwa, switch iliyonse ili ndi makamera a 20, ndipo ma code stream ndi 4M, ndiye kuchuluka kwa magalimoto ophatikizika ndi: 4Mbps * 20 * 5 = 400Mbps, ndiye doko loyikira la gulu lophatikizira liyenera kukhala pamwamba. 1000M.
Ngati 5 IPCs yolumikizidwa ndi chosinthira, nthawi zambiri chosinthira cha 8-port chimafunika, ndiye izi
Kodi kusintha kwa madoko 8 kumakwaniritsa zofunikira?Zitha kuwoneka kuchokera kuzinthu zitatu izi:
Bandiwifi ya ndege yobwerera: kuchuluka kwa madoko * liwiro la doko * 2 = bandwidth ya ndege yakumbuyo, mwachitsanzo 8 * 100 * 2 = 1.6Gbps.
Kusinthana kwa paketi: kuchuluka kwa madoko * liwiro la doko/1000 * 1.488Mpps=mtengo wosinthira paketi, ndiye, 8*100/1000*1.488=1.20Mpps.
Kusinthana kwa paketi ya masinthidwe ena nthawi zina kumawerengedwa kuti sikutha kukwaniritsa izi, kotero ndikusintha kopanda waya, komwe kumakhala kosavuta kuchititsa kuchedwa pogwira kuchuluka kwamphamvu.
Cascade port bandwidth: IPC stream * kuchuluka = ​​bandwidth yochepera ya doko lokwezera, mwachitsanzo 4.*5=20Mbps.Nthawi zambiri, IPC bandwidth ikadutsa 45Mbps, tikulimbikitsidwa kugwiritsa ntchito doko la 1000M cascade.
3. Momwe mungasankhire chosinthira
Mwachitsanzo, pali netiweki yapampasi yokhala ndi makamera opitilira 500 okhala ndi matanthauzidwe apamwamba komanso ma code stream ya 3 mpaka 4 megabytes.Kapangidwe ka netiweki kagawika kukhala wosanjikiza-aggregation wosanjikiza-pachimake.Kusungidwa mu gulu la aggregation, gawo lililonse lophatikiza limafanana ndi makamera 170.
Mavuto omwe akukumana nawo: momwe mungasankhire zinthu, kusiyana pakati pa 100M ndi 1000M, ndi zifukwa ziti zomwe zimakhudza kufalitsa zithunzi pamaneti, ndi zinthu ziti zomwe zikugwirizana ndi kusintha...
1. Backplane bandwidth
Kuchulukitsa ka 2 kuchuluka kwa kuchuluka kwa madoko onse x kuchuluka kwa madoko kuyenera kukhala kocheperako kuposa bandwidth yomwe mwadziŵika nayo, kupangitsa kusintha kwa waya kosatsekeka kowirikiza kawiri, kutsimikizira kuti kusinthaku kuli ndi zofunikira zokulitsa magwiridwe antchito akusintha kwa data.
Mwachitsanzo: chosinthira chomwe chingapereke ma doko a 48 Gigabit, mphamvu yake yonse yosinthira iyenera kufika pa 48 × 1G × 2 = 96Gbps, kuonetsetsa kuti madoko onse ali ndi duplex yokwanira, akhoza kupereka osatsekereza paketi ya waya-liwiro. .
2. Kutumiza kwa paketi
Kukonzekera kwathunthu kwa paketi yotumizira (Mbps) = chiwerengero cha madoko a GE okonzedwa bwino × 1.488Mpps + chiwerengero cha madoko a 100M × 0.1488Mpps, ndi kutulutsa kwachidziwitso kwa doko limodzi la gigabit pamene kutalika kwa paketi ndi 6488Mpps.
Mwachitsanzo, ngati chosinthira chingapereke madoko ofikira 24 gigabit ndipo mtengo wotumizira paketi ndi wochepera 35.71 Mpps (24 x 1.488Mpps = 35.71), ndiye kuti ndizomveka kuganiza kuti kusinthaku kudapangidwa ndi nsalu yotchinga.
Nthawi zambiri, chosinthira chokhala ndi bandwidth yokwanira yakumbuyo ndi kutumizira paketi ndikusintha koyenera.
Kusintha kokhala ndi ndege yayikulu yakumbuyo komanso kutulutsa pang'ono, kuwonjezera pakukhalabe ndi kuthekera kokweza ndi kukulitsa, kumakhala ndi zovuta pakuwongolera mapulogalamu / mapangidwe odzipereka a chip;chosinthira chokhala ndi ndege yaying'ono yakumbuyo komanso kutulutsa kwakukulu kumakhala ndi magwiridwe antchito apamwamba kwambiri.
Kutsetsereka kwa kachidindo ka kamera kumakhudza kumveka bwino, komwe nthawi zambiri kumakhala mayendedwe amakanema (kuphatikiza ma encoding ndi kuthekera kojambula kwa zida zotumizira ndi kulandira, ndi zina), zomwe ndikuchita kwa kamera yakutsogolo ndipo ili palibe chochita ndi netiweki.
Kawirikawiri ogwiritsa ntchito amaganiza kuti kumveka sikokwezeka, ndipo lingaliro lakuti chifukwa cha intaneti ndilosamvetsetsana.
Malinga ndi zomwe zili pamwambapa, werengani:
Kuthamanga: 4Mbps
Kufikira: 24*4=96Mbps<1000Mbps<4435.2Mbps
Kuphatikiza: 170*4=680Mbps<1000Mbps<4435.2Mbps
3. Kusintha kolowera
Kulingalira kwakukulu ndi bandwidth yolumikizana pakati pa kupeza ndi kuphatikizira, ndiko kuti, mphamvu ya uplink ya kusinthako iyenera kukhala yaikulu kuposa chiwerengero cha makamera omwe angakhoze kuchitidwa nthawi imodzi * chiwerengero cha code.Mwanjira iyi, palibe vuto ndi kujambula mavidiyo a nthawi yeniyeni, koma ngati wogwiritsa ntchito akuwonera kanema mu nthawi yeniyeni, bandwidth iyi iyenera kuganiziridwa.Bandiwifi yomwe wogwiritsa aliyense amawonera kanema ndi 4M.Pamene munthu akuyang'ana, bandwidth ya chiwerengero cha makamera * bitrate * (1+N) imafunika, ndiko kuti, 24*4*(1+1)=128M.
4. Kusintha kwamagulu
Kuphatikizikako kumafunika kukonza mtsinje wa 3-4M (170 * 4M = 680M) wa makamera 170 nthawi imodzi, zomwe zikutanthauza kuti kusintha kophatikizana kumafunika kuthandizira kutumiza nthawi imodzi yopitilira 680M ya mphamvu yosinthira.Nthawi zambiri, kusungirako kumalumikizidwa ndi kuphatikizika, kotero kujambula kanema kumatumizidwa pa liwiro la waya.Komabe, poganizira za bandwidth yowonera nthawi yeniyeni ndi kuyang'anira, kulumikizana kulikonse kumakhala 4M, ndipo ulalo wa 1000M ukhoza kuthandizira makamera a 250 kuti athetsedwe ndikuyitanidwa.Kusintha kulikonse kumalumikizidwa ndi makamera 24, 250/24, zomwe zikutanthauza kuti maukonde amatha kupirira kukakamizidwa kwa ogwiritsa ntchito 10 omwe amawonera kamera iliyonse munthawi yeniyeni.

5. Kusintha kwapakati
Kusintha kwapakati kumafunika kuganizira mphamvu yosinthira ndi bandwidth yolumikizira pakuphatikiza.Chifukwa chosungirako chimayikidwa pamagulu ophatikizana, chosinthira chachikulu sichikhala ndi kukakamiza kujambula kanema, ndiko kuti, kumangofunika kuganizira kuti ndi anthu angati omwe amawonera mavidiyo angati panthawi imodzi.
Pongoganiza kuti pankhaniyi, pali anthu 10 omwe amayang'anira nthawi imodzi, munthu aliyense akuyang'ana makanema 16, ndiko kuti, mphamvu yosinthira iyenera kukhala yayikulu kuposa
10*16*4=640M.
6. Sinthani kusankha kusankha
Posankha masiwichi owonera makanema pamaneti amdera lanu, kusankha kwa gawo lofikira ndi masinthidwe ophatikizika amafunikira kumangoganizira za kusintha kwamphamvu, chifukwa ogwiritsa ntchito nthawi zambiri amalumikizana ndikupeza kanema kudzera pakusintha koyambira.Kuonjezera apo, popeza kupanikizika kwakukulu kuli pa zosinthika pamagulu ophatikizira, sikuti ndi udindo woyang'anira magalimoto osungidwa, komanso kupanikizika kwa kuyang'ana ndi kuyang'anira kuyitana mu nthawi yeniyeni, kotero ndikofunikira kwambiri kusankha kusonkhanitsa koyenera. masiwichi.


Nthawi yotumiza: Mar-17-2022