Qhov txawv ntawm ZIP thiab RAR

Qhov txawv ntawm ZIP thiab RAR
Qhov txawv ntawm ZIP thiab RAR

Video: Qhov txawv ntawm ZIP thiab RAR

Video: Qhov txawv ntawm ZIP thiab RAR
Video: 6 Nqi Lus Qhia Kev Ua neej ( leej twg mloog lub neej yuav zoo tuaj) 2024, Kaum ib hlis
Anonim

ZIP vs RAR

ZIP thiab RAR tau siv dav siv cov ntaub ntawv tawm tswv yim rau cov ntaub ntawv compression. Cov ntaub ntawv compression yog cov txheej txheem ntawm kev txo qhov loj ntawm cov ntaub ntawv. Nws siv cov txheej txheem encoding, uas encodes cov ntaub ntawv siv tsawg tus lej ntawm cov ntaub ntawv qub. Ntxiv nrog rau compressing cov ntaub ntawv, ZIP kuj txhawb nqa archiving. Ib cov ntaub ntawv ZIP tuaj yeem tsim los ntawm ntau cov ntaub ntawv uas tau compressed lossis khaws cia yam tsis muaj compressing. RAR (Roshal Archive) kuj yog hom ntaub ntawv uas txhawb nqa cov ntaub ntawv txuas ntxiv rau cov ntaub ntawv compression.

ZIP yog dab tsi?

ZIP yog hom ntaub ntawv uas txhawb nqa cov ntaub ntawv compression thiab khaws cia. Keeb kwm tsim xyoo 1989 los ntawm Phil Katz, hnub no ZIP tau txais kev txhawb nqa los ntawm ntau cov software suav nrog kev txhawb ZIP built-in muab los ntawm Windows operating systems Thiab Mac OS X (versions 10.3 thiab tom qab ntawd). Feem ntau, cov ntaub ntawv txuas ntxiv ".zip" lossis ". ZIP" thiab MIME media type application/zip yog siv rau ZIP cov ntaub ntawv. ZIP tuaj yeem siv los khaws ntau cov ntaub ntawv thiab cov compression yog xaiv tau thaum khaws cia. Yog tias compression siv rau ib qho archive, ces nws yog siv rau cov ntaub ntawv cais. 32-ntsis CRC algorithm yog siv hauv ZIP hom. Txhawm rau kom muaj kev nyab xeeb ntawm cov ntaub ntawv, ZIP suav nrog ob daim ntawv theej ntawm cov ntaub ntawv khaws cia. ZIP hom txhawb compression txoj kev xws li DEFLATE, BZIP2, LZMA (EFS), WavPack, PPMd, thiab lwm yam. Ib qho zoo dua hauv ZIP hom yog vim nws ua cov compression ntawm cov ntaub ntawv hauv ib qho archive nyias, cov ntaub ntawv tuaj yeem nkag mus. Tsis tas li ntawd, tus neeg siv muaj kev xaiv los siv cov kev sib txawv compression algorithms rau ntau hom ntaub ntawv kom tau txais compression zoo dua. Password-based symmetric encryption yog txaus siab nrog ZIP.

RAR yog dab tsi?

RAR kuj yog cov ntaub ntawv compression thiab archiving hom. Nws tau tsim los ntawm Eugene Roshal thiab siv cov ntaub ntawv txuas ntxiv.rar rau cov ntaub ntawv ntim teeb thiab.rev rau lub ntim rov qab teeb. Lub compression algorithm siv hauv RAR yog kaw algorithm. Ib txoj kev compression raws li Lempel-Ziv (LZSS) thiab kev kwv yees los ntawm ib feem sib txuam (PPM) compression yog siv nyob rau hauv RAR version tam sim no (version 3). Tsuas yog cov software lag luam xws li WinRAR tuaj yeem siv los tsim cov ntaub ntawv RAR. Thib peb software xws li WinZip, RarZilla, 7-Zip, IZArc, PeaZip, Zipeg, thiab lwm yam tuaj yeem siv los nyeem cov ntaub ntawv RAR. Los ntawm kev tsim "rov qab ntim" thaum tsim cov ntaub ntawv RAR, ib tus tuaj yeem tsim kho cov ntaub ntawv uas ploj lawm.

ZIP thiab RAR qhov txawv yog dab tsi?

Txawm hais tias ZIP thiab RAR yog cov ntaub ntawv compression thiab cov ntaub ntawv khaws cia, lawv muaj qee qhov sib txawv. Compressing cov ntaub ntawv siv RAR yuav qeeb dua compressing tib cov ntaub ntawv siv ZIP. Tab sis RAR tuaj yeem ua tiav qhov zoo ntawm compression dua ZIP. Tsim cov ntaub ntawv RAR yuav xav tau cov software tsim xws li WinRAR, tab sis unpacking RAR cov ntaub ntawv tuaj yeem ua tiav siv ntau cov software dawb. Ntawm qhov tod tes, ntau cov khoom lag luam thiab qhib cov cuab yeej thiab cov tsev qiv ntawv muaj rau ZIP. Qhov tsawg kawg nkaus pub rau ZIP cov ntaub ntawv yog 22 bytes, qhov tsawg kawg nkaus ntawm RAR cov ntaub ntawv yog 20 bytes. Qhov loj tshaj plaws ntawm tus qauv ZIP cov ntaub ntawv yog 4 GiB (2 32 -1) thiab qhov siab tshaj plaws ntawm cov ntaub ntawv RAR yog 8 Exabytes (2 63 -1).

Pom zoo: