SlideShare a Scribd company logo
1 of 43
PROJECTE
       FI DE CARRERA

  Desenvolupament i implementació
del protocol V.42 en un mòdem V.22bis



       Santiago Ribas Roca
   Director: Rafael Valle Alarcón
     Barcelona, juny del 2.000
•Índex

Objectius

Dificultats del projecte

Transmissió digital de dades

Descripció del mòdem

Desenvolupament del protocol V.42
•Objectius

L’objectiu d’aquest projecte fou
desenvolupar un mòdem comercial que
complís amb certes especificacions:

  que arribés a la velocitat de 2.400 b.p.s.
  (recomanació V.22bis)

  que incorporés la funcionalitat de
  correcció d’errors (recomanació V.42)
•Desenvolupament
Disseny de circuits i algorismes que realitzin
les funcions especificades a les
recomanacions V.22bis, V.24, V.25bis, V.42, i
V.54.



•Implementació
Codificació d’aquests algorismes en
llenguatge “C”.
•Dificultats del projecte
Desenvolupament simultani del
hardware i el software.
Depuració d’un sistema en temps real.
Implementació d’un sistema multitasca.
Simulació de les condicions del medi
de transmissió.
Confrontació amb altres mòdems
comercials.
Interfície amb el desenvolupador.
•Transmissió digital de dades


         ETD A                                                          ETD B


  Font      Controlador                 Línia                    Controlador    Font
    o           de         ETCD A                      ETCD B        de           o
Col·lector comunicacions                                        comunicacions Col·lector




                                    Circuit de dades




                                    Enllaç de dades
•Equip Terminal de Dades

Un ETD pot ser un equip informàtic
qualsevol.
La seva funció és generar o recollir
informació, segons sigui font o
col·lector.
Controla el diàleg i la comunicació
amb el ETCD.
Col·loquialment s’anomena terminal.
•Equip de Terminació del
     Circuit de Dades


Un ETCD és un equip de comunicacions.

Té la missió de transformar la informació
binària d’entrada en senyals adequats als
medis de transmissió (línia).

Col·loquialment s’anomena mòdem.
•El problema del soroll



                                                SOROLL



         ETD A                                                          ETD B


  Font      Controlador                 Línia                    Controlador    Font
    o           de         ETCD A                      ETCD B        de           o
Col·lector comunicacions                                        comunicacions Col·lector




                                    Circuit de dades




                                    Enllaç de dades
•El mòdem “normalet”




            Circuits
           d’enllaç     Funció      Convertidor
ETD                    de control    de senyal    XTGC
           Rec. V.24




                   FIGURA 1/V.42
       Equip de terminació del circuit de dades
•El mòdem amb correcció d’errors



                                     Funció
ETD        Circuits                 de control
asíncron    d’enllaç    Funció                   Convertidor   XTGC
                       de control    d’errors     de senyal
           Rec. V.24




                   FIGURA 2/V.42
              ETCD amb correcció d’errors
•La funció de control d’errors
                                                           ETCD

                                             Rec. V.42

      103                                                         TD
      104




              Circuit d’enllaç Rec. V.24
                                                     Funció       RD
                                                        de        TDC
                                                     control
                                                                  RDC
                                                     d’errors
      133                                                               Convertidor
ETD                                                                     de senyals
                                                                         síncrones
                                                                  RTS
      106                                                         RFS
                                           Funció de control
      109                                                         RSD




                                             FIGURA 3/V.42
            Circuits afectats pel control d’errors
•Diagrama de blocs del mòdem
•Estructura d’una trama
 8   7   6       5         4     3   2   1

 0   1   1       1         1     1   1   0

          Bandera d’obertura                 Octet 1

                  Adreça                          2

                 Control                          3

                Informació


                     SVT                        N-2
                                                N-1

 0   1   1       1         1     1   1   0
         Bandera de tancament                     N

             a) SVT de 16 bits
•Formats de trames
                   Bits del camp de control (mòdul 128)
 Format        8      7     6    5     4    3    2        1
                                N(S)                      0   Octet
                                                                 3
 Format I                       N(R)                      P      4
               X     X      X    X     S    S    0        1      3
 Format S                       N(R)                  P/F        4
 Format U      M     M      M   P/F    M    M    1        1      3
