Ububiko bwa ECC, buzwi kandi nka Error-Gukosora Code yibuka, ifite ubushobozi bwo kumenya no gukosora amakosa mumibare. Bikunze gukoreshwa muri mudasobwa zohejuru za mudasobwa, seriveri, hamwe n’aho bakorera kugirango bongere umutekano n'umutekano.
Kwibuka ni igikoresho cya elegitoroniki, kandi amakosa ashobora kubaho mugihe ikora. Kubakoresha bafite ibisabwa bihamye, amakosa yo kwibuka arashobora kuganisha kubibazo bikomeye. Amakosa yo kwibuka arashobora gushyirwa mubwoko bubiri: amakosa akomeye namakosa yoroshye. Amakosa akomeye aterwa no kwangirika kwibyuma cyangwa inenge, kandi amakuru ahora atari yo. Aya makosa ntashobora gukosorwa. Kurundi ruhande, amakosa yoroshye abaho atabishaka bitewe nimpamvu nko kwivanga kwa elegitoronike hafi yibuka kandi birashobora gukosorwa.
Kugirango umenye kandi ukosore amakosa yoroheje yibuka, hashyizweho igitekerezo cyo kwibuka "parity check". Igice gito murwibutso ni gito, cyerekanwa na 1 cyangwa 0. Ibice umunani bikurikiranye bigize byte. Kwibuka nta parite igenzura ifite bits 8 gusa kuri byte, kandi niba hari bito bibitse agaciro katari ko, birashobora gutuma habaho amakosa yibibazo no kunanirwa kwa porogaramu. Kugenzura parite yongeraho bito kuri buri byte nkikosa-kugenzura biti. Nyuma yo kubika amakuru muri byte, umunani bits ifite icyitegererezo gihamye. Kurugero, niba bits ibika amakuru nka 1, 1, 1, 0, 0, 1, 0, 1, igiteranyo cyibi bitabo kidasanzwe (1 + 1 + 1 + 0 + 0 + 1 + 0 + 1 = 5 ). Kuburinganire, biti bisobanuwe nka 1; bitabaye ibyo, ni 0. Iyo CPU isomye amakuru yabitswe, yongeraho bits 8 yambere kandi igereranya ibisubizo na parite bit. Iyi nzira irashobora kumenya amakosa yibuka, ariko kugenzura parite ntishobora kubikosora. Byongeye kandi, parite igenzura ntishobora kumenya amakosa abiri-bito, nubwo bishoboka ko amakosa ya biti ari make.
Ububiko bwa ECC (Kugenzura Ikosa no Gukosora), kurundi ruhande, bubika kode ihishe hamwe na data bits. Iyo amakuru yanditswe mububiko, code ya ECC ihuye irabikwa. Iyo usubije inyuma amakuru yabitswe, code ya ECC yabitswe igereranwa na kode nshya ya ECC. Niba bidahuye, kodegisi zishushanyije kugirango zimenyekanishe bitari byo mumibare. Bitari yibeshya noneho birajugunywa, hanyuma umugenzuzi yibuka asohora amakuru yukuri. Amakuru yakosowe ni gake yanditswe asubira mububiko. Niba amakuru amwe yibeshya yongeye gusomwa, inzira yo gukosora irasubirwamo. Kongera kwandika amakuru arashobora kumenyekanisha hejuru, biganisha kumikorere igaragara. Nyamara, ububiko bwa ECC nibyingenzi kuri seriveri nibindi bisa, kuko bitanga ubushobozi bwo gukosora amakosa. Ububiko bwa ECC buhenze kuruta kwibuka bisanzwe kubera ibintu byiyongereyeho.
Gukoresha ububiko bwa ECC birashobora kugira ingaruka zikomeye kumikorere ya sisitemu. Mugihe bishobora kugabanya imikorere muri rusange, gukosora amakosa nibyingenzi mubikorwa bikomeye na seriveri. Nkigisubizo, ububiko bwa ECC ni amahitamo asanzwe mubidukikije aho uburinganire bwamakuru hamwe na sisitemu ihagaze neza.
Igihe cyoherejwe: Nyakanga-19-2023