Tietokehys

Määritelmä

Information frame, usually referred to as I frame, is used to transmit valid information or data. The first or first and second bits of the control field in the HDLC frame format indicate the type of transmission frame: the first bit is "0" for information frames, the first and second bits are "10" for monitoring frames, and "11" is for none Sequence number frame. In the information frame, the N(S) of the control field, that is, the second, third, and fourth bits are used to store the sequence number of the sent frame, so that the sender does not need to wait for confirmation and send multiple frames continuously. The fifth bit is the Poll/Final bit. When it is 1, the polled station is required to give a response. The N(R) of the control field, that is, the 6th, 7th, and 8th bits are used to store the sequence number of the receiver's next expected frame. For example, N(R)=5, which means that the receiver will receive the 5th frame in the next frame. , In other words, the frames before the 5th frame have been received. N(S) and N(R) are both 3-bit binary codes, which can take values ​​from 0 to 7.

Luokittelu

Kansainvälisen standardointijärjestön ISO:n määrittelemä korkean tason datalinkin ohjaus (HDLC) on joukko protokollia, joita käytetään tiedon siirtämiseen verkkosolmujen välillä. Protokolla, jota käytetään laajalti DLL:ssä. HDLC-protokollassa data on järjestetty kehyksiksi kutsuttuihin yksiköihin, jotka lähetetään verkon yli ja vastaanotin vastaanottaa. Samalla HDLC-protokolla hallitsee myös datavirtaa ja tiedonsiirtoväliä. HDLC-protokollan jokaisessa kehyksessä siirrettävä data voi sisältää minkä tahansa määrän bittejä ja kehyksen alku ja loppu on rajattu sovitulla bittikuviolla (merkki), joka on "bittisuuntautunut" protokolla. HDLC jakaa kehystyypit kolmeen luokkaan, nimittäin: I-kehys (tietokehys): kuljettaa ylemmän kerroksen tietoja ja joitakin ohjaustietoja. Tietokehyksen toimintoja ovat sekvensointi, vuonohjaus, virheiden havaitseminen ja palautus. I-kehys sisältää järjestysnumeron lähettämistä ja vastaanottamista varten.

S-kehys (seurantakehys): Kuljettaa ohjaustietoja. Valvontakehyksen toimintoja ovat pyyntö- tai viivelähetys, tilaraportti ja I-kehyksen vastaanottovaste. S-kehyksessä on vain vastaanottava järjestysnumero.

U-kehys (kehys ilman järjestysnumeroa): kuljettaa ohjaustietoja. Toimintoja ovat linkin muodostaminen ja katkaiseminen sekä virheraportointi. U-kehykset eivät sisällä järjestysnumeroita.

Related Articles
TOP