N(S) Número de seqüència en emissió del transmissor
N(R) Número de seqüència en recepció del transmissor
S    Bits de funció de supervisió
M    Bits de funció de modificador
P/F Bit de petició quan s’emet com una instrucció;
    bit final quan s’emet com una resposta
X    Reservat i posat a 0
•Instruccions i respostes
                                                                 Codificació
     Format      Instruccions       Respostes
                                                    8   7   6     5       4    3   2    1

  Transferència I (informació)                                   N(S)                   0      Octet
                                                                                                  3
  d’informació                                                   N(R)                   P         4

                 RR (preparat      RR (preparat     0   0   0     0       0    0   0    1         3
                  per rebre)        per rebre)
                                                                 N(R)                  P/F        4

                    RNR (no          RNR (no        0   0   0     0       0    1   0    1         3
                    preparat         preparat
                   per rebre)       per rebre)
                                                                 N(R)                  P/F        4
   Supervisió
                      REJ              REJ          0   0   0     0       1    0   0    1         3
                    (rebuig)         (rebuig)
                                                                 N(R)                  P/F        4

                     SREJ              SREJ         0   0   0     0       1    1   0    1         3
                    (rebuig           (rebuig
                                                                 N(R)                  P/F =      4
                   selectiu)         selectiu)
                                                                                         0
                 SABME (pas
                   al mode                          0   1   1     P       1    1   1    1         3
                  equilibrat
                  asíncron
                    estès)
                                    DM (mode        0   0   0     F       1    1   1    1         3
                                   desconnectat)
                       UI     UI (informació        0   0   0    P/F      0    0   1    1         3
                  (informació no numerada)
                 no numerada)

   No numerat        DISC                           0   1   0     P       0    0   1    1         3
                 (desconnexió)

                                  UA (acusament     0   1   1     F       0    0   1    1         3
                                  de recepció no
                                     numerat)
                                  FRMR (rebuig      1   0   0     F       0    1   1    1         3
                                    de trama)
                       XID              XID         1   0   1   P/F = 0   1    1   1    1         3
                 (identificació    (identificació
                  d’intercanvi)    d’intercanvi)

                 TEST (prova)                       1   1   1   P=0       0    0   1    1         3
•Instruccions i respostes
                                                         Codificació
  Format       Instruccions   Respostes
                                             8   7   6     5     4     3   2    1    Octet

                                                         N (S)                  P     3
Transferènci         I
      a        (informació)
d’informació                                             N (R)                 P/F    4

                   RR             RR         0   0   0     0     0     0   0    1     3
                (preparat      (preparat
                per rebre)     per rebre)                                             4
                                                         N (R)                 P/F

                   RNR            RNR        0   0   0     0     0     1   0    1     3
               (no preparat   (no preparat
                per rebre)     per rebre)
                                                         N (R)                 P/F     4
Supervisió

                                 REJ         0   0   0     0     1     0   0    1      3
                  REJ
                (rebuig)       (rebuig)
                                                         N (R)                 P/F     4

                   SREJ          SREJ        0   0   0     0     1     1   0    1      3
                  (rebuig       (rebuig
                 selectiu)     selectiu)                                       P/F     4
                                                         N (R)                 =0
•Instruccions i respostes
                                                                              Octet
          SABME (pas al
          mode equilibrat                   0   1   1   P     1   1   1   1    3
          asíncron estès)

                              DM (mode
                            desconnectat)   0   0   0    F    1   1   1   1    3


                UI             UI
          (informació no (informació no     0   0   0   P/F   0   0   1   1     3
             numerada)      numerada)
              DISC
          (desconnexió)                     0   1   0         0   0   1   1     3
  No
numerat                     UA(acusament
                             de recepció    0   1   1    F    0   0   1   1     3
                             no numerat)
                               FRMR
                             (rebuig de     1   0   0   F     0   1   1   1     3
                               trama)
               XID            XID
          (identificació (identificació     1   0   1   P/F   1   1   1   1     3
          d’intercanvi) d’intercanvi)                   =0

              TEST
                                            1   1   1   P=0   0   0   1   1     3
             (prova)
•Diagrama de l’autòmat d’estats finit V.42
•Diagrama de l’autòmat d’estats finit V.42
•Fase de detecció
Originador                       Responedor


                   SDO




                   SDR




    t                                 t
