Video: Txoj cai kho qhov yuam kev ua haujlwm li cas?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Ib qho yuam kev-kho code yog ib qho algorithm rau nthuav qhia ib ntu ntawm cov lej xws li uas tej yam yuam kev uas tau qhia tuaj yeem tshawb pom thiab kho (nyob rau hauv tej yam kev txwv) raws li tus lej seem. Kev kawm yuam kev-kho cov cai thiab cov cuam tshuam paub lej raws li coding kev xav.
Ntawm no, qhov twg yog qhov yuam kev kho cov lej siv?
yuam kev - kho cov cai kuj yog siv hauv CD player, kev kub ceev modems, thiab xov tooj ntawm tes. Modems siv kev tshawb nrhiav yuam kev thaum lawv suav cov checksums, uas yog cov lej ntawm cov lej hauv ib qho kev xa tawm modulo qee tus lej. The ISBN siv txhawm rau txheeb xyuas cov phau ntawv kuj suav nrog tus lej kos.
Qhov thib ob, yuav ua li cas nrhiav tau qhov yuam kev thiab kho kom raug? Rau kuaj thiab kho tus yuam kev , cov khoom ntxiv yog ntxiv rau cov ntaub ntawv me me thaum lub sijhawm xa khoom. Cov khoom ntxiv yog hu ua parity bits. Lawv tso cai kuaj pom los yog kho ntawm yuam kev . Cov ntaub ntawv me me nrog rau cov parity khoom tsim ib lo lus code.
Ib yam li ntawd ib tug yuav nug, yuav ua li cas tom ntej kev ua yuam kev kho cov lej ua haujlwm?
Forward kev kho qhov yuam kev (FEC) yog ib qho kev kho yuam kev txheej txheem los ntes thiab yog lawm tsawg tus lej ntawm qhov yuam kev hauv cov ntaub ntawv xa mus yam tsis tas yuav tsum muaj kev xa rov qab. Yog tias nws pom tias cov ntaub ntawv tsis muaj qhov yuam kev, nws ua haujlwm yuam kev - kho code uas generates qhov tseeb ncej.
Cov txheej txheem kho qhov yuam kev yog dab tsi?
Kev kho yuam kev tuaj yeem ua ob txoj hauv kev: Rov qab kev kho yuam kev : Ib zaug ntawm yuam kev nrhiav pom, tus txais tau thov tus neeg xa khoom rov xa cov ntaub ntawv tag nrho. Tom ntej kev kho yuam kev : Nyob rau hauv cov ntaub ntawv no, tus receiver siv lub yuam kev - kho code uas tau kho cov yuam kev.
Pom zoo:
Dab tsi yog qhov sib txawv loj ntawm kev txheeb xyuas qhov yuam kev thiab kev kho cov lej yuam kev?
Ob qhov kev tshawb nrhiav qhov yuam kev thiab kev kho qhov yuam kev yuav tsum muaj qee qhov ntawm cov ntaub ntawv rov qab xa mus nrog cov ntaub ntawv tiag tiag; kev kho yuav tsum muaj ntau tshaj li kev tshawb nrhiav. Parity bits yog ib txoj hauv kev yooj yim rau kev tshawb nrhiav qhov yuam kev. Ib qho parity me ntsis yog ib qho ntxiv me ntsis xa nrog cov ntaub ntawv uas tsuas yog 1-ntsis suav ntawm cov ntaub ntawv
Puas muaj ib txoj hauv kev pov tseg qhov kev kuaj xyuas los ntawm txoj kev uas tsis muaj cov lus pov tseg?
9 Teb. Koj tuaj yeem pov cov kev txwv tsis raug txheeb xyuas yam tsis tas yuav tshaj tawm lawv yog tias koj xav tau tiag tiag. Unchecked kev zam txuas ntxiv RuntimeException. Throwables uas txuas ntxiv yuam kev tseem tsis tau txheeb xyuas, tab sis tsuas yog yuav tsum tau siv rau cov teeb meem loj tiag tiag (xws li invalid bytecode)
Vim li cas kev cob qhia yuam kev tsawg dua qhov kev xeem yuam kev?
Kev cob qhia yuam kev feem ntau yuav tsawg dua qhov kev xeem yuam kev vim tias tib cov ntaub ntawv siv los ua kom haum tus qauv yog ua haujlwm los ntsuas nws qhov kev kawm yuam kev. Ib feem ntawm qhov tsis sib xws ntawm qhov kev cob qhia yuam kev thiab qhov kev xeem yuam kev yog vim tias cov txheej txheem kev cob qhia thiab cov ntawv xeem muaj qhov sib txawv ntawm cov khoom siv
Leej twg tsim qhov yuam kev ntawm qhov yuam kev?
Lub sij hawm tseem ceeb ntawm qhov yuam kev raug tsim nyob rau xyoo 1977 los ntawm tus kws kho mob hlwb Lee Ross. Txawm li cas los xij, kev tshawb fawb txog qhov yuam kev tseem ceeb rov qab mus rau xyoo 1950 thaum cov kws paub txog kev puas siab puas ntsws Fritz Heider thiab Gustav Ichheiser pib tshawb xyuas cov neeg nkag siab txog qhov ua rau tib neeg tus cwj pwm
Vim li cas qhov kev sim thiab qhov yuam kev yog qhov zoo?
Kev sim thiab kev ua yuam kev feem ntau yog qhov zoo rau cov teb uas qhov kev daws teeb meem yog qhov tseem ceeb tshaj plaws. Lwm qhov zoo ntawm txoj kev sim thiab qhov yuam kev yog tias nws tsis sim siv qhov kev daws teeb meem raws li kev daws teeb meem ntau dua ib qho teeb meem. Kev sim thiab qhov yuam kev feem ntau yog siv los nrhiav ib qho kev daws teeb meem rau ib qho teeb meem