•Diagrama de l’autòmat d’estats finit V.42
•Fase de negociació
Originador                         Responedor


                    XID




                    XID




    t                                   t
•Diagrama de l’autòmat d’estats finit V.42
•Fase de connexió
Originador                       Responedor


                   SABME




                    UA




    t                                 t
•Diagrama de l’autòmat d’estats finit V.42
•Fase de dades
Originador                                              Responedor

                               I, N(S)=0, N(R)=0, P=0


             RR, N(R)=1, F=0

                               I, N(S)=1, N(R)=0, P=0


             RR, N(R)=2, F=0


                               I, N(S)=2, N(R)=0, P=0


             RR, N(R)=3, F=0



    t           Funcionament semidúplex                      t
•Fase de dades
Originador                                          Responedor
        I, N(S)=0, N(R)=0, P=0    I, N(S)=0, N(R)=0, P=0

        I, N(S)=1, N(R)=0, P=1
                                  I, N(S)=1, N(R)=1, P=1

                                  RR, N(R)=2, F=1

        RR, N(R)=2, F=1
                                  I, N(S)=2, N(R)=2, P=1




        RR, N(R)=3, F=1




    t                 Funcionament dúplex                  t
•Fase de dades
Originador                                               Responedor

                                I, N(S)=2, N(R)=3, P=0


                                I, N(S)=3, N(R)=3, P=1


             REJ, N(R)=2, F=1

                                I, N(S)=2, N(R)=3, P=1


             RR, N(R)=3, F=1

                                I, N(S)=3, N(R)=3, P=1


             RR, N(R)=4, F=1


    t        Recuperació després d’un error                   t
•Fase de dades
Originador                                 Responedor

                                RR, N(R)=1, P=1


        RR, N(R)=3, F=1

                                RR, N(R)=1, P=1


        RR, N(R)=3, F=1


                                RR, N(R)=1, P=1


        RR, N(R)=3, F=1



    t           Manteniment de l’enllaç           t
•Fase de dades
Originador                                   Responedor
                            I, N(S)=2, N(R)=1, P=0


        RNR, N(R)=3, F=0

                                 RR, N(R)=1, P=1


        RNR, N(R)=3, F=1


                                 RR, N(R)=1, P=1


        RR, N(R)=3, F=1

                            I, N(S)=3, N(R)=1, P=0


    t          Estat de receptor ocupat              t
•Diagrama de l’autòmat d’estats finit V.42
•Desconnexió
Originador                  Responedor


                 DISC




                 UA




    t                            t
•Diagrama de l’autòmat d’estats finit V.42
•Mode desconnectat
Originador                        Responedor


                     I




                    DM




    t                                 t
•Mòdem Vayris model QUAD
PROJECTE
       FI DE CARRERA

  Desenvolupament i implementació
del protocol V.42 en un mòdem V.22bis



       Santiago Ribas Roca
   Director: Rafael Valle Alarcón
     Barcelona, juny del 2.000
Protocol v42
Protocol v42
Protocol v42
Protocol v42
Protocol v42
Protocol v42

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Protocol v42

  • 1. PROJECTE FI DE CARRERA Desenvolupament i implementació del protocol V.42 en un mòdem V.22bis Santiago Ribas Roca Director: Rafael Valle Alarcón Barcelona, juny del 2.000
  • 2. •Índex Objectius Dificultats del projecte Transmissió digital de dades Descripció del mòdem Desenvolupament del protocol V.42
  • 3. •Objectius L’objectiu d’aquest projecte fou desenvolupar un mòdem comercial que complís amb certes especificacions: que arribés a la velocitat de 2.400 b.p.s. (recomanació V.22bis) que incorporés la funcionalitat de correcció d’errors (recomanació V.42)
  • 4. •Desenvolupament Disseny de circuits i algorismes que realitzin les funcions especificades a les recomanacions V.22bis, V.24, V.25bis, V.42, i V.54. •Implementació Codificació d’aquests algorismes en llenguatge “C”.
  • 5. •Dificultats del projecte Desenvolupament simultani del hardware i el software. Depuració d’un sistema en temps real. Implementació d’un sistema multitasca. Simulació de les condicions del medi de transmissió. Confrontació amb altres mòdems comercials. Interfície amb el desenvolupador.
  • 6. •Transmissió digital de dades ETD A ETD B Font Controlador Línia Controlador Font o de ETCD A ETCD B de o Col·lector comunicacions comunicacions Col·lector Circuit de dades Enllaç de dades
  • 7. •Equip Terminal de Dades Un ETD pot ser un equip informàtic qualsevol. La seva funció és generar o recollir informació, segons sigui font o col·lector. Controla el diàleg i la comunicació amb el ETCD. Col·loquialment s’anomena terminal.
  • 8. •Equip de Terminació del Circuit de Dades Un ETCD és un equip de comunicacions. Té la missió de transformar la informació binària d’entrada en senyals adequats als medis de transmissió (línia). Col·loquialment s’anomena mòdem.
  • 9. •El problema del soroll SOROLL ETD A ETD B Font Controlador Línia Controlador Font o de ETCD A ETCD B de o Col·lector comunicacions comunicacions Col·lector Circuit de dades Enllaç de dades
  • 10. •El mòdem “normalet” Circuits d’enllaç Funció Convertidor ETD de control de senyal XTGC Rec. V.24 FIGURA 1/V.42 Equip de terminació del circuit de dades
  • 11. •El mòdem amb correcció d’errors Funció ETD Circuits de control asíncron d’enllaç Funció Convertidor XTGC de control d’errors de senyal Rec. V.24 FIGURA 2/V.42 ETCD amb correcció d’errors
  • 12. •La funció de control d’errors ETCD Rec. V.42 103 TD 104 Circuit d’enllaç Rec. V.24 Funció RD de TDC control RDC d’errors 133 Convertidor ETD de senyals síncrones RTS 106 RFS Funció de control 109 RSD FIGURA 3/V.42 Circuits afectats pel control d’errors
  • 13. •Diagrama de blocs del mòdem
  • 14. •Estructura d’una trama 8 7 6 5 4 3 2 1 0 1 1 1 1 1 1 0 Bandera d’obertura Octet 1 Adreça 2 Control 3 Informació SVT N-2 N-1 0 1 1 1 1 1 1 0 Bandera de tancament N a) SVT de 16 bits
  • 15. •Formats de trames Bits del camp de control (mòdul 128) Format 8 7 6 5 4 3 2 1 N(S) 0 Octet 3 Format I N(R) P 4 X X X X S S 0 1 3 Format S N(R) P/F 4 Format U M M M P/F M M 1 1 3 N(S) Número de seqüència en emissió del transmissor N(R) Número de seqüència en recepció del transmissor S Bits de funció de supervisió M Bits de funció de modificador P/F Bit de petició quan s’emet com una instrucció; bit final quan s’emet com una resposta X Reservat i posat a 0
  • 16. •Instruccions i respostes Codificació Format Instruccions Respostes 8 7 6 5 4 3 2 1 Transferència I (informació) N(S) 0 Octet 3 d’informació N(R) P 4 RR (preparat RR (preparat 0 0 0 0 0 0 0 1 3 per rebre) per rebre) N(R) P/F 4 RNR (no RNR (no 0 0 0 0 0 1 0 1 3 preparat preparat per rebre) per rebre) N(R) P/F 4 Supervisió REJ REJ 0 0 0 0 1 0 0 1 3 (rebuig) (rebuig) N(R) P/F 4 SREJ SREJ 0 0 0 0 1 1 0 1 3 (rebuig (rebuig N(R) P/F = 4 selectiu) selectiu) 0 SABME (pas al mode 0 1 1 P 1 1 1 1 3 equilibrat asíncron estès) DM (mode 0 0 0 F 1 1 1 1 3 desconnectat) UI UI (informació 0 0 0 P/F 0 0 1 1 3 (informació no numerada) no numerada) No numerat DISC 0 1 0 P 0 0 1 1 3 (desconnexió) UA (acusament 0 1 1 F 0 0 1 1 3 de recepció no numerat) FRMR (rebuig 1 0 0 F 0 1 1 1 3 de trama) XID XID 1 0 1 P/F = 0 1 1 1 1 3 (identificació (identificació d’intercanvi) d’intercanvi) TEST (prova) 1 1 1 P=0 0 0 1 1 3
  • 17. •Instruccions i respostes Codificació Format Instruccions Respostes 8 7 6 5 4 3 2 1 Octet N (S) P 3 Transferènci I a (informació) d’informació N (R) P/F 4 RR RR 0 0 0 0 0 0 0 1 3 (preparat (preparat per rebre) per rebre) 4 N (R) P/F RNR RNR 0 0 0 0 0 1 0 1 3 (no preparat (no preparat per rebre) per rebre) N (R) P/F 4 Supervisió REJ 0 0 0 0 1 0 0 1 3 REJ (rebuig) (rebuig) N (R) P/F 4 SREJ SREJ 0 0 0 0 1 1 0 1 3 (rebuig (rebuig selectiu) selectiu) P/F 4 N (R) =0
  • 18. •Instruccions i respostes Octet SABME (pas al mode equilibrat 0 1 1 P 1 1 1 1 3 asíncron estès) DM (mode desconnectat) 0 0 0 F 1 1 1 1 3 UI UI (informació no (informació no 0 0 0 P/F 0 0 1 1 3 numerada) numerada) DISC (desconnexió) 0 1 0 0 0 1 1 3 No numerat UA(acusament de recepció 0 1 1 F 0 0 1 1 3 no numerat) FRMR (rebuig de 1 0 0 F 0 1 1 1 3 trama) XID XID (identificació (identificació 1 0 1 P/F 1 1 1 1 3 d’intercanvi) d’intercanvi) =0 TEST 1 1 1 P=0 0 0 1 1 3 (prova)
  • 19. •Diagrama de l’autòmat d’estats finit V.42
  • 20. •Diagrama de l’autòmat d’estats finit V.42
  • 21. •Fase de detecció Originador Responedor SDO SDR t t
  • 22. •Diagrama de l’autòmat d’estats finit V.42
  • 23. •Fase de negociació Originador Responedor XID XID t t
  • 24. •Diagrama de l’autòmat d’estats finit V.42
  • 25. •Fase de connexió Originador Responedor SABME UA t t
  • 26. •Diagrama de l’autòmat d’estats finit V.42
  • 27. •Fase de dades Originador Responedor I, N(S)=0, N(R)=0, P=0 RR, N(R)=1, F=0 I, N(S)=1, N(R)=0, P=0 RR, N(R)=2, F=0 I, N(S)=2, N(R)=0, P=0 RR, N(R)=3, F=0 t Funcionament semidúplex t
  • 28. •Fase de dades Originador Responedor I, N(S)=0, N(R)=0, P=0 I, N(S)=0, N(R)=0, P=0 I, N(S)=1, N(R)=0, P=1 I, N(S)=1, N(R)=1, P=1 RR, N(R)=2, F=1 RR, N(R)=2, F=1 I, N(S)=2, N(R)=2, P=1 RR, N(R)=3, F=1 t Funcionament dúplex t
  • 29. •Fase de dades Originador Responedor I, N(S)=2, N(R)=3, P=0 I, N(S)=3, N(R)=3, P=1 REJ, N(R)=2, F=1 I, N(S)=2, N(R)=3, P=1 RR, N(R)=3, F=1 I, N(S)=3, N(R)=3, P=1 RR, N(R)=4, F=1 t Recuperació després d’un error t
  • 30. •Fase de dades Originador Responedor RR, N(R)=1, P=1 RR, N(R)=3, F=1 RR, N(R)=1, P=1 RR, N(R)=3, F=1 RR, N(R)=1, P=1 RR, N(R)=3, F=1 t Manteniment de l’enllaç t
  • 31. •Fase de dades Originador Responedor I, N(S)=2, N(R)=1, P=0 RNR, N(R)=3, F=0 RR, N(R)=1, P=1 RNR, N(R)=3, F=1 RR, N(R)=1, P=1 RR, N(R)=3, F=1 I, N(S)=3, N(R)=1, P=0 t Estat de receptor ocupat t
  • 32. •Diagrama de l’autòmat d’estats finit V.42
  • 33. •Desconnexió Originador Responedor DISC UA t t
  • 34. •Diagrama de l’autòmat d’estats finit V.42
  • 35. •Mode desconnectat Originador Responedor I DM t t
  • 37. PROJECTE FI DE CARRERA Desenvolupament i implementació del protocol V.42 en un mòdem V.22bis Santiago Ribas Roca Director: Rafael Valle Alarcón Barcelona, juny del 2.000